/* ============================================================
   TOGABE SCHOOLS — Main Stylesheet
   Primary: #3195ca | Secondary: #ffffff
   ============================================================ */

:root {
    --primary:        #3195ca;
    --primary-dark:   #2478a8;
    --primary-light:  #e8f4fb;
    --primary-xlight: #f0f8fd;
    --secondary:      #ffffff;
    --text-dark:      #0f172a;
    --text-body:      #374151;
    --text-muted:     #6b7280;
    --border:         #e5e7eb;
    --bg-light:       #f9fafb;
    --bg-section:     #f1f5f9;
    --success:        #10b981;
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.07);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.09);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);
    --radius-sm:      4px;
    --radius-md:      8px;
    --radius-lg:      14px;
    --radius-xl:      20px;
    --transition:     all 0.25s ease;
    --nav-height:     72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text-body);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
}
a    { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img  { max-width: 100%; display: block; }
ul   { list-style: none; }
button { font-family: inherit; }

/* ── Typography ── */
h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.15; color: var(--text-dark); }
h2 { font-size: 2rem;    font-weight: 700; line-height: 1.25; color: var(--text-dark); }
h3 { font-size: 1.4rem;  font-weight: 700; line-height: 1.3;  color: var(--text-dark); }
h4 { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); }
h5 { font-size: 1rem;    font-weight: 600; color: var(--text-dark); }
p  { margin-bottom: 1rem; color: var(--text-body); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn [data-lucide] { width: 16px; height: 16px; }
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(49,149,202,0.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-weight: 700;
}
.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    line-height: 1;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-muted   { background: var(--bg-section); color: var(--text-muted); }

/* ── Section Header ── */
.section-header  { text-align: center; margin-bottom: 3.5rem; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.section-label [data-lucide] { width: 13px; height: 13px; }
.section-title    { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Cards ── */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary);
}
.card-body { padding: 1.75rem; }

/* ── Forms ── */
.form-group   { margin-bottom: 1.25rem; }
.form-label   {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49,149,202,0.12);
}
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 0.3rem;
    display: block;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Alerts ── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}
.alert [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #d1fae5; border-color: var(--success); color: #065f46; }
.alert-danger  { background: #fee2e2; border-color: var(--danger);  color: #991b1b; }
.alert-info    { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

/* ════════════════════════════════════════════════
   HEADER & NAVIGATION
═══════════════════════════════════════════════ */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

/* Top bar */
.header-topbar {
    background: #0f172a;
    padding: 0.4rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    display: block;
}
.header-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.header-topbar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.header-topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
}
.header-topbar-item [data-lucide] { width: 13px; height: 13px; flex-shrink: 0; }
.header-topbar-item a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.header-topbar-item a:hover { color: #fff; }

/* Main nav bar */
.header-main {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

/* Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    flex-shrink: 0;
}
/* ── Header Logo Image ── */
.header-brand-logo {
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    overflow: visible;
}
.header-brand-name {
    display: flex;
    flex-direction: column;
}
.header-brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.header-brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--primary-xlight); }
.nav-link.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.45rem;
    cursor: pointer;
    color: var(--text-dark);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.nav-toggle:hover { background: var(--bg-light); }
.nav-toggle [data-lucide] { width: 20px; height: 20px; }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    overflow-y: auto;
}
.mobile-nav.open { right: 0; }

.mobile-nav-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.mobile-nav-logo {
    width: 36px; height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: #fff;
}
.mobile-nav-close {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.mobile-nav-close:hover { background: var(--bg-light); color: var(--text-dark); }
.mobile-nav-close [data-lucide] { width: 18px; height: 18px; }

.mobile-nav-links {
    padding: 1rem 0;
    flex: 1;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    border-left: 3px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-xlight);
    color: var(--primary);
    border-left-color: var(--primary);
}
.mobile-nav-link [data-lucide] { width: 17px; height: 17px; flex-shrink: 0; }

.mobile-nav-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mobile-nav-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.mobile-nav-contact-item [data-lucide] { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.show { display: block; }

/* ════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */

.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.65);
    padding: 4rem 0 0;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer Brand */
.footer-brand { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.25rem; }
.footer-logo {
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #fff;
    flex-shrink: 0;
}
.footer-brand-name { font-size: 1rem; font-weight: 800; color: #fff; }
.footer-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-social { display: flex; gap: 0.75rem; }
.footer-social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}
.footer-social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.footer-social-link [data-lucide] { width: 16px; height: 16px; }

/* Footer Column */
.footer-col-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-link:hover { color: #fff; padding-left: 4px; }

/* Footer Contact */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item [data-lucide] {
    width: 15px; height: 15px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: #fff; }

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: #fff; }

/* ════════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════ */

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1a5276 100%);
    padding: 4.5rem 0 3.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero-accent {
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(49,149,202,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 0.35rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.page-hero-eyebrow [data-lucide] { width: 13px; height: 13px; }
.page-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    line-height: 1.15;
}
.page-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [data-lucide] { width: 13px; height: 13px; color: var(--border); }
.breadcrumb-current { color: var(--text-dark); font-weight: 500; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ── Utilities ── */
.text-primary   { color: var(--primary) !important; }
.text-muted     { color: var(--text-muted) !important; }
.text-center    { text-align: center; }
.text-white     { color: #fff !important; }
.fw-bold        { font-weight: 700; }
.fw-semibold    { font-weight: 600; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.w-100 { width: 100%; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .header-nav   { gap: 0; }
    .nav-link     { padding: 0.5rem 0.65rem; font-size: 0.83rem; }
}
@media (max-width: 992px) {
    .header-nav, .header-actions .btn-outline { display: none; }
    .nav-toggle   { display: flex; }
    .mobile-nav   { display: flex; }
    .grid-4       { grid-template-columns: repeat(2,1fr); }
    .grid-3       { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section      { padding: 3.5rem 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .page-hero    { padding: 3rem 0 2.5rem; }
    .page-hero h1 { font-size: 1.875rem; }
    .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .header-topbar { display: none; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 1.75rem; }
}

/* ── Logo image (removes black bg via mix-blend-mode) ── */
.header-brand-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    mix-blend-mode: multiply;
    background: transparent;
}
/* ── Footer Logo Image ── */
.footer-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.site-footer .footer-logo-img,
.mobile-nav .mobile-nav-logo-img {
    mix-blend-mode: screen;
}

/* ══════════════════════════════════════════
   MOBILE HEADER FIXES
══════════════════════════════════════════ */

@media (max-width: 992px) {

    /* Hide top bar on mobile */
    .header-topbar { display: none; }

    /* Tighten the main nav bar */
    .header-main { height: 60px; }

    /* Brand fits in one line */
    .header-brand { gap: 0.6rem; }

    .header-brand-logo {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }
    .header-brand-logo-img {
        width: 52px;
        height: 52px;
    }

    .header-brand-title {
        font-size: 0.875rem;
        letter-spacing: -0.3px;
    }
    .header-brand-sub {
        font-size: 0.6rem;
    }

    /* Actions: only show hamburger, hide Careers button */
    .header-actions .btn-primary { display: none; }
    .nav-toggle { display: flex; }

    /* CRITICAL — stops content overflowing right edge */
    .container  { padding: 0 1rem; }
    body        { overflow-x: hidden; }
    html        { overflow-x: hidden; }
}

@media (max-width: 480px) {

    .header-brand-title { font-size: 0.82rem; }
    .header-brand-sub   { font-size: 0.58rem; }

    .header-brand-logo,
    .header-brand-logo-img {
        width: 44px;
        height: 44px;
    }
}

/* ══════════════════════════════════════════
   MOBILE CONTENT OVERFLOW FIX
══════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Prevent any element from overflowing viewport */
    * { max-width: 100%; }

    /* Welcome section — single column */
    .welcome-grid { grid-template-columns: 1fr; gap: 2rem; }
    .welcome-visual { display: none; }

    /* Hero — single column */
    .hero > .container > div {
        grid-template-columns: 1fr !important;
    }
    .hero-visual { display: none; }

    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }

    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats grid */
    .stats-grid { grid-template-columns: 1fr 1fr; }

    /* Features grid */
    .features-grid { grid-template-columns: 1fr; }

    /* Programs grid */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    /* Careers teaser */
    .careers-teaser-inner {
        flex-direction: column;
        text-align: center;
    }
    .careers-teaser-count { width: 100%; }

    /* CTA box */
    .cta-box { padding: 2rem 1.25rem; }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn { width: 100%; justify-content: center; }

    /* Page hero */
    .page-hero { padding: 2.5rem 0 2rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero p  { font-size: 0.9rem; }

    /* Section headers */
    .section-title    { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }
}

@media (max-width: 480px) {

    .hero h1     { font-size: 1.5rem; }
    .stats-grid  { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom  { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* Breadcrumb */
    .breadcrumb { font-size: 0.75rem; }

    /* Section padding */
    .section    { padding: 2.5rem 0; }
    .section-sm { padding: 1.5rem 0; }
}

@media (max-width: 360px) {
    .header-brand-sub { display: none; }
    .header-brand-title { font-size: 0.9rem; }
}