        /* --- CORE RESET --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Poppins', sans-serif; min-height: 200vh; background-color: #fcfcfc; }

        /* --- FIXED HEADER --- */
        .site-header {
            position: fixed;
            top: 0; left: 0; width: 100%;
            padding: 25px 0 15px 0;
            background: #ffffff;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
        }

        .header-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* --- BRANDING --- */
        .branding-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 18px;
            transition: all 0.5s ease;
        }

        .school-logo-main {
            height: 85px;
            width: auto;
            filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
            transition: all 0.5s ease;
        }

         .shine-text {
            font-family: 'Playfair Display', serif;
            font-size: 30px; 
            font-weight: bold;
            letter-spacing: 4px;
            text-decoration: none; 
            display: inline-block;
            background: linear-gradient(to right, #c05d2e 0%, #c05d2e 40%, #ffffff 50%, #c05d2e 60%, #c05d2e 100%);
            background-size: 200% auto;
            color: transparent; 
            -webkit-background-clip: text; 
            background-clip: text;
            animation: shine 4s linear infinite; 
            transition: all 0.5s ease;
        }

        @keyframes shine { to { background-position: 200% center; } }

        /* --- NAVIGATION --- */
        .nav { display: flex; list-style: none; align-items: center; gap: 8px; }
        .nav > a, .nav-item > a {
            text-decoration: none; color: #1a2a47;
            font-weight: 700; 
            font-size: 15px; 
            padding: 12px 18px; text-transform: uppercase;
            position: relative; transition: 0.3s;
        }
        .nav a:hover, .nav a.active { color: #f39c12; }

        /* --- HORIZONTAL MEGA DROPDOWN --- */
        .nav-item { position: static; } 
        .mega-dropdown {
            position: absolute;
            top: 100%; left: 50%;
            transform: translateX(-50%) translateY(30px);
            width: 1000px; 
            background: #ffffff;
            display: grid;
            grid-template-columns: 1fr 3fr; /* Balanced side panel */
            border-radius: 20px;
            box-shadow: 0 40px 80px rgba(0,0,0,0.18);
            overflow: hidden;
            opacity: 0; visibility: hidden;
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            z-index: 100;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .mega-parent:hover .mega-dropdown {
            opacity: 1; visibility: visible;
            transform: translateX(-50%) translateY(15px);
        }

        /* Side-Panel (Horizontal Title) */
        .mega-left { 
            background: #1a2a47; 
            padding: 40px 30px; 
            display: flex; 
            flex-direction: column;
            justify-content: flex-start; /* Title at the top */
            align-items: flex-start;
            color: white; 
        }
        
        .mega-left h2 { 
            font-size: 24px; 
            color: #f39c12; 
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 700;
            margin-bottom: 15px;
            position: relative;
        }

        .mega-left h2::after {
            content: '';
            display: block;
            width: 40px;
            height: 3px;
            background: #ffffff;
            margin-top: 8px;
        }

        .mega-left p {
            font-size: 14px;
            opacity: 0.7;
            line-height: 1.6;
            font-weight: 300;
        }

        /* Link Section */
        .mega-right { padding: 50px; background: white; }
        .mega-right h3 { 
            font-size: 14px; 
            color: #888; 
            text-transform: uppercase; 
            letter-spacing: 1px;
            margin-bottom: 25px; 
            border-bottom: 1px solid #eee; 
            padding-bottom: 10px; 
        }
        .mega-right ul { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 20px; 
            list-style: none; 
        }

        .mega-right li a { 
            color: #1a2a47 !important; 
            font-size: 18px; 
            font-weight: 600; 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            transition: 0.3s; 
            text-decoration: none;
        }
        .mega-right li a i { color: #f39c12; font-size: 16px; opacity: 0.8; } 
        .mega-right li a:hover { color: #c05d2e !important; transform: translateX(8px); }

        /* --- SCROLLED STATE --- */
        .site-header.scrolled { background: #8B0000; padding: 10px 0; }
        .site-header.scrolled .school-logo-main { height: 50px; }
        .site-header.scrolled .shine-text {
            font-size: 36px;
            background: linear-gradient(to right, #ffd700 0%, #ffd700 40%, #ffd700 60%, #ffd700 100%);
            -webkit-background-clip: text;
        }
        .site-header.scrolled .nav > a, .site-header.scrolled .nav-item > a { color: #ffffff; }

        .icons { margin-left: 20px; font-size: 22px; cursor: pointer; color: #1a2a47; }


        .site-header.scrolled .icons { color: white; }

        /* menu== */
    
        

/* ================================================ menu*/
    /* Trigger Button */
    .mmet-open-btn {
        position: fixed;
       
        right: 30px;
        padding: 15px 35px;
        background: linear-gradient(135deg, #003366 0%, #001a33 100%);
        color: #ffffff;
        border: none;
        border-radius: 50px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 700;
        letter-spacing: 1px;
        cursor: pointer;
        z-index: 100;
        
        display: flex;
        align-items: center;
        gap: 10px;
        transition: 0.3s;
    }
    .mmet-open-btn:hover { transform: scale(1.05); background: #004080; }

    /* Overlay */
    .mmet-mega-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 26, 51, 0.9);
        backdrop-filter: blur(10px);
        display: none; /* Controlled by JS */
        z-index: 1000;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Main Card */
    .mmet-mega-card {
        width: 100%;
        max-width: 1300px;
        height: 85vh;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 30px;
        display: flex;
        overflow: hidden;
        position: relative;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5);
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* Navigation Area */
    .mmet-nav-content {
        flex: 1;
        padding: 50px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .mmet-menu-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        border-bottom: 2px solid #eee;
        padding-bottom: 20px;
    }

    .mmet-logo-text { font-size: 35px; font-weight: 800; color: #003366; margin: 0; }
    .mmet-gold-span { color: #FFD700; }

    .mmet-close-icon { font-size: 35px; cursor: pointer; color: #888; transition: 0.3s; }
    .mmet-close-icon:hover { color: #ff0000; transform: rotate(90deg); }

    /* Grid */
    .mmet-links-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .mmet-col-head {
        color: #003366;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mmet-col-head i { color: #FFD700; font-size: 18px; }

    .mmet-link-col a {
        display: block;
        text-decoration: none;
        color: #444444;
        font-size: 16px;
        margin-bottom: 12px;
        transition: 0.3s;
        font-weight: 500;
    }
    .mmet-link-col a:hover { color: #003366; padding-left: 10px; font-weight: 700; }

    .mmet-admission-link { color: #003366 !important; font-weight: 800 !important; }
    .mmet-home-link { border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px; }

    /* Sidebar (Phyo) */
    .mmet-phyo-sidebar {
        width: 400px;
        background: linear-gradient(135deg, #003366 0%, #001a33 100%);
        padding: 40px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .mmet-phyo-photo-container {
        width: 100%;
        height: 250px;
        border-radius: 20px;
        overflow: hidden;
        border: 4px solid rgba(255,255,255,0.1);
        position: relative;
    }
    .mmet-campus-img { width: 100%; height: 100%; object-fit: cover; border: none; }

    .mmet-photo-caption {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: #FFD700;
        color: #003366;
        padding: 5px 15px;
        border-radius: 10px;
        font-weight: 800;
        font-size: 12px;
    }

    .mmet-phyo-info { margin-top: 30px; }
    .mmet-contact-title { font-size: 18px; color: #FFD700; margin-bottom: 15px; margin-top: 0; }
    
    .mmet-info-item { display: flex; gap: 15px; margin-bottom: 20px; font-size: 14px; line-height: 1.5; opacity: 0.9; }
    .mmet-info-item i { color: #FFD700; font-size: 20px; }

    .mmet-admission-glow-box {
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid #FFD700;
        padding: 20px;
        border-radius: 15px;
        text-align: center;
    }
    .mmet-glow-link { color: #FFD700; text-decoration: none; font-weight: 800; text-transform: uppercase; }

    /* Mobile */
    @media (max-width: 1000px) {
        .mmet-phyo-sidebar { display: none; }
        .mmet-links-grid { grid-template-columns: repeat(2, 1fr); }
    }

/* ============================================================= */



/* --- SECTION BASE --- */
/* Section with New Mesh Gradient & Diagonal Pattern */
.academics-section {
    padding: 120px 5%;
    position: relative;
    /* 1. HD UNIQUE PALETTE: Deep Plum, Terracotta, and Golden Rose */
    background-color: #2d1b2e; /* Deep Plum Base (No Black/White) */
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 160, 23, 0.15) 0, transparent 50%), /* Warm Gold */
        radial-gradient(at 100% 0%, rgba(184, 92, 56, 0.2) 0, transparent 50%), /* Terracotta */
        radial-gradient(at 50% 100%, rgba(157, 23, 77, 0.15) 0, transparent 50%), /* Rose Crimson */
        radial-gradient(at 0% 100%, rgba(76, 29, 149, 0.1) 0, transparent 50%); /* Subtle Violet */
    
    /* 2. PREMIUM TEXTURE: Diagonal "Silk" Grain */
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, transparent 1px, transparent 10px),
        radial-gradient(at 0% 0%, rgba(212, 160, 23, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(184, 92, 56, 0.2) 0, transparent 50%);
    
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
    /* 3. SHARP BORDER: Warm Copper Glow */
    border-top: 1px solid rgba(212, 160, 23, 0.2);
}

/* Layer 3: Moving Ember Glow (The "Attractive" Part) */
.academics-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    animation: emberFloat 15s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

@keyframes emberFloat {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 50px); }
}

/* Add a soft glow behind the content */
.academics-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  top: -200px;
  right: -100px;
  z-index: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.academics-wrapper {
  max-width: 1200px;
  position: relative;
  z-index: 1; /* Stay above the pattern */
  display: flex;
  align-items: center;
  gap: 60px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  padding: 60px;
  border-radius: 50px 5px 50px 5px; /* Unique asymmetrical corners */
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.03);
}

/* Keep the rest of your content styling */
.academics-content { flex: 1.2; }
.section-title { font-size: 2.8rem; color: #1a2a3a; font-weight: 800; }
.section-title span { color: #3498db; display: block; font-size: 2rem; letter-spacing: 3px; font-family: Georgia, 'Times New Roman', Times, serif;}
.section-text p{ font-size: 0.6rem; margin-bottom: 0.6rem;}
/* Luxury List Items */
.academic-list { list-style: none; padding: 0; counter-reset: my-counter;  margin-top: 1rem; font-size:o.5rem;} 
.academic-list li {
  background: #ffffff;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
}

.academic-list li:hover {
  border-color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.1);
}

.academic-list li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  width: 35px;
  height: 35px;
  background: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

/* ======================================2=================== */
/* Section Base - Dark & Sophisticated */

.elite-academics-container {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.elite-main-wrapper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 50px;
  border-radius: 40px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

/* Photo Correction & Framing */
.elite-visual-frame {
  position: relative;
  z-index: 1;
}

.elite-outer-border {
  position: relative;
  padding: 12px;
  background: linear-gradient(135deg, #c5a028, #91792a, #5e4d1a);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  /* This creates a slight 3D tilt */
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.elite-outer-border:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.elite-inner-image {
  width: 100%;
  height: 450px; /* Fixed height to keep it consistent */
  display: block;
  border-radius: 16px;
  object-fit: cover; /* This "sets" the photo correctly without stretching */
  object-position: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Typography & Content */
.elite-main-heading {
  color: #e2e8f0;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.elite-main-heading span {
  display: block;
  color: #eab308; /* Vibrant Golden Yellow */
  text-transform: uppercase;
  font-size: 2.2rem;
  margin-top: 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.elite-accent-bar {
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, #eab308, transparent);
  margin-bottom: 30px;
  border-radius: 10px;
}

.elite-description {
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1.9;
  margin-bottom: 40px;
  font-weight: 300;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Feature Grid */
.elite-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.elite-feature-item {
  background: rgba(234, 179, 8, 0.08);
  color: #f8fafc;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(234, 179, 8, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.elite-feature-item:hover {
  background: #eab308;
  color: #0f172a;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(234, 179, 8, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .elite-main-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
    margin: 20px;
  }
  
  .elite-inner-image {
    height: 350px;
  }

  .elite-main-heading {
    font-size: 2.5rem;
  }

  .elite-feature-grid {
    grid-template-columns: 1fr;
  }
}
/* ====================================== */

/* Core Styling */
.academic-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #1A0033;
}

/* SECTION 1: Royal Purple */
.academic-section:nth-child(1) {
  background: linear-gradient(135deg, #2D033B 0%, #4C0070 100%);
  color: #ffffff;
  padding: 100px 5%; /* Reduced side padding to allow wider content */
}

/* SECTION 2: Deep Violet */
.academic-section:nth-child(2) {
  background: linear-gradient(135deg, #1A0033 0%, #2D033B 100%);
  color: #ffffff;
  padding: 100px 5%;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1400px; /* Increased max-width for a larger look */
  margin: 0 auto;
}

/* Z-Pattern for Section 2 */
.academic-section:nth-child(2) .content-wrapper {
  flex-direction: row-reverse;
}

/* Text Container - Slightly smaller to give room to the photo */
.text-content {
  flex: 1; 
}

.title {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.underline {
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, #FFD700, #B8860B);
  margin: 20px 0 40px 0;
  border-radius: 10px;
}

/* List Details */
.feature-list {
  list-style: none;
  padding: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.feature-list li {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.4rem;
}

/* BOLDING RULE: 1st and 5th items highlighted */
.feature-list li:nth-child(1),
.feature-list li:nth-child(5) {
  font-weight: 900;
  font-size: 1.5rem;
  color: #FFD700;
  text-shadow: 0px 0px 15px rgba(255, 215, 0, 0.4);
}

/* LARGE IMAGE FOCUS */
.image-content {
  flex: 1.2; /* Increased flex to make the photo section wider than the text */
  display: flex;
  justify-content: center;
}

.side-img {
  width: 90%; /* Spans the full width of the larger container */
  height: 500px; /* Increased height for a "Large" look */
  object-fit: cover; /* Keeps the photo from looking stretched */
  border-radius: 40px;
  border: 8px solid rgba(255, 215, 0, 0.4); /* Thicker premium border */
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  transition: transform 0.6s ease-in-out;
}

.side-img:hover {
  transform: scale(1.03);
  border-color: #FFD700;
}

.divider {
  display: none;
}

/* Responsive Mobile Layout */
@media (max-width: 1100px) {
  .content-wrapper, 
  .academic-section:nth-child(2) .content-wrapper {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
  }

  .title {
    font-size: 2.5rem;
     margin-left: 20px;

  }

  .underline {
    margin: 20px auto 35px auto;
     margin-left: 20px;

  }

  .feature-list li {
    text-align: left;
  }

  .side-img {
    height: 350px; /* Adjusted for smaller screens */
    width: 90%;
  }
}
/* Container for the entire Assessment Section */
.assessment-body {
    padding: 20px 0;
    color: #f1e3e3;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Section Headings (I, II, III) */
.assessment-group h3 {
    color: #e4d013; /* Deep Indigo/Purple */
    border-left: 4px solid #ffd700; /* Gold Accent */
    padding-left: 15px;
    margin: 25px 0 10px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
     margin-left: 20px;

}

.assessment-group p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-left: 20px;
}

/* Flex Container for Tables */
.grading-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.grade-table {
    flex: 1;
    min-width: 280px;
}

.grade-table p {
    text-align: center;
    font-weight: bold;
    color: #800000; /* Maroon */
    margin-bottom: 12px;
}

/* Modern Table Styling */
.grade-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners show */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none !important; /* Overriding inline border="1" */
}

.grade-table th {
    background: linear-gradient(135deg, #4b0082, #800080); /* Purple Gradient */
    color: #ffd700; /* Gold Text */
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.grade-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

/* Row Hover Effect */
.grade-table tr:hover {
    background-color: rgba(255, 215, 0, 0.1); /* Light Gold tint on hover */
    transition: 0.3s ease;
}

/* Specific Grade Highlight */
.grade-table td:last-child {
    font-weight: 700;
    color: #3e1759;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .grading-container {
        flex-direction: column;
    }
}
/* ============================= */

/* Section Base with Mechanical Grid Pattern */
.state-section {
  padding: 120px 8%;
  
  /* Multi-color gradient: Deep Purple to Royal Violet to Midnight */
 background: linear-gradient(135deg, #2E0249 0%, #570A57 50%, #A91079 100%);
  
  background-size: cover;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  border-top: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold separator */
}
/* Background Vertical Text */
.state-section::before {
  content: "CURRICULUM";
  position: absolute;
  writing-mode: vertical-rl;
  font-size: 15rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.035);
  top: 0;
  right: 2%;
  z-index: 0;
}

.state-container {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  /* UPDATED RATIO: Logo side is now 1fr, Content is 1.2fr (Both are large) */
  grid-template-columns: 1fr 1.2fr; 
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* ILLUSTRATION SIDE - Large & Present */
.state-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.magenta-aura-glow {
  position: absolute;
  width: 450px; /* Increased glow size */
  height: 450px;
  background: radial-gradient(circle, rgba(106, 0, 50, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
  from { transform: scale(1); opacity: 0.4; }
  to { transform: scale(1.1); opacity: 0.7; }
}

.floating-svg {
  width: 100%;
  max-width: 550px; /* Logo is now significantly larger */
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.15));
  animation: float-svg 6s ease-in-out infinite;
}

@keyframes float-svg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

/* CONTENT SIDE - Large & Premium */
.state-content {
  background: #f7f5f5;
  padding: 80px 70px;
  border-left: 20px solid #6a0032;
  box-shadow: 50px 50px 0px #f1f3f5;
  position: relative;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.state-content h2 {
  font-size: 4.8rem; /* Large, bold title */
  font-weight: 900;
  color: #1a1a1a;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: -3px;
  line-height: 0.9;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.gold-divider {
  width: 140px;
  height: 8px; /* Thicker divider */
  background: #D4AF37;
  margin-bottom: 40px;
}

.state-content p {
  font-size: 1.4rem; /* Large, clear text */
  line-height: 1.8;
  color: #374151;
  margin-bottom: 50px;
  font-weight: 500;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* STATS ROW */
.stats-row {
  display: flex;
  gap: 30px;
}

.stat-item {
  flex: 1;
  background: #1a1a1a;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom: 10px solid #D4AF37;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.stat-item:hover {
  background: #6a0032;
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(106, 0, 50, 0.3);
}

.stat-item strong {
  display: block;
  font-size: 2.5rem; /* Larger numbers */
  color: #cea314;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.stat-item span {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 1100px) {
  .state-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .state-content {
    padding: 60px 30px;
    border-left: none;
    border-top: 20px solid #6a0032;
    box-shadow: 25px 25px 0px #f1f3f5;
  }
  .state-content h2 { font-size: 3.5rem; }
  .stat-item strong { font-size: 2.8rem; }
}
/* =========================================== */

/* --- SECTION WRAPPER --- */
.programs-wrapper {
  /* FORCED ZERO GAP LOGIC */
  margin-top: -1px !important; /* Pulls the section up to close any sub-pixel gaps */
  padding-top: 0 !important;    /* Removes internal top padding */
  
  padding-bottom: 120px;
  padding-left: 8%;
  padding-right: 8%;
  background-color: #937ea2; 
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Background Design: Large Floating Shapes */
.programs-wrapper::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f3e5ab 0%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

/* Section Title: Sophisticated & Minimal */
.section-title {
  /* REMOVING BROWSER DEFAULT MARGINS */

  padding-top: 40px; /* Minimal space so text isn't touching the section above */
  
  font-size: 3.5rem;
  font-weight: 800;
  color: #2c1810;
  text-align: center;
margin-bottom: 90px;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #6a0032;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* THE GRID: Balanced 4-Column Layout */
.innovative-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 2;
}

/* THE MODERN CARD */
.modern-card {
  background: #ffffff;
  border-radius: 60px 5px 60px 5px; 
  border: 1px solid #efe3d5;
  padding: 15px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(44, 24, 16, 0.05);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.modern-card:hover {
  transform: translateY(-15px);
  border-radius: 5px 60px 5px 60px; 
  border-color: #6a0032;
  box-shadow: 0 30px 60px rgba(106, 0, 50, 0.1);
}

/* IMAGE BOX */
.image-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 50px 0 50px 0; 
  position: relative;
}

.modern-card:hover .image-box {
  border-radius: 0 50px 0 50px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.modern-card:hover .image-box img {
  transform: scale(1.1) rotate(2deg);
}

/* CONTENT BOX */
.content-box {
  padding: 30px 15px;
  text-align: center;
  flex-grow: 1;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.content-box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #6a0032;
  margin-bottom: 12px;
   font-family: Georgia, 'Times New Roman', Times, serif;
}

.content-box p {
  font-size: 1rem;
  color: #5d4037;
  line-height: 1.6;
  margin-bottom: 25px;
   font-family: Georgia, 'Times New Roman', Times, serif;
}

/* EXPLORE BUTTON */
.explore-btn {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6a0032;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  position: relative;
  transition: 0.3s ease;
   font-family: Georgia, 'Times New Roman', Times, serif;
}

.explore-btn::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30%;
  height: 2px;
  background: #6a0032;
  transition: 0.3s ease;
}

.explore-btn:hover {
  letter-spacing: 3px;
}

.explore-btn:hover::after {
  width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .innovative-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .innovative-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.5rem; padding-top: 20px; }
}

/* =============================p== */

/* --- SECTION BASE: NO TOP GAP --- */
.early-years-section {
    width: 100%;
    margin: 0;
    padding: 0;
    /* Split background: 40% Dark Graphite, 60% Deep Charcoal */
    background: linear-gradient(to right, #3c4352 40%, #474f65 40%);
     font-family: Georgia, 'Times New Roman', Times, serif;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

/* --- FULL-WIDTH CONTAINER --- */
.early-years-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 100vh;
    align-items: center;
}

/* --- LEFT SIDE: TEXT CONTENT --- */
.early-years-content {
    flex: 1;
    min-width: 40%;
    padding: 80px 6%;
    z-index: 5;
}

.tag {
    font-size: 1.8rem;
    color: #d4af37; /* Royal Gold */
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 800;
    margin-bottom: 25px;
    display: block;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.sub-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.description {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 500px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* HIGHLIGHTS: MINI-GLASS PANELS */
.highlights {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlights li {
    font-size: 0.95rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    transition: 0.4s;
    display: flex;
    align-items: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.highlights li:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-5px);
}

/* --- RIGHT SIDE: THE SCATTERED GALLERY --- */
.early-years-gallery {
    flex: 1.5;
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box {
    position: absolute;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Unique Floating Pattern */
.img1 {
    width: 320px;
    height: 420px;
    z-index: 3;
    left: 10%;
    border: 10px solid #1a1d23;
}

.img2 {
    width: 280px;
    height: 380px;
    z-index: 2;
    top: 10%;
    right: 15%;
    border: 10px solid #d4af37; /* Gold Frame */
}

.img3 {
    width: 250px;
    height: 250px;
    z-index: 4;
    bottom: 10%;
    right: 10%;
    border: 10px solid #ffffff;
}

/* HOVER EFFECT */
.img-box:hover {
    z-index: 10;
    transform: scale(1.08) translateY(-20px);
    box-shadow: 0 50px 120px rgba(212, 175, 55, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .early-years-section {
        background: #0a0b0e;
    }
    .early-years-container {
        flex-direction: column;
    }
    .early-years-gallery {
        width: 100%;
        height: 500px;
    }
    .img1 { width: 200px; height: 280px; }
    .img2 { width: 180px; height: 240px; }
    .img3 { width: 150px; height: 150px; }
}

/* =======================================pre */
/* --- SECTION BASE: DYNAMIC MESH BACKGROUND --- */
.primary-programme {
    width: 100%;
    /* Soft Mesh Gradient with your brand gold */
    background-color: #e2dbbb;
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.05) 0px, transparent 50%);
    padding: 100px 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

/* --- CONTAINER --- */
.primary-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- IMAGES SIDE: CIRCULAR PORTALS --- */
.primary-images {
    flex: 1.3;
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-card {
    position: absolute;
    border-radius: 50%; /* Perfect circles */
    overflow: hidden;
    border: 10px solid #ffffff;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4-Circle Pattern */
.img-main {
    width: 380px;
    height: 380px;
    z-index: 2;
    top: 100px;
    left: 50px;
}

.img-overlap-top {
    width: 240px;
    height: 240px;
    top: 20px;
    right: 50px;
    z-index: 3;
    border-color: #d4af37; /* Gold accent circle */
}

/* The two overlap-bottom images as smaller floating bubbles */
.img-overlap-bottom:nth-of-type(3) {
    width: 200px;
    height: 200px;
    bottom: 40px;
    right: 80px;
    z-index: 4;
}

.img-overlap-bottom:nth-of-type(4) {
    width: 140px;
    height: 140px;
    bottom: 120px;
    left: 0;
    z-index: 1;
    opacity: 0.7;
}

/* Hover Interaction */
.img-card:hover {
    transform: scale(1.1) translateY(-15px);
    z-index: 10;
    box-shadow: 0 35px 70px rgba(212, 175, 55, 0.25);
}

/* --- CONTENT SIDE: TYPOGRAPHY --- */
.primary-content {
    flex: 1;
    z-index: 5;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.section-tag {
    background: #0f172a;
    color: #d4af37;
    padding: 10px 24px;
    font-size:1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-radius: 0 25px 25px 25px;
    display: inline-block;
    margin-bottom: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.sub-heading {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.primary-desc {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 40px;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Feature List with Gold Pins */
.primary-features {
    list-style: none;
    padding: 0;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.primary-features li {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 22px;
    padding-left: 40px;
    position: relative;
    display: flex;
    align-items: center;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.primary-features li span {
    margin-right: 10px;
    font-size: 1.3rem;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.primary-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background: #d4af37;
    border-radius: 50%;
     font-family: Georgia, 'Times New Roman', Times, serif;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .primary-container {
        flex-direction: column-reverse; /* Images below text */
        text-align: center;
    }
    .primary-images {
        width: 100%;
        height: 500px;
        margin-top: 40px;
    }
    .img-main { width: 280px; height: 280px; left: 10%; }
    .img-overlap-top { width: 180px; height: 180px; }
    .img-overlap-bottom:nth-of-type(3) { width: 150px; height: 150px; }
    .img-overlap-bottom:nth-of-type(4) { display: none; } /* Hide smallest on mobile */
    
    .primary-features li {
        justify-content: center;
        padding-left: 0;
    }
    .primary-features li::before {
        display: none;
    }
}

/* ===================================================== */

/* --- SECTION BASE --- */
.middle-school-programme {
    width: 100%;
    margin: 0;
    padding: 100px 0;
    background: linear-gradient(135deg, #52545a 0%, #60596a 100%);
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

/* Background Grid Pattern */
.middle-school-programme::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* --- CONTAINER --- */
.ms-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- LEFT CONTENT: THE TEXT BLOCK --- */
.ms-text {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 5px solid #d4af37;
    border-radius: 0 30px 30px 0;
}

.section-title {
    /* FORCES TITLE ON ONE LINE */
    white-space: nowrap; 
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: linear-gradient(to right, #2a2424, #191814);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.ms-intro {
    font-size: 1.20rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 35px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* CHECKLIST STYLE */
.ms-highlights {
    list-style: none;
    padding: 0;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.ms-highlights li {
    font-size: 1.05rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    transition: 0.3s ease;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.ms-highlights li:hover {
    color: #d4af37;
    transform: translateX(8px);
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.ms-highlights li::before {
    /* content: '✔'; */
    color: #d4af37;
    font-weight: bold;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- RIGHT GALLERY: THE DYNAMIC GRID --- */
.ms-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 350px 350px;
    gap: 20px;
}

.ms-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ms-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.ms-top-wide {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.ms-bottom-side {
    grid-row: 2 / 3;
}

/* HOVER ANIMATIONS */
.ms-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.ms-card:hover img {
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .ms-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section-title {
        white-space: normal; /* Allows wrap only on small mobile to prevent overflow */
    }
    .ms-text {
        border-radius: 20px;
        padding: 40px 20px;
    }
    .ms-highlights li {
        justify-content: center;
    }
}
/* ========================================== */




/* --- SECTION BASE: HIGH SCHOOL MESH --- */
.high-school-programme {
    width: 100%;
    /* Sophisticated dark mesh for High School */
    background-color: #b5b5e2;
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.08) 0px, transparent 50%);
    padding: 100px 0;
    margin: 0;
   font-family: Georgia, 'Times New Roman', Times, serif;
    overflow: hidden;
    position: relative;
}

/* --- CONTAINER --- */
.hs-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- LEFT CONTENT: TEXT SIDE --- */
.hs-text-content {
    flex: 1;
    z-index: 5;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.hs-tag {
    background: #0f172a;
    color: #d4af37;
    padding: 10px 25px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    border-radius: 0 30px 30px 30px;
    display: inline-block;
    margin-bottom: 25px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.hs-sub-heading {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.hs-description {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 40px;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Features Grid with Gold Pins */
.hs-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 1.5;
}

.hs-feature {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

.hs-feature span {
    color: #d4af37;
    font-weight: 900;
    font-size: 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
     font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- RIGHT SIDE: BENTO GALLERY PORTALS --- */
.hs-bento-gallery {
    flex: 1.2;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-img-box {
    position: absolute;
    border-radius: 50%; /* Organic Circle Shape */
    overflow: hidden;
    border: 8px solid #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hs-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Staggered Circular Positions */
.hs-tall {
    width: 380px;
    height: 380px;
    z-index: 2;
    top: 50px;
    left: 20px;
}

.hs-wide {
    width: 280px;
    height: 280px;
    top: 0;
    right: 30px;
    z-index: 3;
    border-color: #d4af37; /* Primary Gold Circle */
}

.hs-img-box:not(.hs-tall):not(.hs-wide) {
    width: 220px;
    height: 220px;
    bottom: 50px;
    right: 50px;
    z-index: 4;
}

/* Hover Overlay Effect */
.hs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    padding: 20px;
    text-align: center;
}

.hs-overlay span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Interaction */
.hs-img-box:hover {
    transform: scale(1.1) translateY(-15px);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.3);
}

.hs-img-box:hover .hs-overlay {
    opacity: 1;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .hs-container {
        flex-direction: column;
        text-align: center;
    }
    .hs-bento-gallery {
        width: 100%;
        height: 500px;
        margin-top: 50px;
    }
    .hs-features-grid {
        justify-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    .hs-tall { width: 300px; height: 300px; left: 5%; }
    .hs-wide { width: 220px; height: 220px; right: 5%; }
}

@media (max-width: 600px) {
    .hs-features-grid {
        grid-template-columns: 1fr;
    }
    .hs-bento-gallery {
        height: 400px;
    }
    .hs-tall { width: 220px; height: 220px; }
    .hs-wide { width: 160px; height: 160px; }
}

/* ============================================================= */
/* /* --- ACHIEVERS SECTION BASE --- */
.achievers-section {
    padding: 80px 0;
    background: #656a82; /* Your preferred blue-grey BG */
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    overflow: hidden;
}

/* --- HEADER & TABS --- */
.achievers-header {
    text-align: center;
    margin-bottom: 40px;
}

.crown-title {
    font-size: 2.8rem; /* Slightly reduced to ensure it fits one line on most screens */
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff; /* Base color */
    display: inline-block;
    white-space: nowrap; /* Forces the text to stay on one line */
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Updated this part to apply the gold color to the specific words you want */
.crown-title {
    background: linear-gradient(to right, #ffffff 30%, #d4af37 60%, #ffffff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* Gradients don't work well with text-shadow */
}

/* Remove or Comment out the old span rule that was causing the break */
/* .crown-title span {
    color: #d4af37;
    display: block; <--- This was the culprit
} 
*/

/* Responsive adjustment for mobile to prevent overflow */
@media (max-width: 768px) {
    .crown-title {
        font-size: 1.8rem;
        white-space: normal; /* Allow wrap on small mobile screens to prevent cutting off */
        letter-spacing: 1px;
    }
}

.crown-title span {
    color: #d4af37;
    display: block;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.year-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 50px;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* --- THE 6 STAT BOXES (FORCED SINGLE LINE) --- */
.achievers-stats-row {
    display: grid;
    /* Forces exactly 6 equal columns in one row */
    grid-template-columns: repeat(6, 1fr); 
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.stat-card {
    position: relative;
    background: #0f172a; /* Dark Navy Card */
    padding: 25px 10px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden; /* Clips the shine border */
    transition: transform 0.3s ease;
    z-index: 1;
    min-width: 0; /* Prevents text from forcing card width */
}

/* Moving Shine Border Effect (Triggered on Hover) */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        #d4af37, 
        transparent 30%
    );
    animation: rotateShine 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -2;
}

/* Card Inner Surface (Creates the border thickness) */
.stat-card::after {
    content: '';
    position: absolute;
    inset: 2px; /* 2px Border thickness */
    background: #0f172a;
    border-radius: 18px;
    z-index: -1;
}

.stat-card:hover::before {
    opacity: 1; /* Shine appears on hover */
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-info h4 {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Keeps titles on one line */
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.gold-text {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* --- TOPPERS GRID --- */
.toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.topper-card-new {
    background: #0f172a;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.student-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid #d4af37;
    padding: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.student-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.student-name {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.student-total {
    font-size: 1.8rem;
    font-weight: 900;
    color: #d4af37;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- ANIMATIONS --- */
@keyframes rotateShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 1100px) {
    .stat-number { font-size: 1.4rem; }
    .stat-info h4 { font-size: 0.65rem; }
}

@media (max-width: 900px) {
    .achievers-stats-row {
        display: flex; /* Switch to flex for side-scroll */
        overflow-x: auto; /* Enable horizontal scrolling */
        gap: 20px;
        padding-bottom: 20px;
        justify-content: flex-start;
        /* Hide scrollbar for Chrome/Safari */
        -webkit-overflow-scrolling: touch;
    }

    .stat-card {
        flex: 0 0 180px; /* Each card keeps a fixed width while scrolling */
    }

    /* Custom thin scrollbar for better UX */
    .achievers-stats-row::-webkit-scrollbar {
        height: 5px;
    }
    .achievers-stats-row::-webkit-scrollbar-thumb {
        background: #d4af37;
        border-radius: 10px;
    }
}

/* ============================================================= */
/* --- GALLERY SECTION BASE --- */
.gallery-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); /* Deep Indigo/Blue BG */
    font-family: 'Inter', sans-serif;
}

.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TITLE STYLING --- */
.gallery-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 2px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.gallery-title .roman-numerals {
    display: block;
    font-size: 1em;
    color: #a78bfa; /* Soft Violet */
    letter-spacing: 8px;
    margin-top: 10px;
}

/* --- GRID LAYOUT --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* --- INDIVIDUAL CARD STYLING --- */
.gallery-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Card Hover Effect */
.gallery-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: #a78bfa;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(167, 139, 250, 0.2);
}

/* --- IMAGE STYLING --- */
.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.4s ease;
    border-bottom: 2px solid rgba(167, 139, 250, 0.3);
}

.gallery-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- CARD CONTENT --- */
.gallery-card-content {
    padding: 25px;
    text-align: center;
}

.gallery-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
}

.gallery-card-content p {
    margin: 5px 0;
    color: #cbd5e1; /* Light Slate */
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Highlighting the Percentage */
.gallery-card-content p:last-child {
    color: #fbbf24; /* Amber/Gold for the % */
    font-size: 1.5rem;
    font-weight: 900;
    margin-top: 10px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
}

/* =========================================================== */

/* --- GALLERY AREA BASE --- */
.gallery-area {
    padding: 80px 0;
    background-color: #0a0a0a; /* Obsidian Black */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(184, 135, 70, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(184, 135, 70, 0.05) 0%, transparent 50%);
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.gallery-section {
    max-width: 1500px; 
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: -1px;
    color: #f3f4f6;
}

.gallery-title .roman-numerals {
    color: #b88746; /* Rose Gold */
    font-size: 2rem;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: 10px;
}

/* --- GRID SYSTEM: 5 CARDS PER LINE --- */
.gallery-grid {
    display: grid;
    /* This creates exactly 5 equal columns */
    grid-template-columns: repeat(5, 1fr); 
    /* Horizontal space between cards */
    column-gap: 15px; 
    /* VERTICAL GAP: This creates the gap after every 5 cards */
    row-gap: 60px; 
}

.gallery-card {
    background: #161616;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(184, 135, 70, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

/* --- IMAGE STYLING --- */
.gallery-card img {
    width: 100%;
    height: 240px; 
    object-fit: cover;
    filter: sepia(20%) contrast(1.1);
    transition: 0.5s ease;
}

/* --- CONTENT STYLING --- */
.gallery-card-content {
    padding: 20px;
    text-align: center;
    border-top: 2px solid #b88746;
    background: linear-gradient(to bottom, #1a1a1a, #111);
}

.gallery-card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #ffffff;
    font-weight: 600;
}

.gallery-card-content p {
    margin: 0;
    font-weight: 700;
}

.gallery-card-content p:first-of-type {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.gallery-card-content p:last-of-type {
    font-size: 1.6rem;
    color: #b88746; /* Rose Gold Percentage */
    font-weight: 900;
}

/* --- HOVER EFFECTS --- */
.gallery-card:hover {
    transform: translateY(-12px);
    border-color: #b88746;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 15px rgba(184, 135, 70, 0.2);
}

.gallery-card:hover img {
    filter: sepia(0%) contrast(1.2);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* 3 Cards per line on Tablets */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }
}

/* 2 Cards per line on Phones */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

/* 1 Card per line on Small Mobile */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}





/* footer== */

/* foter== */
   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: #f4f7f6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
            padding: 100px 20px;
            text-align: center;
            color: #333;
        }

        /* --- MODERN FLOWING FOOTER --- */
        .footer {
            position: relative;
            background: linear-gradient(135deg, #001524 0%, #003554 100%);
            padding-top: 20px;
            color: #e0e1dd;
            margin-top: 7rem;
        }

        /* Layered Water Waves */
        .waves {
            position: absolute;
            top: -60px;
            width: 100%;
            height: 100px;
            margin-bottom: -7px; /* Fix for safari gap */
            min-height: 100px;
            max-height: 150px;
        }

        .parallax > use {
            animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
        }
        .parallax > use:nth-child(1) {
            fill: rgba(0, 53, 84, 0.7);
            animation-delay: -2s;
            animation-duration: 7s;
        }
        .parallax > use:nth-child(2) {
            fill: rgba(0, 100, 148, 0.5);
            animation-delay: -3s;
            animation-duration: 10s;
        }
        .parallax > use:nth-child(3) {
            fill: rgba(0, 161, 224, 0.3);
            animation-delay: -4s;
            animation-duration: 13s;
        }
        .parallax > use:nth-child(4) {
            fill: #001524; /* Match footer top color */
            animation-delay: -5s;
            animation-duration: 20s;
        }

        @keyframes move-forever {
            0% { transform: translate3d(-90px, 0, 0); }
            100% { transform: translate3d(85px, 0, 0); }
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding: 80px 20px 40px;
            position: relative;
            z-index: 10;
        }

        .footer-col h3 {
            color: #00a1e0;
            font-size: 1.1rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 8px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: #00a1e0;
        }

        .school-brand .title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .school-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: #a3b18a;
        }

        /* Modern Links */
        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: #e0e1dd;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-col ul li a:hover {
            color: #00a1e0;
            transform: translateX(8px);
        }

        /* Contact Details Card Style */
        .contact-card {
            background: rgba(255, 255, 255, 0.03);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .contact-item {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.85rem;
        }

        .contact-item b {
            color: #00a1e0;
            width: 20px;
            text-align: center;
        }

        /* Glow Social Icons */
        .socials {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .socials a {
            width: 40px;
            height: 40px;
            background: rgba(0, 161, 224, 0.1);
            border: 1px solid rgba(0, 161, 224, 0.3);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            font-size: 12px;
            transition: 0.4s;
        }

        .socials a:hover {
            background: #00a1e0;
            box-shadow: 0 0 15px rgba(0, 161, 224, 0.5);
            transform: translateY(-5px);
        }

        .bottom-bar {
            text-align: center;
            padding: 25px;
            background: #000b14;
            font-size: 0.8rem;
            letter-spacing: 1px;
            color: #588157;
        }
.footer-col h3 a {
    color: inherit;
    text-decoration: none;
}
        /* Mobile Responsive */
        @media (max-width: 900px) {
            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 600px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .footer-col h3::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .footer-col ul li a {
                justify-content: center;
            }
            .socials {
                justify-content: center;
            }
        }


html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .site-header { padding: 18px 0 12px; }
    .header-inner { padding: 0 14px; }
    .branding-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 12px;
    }
    .school-logo-main { height: 64px; }
    .shine-text {
        font-size: clamp(20px, 4vw, 28px);
        letter-spacing: 1px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }
    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    .nav > a,
    .nav-item > a {
        font-size: 12px;
        padding: 10px 12px;
    }
    .mega-dropdown {
        width: min(92vw, 720px);
        grid-template-columns: 1fr;
    }
    .mega-left,
    .mmet-phyo-sidebar {
        display: none;
    }
    .mega-right,
    .mmet-nav-content {
        padding: 24px;
    }
    .mega-right ul { grid-template-columns: 1fr; }
    .mmet-mega-card { height: min(92vh, 900px); }
    .mmet-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .site-header { padding: 14px 0 10px; }
    .nav { display: none; }
    .mmet-open-btn {
        top: 18px;
        right: 16px;
        padding: 10px 18px;
        font-size: 12px;
    }
    .mmet-mega-wrapper { padding: 12px; }
    .mmet-mega-card { border-radius: 18px; }
    .mmet-nav-content { padding: 18px; }
    .mmet-links-grid,
    .footer-content,
    .footer-grid,
    .popup-grid,
    .support-grid,
    .innovative-grid,
    .overlay-gallery,
    .classroom-row {
        grid-template-columns: 1fr !important;
    }
    [class*="wrapper"],
    [class*="container"],
    [class*="content"],
    [class*="inner"],
    [class*="layout"] {
        max-width: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
    }
    [class*="grid"],
    [class*="row"],
    [class*="cards"],
    [class*="columns"] {
        max-width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: 1fr !important;
    }
    [class*="img"],
    [class*="image"],
    [class*="photo"],
    [class*="media"],
    [class*="card"],
    [class*="box"] {
        max-width: 100% !important;
    }
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

/* Mobile Header Order Fix */
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0 6px !important;
    }

    .site-header.scrolled {
        padding: 6px 0 !important;
    }

    .header-inner {
        width: 100%;
        padding: 0 10px !important;
        align-items: center;
    }

    .branding-wrapper {
        width: 100%;
        margin-bottom: 6px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px !important;
        text-align: center;
    }

    .school-logo-main {
        height: 44px !important;
        width: auto;
    }

    .shine-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        max-width: 96vw;
        margin: 0 auto;
        font-size: clamp(14px, 3.9vw, 18px) !important;
        line-height: 1.2 !important;
        letter-spacing: 0.4px !important;
        white-space: normal !important;
    }

    .site-header.scrolled .school-logo-main {
        height: 40px !important;
    }

    .site-header.scrolled .shine-text {
        font-size: clamp(13px, 3.7vw, 17px) !important;
    }

    .nav {
        display: block !important;
        width: 100%;
        height: 0;
        margin: 0;
    }

    .nav > a,
    .nav > .nav-item {
        display: none !important;
    }

    .mmet-open-btn {
        position: absolute !important;
        top: 8px !important;
        right: 10px !important;
        left: auto !important;
        width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0 !important;
        border-radius: 50%;
        font-size: 11px !important;
        letter-spacing: 0;
        z-index: 1100;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .mmet-open-btn i {
        margin: 0;
    }
}


/* =====================================================
   Footer Responsive Overrides (Mobile-First)
   - 1 column on mobile
   - 2 columns on tablet
   - 4 columns on desktop
   ===================================================== */
.footer {
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer .waves {
    display: block;
    width: 100%;
    height: auto;
}

.footer-content {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(18px, 4vw, 40px) clamp(12px, 4vw, 28px);
    display: grid;
    grid-template-columns: 1fr !important;
    gap: clamp(14px, 3vw, 28px);
}

.footer-col,
.school-brand,
.contact-card {
    min-width: 0;
}

.footer-col ul {
    margin: 0;
    padding: 0;
}

.footer-col ul li a,
.contact-item,
.school-brand p {
    word-break: break-word;
}

.footer-col ul li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-card {
    width: 100%;
    max-width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.socials {
    flex-wrap: wrap;
}

.bottom-bar {
    padding: 14px 10px;
    font-size: clamp(0.72rem, 2.8vw, 0.85rem);
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 767px) {
    .footer-content {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50% !important;
        transform: translateX(-50%);
    }

    .footer-col ul li a,
    .socials {
        justify-content: center;
    }

    .contact-card {
        margin-inline: auto;
        text-align: left;
        max-width: 460px;
    }

    .contact-item {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        text-align: left;
    }

    .footer-col h3::after {
        left: 0 !important;
        transform: none;
    }

    .footer-col ul li a,
    .socials {
        justify-content: flex-start;
    }
}

@media (min-width: 1100px) {
    .footer-content {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* =====================================================
   Mobile Menu Responsive Overrides (All Pages)
   Targets: hamburger mega menu panels and links
   ===================================================== */
@media (max-width: 767px) {
    .mmet-mega-wrapper {
        padding: 8px !important;
        align-items: flex-start !important;
    }

    .mmet-mega-card {
        width: 100% !important;
        height: calc(100dvh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }

    .mmet-nav-content {
        padding: 14px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .mmet-menu-top-row {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        background: #ffffff !important;
        padding-bottom: 10px;
        margin-bottom: 12px !important;
    }

    .mmet-logo-text {
        font-size: 24px !important;
    }

    .mmet-close-icon {
        font-size: 28px !important;
        line-height: 1;
    }

    .mmet-links-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .mmet-link-col {
        min-width: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mmet-link-col:last-child {
        border-bottom: none;
    }

    .mmet-col-head {
        font-size: 12px !important;
        margin-bottom: 10px !important;
        letter-spacing: 1px !important;
    }

    .mmet-link-col a {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .mmet-link-col a:hover {
        padding-left: 0 !important;
    }

    .mmet-phyo-sidebar {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .mmet-mega-wrapper {
        padding: 14px !important;
    }

    .mmet-mega-card {
        width: 100% !important;
        height: calc(100dvh - 28px) !important;
        max-height: calc(100dvh - 28px) !important;
    }

    .mmet-nav-content {
        padding: 20px !important;
    }

    .mmet-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .mmet-phyo-sidebar {
        display: none !important;
    }
}

/* =====================================================
   Academics Page Responsive Overrides
   Mobile-first stabilization for all academics sections
   ===================================================== */
.academics-section,
.elite-academics-container,
.academic-container,
.state-section,
.programs-wrapper,
.early-years-section,
.primary-programme,
.middle-school-programme,
.high-school-programme,
.achievers-section,
.gallery-area {
    overflow-x: hidden;
}

.academics-wrapper,
.elite-main-wrapper,
.content-wrapper,
.state-container,
.primary-container,
.ms-container,
.hs-container,
.achievers-container,
.gallery-section {
    min-width: 0;
}

@media (max-width: 767px) {
    .academics-section {
        padding: 72px 12px !important;
    }

    .academics-wrapper {
        padding: 22px 14px !important;
        border-radius: 22px !important;
        gap: 18px !important;
    }

    .academics-content .section-title {
        font-size: clamp(1.6rem, 6.5vw, 2rem) !important;
        line-height: 1.2 !important;
    }

    .academics-content .section-title span {
        font-size: clamp(1.05rem, 4.6vw, 1.35rem) !important;
        letter-spacing: 0.8px !important;
    }

    .section-text,
    .section-text p {
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
    }

    .academic-list li {
        padding: 14px !important;
        font-size: 0.95rem !important;
        align-items: flex-start !important;
    }

    .academic-list li::before {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0;
    }

    .elite-academics-container {
        padding: 56px 12px !important;
    }

    .elite-main-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 18px !important;
        border-radius: 20px !important;
        margin: 0 !important;
    }

    .elite-outer-border {
        padding: 8px !important;
        transform: none !important;
    }

    .elite-inner-image {
        height: 240px !important;
    }

    .elite-main-heading {
        font-size: clamp(1.65rem, 7vw, 2.1rem) !important;
    }

    .elite-main-heading span {
        font-size: clamp(1.1rem, 5vw, 1.45rem) !important;
    }

    .elite-description {
        font-size: 0.98rem !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
    }

    .elite-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .elite-feature-item {
        font-size: 0.9rem !important;
        padding: 12px 14px !important;
    }

    .academic-section:nth-child(1),
    .academic-section:nth-child(2) {
        padding: 60px 14px !important;
    }

    .content-wrapper,
    .academic-section:nth-child(2) .content-wrapper {
        flex-direction: column !important;
        gap: 22px !important;
        text-align: left !important;
    }

    .title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
        letter-spacing: 0.8px !important;
    }

    .underline {
        width: 74px !important;
        height: 4px !important;
        margin: 12px 0 20px !important;
    }

    .feature-list li {
        font-size: 1rem !important;
        padding-left: 28px !important;
        margin-bottom: 12px !important;
        line-height: 1.55 !important;
    }

    .feature-list li:nth-child(1),
    .feature-list li:nth-child(5) {
        font-size: 1.06rem !important;
    }

    .side-img {
        height: auto !important;
        max-height: 300px !important;
        width: 100% !important;
        border-radius: 18px !important;
        border-width: 4px !important;
    }

    .assessment-group h3 {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
    }

    .assessment-group p {
        font-size: 0.92rem !important;
    }

    .scholastic-grades-table-container {
        overflow-x: auto;
    }

    .exam-grades-table {
        min-width: 320px;
    }

    .state-section {
        padding: 56px 12px !important;
    }

    .state-section::before {
        display: none !important;
    }

    .state-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .magenta-aura-glow {
        width: 240px !important;
        height: 240px !important;
    }

    .floating-svg {
        max-width: 320px !important;
    }

    .state-content {
        padding: 24px 16px !important;
        border-left: none !important;
        border-top: 8px solid #6a0032 !important;
        box-shadow: none !important;
    }

    .state-content h2 {
        font-size: clamp(2rem, 10vw, 2.8rem) !important;
        letter-spacing: -1px !important;
        line-height: 1 !important;
    }

    .state-content p {
        font-size: 0.98rem !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
    }

    .stats-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .stat-item {
        padding: 18px 14px !important;
    }

    .stat-item strong {
        font-size: 1.55rem !important;
    }

    .stat-item span {
        font-size: 0.8rem !important;
        letter-spacing: 1.5px !important;
    }

    .programs-wrapper {
        padding: 52px 12px !important;
    }

    .programs-wrapper::before {
        display: none !important;
    }

    .programs-wrapper .section-title {
        padding-top: 0 !important;
        margin-bottom: 24px !important;
        font-size: clamp(1.65rem, 7vw, 2.1rem) !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .innovative-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        max-width: 100% !important;
    }

    .modern-card {
        padding: 10px !important;
        border-radius: 22px 6px 22px 6px !important;
    }

    .image-box {
        height: 190px !important;
        border-radius: 18px 0 18px 0 !important;
    }

    .content-box {
        padding: 18px 10px !important;
    }

    .content-box h3 {
        font-size: 1.32rem !important;
    }

    .content-box p {
        font-size: 0.95rem !important;
        margin-bottom: 14px !important;
    }

    .early-years-section {
        padding: 52px 12px !important;
        background: #3c4352 !important;
    }

    .early-years-container {
        min-height: unset !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
    }

    .early-years-content {
        padding: 0 !important;
        min-width: 0 !important;
    }

    .early-years-content .tag {
        font-size: 1.05rem !important;
        letter-spacing: 2.2px !important;
        margin-bottom: 10px !important;
    }

    .early-years-content .sub-heading {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .early-years-content .description {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }

    .highlights {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .highlights li {
        font-size: 0.9rem !important;
        padding: 12px !important;
    }

    .early-years-gallery {
        height: auto !important;
        position: static !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .early-years-gallery .img-box,
    .early-years-gallery .img1,
    .early-years-gallery .img2,
    .early-years-gallery .img3 {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 210px !important;
        border-width: 5px !important;
        transform: none !important;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22) !important;
    }

    .primary-programme {
        padding: 56px 12px !important;
    }

    .primary-container {
        padding: 0 !important;
        gap: 24px !important;
        flex-direction: column-reverse !important;
        text-align: left !important;
    }

    .primary-content .section-tag {
        font-size: 1rem !important;
        letter-spacing: 1.6px !important;
        padding: 8px 14px !important;
        margin-bottom: 12px !important;
    }

    .primary-content .sub-heading {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .primary-desc {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }

    .primary-features li {
        font-size: 0.95rem !important;
        padding-left: 24px !important;
        justify-content: flex-start !important;
        margin-bottom: 12px !important;
    }

    .primary-features li::before {
        display: block !important;
        width: 10px !important;
        height: 10px !important;
    }

    .primary-images {
        position: static !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .primary-images .img-card,
    .primary-images .img-main,
    .primary-images .img-overlap-top,
    .primary-images .img-overlap-bottom:nth-of-type(3),
    .primary-images .img-overlap-bottom:nth-of-type(4) {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 170px !important;
        border-radius: 16px !important;
        border-width: 4px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .primary-images .img-overlap-bottom:nth-of-type(4) {
        display: block !important;
    }

    .middle-school-programme {
        padding: 56px 12px !important;
    }

    .ms-container {
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .ms-text {
        padding: 20px 14px !important;
        border-left: 3px solid #d4af37 !important;
        border-radius: 16px !important;
    }

    .ms-text .section-title {
        white-space: normal !important;
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .ms-intro {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        margin-bottom: 14px !important;
    }

    .ms-highlights li {
        font-size: 0.94rem !important;
        justify-content: flex-start !important;
        line-height: 1.55 !important;
    }

    .ms-gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 10px !important;
    }

    .ms-top-wide,
    .ms-bottom-side {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .ms-card {
        height: 210px !important;
    }

    .high-school-programme {
        padding: 56px 12px !important;
    }

    .hs-container {
        padding: 0 !important;
        flex-direction: column !important;
        gap: 22px !important;
        text-align: left !important;
    }

    .hs-tag {
        font-size: 1rem !important;
        letter-spacing: 2px !important;
        padding: 8px 14px !important;
        margin-bottom: 12px !important;
    }

    .hs-sub-heading {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .hs-description {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
        margin-bottom: 14px !important;
    }

    .hs-features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-width: 100% !important;
    }

    .hs-feature {
        font-size: 0.94rem !important;
    }

    .hs-bento-gallery {
        position: static !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 0 !important;
        flex: none !important;
    }

    .hs-bento-gallery .hs-img-box,
    .hs-bento-gallery .hs-tall,
    .hs-bento-gallery .hs-wide,
    .hs-bento-gallery .hs-img-box:not(.hs-tall):not(.hs-wide) {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 170px !important;
        border-radius: 16px !important;
        border-width: 4px !important;
        transform: none !important;
    }

    .hs-bento-gallery .hs-img-box:last-child {
        grid-column: 1 / -1;
    }

    .hs-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.06)) !important;
        justify-content: flex-start !important;
        align-items: flex-end !important;
    }

    .hs-overlay span {
        font-size: 0.72rem !important;
        letter-spacing: 0.8px !important;
    }

    .achievers-section {
        padding: 56px 12px !important;
    }

    .achievers-container {
        width: 100% !important;
    }

    .achievers-header {
        margin-bottom: 20px !important;
    }

    .crown-title {
        font-size: clamp(1.35rem, 6vw, 1.9rem) !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    .crown-subtitle {
        font-size: 0.95rem !important;
    }

    .year-tabs {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 18px 0 24px !important;
    }

    .tab-btn {
        width: 100% !important;
        padding: 10px 14px !important;
    }

    .achievers-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 0 22px !important;
        overflow: visible !important;
    }

    .stat-card {
        padding: 14px 10px !important;
        border-radius: 14px !important;
        flex: none !important;
    }

    .stat-info h4 {
        font-size: 0.65rem !important;
        white-space: normal !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
    }

    .stat-number {
        font-size: 1.15rem !important;
    }

    .toppers-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 !important;
        justify-content: stretch !important;
        align-items: stretch !important;
    }

    .topper-card-new {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .student-photo {
        width: 110px !important;
        height: 110px !important;
        margin-bottom: 12px !important;
    }

    .student-name {
        font-size: 1.05rem !important;
    }

    .student-total {
        font-size: 1.28rem !important;
    }

    .gallery-area {
        padding: 56px 12px !important;
    }

    .gallery-section {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .gallery-title {
        font-size: clamp(1.45rem, 6.4vw, 2rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 20px !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        column-gap: 12px !important;
        row-gap: 12px !important;
    }

    .gallery-card img {
        height: 220px !important;
    }

    .gallery-card-content {
        padding: 14px !important;
    }

    .gallery-card-content h3 {
        font-size: 1.02rem !important;
    }

    .gallery-card-content p:first-of-type {
        font-size: 0.78rem !important;
    }

    .gallery-card-content p:last-of-type {
        font-size: 1.22rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .academics-section,
    .elite-academics-container,
    .state-section,
    .programs-wrapper,
    .primary-programme,
    .middle-school-programme,
    .high-school-programme,
    .achievers-section,
    .gallery-area {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .academics-wrapper {
        padding: 34px !important;
        border-radius: 28px !important;
    }

    .elite-main-wrapper {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        padding: 28px !important;
        margin: 0 !important;
    }

    .elite-inner-image {
        height: 320px !important;
    }

    .content-wrapper,
    .academic-section:nth-child(2) .content-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .side-img {
        width: 100% !important;
        max-height: 430px !important;
        height: auto !important;
    }

    .state-section::before {
        font-size: 9rem !important;
        opacity: 0.04 !important;
    }

    .state-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .state-content {
        box-shadow: none !important;
        padding: 42px 28px !important;
        border-left: none !important;
        border-top: 12px solid #6a0032 !important;
    }

    .state-content h2 {
        font-size: clamp(2.5rem, 6vw, 3.6rem) !important;
    }

    .programs-wrapper .section-title {
        white-space: normal !important;
    }

    .innovative-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .early-years-section {
        padding: 72px 24px !important;
        background: #3c4352 !important;
    }

    .early-years-container {
        min-height: auto !important;
        flex-direction: column !important;
        gap: 28px !important;
    }

    .early-years-content {
        padding: 0 !important;
    }

    .early-years-gallery {
        position: static !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .early-years-gallery .img-box,
    .early-years-gallery .img1,
    .early-years-gallery .img2,
    .early-years-gallery .img3 {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 220px !important;
        border-width: 6px !important;
        transform: none !important;
    }

    .early-years-gallery .img3 {
        grid-column: 1 / -1;
    }

    .primary-container {
        flex-direction: column-reverse !important;
        gap: 26px !important;
        text-align: left !important;
    }

    .primary-images {
        position: static !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .primary-images .img-card,
    .primary-images .img-main,
    .primary-images .img-overlap-top,
    .primary-images .img-overlap-bottom:nth-of-type(3),
    .primary-images .img-overlap-bottom:nth-of-type(4) {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 210px !important;
        border-radius: 18px !important;
        border-width: 5px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .ms-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .ms-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        gap: 14px !important;
    }

    .ms-top-wide,
    .ms-bottom-side {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .ms-card {
        height: 220px !important;
    }

    .hs-container {
        flex-direction: column !important;
        gap: 28px !important;
    }

    .hs-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hs-bento-gallery {
        position: static !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .hs-bento-gallery .hs-img-box,
    .hs-bento-gallery .hs-tall,
    .hs-bento-gallery .hs-wide,
    .hs-bento-gallery .hs-img-box:not(.hs-tall):not(.hs-wide) {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 220px !important;
        border-radius: 18px !important;
        border-width: 5px !important;
        transform: none !important;
    }

    .hs-bento-gallery .hs-img-box:last-child {
        grid-column: 1 / -1;
    }

    .hs-overlay {
        opacity: 1 !important;
    }

    .year-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .achievers-stats-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 34px !important;
        overflow: visible !important;
    }

    .stat-info h4 {
        white-space: normal !important;
    }

    .toppers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        row-gap: 20px !important;
    }
}
