/* Blue Grammar School — public HOMEPAGE (home.css)
   Designed 2026-11-03. Brand blue #1361C8 / red #be434b.
   Loaded only by Views/Home/Index.cshtml via @section Styles.
   All classes are hp- prefixed so nothing leaks into the portal. */

.hp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.hp-center { text-align: center; }
.hp-h2 { color: #123c6e; font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.hp-h2.hp-light { color: #fff; }
.hp-sub { color: #5b6b7f; font-size: 14.5px; margin: 0 0 22px; }
.hp-sub.hp-light { color: #cfe2fb; }
.hp-section { padding: 42px 0; }
.hp-section-alt { background: #f4f8fd; }
.hp-section-blue { background: linear-gradient(135deg, #0d3f7e, #1361C8); }

.hp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .15s ease, transform .15s ease; }
.hp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.hp-btn-blue { background: #1361C8; color: #fff; }
.hp-btn-blue:hover { background: #0e4fa8; color: #fff; }
.hp-btn-light { background: #fff; color: #1361C8; }
.hp-btn-light:hover { background: #eaf2ff; color: #0e4fa8; }
.hp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.hp-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Hero ---- */
.hp-hero { background: linear-gradient(120deg, #0b3568 0%, #1361C8 55%, #2f7fe0 100%); color: #fff; margin-top: -16px; }
.hp-hero-inner { max-width: 1140px; margin: 0 auto; padding: 48px 16px 42px; display: grid; grid-template-columns: 1.35fr .85fr; gap: 28px; align-items: center; }
.hp-badge { display: inline-block; background: #FFD94D; color: #5c4300; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.hp-hero h1 { font-size: 42px; font-weight: 800; margin: 0 0 10px; line-height: 1.1; }
.hp-tagline { font-size: 17px; color: #dbe9fd; margin: 0 0 22px; max-width: 34em; }
.hp-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hp-hero-points { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #cfe2fb; font-weight: 600; }
.hp-hero-card { background: #fff; color: #243447; border-radius: 14px; padding: 22px; box-shadow: 0 14px 34px rgba(4, 32, 68, .35); text-align: center; }
.hp-hero-logo { width: 92px; height: 92px; object-fit: contain; }
.hp-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 10px; }
.hp-hero-stats div { background: #eef5ff; border-radius: 10px; padding: 10px 4px; }
.hp-hero-stats strong { display: block; font-size: 20px; color: #1361C8; line-height: 1; }
.hp-hero-stats small { color: #5b6b7f; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hp-hero-note { font-size: 13px; color: #5b6b7f; margin: 0; }

/* ---- Welcome / Principal ---- */
.hp-welcome { display: grid; grid-template-columns: 1.5fr .9fr; gap: 26px; align-items: start; }
.hp-welcome p { color: #3d4f66; font-size: 15px; line-height: 1.65; }
.hp-principal { background: #fdf6e0; border: 1px solid #f0dfae; border-top: 4px solid #e0a81e; border-radius: 12px; padding: 18px 20px; }
.hp-principal-badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9a7408; margin-bottom: 8px; }
.hp-quote { font-size: 15.5px; font-style: italic; color: #4a3f14; line-height: 1.6; margin: 0 0 12px; }
.hp-principal-name { font-weight: 800; color: #243447; margin: 0; }
.hp-principal-name small { font-weight: 600; color: #7a6a25; }

/* ---- Cards & grids ---- */
.hp-grid { display: grid; gap: 14px; }
.hp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.hp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hp-card { background: #fff; border: 1px solid #dbe4f0; border-top: 4px solid #1361C8; border-radius: 12px; padding: 18px; }
.hp-card h3 { margin: 0 0 2px; font-size: 17px; color: #123c6e; }
.hp-card-tag { color: #be434b; font-weight: 700; font-size: 12.5px; margin: 0 0 8px; }
.hp-card p { color: #4a5c72; font-size: 13.5px; line-height: 1.6; margin: 0; }
.hp-c1 { border-top-color: #1d9e74; } .hp-c2 { border-top-color: #1361C8; }
.hp-c3 { border-top-color: #7b4fc9; } .hp-c4 { border-top-color: #be434b; }

.hp-feature { background: #f8fbff; border: 1px solid #e2ebf7; border-radius: 12px; padding: 18px; }
.hp-feature-ic { font-size: 26px; }
.hp-feature h3 { margin: 8px 0 6px; font-size: 15.5px; color: #123c6e; }
.hp-feature p { margin: 0; color: #4a5c72; font-size: 13.5px; line-height: 1.6; }

/* ---- Portals ---- */
.hp-portal { background: #fff; border-radius: 12px; padding: 20px; color: #243447; }
.hp-portal h3 { margin: 0 0 10px; font-size: 17px; color: #123c6e; }
.hp-portal ul { margin: 0 0 16px; padding-left: 18px; color: #4a5c72; font-size: 13.5px; line-height: 1.9; }

/* ---- Steps & CTA ---- */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.hp-step { background: #fff; border: 1px solid #dbe4f0; border-radius: 12px; padding: 18px; }
.hp-step span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: #1361C8; color: #fff; font-weight: 800; font-size: 16px; align-items: center; justify-content: center; margin-bottom: 10px; }
.hp-step h3 { margin: 0 0 6px; font-size: 15.5px; color: #123c6e; }
.hp-step p { margin: 0; color: #4a5c72; font-size: 13.5px; line-height: 1.6; }
.hp-cta { background: linear-gradient(120deg, #0b3568, #1361C8); color: #fff; border-radius: 14px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp-cta h3 { margin: 0 0 4px; font-size: 19px; }
.hp-cta p { margin: 0; color: #cfe2fb; font-size: 13.5px; }

@media (max-width: 900px) {
    .hp-hero-inner { grid-template-columns: 1fr; padding: 34px 16px 30px; }
    .hp-hero h1 { font-size: 32px; }
    .hp-welcome { grid-template-columns: 1fr; }
    .hp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hp-grid-3, .hp-steps { grid-template-columns: 1fr; }
    .hp-section { padding: 30px 0; }
}
@media (max-width: 520px) {
    .hp-grid-4 { grid-template-columns: 1fr; }
}
