/* =========================================
   GLOBAL RESET & SCHOOL THEME
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #075B35;
    --green: #075B35;
    --green-light: #EAF4ED;

    --navy: #25215B;
    --navy-light: #F0EFF9;

    --yellow: #F5D51B;
    --gold: #E9A51A;
    --red: #B52B2B;

    --white: #fff;
    --text: #242424;
    --muted-text: #50566B;
    --border-color: #DDE8DF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================
   HERO BANNER
========================================= */

.hero {
    position: relative;
    min-height: 760px;
    height: 100vh;
    max-height: 900px;

    color: var(--white);
    overflow: hidden;
    isolation: isolate;

    background: var(--green);
}

/* Background image */

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("/images/Award2.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.04);
    transition: transform 8s ease;
}


/* Green and navy overlay */

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(120deg,
            rgba(57, 95, 78, 0.96),
            rgba(37, 33, 91, 0.88),
            rgba(3, 156, 87, 0.94));
}

/* Decorative elements */

.hero-decoration {
    position: absolute;
    z-index: -1;

    pointer-events: none;
    border-radius: 50%;
}

.hero-decoration-one {
    width: 420px;
    height: 420px;

    top: 80px;
    right: -140px;

    border: 1px solid rgba(245, 213, 27, 0.18);

    box-shadow:
        0 0 0 45px rgba(245, 213, 27, 0.035),
        0 0 0 90px rgba(245, 213, 27, 0.025);
}

.hero-decoration-two {
    width: 250px;
    height: 250px;

    bottom: 130px;
    left: -120px;

    background: rgba(245, 213, 27, 0.06);
    filter: blur(10px);
}

/* =========================================
   NAVBAR
========================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    /* background: linear-gradient(180deg,
            rgba(5, 48, 30, 0.88),
            rgba(5, 48, 30, 0.30)); */

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);

    font-family: "Poppins", sans-serif;
}

.site-header * {
    box-sizing: border-box;
}

.site-header a {
    text-decoration: none;
}

/* Header inner */

.header-inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 100px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

/* Logo */

.brand {
    display: flex;
    align-items: center;
    display: block;
    flex: 0 0 auto;
}

.brand-logo {
    width: 170px;
    height: 62px;

    /* display: block; */
    object-fit: contain;

    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.04);
}

/* Main navigation */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 26px;
    margin-left: auto;
}

.main-nav>a,
.nav-dropdown>a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 100px;

    color: rgba(255, 255, 255, 0.95);

    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    transition: color 0.25s ease;
}

/* Navigation underline */

.main-nav>a::after,
.nav-dropdown>a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 28px;

    width: 0;
    height: 3px;

    background: var(--yellow);
    border-radius: 5px;

    transition: width 0.3s ease;
}

.main-nav>a:hover::after,
.main-nav>a.active::after,
.nav-dropdown:hover>a::after,
.nav-dropdown>a.active::after {
    width: 100%;
}

.main-nav>a:hover,
.main-nav>a.active,
.nav-dropdown>a:hover,
.nav-dropdown>a.active {
    color: var(--yellow);
}

/* Dropdown */

.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    cursor: pointer;
}

/* Dropdown chevron */

.chevron {
    display: inline-block;

    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.25s ease;
}

.nav-dropdown:hover .chevron {
    transform: rotate(225deg) translateY(-2px);
}

/* Dropdown menu */

.dropdown-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: -18px;

    min-width: 230px;
    padding: 10px;

    background: var(--white);

    border-top: 4px solid var(--yellow);
    border-radius: 0 0 10px 10px;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 1001;
}

.dropdown-menu a {
    display: block;

    padding: 12px 15px;

    color: var(--navy);
    font-size: 13px;
    font-weight: 500;

    border-radius: 6px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        padding 0.25s ease;
}

.dropdown-menu a:hover {
    color: var(--green);
    background: var(--green-light);
    padding-left: 21px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Phone CTA */

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    flex: 0 0 auto;

    padding: 11px 18px;

    color: var(--navy);
    background: var(--yellow);

    border: 1px solid var(--yellow);
    border-radius: 50px;

    white-space: nowrap;

    box-shadow: 0 7px 20px rgba(245, 213, 27, 0.15);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.header-phone:hover {
    background: #ffe84d;
    border-color: #ffe84d;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(245, 213, 27, 0.25);
}

.phone-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(37, 33, 91, 0.10);
    border-radius: 50%;
}

.phone-icon svg {
    width: 17px;
    height: 17px;
    fill: var(--navy);
}

.phone-text small {
    display: block;

    margin-bottom: 3px;

    font-size: 10px;
    font-weight: 600;
    opacity: 0.75;
}

.phone-text strong {
    display: block;

    font-size: 13px;
    font-weight: 800;
}

/* Mobile menu toggle */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.10);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    margin: 3px 0;

    background: var(--white);
    border-radius: 3px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Hamburger animation */

.menu-toggle.is-active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.is-active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   HERO CONTENT
========================================= */

.hero-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;

    padding-top: 150px;
    padding-bottom: 180px;
}

.hero-content {
    max-width: 690px;

    animation: heroFadeUp 0.9s ease both;
}

/* Eyebrow */

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: var(--yellow);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 32px;
    height: 2px;

    background: var(--yellow);
}

/* Heading */

.hero-content h1 {
    margin: 0 0 22px;

    color: var(--white);

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.12;

    letter-spacing: -1.5px;
    text-wrap: balance;
}

.hero-highlight {
    position: relative;
    display: inline-block;

    color: var(--yellow);
}

.hero-highlight::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 100%;
    height: 5px;

    background: var(--yellow);
    border-radius: 5px;

    opacity: 0.65;
}

/* Description */

.hero-content p {
    max-width: 590px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.91);

    font-size: 16px;
    line-height: 1.8;
}

/* Hero buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 14px 25px;

    font-size: 14px;
    font-weight: 700;

    border-radius: 5px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px);
}

/* Primary button */

.btn-primary {
    color: var(--navy);
    background: var(--yellow);

    border: 1px solid var(--yellow);

    box-shadow: 0 8px 22px rgba(245, 213, 27, 0.15);
}

.btn-primary:hover {
    background: #ffe84d;
    border-color: #ffe84d;

    box-shadow: 0 12px 28px rgba(245, 213, 27, 0.25);
}

.btn-arrow {
    font-size: 20px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* Outline button */

.btn-outline {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    color: var(--navy);
    background: var(--white);

    border-color: var(--white);
}

/* Trust text */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 25px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.trust-check {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--navy);
    background: var(--yellow);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;
}

/* =========================================
   HERO FEATURE STRIP
========================================= */

.hero-features {
    position: absolute;
    left: 50%;
    bottom: 0;

    width: min(1240px, calc(100% - 48px));
    min-height: 115px;

    transform: translateX(-50%);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: rgba(5, 48, 30, 0.55);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;

    border-radius: 12px 12px 0 0;

    backdrop-filter: blur(14px);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px 25px;

    border-right: 1px solid rgba(255, 255, 255, 0.15);

    transition: background 0.3s ease;
}

.feature-item:last-child {
    border-right: 0;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    color: var(--yellow);

    background: rgba(245, 213, 27, 0.1);
    border: 1px solid rgba(245, 213, 27, 0.25);

    border-radius: 50%;
}

.feature-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-item strong {
    display: block;

    margin-bottom: 6px;

    color: var(--white);

    font-size: 17px;
    font-weight: 700;
}

.feature-item small {
    display: block;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    line-height: 1.5;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.1);
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
    .header-inner {
        width: calc(100% - 40px);
        gap: 18px;
    }

    .brand-logo {
        width: 145px;
        height: 58px;
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav>a,
    .nav-dropdown>a {
        font-size: 13px;
    }

    .header-phone {
        padding: 9px 13px;
    }

    .phone-text strong {
        font-size: 12px;
    }

    .hero-content {
        max-width: 620px;
    }

    .feature-item {
        padding: 20px 16px;
        gap: 13px;
    }

    .feature-item strong {
        font-size: 15px;
    }
}

/* =========================================
   MOBILE NAVIGATION & HERO
========================================= */

@media (max-width: 850px) {
    .hero {
        min-height: 850px;
        height: auto;
        max-height: none;
    }

    .header-inner {
        width: calc(100% - 36px);
        min-height: 78px;
        gap: 14px;
    }

    .brand-logo {
        width: 140px;
        height: 50px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        z-index: 1100;
    }

    .header-phone {
        display: none;
    }

    /* Mobile nav panel */

    .main-nav {
        position: absolute;
        top: 100%;
        left: 18px;
        right: 18px;

        display: none;

        align-items: stretch;
        flex-direction: column;

        gap: 0;
        padding: 12px;
        margin: 0;

        background: rgba(7, 91, 53, 0.98);

        border: 1px solid rgba(255, 255, 255, 0.15);
        border-top: 3px solid var(--yellow);

        border-radius: 9px;

        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);

        backdrop-filter: blur(15px);
    }

    /* Uses your existing nav-open class */

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav>a,
    .nav-dropdown>a {
        width: 100%;
        min-height: auto;

        justify-content: space-between;

        padding: 14px 16px;

        color: var(--white);
        font-size: 14px;

        border-radius: 6px;
    }

    .main-nav>a::after,
    .nav-dropdown>a::after {
        display: none;
    }

    .main-nav>a:hover,
    .main-nav>a.active,
    .nav-dropdown>a:hover,
    .nav-dropdown>a.active {
        color: var(--yellow);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Mobile dropdown */

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .dropdown-menu {
        position: static;

        display: none;

        width: 100%;
        min-width: 0;

        padding: 5px 0;
        margin-top: 4px;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;

        background: rgba(255, 255, 255, 0.08);

        border: 0;
        border-radius: 6px;

        box-shadow: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 30px;
        color: rgba(255, 255, 255, 0.90);
    }

    .dropdown-menu a:hover {
        color: var(--yellow);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Hero content */

    .hero-container {
        width: calc(100% - 40px);

        padding-top: 165px;
        padding-bottom: 330px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 7vw, 54px);
    }

    .hero-content p {
        font-size: 15px;
    }

    /* Feature strip */

    .hero-features {
        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        min-height: auto;
        bottom: 20px;

        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
    }

    .feature-item {
        padding: 12px 18px;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .feature-item strong {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .feature-item small {
        display: block;
        font-size: 11px;
    }
}

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

@media (max-width: 480px) {
    .hero {
        min-height: 820px;
    }

    .header-inner {
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .brand-logo {
        width: 125px;
        height: 46px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .main-nav {
        left: 14px;
        right: 14px;
    }

    .hero-container {
        padding-top: 145px;
        padding-bottom: 325px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.6px;
        gap: 8px;
    }

    .eyebrow-line {
        width: 22px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.18;
        letter-spacing: -0.7px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        min-height: 46px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .hero-trust {
        font-size: 10px;
    }

    .hero-features {
        width: calc(100% - 30px);
        bottom: 15px;
    }

    .feature-item {
        padding: 11px 14px;
    }

    .feature-item strong {
        font-size: 14px;
    }

    .feature-item small {
        font-size: 10px;
    }

    .hero-decoration-one {
        width: 250px;
        height: 250px;
        right: -120px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

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

    .hero-background,
    .hero-content,
    .hero-decoration,
    .btn,
    .feature-item,
    .brand-logo {
        animation: none !important;
        transition: none !important;
    }

    .hero-background {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}
/* =========================================
   SCHOOL BRAND - LOGO + NAME
========================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    min-width: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand:hover {
    opacity: 0.92;
}

.brand-logo {
    display: block;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    object-fit: contain;
}

/* SCHOOL NAME WRAPPER */

.brand-info {
    /* display: flex; */
    display: block;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.2;
}

/* NIKX */

.brand-name {
    display: block;
    color: #F5D51B;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1;
}

/* ENGLISH MEDIUM SCHOOL */

.brand-school {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
    white-space: nowrap;
}

/* TAGLINE */

.brand-tagline {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.3;
}


/* =========================================
   BRAND ON DARK NAVBAR
========================================= */

.website-header .brand-name {
    color: #F5D51B;
}

.website-header .brand-school {
    color: #ffffff;
}

.website-header .brand-tagline {
    color: #D9DDF5;
}


/* =========================================
   RESPONSIVE BRAND - TABLET
========================================= */

@media (max-width: 1000px) {

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-school {
        font-size: 10px;
        letter-spacing: 0.7px;
    }

    .brand-tagline {
        font-size: 9px;
    }
}


/* =========================================
   RESPONSIVE BRAND - MOBILE
========================================= */

@media (max-width: 480px) {

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-name {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .brand-school {
        margin-top: 3px;
        font-size: 8px;
        letter-spacing: 0.4px;
    }

    .brand-tagline {
        margin-top: 3px;
        font-size: 8px;
        letter-spacing: 0.3px;
    }
}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .brand {
        gap: 6px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-school {
        font-size: 7px;
        letter-spacing: 0.2px;
    }

    .brand-tagline {
        font-size: 7px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    .brand {
        transition: none;
    }
}