/* =============================================
   MEDHAA'S RAINBOW SCHOOL — style.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --yellow: #FFD726;
    --yellow-deep: #F5C400;
    --yellow-light: #FFF3A3;
    --dark: #1a1a1a;
    --text: #2d2d2d;
    --white: #ffffff;
    --rainbow-1: #FF4E50;
    --rainbow-2: #FC913A;
    --rainbow-3: #F9D62E;
    --rainbow-4: #52D053;
    --rainbow-5: #1BA3E7;
    --rainbow-6: #6F5BCC;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.2);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--yellow);
    color: var(--text);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ---------- Utility ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary {
    background: var(--dark);
    color: var(--yellow);
    border-color: var(--dark);
}

.btn-primary:hover {
    background: #333;
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--yellow);
}

.btn-large {
    padding: 1rem 2.8rem;
    font-size: 1.15rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.4em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-5));
}

.section-subtitle {
    margin-top: 0.8rem;
    font-size: 1.05rem;
    color: #555;
    font-weight: 600;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--yellow);
    border-bottom: 3px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2.4rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.school-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.school-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---------- Nav ---------- */
.main-nav {
    background: var(--dark);
}

.nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-link {
    display: block;
    padding: 0.9rem 1.3rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--yellow-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--yellow) 0%, #ffe066 50%, #fff5b0 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.rainbow-text {
    background: linear-gradient(90deg,
            var(--rainbow-1) 0%,
            var(--rainbow-2) 20%,
            var(--rainbow-3) 40%,
            var(--rainbow-4) 60%,
            var(--rainbow-5) 80%,
            var(--rainbow-6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    background-size: 200% auto;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Decorative shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: pulse 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--rainbow-5);
    top: -80px;
    right: -80px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--rainbow-1);
    bottom: -60px;
    left: -40px;
    animation-delay: -2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--rainbow-3);
    bottom: 20px;
    right: 15%;
    animation-delay: -4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* =============================================
   HIGHLIGHTS STRIP
   ============================================= */
.highlights-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--dark);
    padding: 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--yellow-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-item:hover {
    background: rgba(255, 215, 38, 0.12);
}

/* =============================================
   GALLERY / SLIDESHOW
   ============================================= */
.gallery-section {
    padding: 5rem 2rem;
    background: var(--yellow);
}

.slideshow-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 6px rgba(255, 255, 255, 0.5);
}

.slideshow {
    position: relative;
    width: 100%;
    height: 480px;
    background: #111;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Arrows */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
    transition: background var(--transition), transform var(--transition);
    color: var(--dark);
}

.slide-btn:hover {
    background: var(--yellow);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn.prev {
    left: 16px;
}

.slide-btn.next {
    right: 16px;
}

/* Dots */
.slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.dot.active {
    background: var(--yellow);
    transform: scale(1.3);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: 5rem 2rem;
    background: #fff9d6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 5px solid var(--yellow);
}

.about-card:nth-child(2) {
    border-top-color: var(--rainbow-1);
}

.about-card:nth-child(3) {
    border-top-color: var(--rainbow-5);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* =============================================
   CURRICULUM SECTION
   ============================================= */
.curriculum-section {
    padding: 5rem 2rem;
    background: var(--yellow);
}

/* CBSE Banner */
.cbse-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3.5rem;
    background: var(--dark);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-strong);
    flex-wrap: wrap;
}

.cbse-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cbse-logo {
    font-size: 3rem;
    line-height: 1;
}

.cbse-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    opacity: 0.75;
}

.cbse-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.1;
}

.cbse-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-weight: 600;
}

.cbse-desc strong {
    color: var(--yellow);
}

/* Curriculum Card Grid */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.curriculum-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 5px solid var(--yellow-deep);
    position: relative;
    overflow: hidden;
}

.curriculum-card:nth-child(1) { border-top-color: var(--rainbow-1); }
.curriculum-card:nth-child(2) { border-top-color: var(--rainbow-2); }
.curriculum-card:nth-child(3) { border-top-color: var(--rainbow-4); }
.curriculum-card:nth-child(4) { border-top-color: var(--rainbow-5); }
.curriculum-card:nth-child(5) { border-top-color: var(--rainbow-6); }
.curriculum-card:nth-child(6) { border-top-color: var(--rainbow-3); }

.curriculum-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.curriculum-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.curriculum-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.curriculum-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
}

/* Highlights Strip */
.curriculum-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-chip {
    background: var(--dark);
    color: var(--yellow-light);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background var(--transition), transform var(--transition);
}

.highlight-chip:hover {
    background: #333;
    transform: translateY(-2px);
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 2.5rem 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--yellow);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

/* =============================================
   SPORTS SECTION
   ============================================= */
.sports-section {
    padding: 5rem 2rem;
    background: #fff9d6;
}

/* Sport Cards */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
}

.sport-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 5px solid var(--yellow-deep);
    position: relative;
}

.sport-card:nth-child(1) { border-top-color: var(--rainbow-4); }
.sport-card:nth-child(2) { border-top-color: var(--rainbow-1); }
.sport-card:nth-child(3) { border-top-color: var(--rainbow-5); }
.sport-card:nth-child(4) { border-top-color: var(--rainbow-6); }

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.sport-emoji {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.sport-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.sport-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sport-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.sport-winner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(255, 165, 0, 0.4); }
    50%       { box-shadow: 0 4px 24px rgba(255, 165, 0, 0.75); }
}

/* Winners Spotlight */
.winners-spotlight {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.winners-photo-wrap {
    position: relative;
    min-height: 340px;
}

.winners-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winners-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trophy-icon { font-size: 2rem; }

.winners-label {
    color: #FFD700;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.winners-info {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.winners-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    width: fit-content;
}

.winners-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.winners-school {
    color: var(--rainbow-2);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.winners-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-3));
    border-radius: 4px;
    margin-bottom: 1rem;
}

.winners-message {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.winners-message strong { color: var(--yellow); }

@media (max-width: 768px) {
    .winners-spotlight { grid-template-columns: 1fr; }
    .winners-info { padding: 2rem; }
    .winners-photo-wrap { min-height: 260px; }
}

/* =============================================
   ADMISSIONS CTA
   ============================================= */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--yellow) 0%, #ffe87a 100%);
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-inner p {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #111;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 2rem 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.footer-school-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--yellow);
}

.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.footer-address h4,
.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.footer-address address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: var(--yellow);
}

.footer-contact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--yellow-light);
    transition: background var(--transition), transform var(--transition);
}

.social-icon:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    padding: 1.2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .main-nav.open {
        max-height: 500px;
    }

    .nav-list {
        flex-direction: column;
        padding: 0.5rem 0;
    }

    .nav-link {
        padding: 0.75rem 2rem;
        text-align: center;
    }

    .slideshow {
        height: 260px;
    }

    .slide-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .stat-item {
        padding: 1rem 1.5rem;
    }

    .highlight-item {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .slideshow {
        height: 220px;
    }

    .hero {
        padding: 4rem 1rem 3rem;
    }

    .school-name {
        font-size: 1.1rem;
    }
}