* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: #1d2a3a;
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.topbar {
    background: #102c55;
    color: #fff;
    font-size: 13px
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    gap: 24px;
    align-items: center
}

.top-links {
    margin-left: auto
}

.navbar {
    height: 82px;
    background: #fff;
    box-shadow: 0 3px 18px #00000012;
    position: sticky;
    top: 0;
    z-index: 20
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}
.school-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}
.footer-brand .school-logo {
    width: 100px;
    height: 100px;
}
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e7ad2f;
    display: grid;
    place-items: center
}

.brand b {
    display: block;
    font: 700 25px "Playfair Display", serif;
    color: #102c55;
    line-height: 1
}

.brand small {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #555
}

/* Footer brand - white school name */
.footer-brand b {
    color: #fff;
}

.footer-brand small {
    color: #fff;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 700
}

nav a:hover {
    color: #d99b20
}

.nav-cta {
    background: #e7ad2f;
    padding: 11px 18px;
    border-radius: 4px
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 25px
}

.hero {
    min-height: 620px;
    background: linear-gradient(90deg, #071a33ee, #071a3370), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=85") center/cover
}

.hero-content {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #f3c458
}

.eyebrow.dark {
    color: #c18a18
}

.hero h1,
.section h2,
.admission h2 {
    font: 700 clamp(40px, 6vw, 68px)/1.1 "Playfair Display", serif;
    max-width: 720px;
    margin: 15px 0
}

.hero h1 em,
.section h2 em,
.admission h2 em {
    color: #e5ad35;
    font-style: normal
}

.hero p {
    font-size: 18px;
    max-width: 600px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer
}

.primary {
    background: #e5ad35;
    color: #102c55
}

.outline {
    border: 1px solid #fff;
    color: #fff
}

.light {
    background: #fff;
    color: #102c55
}

.quick-links {
    background: #102c55;
    color: #fff
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.quick-grid a {
    padding: 24px;
    border-right: 1px solid #ffffff1c
}

.quick-grid strong,
.quick-grid span {
    display: block
}

.quick-grid span {
    font-size: 12px;
    opacity: .7
}

.section {
    padding: 95px 0
}

.alt {
    background: #f6f8fa
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.image-placeholder {
  overflow: hidden;
  border-radius: 18px;
  min-height: 480px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section h2 {
    color: #102c55;
    font-size: 46px
}

.section p {
    color: #697486
}

.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
    font-weight: 700;
    font-size: 14px
}

.stats {
    background: #102c55;
    color: #fff;
    padding: 60px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stats-grid div {
    text-align: center;
    border-right: 1px solid #ffffff18
}

.stats-grid div:last-child {
    border: 0
}

.stats b {
    display: block;
    font-size: 38px;
    color: #e5ad35
}

.stats span {
    font-size: 13px;
    opacity: .75
}

.section-head {
    margin-bottom: 45px
}

.section-head.center {
    text-align: center
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.cards article,
.life,
.news-grid article {
    background: #fff;
    padding: 32px;
    border-radius: 7px;
    box-shadow: 0 7px 28px #12253e0c
}

.cards .icon,
.life .icon {
    width: 52px;
    height: 52px;
    background: #fff1d2;
    color: #bd8617;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800
}

.cards h3,
.life h3,
.news-grid h3 {
    color: #102c55
}

.life-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px
}

.life {
    min-height: 220px
}

.featured {
    grid-row: span 2;
    min-height: 460px;
    background: linear-gradient(#0000, #071a33cc), url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1000&q=80") center/cover;
    color: #fff;
    display: flex;
    align-items: flex-end
}

.featured h3 {
    color: #fff
}

.featured p {
    color: #fff
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.document {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 18px;
    border-radius: 7px;
    box-shadow: 0 5px 20px #12253e0a
}

.pdf-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: #fff0f0;
    color: #d33;
    border-radius: 5px;
    font-size: 23px;
    flex-shrink: 0
}

.document-info {
    flex: 1
}

.document-info h3 {
    margin: 0;
    color: #102c55;
    font-size: 16px
}

.document-info p {
    margin: 2px 0;
    font-size: 12px
}

.document-info small {
    color: #999
}

.doc-actions {
    display: flex;
    gap: 7px
}

.doc-actions button,
.doc-actions a {
    border: 0;
    border-radius: 4px;
    padding: 9px 11px;
    background: #102c55;
    color: #fff;
    cursor: pointer;
    font-size: 12px
}

.doc-actions a {
    background: #eef1f5;
    color: #102c55
}

.admission {
    background: #e5ad35;
    padding: 65px 0
}

.admission-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.admission h2 {
    font-size: 44px;
    margin: 10px 0
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.news-grid article span {
    font-size: 11px;
    color: #bd8617;
    font-weight: 800
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.contact-details {
    margin-top: 30px
}

.form-card {
    background: #fff;
    padding: 30px;
    border-radius: 7px;
    box-shadow: 0 7px 30px #12253e10
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    font: inherit
}

.form-card button {
    width: fit-content
}

#formMessage {
    margin-top: 10px;
    font-size: 13px
}

footer {
    background: #0c2343;
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding: 60px 0
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: #b2bdca;
    font-size: 13px;
    margin: 8px 0
}

.footer-grid h4 {
    margin-top: 0
}

.copyright {
    text-align: center;
    border-top: 1px solid #ffffff12;
    padding: 18px;
    color: #8997a9;
    font-size: 12px
}

.loading {
    text-align: center;
    color: #697486;
    padding: 30px
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: #000b;
    z-index: 100;
    padding: 25px
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-box {
    background: #fff;
    width: min(1000px, 100%);
    height: min(90vh, 800px);
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    overflow: hidden
}

.modal-head {
    height: 55px;
    background: #102c55;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px
}

.modal-head button {
    background: none;
    color: #fff;
    border: 0;
    font-size: 28px;
    cursor: pointer
}

.modal iframe {
    border: 0;
    flex: 1;
    width: 100%
}

@media(max-width:850px) {
    .topbar {
        display: none
    }

    .menu-btn {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 5%;
        flex-direction: column;
        align-items: stretch
    }

    .nav-open nav {
        display: flex
    }

    .quick-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .two-col,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .cards,
    .news-grid {
        grid-template-columns: 1fr
    }

    .life-grid {
        grid-template-columns: 1fr 1fr
    }

    .featured {
        grid-column: span 2;
        grid-row: auto
    }

    .documents-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {

    .quick-grid,
    .stats-grid,
    .life-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .featured {
        grid-column: auto
    }

    .hero {
        min-height: 550px
    }

    .hero-content {
        min-height: 550px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start
    }

    .section {
        padding: 70px 0
    }

    .section h2 {
        font-size: 38px
    }

    .document {
        align-items: flex-start
    }

    .doc-actions {
        flex-direction: column
    }
}