﻿
/* ===========================================
   PREMIUM TWO-ROW SCHOOL HEADER
=========================================== */

/*.ah-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 14px rgba(19,43,70,.045);
    transition: box-shadow .3s ease;
}*/

.ah-header{
    position: relative;
    z-index: 1000;
}

    .ah-header.is-scrolled {
        box-shadow: 0 8px 30px rgba(19,43,70,.12);
    }

/* ===========================================
   01 / TOP CONTACT BAR
=========================================== */

.ah-topbar {
    background: var(--navy);
    color: #fff;
}

.ah-topbar__inner {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ah-topbar__contact,
.ah-topbar__right {
    display: flex;
    align-items: center;
}

.ah-topbar__contact {
    gap: 24px;
}

.ah-topbar__right {
    gap: 22px;
}

.ah-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s;
}

    .ah-topbar a:hover {
        color: var(--gold-light);
    }

.ah-topbar__contact a > span:first-child {
    font-size: 15px;
    color: var(--gold-light);
}

.ah-topbar__divider,
.ah-topbar__right > span {
    height: 15px;
    width: 1px;
    flex: 0 0 auto;
    background: rgba(255,255,255,.3);
}


/* ===========================================
   02 / MAIN HEADER CONTAINER
=========================================== */

.ah-header-main {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.ah-header-main__inner {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transition: min-height .3s ease;
}


/* ==================================
   AL-HIKMAH PREMIUM HEADER BRANDING
================================== */

.ah-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    color: #132B46;
    text-decoration: none;
    min-width: 0;
}

/* Logo Symbol */
.ah-header-logo__icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    background: #132B46;
    color: #D6B778;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease;
}

    .ah-header-logo__icon svg {
        width: 39px;
        height: 39px;
    }

.ah-header-logo:hover .ah-header-logo__icon {
    background: #203D5C;
}

/* Brand Text */
.ah-header-logo__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

/* Main Name */
.ah-header-logo__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.8px;
    color: #132B46;
    white-space: nowrap;
}

/* International School */
.ah-header-logo__subtitle {
    margin-top: 6px;
    font-family: var(--font-body, Arial, sans-serif);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #132B46;
    white-space: nowrap;
}

/* Motto */
.ah-header-logo__tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: var(--font-body, Arial, sans-serif);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.3px;
    color: #93764C;
    white-space: nowrap;
}

/* Decorative Gold Line */
.ah-header-logo__line {
    display: inline-block;
    width: 20px;
    height: 1px;
    flex-shrink: 0;
    background: #B99861;
}

/* Tablet */
@media (max-width: 1100px) {
    .ah-header-logo {
        gap: 11px;
    }

    .ah-header-logo__icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .ah-header-logo__name {
        font-size: 25px;
    }

    .ah-header-logo__subtitle {
        font-size: 9px;
        letter-spacing: 1.7px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .ah-header-logo {
        gap: 9px;
    }

    .ah-header-logo__icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        border-radius: 8px;
    }

        .ah-header-logo__icon svg {
            width: 29px;
            height: 29px;
        }

    .ah-header-logo__name {
        font-size: 22px;
    }

    .ah-header-logo__subtitle {
        margin-top: 4px;
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .ah-header-logo__tagline {
        margin-top: 5px;
        gap: 5px;
        font-size: 7px;
        letter-spacing: .8px;
    }

    .ah-header-logo__line {
        width: 12px;
    }
}

@media (max-width: 360px) {
    .ah-header-logo__name {
        font-size: 19px;
    }

    .ah-header-logo__subtitle {
        font-size: 7px;
        letter-spacing: .9px;
    }

    .ah-header-logo__tagline {
        display: none;
    }
}



/* ===========================================
   03 / RIGHT CONTENT
=========================================== */

.ah-header-content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex: 1;
    min-width: 0;
}

/* UPPER ROW */

.ah-header-upper {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    column-gap: clamp(12px, 2vw, 32px);
    row-gap: 8px;
    border-bottom: 1px solid var(--border);
    transition: min-height .3s ease;
}

.ah-header-upper__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #56677A;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
    white-space: nowrap;
    transition: color .25s;
}

    .ah-header-upper__link:hover {
        color: var(--navy);
    }

.ah-upper-symbol {
    color: var(--gold);
    font-size: 15px;
}


/* ===========================================
   04 / MAIN NAVIGATION
=========================================== */

.ah-primary-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ah-primary-nav__list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.7vw, 30px);
}

    .ah-primary-nav__list li {
        flex: 0 0 auto;
    }

    .ah-primary-nav__list a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        position: relative;
        padding: 19px 0;
        font-size: 13px;
        font-weight: 600;
        line-height: 22px;
        color: var(--navy);
        white-space: nowrap;
        transition: color .25s;
    }

        .ah-primary-nav__list a::after {
            content: "";
            position: absolute;
            bottom: 11px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width .25s ease;
        }

        .ah-primary-nav__list a:hover {
            color: #A17D47;
        }

            .ah-primary-nav__list a:hover::after {
                width: 100%;
            }

/* Decorative dropdown arrows only */

.ah-nav-arrow {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

/* Hidden on desktop */

.ah-mobile-quicklinks {
    display: none;
}


/* ===========================================
   05 / STICKY HEADER SHRINK EFFECT
=========================================== */

.ah-header.is-scrolled .ah-header-main__inner {
    min-height: 104px;
}

.ah-header.is-scrolled .ah-header-upper {
    min-height: 46px;
}

.ah-header.is-scrolled .ah-header-logo__icon {
    width: 55px;
    height: 55px;
}

.ah-header-logo__icon {
    transition: width .3s, height .3s;
}


/* ===========================================
   06 / MOBILE HAMBURGER
=========================================== */

.ah-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 7px;
    background: var(--navy);
    cursor: pointer;
}

    .ah-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }

    .ah-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .ah-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .ah-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


/* ===========================================
   07 / LAPTOP & TABLET
=========================================== */

@media (max-width: 1250px) {

    .ah-header-main__inner {
        min-height: 92px;
    }

    .ah-header.is-scrolled .ah-header-main__inner {
        min-height: 76px;
    }

    .ah-header-upper {
        display: none;
    }

    .ah-header-content {
        position: static;
        align-self: auto;
        flex: 0;
    }

    .ah-menu-toggle {
        display: flex;
    }

    .ah-primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 18px 35px rgba(19,43,70,.12);
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px 24px 25px;
    }

        .ah-primary-nav.is-open {
            display: block;
        }

    .ah-primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

        .ah-primary-nav__list li {
            border-bottom: 1px solid var(--border);
        }

        .ah-primary-nav__list a {
            display: flex;
            width: 100%;
            padding: 15px 2px;
            font-size: 14px;
        }

            .ah-primary-nav__list a::after {
                display: none;
            }

    .ah-mobile-quicklinks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
        margin-top: 23px;
    }

        .ah-mobile-quicklinks a {
            padding: 12px;
            border-radius: 6px;
            background: var(--ivory);
            color: var(--navy);
            font-size: 12px;
            font-weight: 600;
            text-align: center;
        }
}


/* ===========================================
   08 / SMALL SCREENS
=========================================== */

@media (max-width: 768px) {

    .ah-topbar__inner {
        min-height: 36px;
        justify-content: center;
    }

    .ah-topbar__right {
        display: none;
    }

    .ah-topbar__contact {
        gap: 12px;
    }

        .ah-topbar__contact a {
            font-size: 10px;
        }

    .ah-header-main__inner {
        min-height: 77px;
        gap: 12px;
    }

    .ah-header-logo {
        gap: 10px;
    }

    .ah-header-logo__icon {
        width: 45px;
        height: 45px;
        border-radius: 8px;
    }

        .ah-header-logo__icon svg {
            width: 28px;
            height: 28px;
        }

    .ah-header-logo__text strong {
        font-size: 15px;
    }

    .ah-header-logo__text small {
        margin-top: 5px;
        font-size: 7px;
    }

    .ah-header.is-scrolled .ah-header-main__inner {
        min-height: 70px;
    }

    .ah-header.is-scrolled .ah-header-logo__icon {
        width: 43px;
        height: 43px;
    }

    .ah-primary-nav {
        padding: 8px 16px 22px;
    }
}

@media (max-width: 420px) {

    .ah-topbar__contact {
        gap: 8px;
    }

        .ah-topbar__contact a {
            font-size: 9px;
        }

    .ah-header-logo__text strong {
        font-size: 13px;
    }

    .ah-mobile-quicklinks {
        grid-template-columns: 1fr;
    }
}



/* ============================================
   ACADEMIC PROGRAMMES — PREMIUM DESIGN
============================================ */

.ah-academics {
    position: relative;
    overflow: hidden;
    padding: 115px 0 110px;
    background: #FFFFFF;
}


/* ============================================
   SECTION HEADING
============================================ */

.ah-academics__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 58px;
}

.ah-academics__heading {
    max-width: 790px;
}

.ah-academics__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 21px;
    color: #A1804E;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .23em;
}

.ah-academics__eyebrow-line {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.ah-academics__heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.5vw, 63px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.055em;
    color: var(--navy);
    margin-bottom: 22px;
}

    .ah-academics__heading h2 span {
        display: block;
        color: #A58351;
    }

.ah-academics__heading p {
    max-width: 610px;
    color: #6C7B8B;
    font-size: 15px;
    line-height: 1.9;
}


/* Header action link */

.ah-academics__header-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #C5A46D;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: color .25s;
}

    .ah-academics__header-link span {
        font-size: 20px;
        color: #A58351;
        transition: transform .25s;
    }

    .ah-academics__header-link:hover {
        color: #A58351;
    }

        .ah-academics__header-link:hover span {
            transform: translate(3px, -3px);
        }


/* ============================================
   PROGRAMMES GRID
============================================ */

.ah-academics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}


/* ============================================
   PROGRAMME CARD
============================================ */

.ah-program-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #F8F7F4;
    border: 1px solid #E8E7E3;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    /* Slight editorial stagger */

    .ah-program-card:nth-child(2),
    .ah-program-card:nth-child(4) {
        margin-top: 32px;
    }

    .ah-program-card:hover {
        transform: translateY(-8px);
        border-color: #D9C8AA;
        box-shadow: 0 22px 48px rgba(19,43,70,.1);
    }


/* ============================================
   CARD IMAGE
============================================ */

.ah-program-card__image {
    position: relative;
    height: clamp(245px, 25vw, 335px);
    overflow: hidden;
    background: #D8E0E5;
}

    .ah-program-card__image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, transparent 45%, rgba(8,27,46,.44) 100% );
        pointer-events: none;
    }

    .ah-program-card__image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform .7s cubic-bezier(.2,.65,.2,1);
    }

.ah-program-card:hover .ah-program-card__image img {
    transform: scale(1.055);
}


/* Small age badge */

.ah-program-card__age {
    position: absolute;
    left: 19px;
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 5px;
    background: rgba(19,43,70,.85);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Large decorative number */

.ah-program-card__image-number {
    position: absolute;
    top: 13px;
    right: 18px;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: 1;
    color: rgba(255,255,255,.8);
    text-shadow: 0 1px 10px rgba(0,0,0,.1);
}


/* ============================================
   CARD CONTENT
============================================ */

.ah-program-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-height: 315px;
    padding: 29px 24px 25px;
}

/* Section label */

.ah-program-card__category {
    display: block;
    margin-bottom: 12px;
    color: #A58351;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.6;
}


/* Programme heading */

.ah-program-card__body h3 {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.3;
    margin-bottom: 8px;
}

.ah-program-card__tagline {
    color: #A58351;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 17px;
}

.ah-program-card__description {
    color: #718091;
    font-size: 12px;
    line-height: 1.85;
    margin-bottom: 28px;
}


/* Bottom link */

.ah-program-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-top: auto;
    padding-top: 19px;
    border-top: 1px solid #E2DFD8;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    transition: color .25s;
}

    .ah-program-card__link span {
        display: grid;
        place-items: center;
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
        border: 1px solid #D9D2C5;
        border-radius: 50%;
        font-size: 16px;
        transition: background .25s, color .25s, transform .25s;
    }

    .ah-program-card__link:hover {
        color: #A58351;
    }

        .ah-program-card__link:hover span {
            background: var(--navy);
            color: #FFFFFF;
            transform: translate(2px, -2px);
        }


/* ============================================
   FEATURED SECOND CARD
============================================ */

.ah-program-card--featured {
    background: var(--navy);
    border-color: var(--navy);
}

    .ah-program-card--featured .ah-program-card__category,
    .ah-program-card--featured .ah-program-card__tagline {
        color: #D9BD90;
    }

    .ah-program-card--featured .ah-program-card__body h3 {
        color: #FFFFFF;
    }

    .ah-program-card--featured .ah-program-card__description {
        color: #C6D3E0;
    }

    .ah-program-card--featured .ah-program-card__link {
        color: #FFFFFF;
        border-color: rgba(255,255,255,.2);
    }

        .ah-program-card--featured .ah-program-card__link span {
            border-color: rgba(255,255,255,.4);
        }

    .ah-program-card--featured .ah-program-card__age {
        background: #C5A46D;
        color: #132B46;
        border-color: #C5A46D;
    }

    .ah-program-card--featured .ah-program-card__link:hover {
        color: #D9BD90;
    }

        .ah-program-card--featured .ah-program-card__link:hover span {
            background: #C5A46D;
            color: #132B46;
        }

    .ah-program-card--featured:hover {
        border-color: var(--navy-light);
    }


/* ============================================
   BOTTOM MESSAGE
============================================ */

.ah-academics__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 75px;
}

    .ah-academics__footer p {
        color: #8994A0;
        font-size: 12px;
        letter-spacing: .035em;
        text-align: center;
    }

.ah-academics__footer-line {
    width: 45px;
    height: 1px;
    background: #D5C4A9;
}


/* ============================================
   SMALLER DESKTOPS
============================================ */

@media (max-width: 1200px) {

    .ah-academics__grid {
        gap: 15px;
    }

    .ah-program-card__body {
        padding: 25px 19px 22px;
    }

        .ah-program-card__body h3 {
            font-size: 22px;
        }
}


/* ============================================
   TABLETS
============================================ */

@media (max-width: 950px) {

    .ah-academics {
        padding: 85px 0;
    }

    .ah-academics__header {
        margin-bottom: 45px;
    }

    .ah-academics__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 24px;
    }

    .ah-program-card:nth-child(2),
    .ah-program-card:nth-child(4) {
        margin-top: 0;
    }

    .ah-program-card__image {
        height: 300px;
    }

    .ah-program-card__body {
        min-height: 295px;
        padding: 28px;
    }

        .ah-program-card__body h3 {
            font-size: 26px;
        }
}


/* ============================================
   MOBILE PHONES
============================================ */

@media (max-width: 640px) {

    .ah-academics {
        padding: 70px 0 75px;
    }

    .ah-academics__header {
        display: block;
        margin-bottom: 35px;
    }

    .ah-academics__eyebrow {
        font-size: 9px;
        letter-spacing: .16em;
        margin-bottom: 17px;
    }

    .ah-academics__eyebrow-line {
        width: 22px;
    }

    .ah-academics__heading h2 {
        font-size: clamp(35px, 8vw, 45px);
        margin-bottom: 18px;
    }

    .ah-academics__heading p {
        font-size: 14px;
        line-height: 1.85;
    }

    .ah-academics__header-link {
        margin-top: 22px;
        margin-bottom: 0;
        font-size: 12px;
    }

    .ah-academics__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ah-program-card {
        border-radius: 12px;
    }

    .ah-program-card__image {
        height: 310px;
    }

    .ah-program-card__body {
        min-height: 0;
        padding: 27px 25px 24px;
    }

        .ah-program-card__body h3 {
            font-size: 27px;
        }

    .ah-program-card__description {
        font-size: 13px;
    }

    .ah-program-card__link {
        margin-top: 5px;
    }

    .ah-academics__footer {
        margin-top: 48px;
        gap: 10px;
    }

    .ah-academics__footer-line {
        width: 20px;
        flex: 0 0 20px;
    }

    .ah-academics__footer p {
        font-size: 11px;
    }
}


/* ============================================
   REDUCED MOTION
============================================ */

@media (prefers-reduced-motion: reduce) {

    .ah-program-card,
    .ah-program-card__image img,
    .ah-program-card__link span {
        transition: none;
    }

        .ah-program-card:hover,
        .ah-program-card:hover .ah-program-card__image img,
        .ah-program-card__link:hover span {
            transform: none;
        }
}



/* =============================================
   WHY AL-HIKMAH — PREMIUM DIFFERENCE SECTION
============================================= */

.ah-why {
    position: relative;
    padding: 110px 0 115px;
    background: #F6F7F8;
    overflow: hidden;
}

/* =============================================
   SECTION HEADING
============================================= */

.ah-why__head {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 48px;
}

.ah-why__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
    color: #A17D47;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

    .ah-why__eyebrow > span {
        width: 30px;
        height: 1px;
        background: var(--gold);
    }

.ah-why__heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.055em;
}

    .ah-why__heading h2 em {
        display: block;
        color: #A58351;
        font-style: normal;
        font-weight: 600;
    }

.ah-why__intro {
    max-width: 370px;
    padding-bottom: 6px;
    color: #69798B;
    font-size: 15px;
    line-height: 1.95;
}


/* =============================================
   SIX-PANEL GRID
============================================= */

.ah-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}


/* =============================================
   STANDARD FEATURE CARDS
============================================= */

.ah-why-card {
    position: relative;
    isolation: isolate;
    min-height: 295px;
    padding: 34px 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #E5E9ED;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .ah-why-card:hover {
        transform: translateY(-5px);
        border-color: #D6C6A9;
        box-shadow: 0 18px 40px rgba(19,43,70,.07);
    }

    /* Small decorative line on hover */

    .ah-why-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--gold);
        transition: width .35s ease;
    }

    .ah-why-card:hover::before {
        width: 100%;
    }


/* Card Icon & Number */

.ah-why-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.ah-why-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    background: #F3F0EA;
    color: #A58351;
    border-radius: 12px;
}

    .ah-why-card__icon svg {
        width: 27px;
        height: 27px;
    }

.ah-why-card__number {
    color: #D7DCE1;
    font-family: var(--font-heading);
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
}


/* Card Text */

.ah-why-card__copy {
    flex: 1;
    padding-top: 34px;
}

    .ah-why-card__copy h3 {
        margin-bottom: 13px;
        color: var(--navy);
        font-family: var(--font-heading);
        font-size: clamp(20px, 1.8vw, 25px);
        font-weight: 800;
        line-height: 1.3;
        letter-spacing: -.04em;
    }

    .ah-why-card__copy p {
        max-width: 340px;
        color: #6B7A8B;
        font-size: 13px;
        line-height: 1.85;
    }


/* Subtle decorative bottom accent */

.ah-why-card__detail {
    display: block;
    width: 33px;
    height: 2px;
    margin-top: 24px;
    background: #D2B88D;
    transition: width .3s ease;
}

.ah-why-card:hover .ah-why-card__detail {
    width: 58px;
}


/* =============================================
   ACCENT CARD
============================================= */

.ah-why-card--accent {
    background: #FDFBF7;
    border-color: #E5D9C7;
}

    .ah-why-card--accent .ah-why-card__icon {
        background: #132B46;
        color: #E1C797;
    }

    .ah-why-card--accent .ah-why-card__number {
        color: #D1B88F;
    }


/* =============================================
   FEATURED ADMISSIONS PANEL
============================================= */

.ah-why-cta {
    position: relative;
    isolation: isolate;
    min-height: 295px;
    padding: 34px 35px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient( 135deg, #203E5C 0%, #132B46 55%, #0D2238 100% );
    color: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
}

/* Decorative architectural circles */

.ah-why-cta__decoration {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    top: -160px;
    right: -120px;
    border: 1px solid rgba(215,184,133,.25);
    border-radius: 50%;
}

    .ah-why-cta__decoration::before,
    .ah-why-cta__decoration::after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .ah-why-cta__decoration::before {
        inset: 30px;
        border: 1px solid rgba(215,184,133,.16);
    }

    .ah-why-cta__decoration::after {
        inset: 65px;
        border: 1px solid rgba(215,184,133,.12);
    }


/* Admissions Content */

.ah-why-cta__content {
    position: relative;
    z-index: 1;
}

.ah-why-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #E0C394;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
}

.ah-why-cta__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D5B47C;
}

.ah-why-cta h3 {
    max-width: 340px;
    margin-bottom: 14px;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(27px, 2.5vw, 35px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.045em;
}

.ah-why-cta p {
    max-width: 340px;
    margin-bottom: 24px;
    color: #CCD8E4;
    font-size: 12px;
    line-height: 1.85;
}


/* Admissions Button */

.ah-why-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 48px;
    padding: 12px 19px;
    background: #D6BA8C;
    color: #132B46;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}

    .ah-why-cta__button span {
        font-size: 19px;
        line-height: 1;
        transition: transform .25s ease;
    }

    .ah-why-cta__button:hover {
        background: #E9D2AA;
        color: #132B46;
        transform: translateY(-2px);
    }

        .ah-why-cta__button:hover span {
            transform: translate(2px, -2px);
        }


/* Panel footer */

.ah-why-cta__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 28px;
    padding-top: 19px;
    border-top: 1px solid rgba(255,255,255,.17);
    color: #B6C6D4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

    .ah-why-cta__footer span:last-child {
        color: #D6BA8C;
        font-size: 21px;
        line-height: 1;
    }


/* =============================================
   TABLETS
============================================= */

@media (max-width: 1000px) {

    .ah-why {
        padding: 85px 0 90px;
    }

    .ah-why__head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ah-why__intro {
        max-width: 700px;
    }

    .ah-why__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 16px;
    }

    .ah-why-card,
    .ah-why-cta {
        min-height: 285px;
        padding: 28px;
    }
}


/* =============================================
   MOBILE
============================================= */

@media (max-width: 640px) {

    .ah-why {
        padding: 70px 0 75px;
    }

    .ah-why__head {
        gap: 19px;
        margin-bottom: 32px;
    }

    .ah-why__eyebrow {
        margin-bottom: 17px;
        font-size: 9px;
        letter-spacing: .16em;
    }

        .ah-why__eyebrow > span {
            width: 22px;
        }

    .ah-why__heading h2 {
        font-size: clamp(34px, 8vw, 44px);
    }

    .ah-why__intro {
        font-size: 13px;
        line-height: 1.9;
    }

    .ah-why__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ah-why-card {
        min-height: 250px;
        padding: 25px;
        border-radius: 12px;
    }

    .ah-why-card__icon {
        width: 49px;
        height: 49px;
        flex-basis: 49px;
        border-radius: 10px;
    }

        .ah-why-card__icon svg {
            width: 24px;
            height: 24px;
        }

    .ah-why-card__number {
        font-size: 27px;
    }

    .ah-why-card__copy {
        padding-top: 27px;
    }

        .ah-why-card__copy h3 {
            font-size: 22px;
        }

        .ah-why-card__copy p {
            max-width: none;
            font-size: 13px;
        }

    .ah-why-cta {
        min-height: 300px;
        padding: 29px;
        border-radius: 12px;
    }

        .ah-why-cta h3 {
            font-size: 32px;
        }

        .ah-why-cta p {
            font-size: 13px;
        }
}


/* =============================================
   REDUCED MOTION
============================================= */

@media (prefers-reduced-motion: reduce) {

    .ah-why-card,
    .ah-why-card__detail,
    .ah-why-cta__button,
    .ah-why-cta__button span {
        transition: none;
    }

        .ah-why-card:hover,
        .ah-why-cta__button:hover,
        .ah-why-cta__button:hover span {
            transform: none;
        }
}


/*
    ADDITIONAL ADDED: OVERRIDDEN
*/



/* 01. Main section background */

.ah-why {
    background: radial-gradient( ellipse at 90% 5%, rgba(69, 103, 130, .25), transparent 42% ), linear-gradient( 135deg, #132B46 0%, #10263F 55%, #0B1F34 100% );
}


/* 02. Eyebrow */

.ah-why__eyebrow {
    color: #D8BC8B;
}

    .ah-why__eyebrow > span {
        background: #D8BC8B;
    }


/* 03. Main heading */

.ah-why__heading h2 {
    color: #FFFFFF;
}

    .ah-why__heading h2 em {
        color: #D8BC8B;
    }


/* 04. Introductory paragraph */

.ah-why__intro {
    color: #C8D5E2;
}


/* 05. Informational cards */

.ah-why-card {
    background: #FFFFFF;
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

    .ah-why-card:hover {
        border-color: #D6BC8B;
        box-shadow: 0 22px 45px rgba(0, 0, 0, .18);
    }


/* 06. Card numbers */

.ah-why-card__number {
    color: #D3DAE1;
}


/* 07. Card icons */

.ah-why-card__icon {
    background: #F5F1E9;
    color: #A58351;
}


/* 08. Card text */

.ah-why-card__copy h3 {
    color: #132B46;
}

.ah-why-card__copy p {
    color: #667789;
}


/* 09. Card accent lines */

.ah-why-card__detail,
.ah-why-card::before {
    background: #C5A46D;
}


/* 10. Fifth accent card */

.ah-why-card--accent {
    background: #F7F0E5;
    border-color: #E8D9BD;
}

    .ah-why-card--accent .ah-why-card__icon {
        background: #132B46;
        color: #E4C994;
    }

    .ah-why-card--accent .ah-why-card__number {
        color: #BFA47B;
    }


/* ==============================================
   11. FEATURED ADMISSIONS CARD
   Gold background to contrast with navy section
============================================== */

.ah-why-cta {
    background: linear-gradient( 135deg, #E8D3AE 0%, #D7B986 55%, #C9A66E 100% );
    color: #132B46;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}


/* Admissions eyebrow */

.ah-why-cta__eyebrow {
    color: #604927;
}

.ah-why-cta__dot {
    background: #132B46;
}


/* Admissions heading */

.ah-why-cta h3 {
    color: #132B46;
}


/* Admissions description */

.ah-why-cta p {
    color: #4D493F;
}


/* Admissions button */

.ah-why-cta__button {
    background: #132B46;
    color: #FFFFFF;
}

    .ah-why-cta__button:hover {
        background: #203E5B;
        color: #FFFFFF;
    }


/* Admissions footer */

.ah-why-cta__footer {
    border-top-color: rgba(19, 43, 70, .22);
    color: #55452F;
}

    .ah-why-cta__footer span:last-child {
        color: #132B46;
    }


/* Decorative circles on admissions card */

.ah-why-cta__decoration {
    border-color: rgba(19, 43, 70, .18);
}

    .ah-why-cta__decoration::before,
    .ah-why-cta__decoration::after {
        border-color: rgba(19, 43, 70, .12);
    }



/* =============================================
   STUDENT EXPERIENCES — EDITORIAL MOSAIC
============================================= */

.ah-experiences {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 0 90px;
    background: radial-gradient( ellipse at 90% 5%, rgba(69,103,130,.25), transparent 42% ), linear-gradient( 135deg, #132B46 0%, #10263F 55%, #0B1F34 100% );
    color: #FFFFFF;
}


/* =============================================
   SECTION HEADING
============================================= */

.ah-experiences__head {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 65px;
    margin-bottom: 50px;
}

.ah-experiences__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    color: #D9BC8D;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

    .ah-experiences__eyebrow > span {
        display: block;
        width: 30px;
        height: 1px;
        background: #C5A46D;
    }

.ah-experiences__heading h2 {
    max-width: 850px;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.4vw, 61px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.055em;
}

    .ah-experiences__heading h2 em {
        display: block;
        color: #D9BC8D;
        font-style: normal;
        font-weight: 600;
    }


/* Right-side intro */

.ah-experiences__head-aside {
    padding-bottom: 7px;
}

    .ah-experiences__head-aside p {
        max-width: 380px;
        margin-bottom: 22px;
        color: #C7D4E1;
        font-size: 14px;
        line-height: 1.95;
    }

.ah-experiences__head-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 8px;
    color: #E0C596;
    border-bottom: 1px solid rgba(224,197,150,.6);
    font-size: 12px;
    font-weight: 800;
    transition: color .25s ease;
}

    .ah-experiences__head-link span {
        font-size: 19px;
        line-height: 1;
        transition: transform .25s ease;
    }

    .ah-experiences__head-link:hover {
        color: #FFFFFF;
    }

        .ah-experiences__head-link:hover span {
            transform: translate(3px, -3px);
        }


/* =============================================
   PHOTOGRAPHIC GRID
============================================= */

.ah-experiences__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    grid-template-rows: repeat(2, minmax(260px, 310px));
    gap: 18px;
}

/*
   Layout:
   Large card:  6 columns, 2 rows
   Small cards: 3 columns each
   Wide card:   6 columns
*/

.ah-experience:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

.ah-experience:nth-child(2),
.ah-experience:nth-child(3),
.ah-experience:nth-child(4),
.ah-experience:nth-child(5) {
    grid-column: span 3;
}

.ah-experience:nth-child(6) {
    grid-column: span 6;
}

/* Allow the sixth card its own horizontal row */
.ah-experience:nth-child(6) {
    min-height: 310px;
}


/* =============================================
   EXPERIENCE CARD
============================================= */

.ah-experience {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 13px;
    background: #29465E;
    border: 1px solid rgba(255,255,255,.13);
    transition: border-color .35s ease, box-shadow .35s ease;
}

    .ah-experience:hover {
        border-color: rgba(218,190,145,.6);
        box-shadow: 0 20px 45px rgba(0,0,0,.19);
    }


    /* Photograph */

    .ah-experience > img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .8s cubic-bezier(.2,.65,.2,1);
    }

    .ah-experience:hover > img {
        transform: scale(1.065);
    }


/* Dark photographic gradient */

.ah-experience__shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient( 180deg, rgba(9,25,40,.13) 0%, rgba(9,25,40,.12) 30%, rgba(9,25,40,.48) 64%, rgba(9,25,40,.92) 100% );
    transition: background .35s ease;
}


/* Card number */

.ah-experience__number {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 24px;
    color: rgba(255,255,255,.95);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-shadow: 0 1px 9px rgba(0,0,0,.3);
}


/* Content anchored to the bottom */

.ah-experience__content {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 23px;
    bottom: 25px;
    color: #FFFFFF;
}

.ah-experience__category {
    display: block;
    margin-bottom: 10px;
    color: #E4CAA1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.5;
}

.ah-experience__content h3 {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.045em;
}

.ah-experience__content p {
    max-width: 440px;
    margin-top: 10px;
    color: #EDF1F5;
    font-size: 12px;
    line-height: 1.75;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity .35s ease, max-height .35s ease, transform .35s ease;
}

.ah-experience:hover .ah-experience__content p {
    opacity: 1;
    max-height: 110px;
    transform: translateY(0);
}


/* Small decorative arrow */

.ah-experience__corner {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    color: #FFFFFF;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(5px);
    font-size: 18px;
    line-height: 1;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.ah-experience:hover .ah-experience__corner {
    background: #D9BC8D;
    color: #132B46;
    transform: rotate(45deg);
}


/* =============================================
   FEATURED LARGE CARD
============================================= */

.ah-experience--large .ah-experience__content {
    left: 35px;
    right: 35px;
    bottom: 38px;
}

    .ah-experience--large .ah-experience__content h3 {
        max-width: 430px;
        font-size: clamp(30px, 3.1vw, 43px);
    }

    .ah-experience--large .ah-experience__content p {
        font-size: 13px;
    }

.ah-experience--large .ah-experience__number {
    top: 27px;
    left: 35px;
}


/* =============================================
   WIDE CARD
============================================= */

.ah-experience--wide .ah-experience__content {
    max-width: 560px;
    left: 31px;
    bottom: 29px;
}

    .ah-experience--wide .ah-experience__content h3 {
        font-size: 30px;
    }


/* =============================================
   SECTION FOOTER
============================================= */

.ah-experiences__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.ah-experiences__footer-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #C2D0DD;
    font-size: 12px;
}

.ah-experiences__footer-symbol {
    color: #D9BC8D;
    font-size: 21px;
}

.ah-experiences__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #E0C596;
    font-size: 12px;
    font-weight: 800;
    transition: color .25s ease;
}

    .ah-experiences__footer-link span {
        font-size: 19px;
        transition: transform .25s ease;
    }

    .ah-experiences__footer-link:hover {
        color: #FFFFFF;
    }

        .ah-experiences__footer-link:hover span {
            transform: translate(3px,-3px);
        }


/* =============================================
   SMALL DESKTOP & TABLET
============================================= */

@media (max-width: 1100px) {

    .ah-experiences {
        padding: 90px 0 80px;
    }

    .ah-experiences__head {
        gap: 35px;
    }

    .ah-experiences__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-rows: auto;
        grid-auto-flow: row;
        grid-auto-rows: 290px;
        gap: 16px;
    }

    .ah-experience:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 0;
    }

    .ah-experience:nth-child(1) {
        grid-row: span 2;
    }

    .ah-experience:nth-child(6) {
        grid-column: span 2;
    }

    .ah-experience__content p {
        opacity: 1;
        max-height: none;
        transform: none;
    }

    .ah-experience__content h3 {
        font-size: 24px;
    }
}


/* =============================================
   MOBILE
============================================= */

@media (max-width: 700px) {

    .ah-experiences {
        padding: 72px 0 65px;
    }

    .ah-experiences__head {
        display: block;
        margin-bottom: 35px;
    }

    .ah-experiences__eyebrow {
        font-size: 9px;
        letter-spacing: .17em;
        margin-bottom: 20px;
    }

        .ah-experiences__eyebrow > span {
            width: 23px;
        }

    .ah-experiences__heading h2 {
        font-size: clamp(34px, 8vw, 45px);
    }

    .ah-experiences__head-aside {
        margin-top: 22px;
    }

        .ah-experiences__head-aside p {
            max-width: none;
            font-size: 13px;
        }

    .ah-experiences__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 15px;
    }

    .ah-experience:nth-child(n),
    .ah-experience:nth-child(1),
    .ah-experience:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
        min-height: 340px;
    }

    .ah-experience:nth-child(1) {
        min-height: 430px;
    }

    .ah-experience {
        border-radius: 12px;
    }

    .ah-experience__content,
    .ah-experience--large .ah-experience__content,
    .ah-experience--wide .ah-experience__content {
        left: 24px;
        right: 23px;
        bottom: 25px;
    }

        .ah-experience__content h3,
        .ah-experience--large .ah-experience__content h3,
        .ah-experience--wide .ah-experience__content h3 {
            font-size: 27px;
        }

        .ah-experience__content p {
            font-size: 12px;
        }

    .ah-experience__number,
    .ah-experience--large .ah-experience__number {
        top: 22px;
        left: 24px;
    }

    .ah-experiences__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ah-experiences__footer-text {
        font-size: 11px;
    }
}


/* =============================================
   REDUCED MOTION
============================================= */

@media (prefers-reduced-motion: reduce) {

    .ah-experience,
    .ah-experience > img,
    .ah-experience__corner,
    .ah-experience__content p {
        transition: none;
    }

        .ah-experience:hover > img,
        .ah-experience:hover .ah-experience__corner {
            transform: none;
        }
}

