/* Premium Lyceum-inspired Blue & Gold Palette */
:root {
    --primary: #0a3221;
    --primary-light: #0b8d66;
    --accent: #e0a96d;
    --accent-hover: #dd994b;
    --background: #ffffff;
    --card-sub-bg: #f8f9fa;
    --text-main: #08a06b;
    --text-muted: #2d3748;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background 0.3s, color 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- ORIGINAL STANDARD TOP HEADER --- */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 15px 5%;
    background-color: #ffffff;
    position: relative;
    z-index: 1010;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.header-logo {
    display: block;
    width: 70px;
    height: auto;
    flex-shrink: 0;
    cursor: pointer;
}

.school-name {
    margin-left: 0;
    min-width: 0;
}

.header-title {
    min-width: 0;
}

.header-title h2,
.school-name h2 {
    font-size: 20px;
    color: #062b1a;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.header-title p,
.school-name p {
    font-size: 11px;
    color: #0e845c;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Navigation Styles */

nav {
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(10, 50, 33, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px 60px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

header nav#mainNav a::after,
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

header nav#mainNav a:hover,
header nav#mainNav a.active,
nav a:hover,
nav a.active {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

header nav#mainNav a:hover::after,
header nav#mainNav a.active::after,
nav a:hover::after,
nav a.active::after {
    width: 70%;
}

/* Mobile Menu Toggle Hidden on Desktop */

header .menu-toggle,
.menu-toggle {
    display: none;
}

/* ABOUT SECTION */

.about-section {
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    text-align: center;
}

.section-title {
    color: #004a99;
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ffcc00;
    margin: 10px auto 0;
}

.facilities-section {
    padding: 50px 20px;
    overflow: hidden;
    text-align: center;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-slide img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* CLUBS & SOCIETIES */

.clubs-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.clubs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.club-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.club-card h3 {
    color: #004a99;
    margin-bottom: 15px;
}

/* --- ADVANCED ANIMATED HERO SLIDESHOW CONTAINER --- */

.hero-slider-container {
    position: relative;
    height: 75vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
    filter: contrast(1.05) saturate(1.05) brightness(0.95);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* SPORTS SECTION */

.sports-section {
    padding: 60px 20px;
    background-color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.sport-card {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 5px solid #ffcc00;
    transition: 0.3s;
}

.sport-card:hover {
    transform: translateY(-10px);
    background: #e0efff;
}

/* Active Slide */

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    animation: zoomEffect 8s infinite alternate ease-in-out;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* GEOMETRIC SHAPE OVERLAY */

.hero-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(10, 50, 33, 0.85) 75%,
        rgba(10, 50, 33, 0) 75.1%
    );
    z-index: 3;
    pointer-events: none;
}

/* BRANDING BLOCK */

.slider-branding {
    position: absolute;
    top: 15%;
    left: 5%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 35%;
    color: #ffffff;
    pointer-events: none;
}

.slider-logo {
    width: clamp(80px, 10vw, 110px);
    height: auto;
    background: none;
    padding: 0;
    border-radius: 0;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.4));
    opacity: 0;
    transform: translateY(-25px);
    animation: brandingFadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.slider-school-name {
    opacity: 0;
    transform: translateY(25px);
    animation: brandingFadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.slider-school-name h2 {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slider-school-name p {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 600;
    color: #ffffff;
    margin-top: 5px;
    letter-spacing: 1px;
}

@keyframes brandingFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO TEXT */

.hero-text-wrapper {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    z-index: 5;
    color: #ffffff;
    pointer-events: none;
}

.hero-text-wrapper h3 {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: var(--accent);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateX(30px);
}

.hero-text-wrapper h1 {
    font-size: clamp(30px, 6vw, 55px);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateX(30px);
}

.hero-text-wrapper.animate-now h3 {
    animation: slideInRight 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-wrapper.animate-now h1 {
    animation: slideInRight 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* SLIDER DOTS */

.slider-dots {
    position: absolute;
    bottom: 25px;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent);
}

/* VISION, MISSION */

.vision-mission {
    padding: 80px 5%;
    background-color: var(--background);
}

.vm-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: auto;
}

.vm-box {
    padding: 45px 35px;
    border-radius: 16px;
    background: var(--card-sub-bg);
    border: 1px solid #e2e8f0;
    border-top: 6px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.vm-box:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(11, 37, 69, 0.08);
    border-top-color: var(--accent);
}

.vm-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: clamp(22px, 3.5vw, 26px);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.vm-box p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: clamp(16.5px, 2.5vw, 19px);
    font-weight: 500;
}

.vm-box.motto-box p {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: var(--primary-light);
    text-align: center;
}

/* STATS SECTION */

.stats-section {
    position: relative;
    background-image:
        linear-gradient(
            rgba(10, 50, 33, 0.9),
            rgba(11, 141, 102, 0.85)
        ),
        url('NCC LOGO/school-photo.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    padding: 80px 5%;
    color: white;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.stat-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.stat-box h2 {
    font-size: clamp(40px, 5vw, 56px);
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

.stat-box p {
    font-size: 13px;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #e2e8f0;
}

/* CHATBOT UI */

.chat-launcher {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 60px;
    height: 60px;

    background: var(--primary);
    color: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 26px;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(10, 50, 33, 0.3);

    z-index: 9999;
}

.chat-launcher:hover {
    transform: scale(1.08);
    background: var(--primary-light);
}

.chat-wrapper {
    position: fixed;

    bottom: 95px;
    right: 25px;

    width: 350px;
    height: 480px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    display: none;
    flex-direction: column;

    overflow: hidden;

    z-index: 9999;

    border: 1px solid #e2e8f0;
}

.chat-header {
    background: var(--primary);
    color: white;

    padding: 15px 20px;

    font-weight: bold;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 3px solid var(--accent);
}

.chat-close {
    cursor: pointer;
    font-size: 22px;
}

.chat-body {
    flex: 1;

    padding: 15px;

    overflow-y: auto;

    background: #f8fafc;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.chat-msg {
    max-width: 85%;

    padding: 10px 14px;

    border-radius: 14px;

    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.bot {
    background: #e2e8f0;
    color: var(--primary);

    align-self: flex-start;

    border-top-left-radius: 2px;
}

.chat-msg.user {
    background: var(--primary-light);
    color: white;

    align-self: flex-end;

    border-top-right-radius: 2px;
}

.chat-footer {
    padding: 12px;

    background: white;

    border-top: 1px solid #e2e8f0;

    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;

    border: 1px solid #cbd5e1;

    padding: 10px 12px;

    border-radius: 8px;

    outline: none;

    font-size: 14px;
}

.chat-btn {
    background: var(--primary);
    color: white;

    border: none;

    padding: 0 15px;

    border-radius: 8px;

    cursor: pointer;

    font-weight: bold;
}

.chat-btn:hover {
    background: var(--accent);
}

/* FOOTER */

footer {
    background-color: var(--primary);

    color: #ffffff;

    padding: 50px 5% 20px 5%;

    border-top: 4px solid var(--accent);

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    flex-wrap: wrap;

    max-width: 1200px;

    margin: 0 auto;

    gap: 40px;

    padding-bottom: 30px;
}

/* Brand & Logo */

.footer-col.brand-col {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

    flex: 1;

    min-width: 250px;
}

.footer-logo {
    width: 100px !important;
    height: auto !important;
    max-width: 100px !important;

    background: #ffffff;

    padding: 5px;

    border-radius: 8px;

    object-fit: contain;
}

.brand-text h2 {
    font-size: 18px;

    font-weight: 700;

    color: #ffffff;

    margin: 0;

    line-height: 1.4;
}

/* Footer Links */

.footer-links-wrapper {
    display: flex;

    gap: 50px;

    flex-wrap: wrap;

    flex: 2;

    justify-content: flex-end;
}

.footer-col {
    min-width: 180px;
}

.footer-col h3 {
    font-size: 16px;

    color: var(--accent);

    margin-bottom: 15px;

    font-weight: 600;

    border-bottom: 2px solid rgba(255, 255, 255, 0.1);

    display: inline-block;

    padding-bottom: 4px;
}

.footer-col ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a,
.footer-col p {
    color: #cbd5e1;

    text-decoration: none;

    font-size: 14px;

    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.social-icons {
    display: flex;

    gap: 12px;

    margin-top: 10px;
}

.social-icons a {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 35px;
    height: 35px;

    background: rgba(255, 255, 255, 0.1);

    color: white;

    border-radius: 50%;

    font-size: 16px;

    text-decoration: none;

    transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding-top: 20px;

    font-size: 13px;

    color: #94a3b8;
}

/* =========================================================
   MOBILE HAMBURGER MENU & RESPONSIVE DESIGN (FIRST CODE SPEC)
   ========================================================= */

@media screen and (max-width: 768px) {

    /* Header row */

    header {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
        text-align: left;
        z-index: 1010;
        background: #ffffff;
    }

    /* Logo and school name */

    header .header-branding,
    .header-branding,
    .brand-container {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center !important;
        gap: 9px !important;
        min-width: 0;
    }

    header .header-logo,
    .header-logo,
    .logo {
        display: block;
        width: 50px !important;
        height: auto !important;
        flex-shrink: 0;
        margin: 0 !important;
    }

    header .header-title,
    .header-title,
    .school-name {
        min-width: 0;
        margin: 0 !important;
    }

    header .header-title h2,
    .header-title h2,
    .school-name h2 {
        font-size: 15px !important;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #062b1a;
        font-weight: 800;
        margin: 0;
    }

    header .header-title p,
    .header-title p,
    .school-name p {
        margin-top: 4px;
        font-size: 9px !important;
        letter-spacing: 0.4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #0e845c;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Hamburger button */

    header .menu-toggle,
    .menu-toggle {
        display: flex !important;
        position: relative;
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        padding: 8px !important;
        margin: 0 0 0 10px !important;
        background: var(--primary) !important;
        border: 2px solid var(--accent) !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        cursor: pointer;
        z-index: 1020 !important;
        flex-shrink: 0;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Three gold lines */

    header .menu-toggle span,
    .menu-toggle span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        min-height: 3px !important;
        flex-shrink: 0;
        background: var(--accent) !important;
        border-radius: 3px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Full-width dropdown: closed state */

    header nav#mainNav,
    nav#mainNav,
    nav {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        background: var(--primary) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(10, 50, 33, 0.30) !important;
        overflow: hidden !important;

        max-height: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease !important;

        z-index: 1015 !important;
    }

    /* Dropdown open */

    header nav#mainNav.active,
    nav#mainNav.active,
    nav.active {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        max-height: none !important;
    }

    header nav#mainNav a,
    nav a {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        padding: 14px 18px !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-align: center !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        background: transparent !important;
        border-bottom: none !important;
    }

    header nav#mainNav a:hover,
    header nav#mainNav a.active,
    nav a:hover,
    nav a.active {
        color: var(--accent) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }

    header nav#mainNav a::after,
    nav a::after {
        display: block !important;
        bottom: 4px !important;
        height: 3px !important;
    }

    /* Hamburger changes into X */

    header .menu-toggle.active span:nth-child(1),
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    header .menu-toggle.active span:nth-child(2),
    .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    header .menu-toggle.active span:nth-child(3),
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    /* HERO */

    .hero-slider-container {
        width: 100%;
        height: 65vh;
        min-height: 450px;
        max-height: 700px;
    }

    .hero-slide {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
    }

    .hero-slider-container::after {
        width: 100%;
        height: 100%;
        background:
            linear-gradient(
                180deg,
                rgba(10, 50, 33, 0.88) 0%,
                rgba(10, 50, 33, 0.55) 50%,
                rgba(10, 50, 33, 0.75) 100%
            );
    }

    .slider-branding {
        top: 8%;
        left: 5%;
        width: 90%;
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .slider-logo {
        width: clamp(65px, 18vw, 90px);
        max-width: 90px;
        height: auto;
    }

    .slider-school-name {
        width: 100%;
    }

    .slider-school-name h2 {
        font-size: clamp(17px, 5vw, 24px);
        line-height: 1.25;
        word-wrap: break-word;
    }

    .slider-school-name p {
        font-size: clamp(9px, 2.8vw, 13px);
        line-height: 1.4;
        letter-spacing: 0.8px;
    }

    .hero-text-wrapper {
        width: 90%;
        height: auto;
        top: auto;
        right: 5%;
        bottom: 12%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .hero-text-wrapper > div {
        width: 100%;
    }

    .hero-text-wrapper h3 {
        font-size: clamp(13px, 4vw, 19px);
        letter-spacing: 2px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .hero-text-wrapper h1 {
        font-size: clamp(25px, 8vw, 40px);
        line-height: 1.15;
        letter-spacing: 0.5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .slider-dots {
        bottom: 18px;
        right: 50%;
        transform: translateX(50%);
        gap: 9px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* ABOUT */

    .about-section {
        width: 100%;
        padding: 55px 20px;
    }

    .container {
        width: 100%;
        max-width: 800px;
    }

    .section-title {
        font-size: clamp(25px, 7vw, 32px);
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.75;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* VISION / MISSION */

    .vision-mission {
        width: 100%;
        padding: 55px 15px;
    }

    .vm-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vm-box {
        width: 100%;
        padding: 30px 20px;
        min-width: 0;
    }

    .vm-box h2 {
        font-size: 23px;
        text-align: center;
        margin-bottom: 15px;
    }

    .vm-box p {
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .vm-box.motto-box p {
        font-size: 20px;
    }

    /* CLUBS */

    .clubs-section {
        width: 100%;
        padding: 55px 15px;
    }

    .clubs-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .club-card {
        width: 100%;
        padding: 25px 20px;
        min-width: 0;
    }

    .club-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .club-card p {
        font-size: 15px;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* SPORTS */

    .sports-section {
        width: 100%;
        padding: 55px 15px;
    }

    .sports-swiper {
        width: 100%;
        overflow: hidden;
    }

    .sport-card {
        width: 100%;
        min-height: 180px;
        padding: 25px 20px;
    }

    .sport-card h3 {
        font-size: 21px;
    }

    .sport-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* STATS */

    .stats-section {
        width: 100%;
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .stats-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-box {
        width: 100%;
        padding: 30px 15px;
    }

    .stat-box h2 {
        font-size: 45px;
    }

    .stat-box p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* CHATBOT */

    .chat-launcher {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
        font-size: 23px;
    }

    .chat-wrapper {
        width: calc(100% - 30px);
        max-width: 350px;
        height: min(450px, 70vh);
        right: 15px;
        bottom: 80px;
        border-radius: 15px;
    }

    .chat-header {
        padding: 13px 15px;
    }

    .chat-body {
        padding: 12px;
    }

    .chat-msg {
        max-width: 90%;
        font-size: 13px;
    }

    .chat-footer {
        padding: 10px;
    }

    .chat-input {
        min-width: 0;
        font-size: 13px;
    }

    .chat-btn {
        padding: 0 12px;
    }

    /* FOOTER */

    footer {
        width: 100%;
        padding: 40px 20px 15px;
    }

    .footer-container {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-col.brand-col {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-logo {
        width: 90px !important;
        max-width: 90px !important;
    }

    .brand-text {
        width: 100%;
    }

    .brand-text h2 {
        font-size: 16px;
        line-height: 1.4;
    }

    .footer-links-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .footer-col {
        width: 100%;
        min-width: 0;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-bottom {
        width: 100%;
        font-size: 11px;
        line-height: 1.6;
        padding-top: 15px;
    }
}

/* =========================================
   SMALL PHONES
   Button size: 42px x 42px
   ========================================= */

@media screen and (max-width: 380px) {

    header {
        padding: 12px !important;
        gap: 8px;
    }

    header .header-logo,
    .header-logo,
    .logo {
        width: 42px !important;
    }

    header .header-branding,
    .header-branding {
        gap: 7px !important;
    }

    header .header-title h2,
    .header-title h2,
    .school-name h2 {
        font-size: 12px !important;
    }

    header .header-title p,
    .header-title p,
    .school-name p {
        font-size: 7px !important;
        letter-spacing: 0.2px;
    }

    header .menu-toggle,
    .menu-toggle {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }

    header .menu-toggle span,
    .menu-toggle span {
        width: 22px !important;
    }

    .hero-slider-container {
        height: 62vh;
        min-height: 420px;
    }

    .slider-branding {
        top: 7%;
    }

    .slider-logo {
        width: 65px;
    }

    .slider-school-name h2 {
        font-size: 17px;
    }

    .slider-school-name p {
        font-size: 9px;
    }

    .hero-text-wrapper {
        bottom: 13%;
    }

    .hero-text-wrapper h3 {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
}

/* =========================================
   REDUCE MOTION ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    header nav#mainNav,
    nav#mainNav,
    nav,
    header nav#mainNav a,
    nav a,
    header .menu-toggle span,
    .menu-toggle span,
    .hero-slide,
    .club-card,
    .sport-card {
        transition: none !important;
    }
}
