:root {
  --navy-950:#06162f; 
  --navy-900:#0b2a57; 
  --navy-800:#123b73;
  --gold-500:#d5a628; 
  --gold-400:#edc55a; 
  --white:#fff;
  --slate-950:#111827; 
  --slate-700:#374151; 
  --slate-500:#6b7280;
  --slate-300:#d1d5db; 
  --slate-200:#e5e7eb; 
  --slate-100:#f3f4f6; 
  --slate-50:#f8fafc;
  --surface:#fff; 
  --surface-soft:#f5f7fb; 
  --text:#172033; 
  --muted:#5f6b7d;
  --border:#dfe5ee; 
  --shadow:0 20px 50px rgba(8,28,61,.12);
  --radius-sm:.55rem; 
  --radius-md:1rem; 
  --radius-lg:1.6rem;
  --container:1180px; 
  --transition:180ms ease;
}
html[data-theme="dark"] {
  --surface:#0e1726; 
  --surface-soft:#111d30; 
  --text:#edf3fb; 
  --muted:#aeb9c9;
  --border:#26364e; 
  --shadow:0 20px 50px rgba(0,0,0,.35); 
  --slate-50:#111d30;
}
*{box-sizing:border-box}
html{
    scroll-behavior:smooth
}
body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--surface);
    color:var(--text);
    line-height:1.65
}
img{
    max-width:100%;
    display:block
}
a{
    color:inherit
}
button,input,select,textarea{
    font:inherit
}
button{
    cursor:pointer
}
.container{
    width:min(calc(100% - 2rem),var(--container));
    margin-inline:auto
}
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
.skip-link{
    position:fixed;
    left:1rem;
    top:-5rem;
    background:var(--gold-500);
    color:#111;
    padding:.75rem 1rem;
    z-index:9999;
    border-radius:.5rem
}
.skip-link:focus{
    top:1rem
}
.topbar{
    background:var(--navy-950);
    color:#dce7f7;
    font-size:.88rem
}
.topbar__inner,.topbar__links{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem
}
.topbar__inner{
    min-height:38px
}
.topbar__links a{
    text-decoration:none
}
.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:color-mix(in srgb,var(--surface) 94%,transparent);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border)
}
.nav-wrap{
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:2rem
}
.brand{
    display:flex;
    align-items:center;
    gap:.8rem;
    text-decoration:none
}
.brand__mark{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    border-radius:50%;
    background:var(--navy-900);
    color:var(--gold-400);
    font-weight:900
}
.brand__text{
    display:flex;
    flex-direction:column;
    line-height:1.15
}
.brand__text small{
    color:var(--muted);
    font-size:.72rem;
    margin-top:.25rem
}
.primary-nav{
    display:flex;
    align-items:center;
    gap:1rem
}
.primary-nav>a,.nav-dropdown>button{
    border:0;
    background:none;
    text-decoration:none;
    color:var(--text);
    font-weight:700;
    padding:.65rem .2rem
}
.primary-nav>a:hover,.primary-nav>a.is-active,.nav-dropdown>button:hover{
    color:var(--navy-800)
}
.nav-dropdown{
    position:relative
}
.nav-dropdown__menu{
    position:absolute;
    top:calc(100% + .7rem);
    left:0;
    min-width:230px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:.6rem;
    box-shadow:var(--shadow);
    display:none
}
.nav-dropdown__menu a{
    display:block;
    padding:.75rem .8rem;
    border-radius:.55rem;
    text-decoration:none
}
.nav-dropdown__menu a:hover{
    background:var(--surface-soft)
}
.nav-dropdown.is-open .nav-dropdown__menu{
    display:block
}
.theme-toggle{
    width:42px;
    height:42px;
    border:1px solid var(--border);
    border-radius:50%;
    background:var(--surface);
    color:var(--text)
}
.nav-toggle{
    display:none;
    border:0;
    background:none
}
.nav-toggle span:not(.sr-only){
    display:block;
    width:25px;
    height:2px;
    background:var(--text);
    margin:5px
}
.hero{
    background:linear-gradient(135deg,var(--navy-950),var(--navy-800));
    color:#fff;
    padding:clamp(5rem,10vw,9rem) 0;
    overflow:hidden
}
.hero__grid,.split-layout{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:clamp(2rem,7vw,6rem);
    align-items:center
}
.eyebrow{
    text-transform:uppercase;
    letter-spacing:.16em;
    font-size:.78rem;
    font-weight:900;
    color:var(--gold-500)
}
.hero h1,.page-hero h1{
    font-size:clamp(2.7rem,7vw,5.6rem);
    line-height:.98;
    letter-spacing:-.055em;
    margin:.5rem 0 1.3rem
}
.hero p,.page-hero p{
    font-size:1.15rem;
    max-width:680px;
    color:#dbe7f7
}
.hero-card{
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.22);
    padding:2rem;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow)
}
.hero-card a{
    color:var(--gold-400);
    font-weight:800
}
.button-row{
    display:flex;
    flex-wrap:wrap;
    gap:.8rem;
    margin-top:1.6rem
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:.75rem 1.1rem;
    border-radius:.72rem;
    border:1px solid transparent;
    text-decoration:none;
    font-weight:850;
    transition:transform var(--transition),background var(--transition)
}
.btn:hover{
    transform:translateY(-2px)
}
.btn--gold{
    background:var(--gold-500);
    color:#172033}.btn--outline{border-color:rgba(255,255,255,.5);
    color:#fff}.btn--outline-dark{border-color:var(--navy-900);
    color:var(--navy-900)
}
.btn--small{
    min-height:40px;
    padding:.55rem .9rem;
    background:var(--navy-900);
    color:#fff}.btn--block{width:100%
}
.stats-section{
    margin-top:-2.3rem;
    position:relative;
    z-index:2
}
.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);gap:1rem
}
.stat-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:1.4rem;
    box-shadow:var(--shadow);
    text-align:center
}
.stat-card strong{
    display:block;
    font-size:2rem;
    color:var(--navy-800)
}
.section{
    padding:clamp(4rem,8vw,7rem) 0
}
.section--muted{
    background:var(--surface-soft)
}
.section--dark{
    background:var(--navy-950);
    color:#fff
}
.section-heading{
    max-width:760px;
    margin-bottom:2.2rem
}
.section-heading h2,.split-layout h2,.cta-panel h2{
    font-size:clamp(2rem,4vw,3.2rem);
    line-height:1.08;
    letter-spacing:-.04em;
    margin:.45rem 0 1rem
}
.section-heading--row{
    max-width:none;
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:2rem
}
.section-heading--light p{
    color:#cbd7e8
}
.card-grid{
    display:grid;
    gap:1.25rem
}
.card-grid--3{
    grid-template-columns:repeat(3,1fr)
}
.feature-card,.pathway-card,.profile-card,.form-card,.info-panel,.quote-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:1.6rem;
    box-shadow:0 10px 30px rgba(13,42,87,.06)
}
.feature-card h3,.pathway-card h3{
    margin-top:0
}
.pathway-card__icon{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:12px;
    background:#fff3c9;
    color:#8a6100;
    margin-bottom:1rem
}
.quote-card blockquote{
    font-size:1.55rem;
    line-height:1.4;
    margin:0 0 1.3rem
}
.quote-card cite{
    color:var(--muted)
}
.text-link{
    font-weight:850;
    color:var(--navy-800);
    text-decoration:none
}
.news-card{
    overflow:hidden;
    border-radius:var(--radius-md);
    background:#fff;
    color:#172033
}
.news-card img{
    aspect-ratio:16/9;
    object-fit:cover;
    width:100%
}
.news-card__body{
    padding:1.3rem
}
.news-card time{
    color:#7a8698;
    font-size:.85rem
}
.news-card a{
    color:var(--navy-800);
    font-weight:850
}
.news-card--light{
    border:1px solid var(--border);
    box-shadow:var(--shadow)
}
.cta-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:2rem;
    padding:2rem;
    border-radius:var(--radius-lg);
    background:linear-gradient(120deg,#f7e6a8,#fff8dd);
    color:#172033
}
.page-hero{
    background:linear-gradient(135deg,var(--navy-950),var(--navy-800));
    color:#fff;
    padding:clamp(4rem,8vw,7rem) 0
}.page-hero h1{
    max-width:900px
}
.check-list{
    padding:0;
    list-style:none
}
.check-list li{
    position:relative;
    padding-left:1.6rem;
    margin:.65rem 0
}
.check-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--gold-500);
    font-weight:900
}
.profile-card__avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--navy-900);
    color:var(--gold-400);
    font-weight:900
}
.step-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem
}
.step-grid article{
    padding:1.5rem;
    border-top:4px solid var(--gold-500);
    background:var(--surface-soft)}.step-grid span{font-weight:900;
    color:var(--navy-800)
}
.data-table-wrap{
    overflow:auto;
    border:1px solid var(--border);
    border-radius:var(--radius-md)
}
    .data-table{
        width:100%;
        border-collapse:collapse;
        min-width:680px
    }
        .data-table th,.data-table td{
            padding:1rem;
            text-align:left;
            border-bottom:1px solid var(--border)
        }
.data-table th{
    background:var(--navy-900);
    color:#fff
}
.toolbar{
    display:flex;
    justify-content:space-between;
    gap:1rem;margin-bottom:1.5rem
}
.toolbar input,.toolbar select{
    min-height:46px;
    border:1px solid var(--border);
    border-radius:.7rem;
    padding:.7rem;
    background:var(--surface);
    color:var(--text)
}
.search-box{
    flex:1
}
.search-box input{
    width:100%
}
.resource-list{
    display:grid;
    gap:.8rem
}
.resource-list article{
    display:flex;align-items:center;
    justify-content:space-between;
    gap:1rem;
    border:1px solid var(--border);
    padding:1.1rem 1.2rem;
    border-radius:var(--radius-md)
}
.resource-list h2{
    font-size:1.1rem;
    margin:.2rem 0
}
.resource-tag{
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    color:var(--navy-800)
}
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem
}
.gallery-item{
    border:0;
    padding:0;
    border-radius:var(--radius-md);
    overflow:hidden;
    background:none
}
.gallery-item img{
    aspect-ratio:4/3;
    object-fit:cover;
    width:100%;
    transition:transform .3s
}
.gallery-item:hover img{
    transform:scale(1.04)
}
.lightbox{
    border:0;
    border-radius:1rem;
    padding:1rem;
    max-width:min(92vw,1000px);
    background:#050b16
}
.lightbox::backdrop{
    background:rgba(0,0,0,.85)
}
.lightbox button{
    position:absolute;
    right:1rem;
    top:.5rem;
    border:0;
    background:none;
    color:#fff;
    font-size:2rem
}
.lightbox img{
    max-height:80vh
}
.contact-list{
    display:grid;
    gap:1rem
}
.contact-list article{
    display:flex;
    flex-direction:column;
    padding:1rem 0;
    border-bottom:1px solid var(--border)
}
.form-card form,.auth-card form{
    display:grid;
    gap:.65rem
}
.form-card input,.form-card textarea,.auth-card input{
    width:100%;
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    border-radius:.7rem;
    padding:.8rem
}
.alert{
    padding:1rem;
    border-radius:.7rem;
    margin-bottom:1rem
}
.alert--success{
    background:#e8f8ef;
    color:#17643a
}
.alert--error{
    background:#fff0f0;
    color:#8a1f1f
}
.auth-section{
    min-height:70vh;
    display:grid;
    place-items:center;
    padding:4rem 1rem;
    background:var(--surface-soft)
}.auth-card{
    width:min(100%,440px);
    background:var(--surface);
    border:1px solid var(--border);
    padding:2rem;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow)
}
.prose{
    max-width:820px
}
.prose h2{
    margin-top:2.2rem
}
.site-footer{
    background:var(--navy-950);
    color:#dfe9f7;
    padding:4rem 0 1.2rem
}
.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap:2rem
}
.footer-grid h2{
    color:#fff;
    font-size:1.05rem
}
.footer-links{
    list-style:none;
    padding:0
}
.footer-links li{
    margin:.45rem 0
}
.footer-links a,.site-footer a{
    color:#dfe9f7
}
.inline-form{
    display:flex
}
.inline-form input{
    min-width:0;
    width:100%;
    border:0;
    padding:.75rem;
    border-radius:.6rem 0 0 .6rem
}
.inline-form .btn{
    border-radius:0 .6rem .6rem 0
}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    border-top:1px solid rgba(255,255,255,.15);
    margin-top:2rem;
    padding-top:1rem}
    .footer-bottom div{
        display:flex;
        gap:1rem
    }
.reveal{
    opacity:0;transform:translateY(20px);
    transition:opacity .6s ease,transform .6s ease
}
    .reveal.is-visible{
        opacity:1;transform:none
    }
:focus-visible{
    outline:3px solid var(--gold-500);
    outline-offset:3px
}

/* Homepage hero background image */
.hero {
    position: relative;
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 24, 43, 0.88) 0%,
            rgba(8, 24, 43, 0.72) 50%,
            rgba(8, 24, 43, 0.45) 100%
        ),
        url("../images/school.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Keep hero content above the background */
.hero .container {
    position: relative;
    z-index: 1;
}

/* Improve text readability */
.hero h1,
.hero h2,
.hero p,
.hero .eyebrow {
    color: #ffffff;
}

/* Keep the featured update card readable */
.hero-card {
    position: relative;
    z-index: 2;
}

/* About page hero background */
.page-hero {
    position: relative;
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 24, 43, 0.88) 0%,
            rgba(8, 24, 43, 0.72) 50%,
            rgba(8, 24, 43, 0.45) 100%
        ),
        url("../images/admin.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Keep page hero content above the image */
.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Ensure readable text */
.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
    color: #ffffff;
}

@media (max-width:960px){
  .nav-toggle{
    display:block
}
.primary-nav{
    position:fixed;
    inset:115px 1rem auto 1rem;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:var(--surface);
    padding:1rem;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow)
}
    .primary-nav.is-open{
        display:flex
    }
    .nav-dropdown__menu{
        position:static;
        box-shadow:none;
        margin-top:.3rem
    }
    .hero__grid,.split-layout{
        grid-template-columns:1fr
    }
    .stats-grid,.step-grid{
        grid-template-columns:repeat(2,1fr)
    }
    .card-grid--3{
        grid-template-columns:repeat(2,1fr)
    }
    .gallery-grid{
        grid-template-columns:repeat(2,1fr)
    }
        .footer-grid{
            grid-template-columns:repeat(2,1fr)
        }
}
@media (max-width:640px){
  .topbar__links{
    display:none
}
.brand__text strong{
    font-size:.9rem
}
.hero h1,.page-hero h1{
    font-size:2.7rem
}
.stats-grid,.card-grid--3,.step-grid,.gallery-grid,.footer-grid{
    grid-template-columns:1fr
}
.section-heading--row,.cta-panel,.footer-bottom,.resource-list article,.toolbar{
    align-items:stretch;
    flex-direction:column
}.resource-list article{
    display:flex
}
.inline-form{
    flex-direction:column;
    gap:.5rem
}
.inline-form input,.inline-form .btn{
    border-radius:.6rem
}
.btn{
    width:100%
}
}
@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        transition-duration:.01ms!important
    }
    .reveal{
        opacity:1;
        transform:none
    }
}
