:root {
    --navy: #1a3f6c;
    --navy-dark: #12304f;
    --navy-light: #315d8f;
    --navy-soft: #dce7f2;

    --gold: #dfbd25;
    --gold-dark: #b89a16;
    --gold-light: #f8f1c9;

    --brown: #b4752e;
    --brown-dark: #8f5a20;
    --brown-light: #ead7bd;

    --red: #f9121d;
    --red-dark: #c90d16;
    --red-light: #ffe1e3;

    --gray: #e6e6e6;
    --gray-light: #f4f4f4;
    --gray-medium: #cfcfcf;
    --gray-dark: #8a8a8a;

    --background: #f7f7f7;
    --background-white: #ffffff;
    --background-navy: #1a3f6c;
    --background-soft: #f4f4f4;
    --background-gold: #f8f1c9;

    --text-main: #26384d;
    --text-dark: #172b40;
    --text-navy: #1a3f6c;
    --text-brown: #8f5a20;
    --text-muted: #687582;
    --text-light: #929ba4;

    --border: #e6e6e6;
    --border-dark: #cfcfcf;
    --border-navy: #c7d6e5;
    --border-gold: #dfbd25;

    --shadow-sm: 0 2px 8px rgba(26, 63, 108, 0.06);
    --shadow-md: 0 8px 25px rgba(26, 63, 108, 0.10);
    --shadow-lg: 0 15px 40px rgba(26, 63, 108, 0.14);
    --shadow-hover: 0 20px 45px rgba(26, 63, 108, 0.18);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.highlight {
    color: var(--gold);
}

.bg-light {
    background: var(--background-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-primary:hover {
    background: var(--brown);
    color: white;
}

.btn-secondary {
    background: var(--navy);
    color: white;
}

.btn-secondary:hover {
    background: var(--navy-dark);
}

.btn-warning {
    background: var(--gold-light);
    color: var(--navy);
}

.btn-warning:hover {
    background: var(--gold);
    color: var(--navy);
}


/* TOP BAR */

.top-bar {
    background: var(--navy);
    color: white;
    padding: 9px 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 6px;
    color: var(--gold);
}

.social-links a {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 189, 37, 0.12);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
}


/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 76px;
    padding: 10px 0;
    background: rgba(247, 247, 247, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    overflow: visible;
}

.navbar.scrolled {
    height: 68px;
    padding: 7px 0;
    box-shadow: var(--shadow-md);
}

.nav-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 0 16px;
    overflow: visible;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 42px;
    z-index: 1100;
}

.school-logo {
    position: absolute;
    left: 0;
    top: 50%;
    width: 118px;
    height: 155px;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
    z-index: 1102;
    filter: drop-shadow(0 5px 10px rgba(26, 63, 108, 0.12));
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 132px;
    white-space: nowrap;
}

.logo-text h1 {
    font-size: 21px;
    color: var(--navy);
    margin-bottom: 2px;
}

.logo-text p {
    margin: 4px 0 0;
    font-size: 10px;
    line-height: 1.2;
    color: var(--text-muted);
}

.logo-text p span {
    color: var(--gold);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 27px;
}

.nav-links a {
    position: relative;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brown);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 24px;
}

.special-link {
    padding: 9px 18px;
    background: var(--gold-light);
    border-radius: 50px;
    color: var(--brown) !important;
}

.special-link::after {
    display: none;
}

.special-link:hover {
    background: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 133px);
    height: calc(100vh - 133px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 25px 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(223, 189, 37, 0.16),
            transparent 38%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(26, 63, 108, 0.12),
            transparent 30%
        ),
        var(--background);
}

.hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.hero-text {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    z-index: 11;
}

.hero-title {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(38px, 4.2vw, 54px);
    line-height: 1.08;
}

.text-dark {
    color: var(--navy);
}

.text-yellow {
    color: var(--gold);
}

.hero-text p {
    max-width: 590px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 17px;
}

.btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 31px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(223, 189, 37, 0.25);
    transition: var(--transition);
}

.btn-yellow:hover {
    background: var(--brown);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(180, 117, 46, 0.30);
}

.hero-graphics {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    position: relative;
    z-index: 12;
}

.books-plant {
    width: 100px;
    height: 80px;
}

.hero-image-wrapper {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-shape {
    width: min(100%, 500px);
    height: min(500px, calc(100vh - 190px));
    min-height: 330px;
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--gold),
        var(--navy)
    );
    border-radius:
        40% 60% 70% 30% /
        40% 50% 60% 50%;
    box-shadow:
        0 25px 60px rgba(26, 63, 108, 0.20);
    animation: morph 8s ease-in-out infinite;
}

.blob-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}


/* HERO DECORATIONS */

.hero-bg-elements {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-elements svg {
    position: absolute;
    pointer-events: none;
}

.ill-wave-tl {
    top: 0;
    left: 0;
    width: 30%;
    max-width: 350px;
    z-index: 1;
}

.ill-wave-b {
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 25%;
    min-height: 100px;
    max-height: 170px;
    z-index: 1;
}

.ill-plane {
    top: 5%;
    right: 4%;
    left: auto;
    width: 120px;
    z-index: 2;
    opacity: 0.8;
    transform: rotate(-3deg);
    animation: float 5s ease-in-out infinite;
}

.ill-book {
    top: 25%;
    left: 48%;
    width: 60px;
    z-index: 2;
    animation: float 6s ease-in-out infinite 1s;
}

.ill-sparks {
    top: 10%;
    right: 35%;
    width: 50px;
    z-index: 2;
}

.ill-leaves {
    right: 3%;
    bottom: -10px;
    width: 120px;
    z-index: 2;
}


/* ANIMATIONS */

@keyframes float {

    0% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }

    100% {
        transform: translateY(0) rotate(-3deg);
    }

}

@keyframes morph {

    0% {
        border-radius:
            40% 60% 70% 30% /
            40% 50% 60% 50%;
    }

    34% {
        border-radius:
            70% 30% 50% 50% /
            30% 30% 70% 70%;
    }

    67% {
        border-radius:
            100% 60% 60% 100% /
            100% 100% 60% 60%;
    }

    100% {
        border-radius:
            40% 60% 70% 30% /
            40% 50% 60% 50%;
    }

}


/* WELCOME */

.welcome {
    background: var(--background);
}

.welcome-inner {
    display: flex;
    align-items: center;
    gap: 70px;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    margin-bottom: 15px;
    color: var(--navy);
    font-size: 38px;
}

.welcome-text .subtitle {
    margin-bottom: 25px;
    color: var(--brown);
    font-size: 19px;
    font-weight: 600;
}

.welcome-text p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 16px;
}

.welcome-image {
    flex: 1;
    position: relative;
}

.welcome-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.image-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gold-light);
    border-radius: 25px;
    z-index: 1;
}


/* SECTION TITLES */

.section-title {
    margin-bottom: 55px;
    color: var(--navy);
    font-size: 38px;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 4px;
    margin: 15px auto 0;
    border-radius: 20px;
    background: var(--gold);
}


/* FEATURES */

.features {
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    position: relative;
    padding: 38px 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--navy);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-9px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    background: var(--gold);
}

.icon-wrapper {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 20px;
    background: var(--navy-soft);
    color: var(--navy);
    font-size: 28px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px) rotate(-4deg);
}

.icon-yellow,
.icon-red,
.icon-blue,
.icon-blue2,
.icon-green,
.icon-red1 {
    background: var(--navy-soft);
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(26, 63, 108, 0.10);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 20px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}


/* CTA */

.cta {
    position: relative;
    padding: 75px 0;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--navy-dark)
    );
    color: white;
}

.cta::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(223, 189, 37, 0.10);
}

.cta::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(249, 18, 29, 0.12);
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 15px;
    color: white;
    font-size: 38px;
}

.cta-inner h2 span {
    color: var(--gold);
}

.cta-inner p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}


/* TESTIMONIALS */

.testimonials {
    position: relative;
    padding: 90px 0 100px;
    color: white;
    overflow: hidden;
    background:
        url('https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1920&q=80')
        center/cover fixed;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(26, 63, 108, 0.95),
            rgba(18, 48, 79, 0.91)
        );
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title {
    margin-bottom: 45px;
    color: white;
}

.testimonial-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px;
}

.testimonial-slider {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 0;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.testimonial-slide {
    position: relative;
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    height: 410px;
    min-height: 410px;
    max-height: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 28px 38px;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    opacity: 1;
    visibility: visible;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.testimonial-slide:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.24);
}

.testimonial-avatar {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    background: var(--gray-light);
    box-shadow: 0 8px 20px rgba(26, 63, 108, 0.12);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-slide h4 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.3;
    text-transform: uppercase;
}

.testimonial-slide span {
    display: block;
    margin-bottom: 18px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
}

.testimonial-slide p {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    padding: 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.testimonial-controls {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 25px;
    padding-top: 0;
}

.testimonial-dot {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.40);
    cursor: pointer;
    transition:
        width 0.35s ease,
        background 0.35s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-dot:hover {
    transform: scale(1.35);
    background: rgba(255, 255, 255, 0.85);
}

.testimonial-dot.active {
    width: 30px;
    border-radius: 20px;
    background: var(--gold);
    box-shadow:
        0 4px 15px rgba(223, 189, 37, 0.35);
}

.testimonial-dot.active:hover {
    background: var(--gold);
    transform: scale(1.05);
}


/* NEWS */

.news {
    background: var(--background);
}

.news-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 56px) / 3);
    grid-auto-rows: 1fr;
    gap: 28px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(26, 63, 108, 0.12);
}

.news-grid:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.category-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 8px 16px;
    border-top-right-radius: 12px;
    background: var(--gold);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}

.blue-bg {
    background: var(--navy);
    color: white;
}

.red-bg {
    background: var(--red);
    color: white;
}

.green-bg {
    background: var(--brown);
    color: white;
}

.news-content {
    height: 100%;
    padding: 25px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-auto-columns: calc((100% - 28px) / 2);
    }
}

@media (max-width: 560px) {
    .news-grid {
        grid-auto-columns: 100%;
    }
}

.news-content h3 {
    margin-bottom: 13px;
    color: var(--navy);
    font-size: 20px;
}

.news-content h3 a:hover {
    color: var(--brown);
}

.news-content p {
    color: var(--text-muted);
    font-size: 15px;
}


/* FOOTER */

.footer {
    position: relative;
    background: var(--navy);
    color: #e6e6e6;
}

.footer-top {
    height: 7px;
    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--brown),
            var(--red),
            var(--gold)
        );
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding: 70px 0;
}

.footer-col h4 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    color: white;
    font-size: 19px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 10px;
    background: var(--gold);
}

.footer-col p {
    color: #d5dce3;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e6e6e6;
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--gold);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list i {
    margin-right: 14px;
    margin-top: 5px;
    color: var(--gold);
}

.timing hr {
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid rgba(230, 230, 230, 0.15);
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.closed {
    color: var(--red);
    font-weight: 700;
}

.footer-bottom {
    padding: 20px 0;
    background: var(--navy-dark);
    color: #aeb8c2;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 700;
}


/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 19px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 25px rgba(223, 189, 37, 0.25);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--brown);
    color: white;
    transform: translateY(-5px);
}


/* UTILITY CLASSES */

.bg-brand {
    background: var(--navy);
}

.bg-brand-light {
    background: var(--navy-soft);
}

.bg-brand-dark {
    background: var(--navy-dark);
}

.bg-orange {
    background: var(--gold);
}

.bg-orange-light {
    background: var(--gold-light);
}

.text-brand {
    color: var(--navy);
}

.text-green {
    color: var(--brown);
}

.text-orange {
    color: var(--gold);
}

.border-brand {
    border-color: var(--border);
}

.border-orange {
    border-color: var(--gold);
}

.bg-gold {
    background: var(--gold);
}

.bg-gold-light {
    background: var(--gold-light);
}

.bg-brown {
    background: var(--brown);
}

.bg-brown-light {
    background: var(--brown-light);
}

.bg-red {
    background: var(--red);
}

.bg-red-light {
    background: var(--red-light);
}

.bg-gray {
    background: var(--gray);
}

.bg-gray-light {
    background: var(--gray-light);
}

.text-navy {
    color: var(--navy);
}

.text-gold {
    color: var(--gold);
}

.text-brown {
    color: var(--brown);
}

.text-red {
    color: var(--red);
}

.text-gray {
    color: var(--gray-dark);
}

.border-gold {
    border-color: var(--gold);
}

.border-brown {
    border-color: var(--brown);
}

.border-red {
    border-color: var(--red);
}


/* =========================================================
   LARGE TABLETS / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1100px) {

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text {
        margin-left: 125px;
    }

    .school-logo {
        width: 112px;
        height: 118px;
    }

    .nav-links li {
        margin-left: 18px;
    }

    .hero {
        min-height: calc(100vh - 133px);
        height: calc(100vh - 133px);
    }

    .hero-title {
        font-size: clamp(36px, 4.3vw, 48px);
    }

    .blob-shape {
        width: min(100%, 450px);
        height: min(450px, calc(100vh - 205px));
    }
}


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

@media (max-width: 992px) {

    .hero-inner {
        gap: 35px;
    }

    .hero-title {
        font-size: 40px;
    }

    .blob-shape {
        width: 100%;
        max-width: 420px;
        height: 420px;
        min-height: 0;
    }

    .welcome-inner {
        gap: 40px;
    }

    .welcome-text h2 {
        font-size: 32px;
    }

    .testimonial-wrapper {
        max-width: 100%;
    }

    .testimonial-slide {
        height: 410px;
        min-height: 410px;
        max-height: 410px;
    }

    .ill-plane {
        right: 3%;
        left: auto;
        width: 100px;
        top: 5%;
    }

    .school-logo {
        width: 105px;
        height: 112px;
    }

    .logo-text {
        margin-left: 116px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 9px;
    }

    .nav-links li {
        margin-left: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .special-link {
        padding: 8px 12px;
    }
}


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

@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

    .navbar {
        height: 70px;
        padding: 13px 0;
    }

    .navbar.scrolled {
        height: 64px;
        padding: 10px 0;
    }

    .nav-inner {
        min-height: 44px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1200;
    }

    .logo-container {
        min-height: 44px;
    }

    .school-logo {
        width: 88px;
        height: 92px;
        left: 0;
    }

    .logo-text {
        margin-left: 100px;
    }

    .logo-text h1 {
        font-size: 14px;
        line-height: 1.15;
    }

    .logo-text p {
        font-size: 8px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--background);
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 18px 0;
    }

    .nav-links a {
        font-size: 15px;
    }


    /* MOBILE HERO */

    .hero {
        min-height: auto;
        height: auto;
        padding: 50px 0 55px;
        display: block;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .hero-text {
        width: 100%;
        flex: none;
    }

    .hero-title {
        font-size: clamp(30px, 7vw, 36px);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        width: 100%;
        flex: none;
    }

    .blob-shape {
        width: min(88vw, 380px);
        height: min(88vw, 380px);
        min-height: 0;
        max-height: none;
    }

    .hero-graphics {
        justify-content: center;
        margin-top: 22px;
    }

    .ill-plane {
        top: 2%;
        right: 4%;
        left: auto;
        width: 80px;
        opacity: 0.55;
    }

    .ill-book {
        top: 17%;
        left: 5%;
        width: 50px;
        opacity: 0.65;
    }

    .ill-sparks {
        top: 7%;
        right: 22%;
        width: 40px;
        opacity: 0.7;
    }

    .ill-wave-tl {
        width: 45%;
    }

    .ill-wave-b {
        height: 20%;
        min-height: 90px;
    }

    .ill-leaves {
        width: 90px;
    }

    .welcome-inner {
        flex-direction: column;
    }

    .welcome-text {
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .cta-inner h2 {
        font-size: 30px;
    }

    .testimonials {
        padding: 70px 0 80px;
        background-attachment: scroll;
    }

    .testimonials .section-title {
        margin-bottom: 30px;
    }

    .testimonial-wrapper {
        width: 100%;
        max-width: 92%;
        margin: 0 auto;
        padding-bottom: 15px;
    }

    .testimonial-slider {
        gap: 0;
    }

    .testimonial-slide {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        height: 390px;
        min-height: 390px;
        max-height: 390px;
        padding: 30px 30px 35px;
        border-radius: 20px;
    }

    .testimonial-slide h4 {
        font-size: 19px;
    }

    .testimonial-slide span {
        margin-bottom: 18px;
    }

    .testimonial-slide p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .testimonial-controls {
        margin-top: 30px;
        gap: 9px;
        justify-content: center;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
    }

    .testimonial-dot.active {
        width: 27px;
    }
}


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

@media (max-width: 560px) {

    .school-logo {
        width: 78px;
        height: 82px;
    }

    .logo-text {
        margin-left: 88px;
    }

    .logo-text h1 {
        max-width: 220px;
        font-size: 12px;
        white-space: normal;
        line-height: 1.15;
    }

    .logo-text p {
        font-size: 7px;
    }

    .hero {
        padding: 45px 0 50px;
    }

    .hero-title {
        font-size: 30px;
    }

    .blob-shape {
        width: min(88vw, 340px);
        height: min(88vw, 340px);
    }

    .ill-plane {
        top: 1%;
        right: 2%;
        left: auto;
        width: 70px;
        opacity: 0.45;
    }

    .ill-book {
        top: 15%;
        left: 3%;
        width: 45px;
        opacity: 0.5;
    }

    .ill-sparks {
        top: 5%;
        right: 18%;
        width: 35px;
        opacity: 0.55;
    }

    .testimonials {
        padding: 55px 0 70px;
    }

    .testimonials .section-title {
        margin-bottom: 25px;
        font-size: 28px;
    }

    .testimonial-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .testimonial-slide {
        height: 380px;
        min-height: 380px;
        max-height: 380px;
        padding: 25px 20px 30px;
        border-radius: 18px;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
        border-width: 3px;
        margin-bottom: 13px;
    }

    .testimonial-slide h4 {
        font-size: 17px;
        line-height: 1.35;
    }

    .testimonial-slide span {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .testimonial-slide p {
        width: 100%;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.75;
        padding: 0;
    }

    .testimonial-controls {
        margin-top: 25px;
        gap: 8px;
    }

    .testimonial-dot {
        width: 7px;
        height: 7px;
    }

    .testimonial-dot.active {
        width: 24px;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
    }
}


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

@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .navbar {
        height: 68px;
        padding: 12px 0;
    }

    .navbar.scrolled {
        height: 62px;
        padding: 9px 0;
    }

    .school-logo {
        width: 72px;
        height: 76px;
    }

    .logo-text {
        margin-left: 82px;
    }

    .logo-text h1 {
        max-width: 185px;
        font-size: 11px;
    }

    .logo-text p {
        font-size: 7px;
    }

    .hero {
        padding: 40px 0 45px;
    }

    .hero-title {
        font-size: 28px;
    }

    .blob-shape {
        width: min(86vw, 310px);
        height: min(86vw, 310px);
    }

    .feature-card {
        padding: 30px 22px;
    }

    .ill-plane {
        top: 1%;
        right: 2%;
        left: auto;
        width: 65px;
        opacity: 0.4;
    }

    .ill-book {
        top: 15%;
        left: 3%;
        width: 42px;
        opacity: 0.45;
    }

    .ill-sparks {
        top: 5%;
        right: 18%;
        width: 34px;
        opacity: 0.5;
    }
}


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

@media (max-width: 360px) {

    .school-logo {
        width: 65px;
        height: 69px;
    }

    .logo-text {
        margin-left: 74px;
    }

    .logo-text h1 {
        max-width: 155px;
        font-size: 10px;
    }

    .logo-text p {
        font-size: 6.5px;
    }

    .hero {
        padding: 35px 0 40px;
    }

    .hero-title {
        font-size: 25px;
    }

    .blob-shape {
        width: 82vw;
        height: 82vw;
    }

    .ill-plane {
        width: 60px;
        right: 1%;
        opacity: 0.35;
    }

    .ill-book {
        width: 38px;
    }

    .testimonial-slide {
        height: 370px;
        min-height: 370px;
        max-height: 370px;
        padding: 22px 16px 28px;
    }

    .testimonial-slide p {
        font-size: 12.5px;
        line-height: 1.7;
    }
}


/* ABOUT US PAGE */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 80px;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(223, 189, 37, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(26, 63, 108, 0.10),
            transparent 32%
        ),
        var(--background);
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 65px;
}

.about-hero-copy {
    position: relative;
    z-index: 2;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--brown);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.about-eyebrow i {
    color: var(--gold-dark);
}

.about-hero-copy h2 {
    max-width: none;
    width: 100%;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.12;
    white-space: nowrap;
}

.about-hero-copy h2 span {
    color: var(--gold-dark);
}

.about-hero-description {
    max-width: none;
    width: 100%;
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    white-space: nowrap;
}
.about-hero-image {
    position: relative;
    min-width: 0;
    padding: 12px;
}

.about-hero-image-frame {
    height: 400px;
    overflow: hidden;
    border: 8px solid white;
    border-radius: 38% 62% 58% 42% / 42% 42% 58% 58%;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

.about-hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-note {
    position: absolute;
    right: -4px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: var(--shadow-md);
}

.about-hero-note i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--gold-light);
    color: var(--brown);
    font-size: 19px;
}

.about-hero-spark {
    position: absolute;
    color: var(--gold);
}

.about-hero-spark-one {
    top: 4px;
    right: 4px;
    font-size: 30px;
}

.about-hero-spark-two {
    bottom: 45px;
    left: -7px;
    font-size: 19px;
}

.about-section {
    padding: 90px 0;
    background: var(--background-white);
}

.about-section-alt {
    background: var(--gray-light);
}

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

.about-grid-reverse .about-content {
    order: 1;
}

.about-grid-reverse .about-image {
    order: 2;
}

.about-image {
    position: relative;
    min-width: 0;
    padding: 12px 16px 16px 12px;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border: 7px solid white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-image-decoration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 75%;
    height: 75%;
    border-radius: 24px;
    background: var(--gold-light);
    transform: translate(8px, 8px);
}

.about-section-alt .about-image-decoration {
    background: var(--navy-soft);
}

.about-content {
    position: relative;
}

.about-section-label {
    margin-bottom: 10px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.about-content h2 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(32px, 3.5vw, 43px);
}

.about-content h2 span {
    color: var(--gold-dark);
}

.about-content > p:not(.about-section-label) {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 15px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
    padding: 19px 21px;
    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: var(--gold-light);
}

.about-highlight i {
    margin-top: 3px;
    color: var(--brown);
}

.about-highlight p {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.about-cta .btn {
    margin-top: 2px;
}

@media (max-width: 900px) {
    .about-hero-inner {
        gap: 35px;
    }

    .about-hero-image-frame {
        height: 340px;
    }

    .about-grid {
        gap: 45px;
    }

    .about-image img {
        height: 370px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 55px 0 65px;
    }

    .about-hero-inner,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-hero-copy {
        text-align: center;
    }

    .about-hero-copy h2,
    .about-hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .about-hero-image {
        width: min(100%, 480px);
        margin: 0 auto;
    }

    .about-hero-image-frame {
        height: 320px;
    }

    .about-section {
        padding: 65px 0;
    }

    .about-image img {
        height: 350px;
    }

    .about-grid-reverse .about-content,
    .about-grid-reverse .about-image {
        order: initial;
    }

    .about-cta .cta-inner h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-hero-copy h2 {
        font-size: 35px;
    }

    .about-hero-description {
        font-size: 15px;
    }

    .about-hero-image-frame {
        height: 260px;
    }

    .about-hero-note {
        right: 0;
        bottom: 15px;
        padding: 11px 13px;
    }

    .about-image img {
        height: 290px;
        border-width: 5px;
    }

    .about-content h2 {
        font-size: 32px;
    }
}