        /* --- 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*/
    /* 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: 35px; }

    .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); }
    }
                 
    
    
  
  
  
  
  
  
  /* =======================================================   */
  /* --- Premium Side-by-Side Layout --- */
.premium-about {
    background-color: #3c1b1f;
    padding: 100px 0;
    position: relative;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    overflow: hidden;
}

.premium-about .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Large photo (60%) and content (40%) */
    gap: 60px;
    align-items: center;
}

/* --- Large Photo Side --- */
.image-side {
    position: relative;
    z-index: 2;
    margin-top: 8rem;
}

.image-border-animation {
    position: relative;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-border-animation img {
    width: 100%;
    height: 650px; /* Large professional height */
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.image-border-animation:hover img {
    transform: scale(1.01);
}

/* --- Content Side (Points) --- */
/* --- Optimized Content Side --- */
.text-side {
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text vertically against the photo */
}

.shiny-heading-wrapper {
    margin-bottom: 30px;
}

.animated-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #d4af37, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
    /* REMOVED the 8rem margin to stop the huge gap at the top */
    margin-top: 0; 
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- Clean, Zooming List Points --- */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Tighter gap for a more "list-like" feel */
}

.grid-item {
    background: transparent;
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* --- The Zoom-In Effect --- */
.grid-item:hover {
    transform: scale(1.04) translateX(15px); /* Zooms and slides right */
}

.grid-item:hover p {
    color: #ffffff; /* Text highlights on hover */
}

.dot {
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 10px #d4af37;
    transition: transform 0.3s ease;
}

.grid-item:hover .dot {
    transform: scale(1.5); /* Dot grows on hover */
    box-shadow: 0 0 20px #d4af37;
}

.grid-item p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
    font-family: Georgia, serif;
    transition: color 0.3s ease;
}

/* --- Image Side Fix --- */
.image-side {
    position: relative;
    z-index: 2;
    margin-top: 0; /* Aligning the top of the photo with the top of the text */
}
/* =========================2=================
 */:root {
    --brand-gold: #c5a059;
    --navy-bg: #0a192f;
    --card-bg: #112240;
    --text-color: #ccd6f6;
}

.history-section {
    background-color: var(--navy-bg);
    padding: 60px 20px;
     font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--text-color);
}

.history-aura-container {
    max-width: 1100px;
    margin: 0 auto;
}

.history-title {
    color: var(--brand-gold);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-left: 5px solid var(--brand-gold);
    padding-left: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.history-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 50px;
    line-height: 1.8;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Photo Float Settings */
/* FIXED container height */
.photo-container {
    position: relative;
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;

    width: 400px;        /* 👈 FIXED WIDTH */
    height: 250px;       /* 👈 FIXED HEIGHT */

    border: 2px solid var(--brand-gold);
    border-radius: 8px;
    overflow: hidden;
}

/* All images same size */
.history-float-img {
    width: 100%;         /* 👈 SAME WIDTH */
    height: 100%;        /* 👈 SAME HEIGHT */
    object-fit: cover;   /* 👈 KEEP PROPORTION, NO DISTORTION */
    display: none;
}


.history-text-flow p{
font-family: Georgia, 'Times New Roman', Times, serif;
}
.history-text-flow st{
font-family: Georgia, 'Times New Roman', Times, serif;
}

.building-info {
    margin-top: 10px;
    font-size: 16px;
    color: #eff7ff;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
/* Show active */
.history-float-img.active {
    display: block;
}
/* Arrow button */
.slide-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: var(--brand-gold);
    color: #000;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* Forced Single Line Styling */
.no-break {
    white-space: nowrap; /* Forces content to stay on one line */
    color: var(--brand-gold);
}

.single-line-highlight {
    background: rgba(197, 160, 89, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.gold-link {
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: bold;
}

.gold-link:hover {
    text-decoration: underline;
}

/* Legacy Card Styling */
.legacy-card {
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.legacy-quote {
    
    font-size: 1.25rem;
      font-family: Georgia, 'Times New Roman', Times, serif;
}

.gold-divider {
    width: 80px;
    height: 3px;
    background: var(--brand-gold);
    margin: 25px auto;
}

.legacy-footer {
    color: var(--brand-gold);
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.25rem;
}

/* Mobile: Clear the nowrap on small screens so it doesn't overflow */
@media (max-width: 600px) {
    .no-break {
        white-space: normal; 
    }
    .photo-container {
        float: none;
        margin: 0 auto 20px auto;
    }
}
@media (max-width: 600px) {
    .photo-container {
        width: 100%;
        height: 200px;
    }
}
.slide-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: var(--brand-gold);
    color: #000;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10; /* 👈 important */
    user-select: none;
}
/* ====================vm======================= */





/* Section Container */
/* Section with Geometric Pattern */
/* Section with Architectural Pattern */
.mmet-about-vm-section {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
  background-size: 80px 80px;
  background-color: #0f172a;
  padding: 100px 20px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.mmet-about-vm-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.mmet-about-vm-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 8px;
  background: linear-gradient(to bottom, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.vm-title-accent {
  width: 150px;
  height: 2px;
  background: #c5a059;
  margin: 20px auto 80px auto;
  box-shadow: 0 0 15px #c5a059;
}

.vm-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Card Design */
.mmet-about-vm-card {
  display: flex;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 0 40px 0 40px;
  padding: 50px;
  transition: all 0.5s ease;
  align-items: center;
}

.mmet-about-vm-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 41, 59, 1);
  border-top-color: #c5a059;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Hexagon Logo Box */
.vm-icon-box {
  width: 100px;
  height: 100px;
  background: #1e293b;
  border: 2px solid #c5a059;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 50px;
  flex-shrink: 0;
  transition: transform 0.8s ease;
}

.vm-logo-svg {
  width: 50px;
  height: 50px;
  transition: transform 0.4s ease;
}

/* Hover Animation */
.mmet-about-vm-card:hover .vm-icon-box {
  transform: rotate(360deg);
  background: #c5a0591a;
}

.mmet-about-vm-card:hover .vm-logo-svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #c5a059);
}

/* Content Text */
.mmet-about-vm-content h3 {
  font-size: 2rem;
  color: #c5a059;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.mmet-about-vm-content p, .mmet-about-mission-list li {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.25rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Mission List */
.mmet-about-mission-list {
  list-style: none;
  padding: 0;
  counter-reset: mission-counter;
}

.mmet-about-mission-list li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

.mmet-about-mission-list li::before {
  content: "0" counter(mission-counter);
  counter-increment: mission-counter;
  position: absolute;
  left: 0;
  color: #c5a059;
  font-weight: bold;
  font-family: monospace;
}

@media (max-width: 850px) {
  .mmet-about-vm-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .vm-icon-box {
    margin: 0 auto 20px auto;
  }
}
/* ===============manage=============== */

/* --- PREMIUM MULTI-COLOR MANAGEMENT SECTION --- */
.luxury-management-section {
    position: relative;
    /* 1. ABSOLUTE ZERO GAP FIX */
    display: block;
    margin: 0 !important; 
    padding: 120px 20px; /* Adjust bottom padding as needed, top is 120px */
    
    /* 2. HD MESH GRADIENT: Royal Navy, Electric Blue, & Amber Gold */
    background-color: #0f172a; 
    background-image: 
        radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.4) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.4) 0, transparent 50%), 
        radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.25) 0, transparent 50%),
        radial-gradient(at 0% 100%, rgba(219, 39, 119, 0.25) 0, transparent 50%);
    
    overflow: hidden;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Layer 1: Floating Silk Lines for Texture */
.luxury-management-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,1000 C300,800 400,200 1000,0' stroke='rgba(255,255,255,0.06)' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}

/* --- THE KINETIC CENTER WRAPPER --- */
.mgt-glass-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
    /* Ultra-High-End Glass Effect */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 80px 40px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

/* --- THE HEADING: SINGLE LINE HD CHROME --- */
.serif-title {
    font-size: clamp(1.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 14px;
    margin: 0;
    /* Forces single line */
    white-space: nowrap; 
    font-family: Georgia, 'Times New Roman', Times, serif;
    
    /* Triple-Tone Chrome Gradient */
    background: linear-gradient(to right, #ffffff 20%, #38bdf8 40%, #fbbf24 60%, #ffffff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineFlow 6s linear infinite;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.3));
}

@keyframes shineFlow {
    to { background-position: 200% center; }
}

/* Multi-Color Gradient Divider */
.gold-accent-divider {
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8, #fbbf24);
    margin: 45px auto;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* --- MANAGEMENT TEXT --- */
.management-text {
    font-size: 1.35rem;
    line-height: 2.1;
    color: #e2e8f0;
    max-width: 950px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.management-text strong {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 0 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.mgt-footer-text {
    display: inline-block;
    margin-top: 50px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 7px;
    padding: 14px 45px;
    border-radius: 100px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: 0.4s ease;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.mgt-footer-text:hover {
    background: #ffffff;
    color: #0f172a;
    transform: scale(1.05);
}


/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .serif-title { 
        white-space: normal; /* Allow wrap on smaller tablets for safety */
        font-size: 2.5rem; 
        letter-spacing: 8px; 
    }
    .mgt-glass-container { padding: 50px 25px; border-radius: 40px; }
}
/* ===================manage phtot=== */



/* --- LUXURY MANAGEMENT TEAM SECTION --- */
/* --- SECTION BACKGROUND & PATTERN --- */
/* --- Optimized Section Container --- */
.cyber-silk-section {
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    font-family: Georgia, serif;
    /* Keeping your exact mesh background and blend modes */
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(197, 100%, 49%, 0.25) 0px, transparent 50%),
        radial-gradient(at 100% 40%, hsla(272, 75%, 47%, 0.3) 0px, transparent 50%),
        radial-gradient(at 10% 90%, hsla(41, 50%, 60%, 0.15) 0px, transparent 40%),
        radial-gradient(at 90% 100%, hsla(242, 60%, 20%, 0.5) 0px, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, transparent 1px, transparent 15px),
        repeating-linear-gradient(-45deg, rgba(197, 160, 89, 0.05) 0px, transparent 1px, transparent 15px);
    background-blend-mode: screen, screen, screen, multiply, overlay, overlay;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

/* --- Increased Wrapper Width --- */
.team-wrapper {
    max-width: 1400px; /* Increased from 1100px to spread photos out */
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 70px; /* Vertical gap between rows */
}

/* --- Increased Spacing Between Photos --- */
.team-row {
    display: flex;
    justify-content: center;
    gap: 90px; /* INCREASED GAP: Gives significant space between each photo */
    flex-wrap: wrap;
    width: 100%;
}

/* --- Balanced Team Items --- */
.team-item {
    flex: 0 1 280px; /* Consistent base width */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.team-item:hover {
    transform: translateY(-15px) scale(1.05);
}

/* --- Premium Portrait Frames --- */
.circle-frame {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #c5a059, transparent, #0096ff);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%; /* Ensures faces are visible */
    border-radius: 50%;
    border: 4px solid #0f172a;
    display: block;
}

/* --- Title Styling (Kept Exactly Same) --- */
.serif-title {
    font-size: 3.5rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.gold-line {
    width: 80px;
    height: 3px;
    background: #c5a059;
    margin: 15px auto;
}

.info h3 { 
    font-size: 1.4rem; 
    color: #fff; 
    margin: 10px 0 5px; 
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.info span { 
    color: #c5a059; 
    font-size: 0.95rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 600; 
}

/* --- Tablet/Mobile Adjustments --- */
@media (max-width: 1200px) {
    .team-row { gap: 50px; } /* Reduce gap slightly for medium screens */
}

@media (max-width: 768px) {
    .team-row { gap: 30px; }
    .serif-title { font-size: 2.2rem; letter-spacing: 4px; }
    .circle-frame { width: 180px; height: 180px; }
}
/* ======================================alumni==================== */


/* ============================current leader content============ */
/* --- 1. FULL PAGE LAYOUT & DYNAMIC BG --- */
.edu-page-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
    
    /* ATTRACTIVE LIQUID MESH BACKGROUND */
    background-color: #05070a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(210,100%,20%,0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(41,100%,30%,0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(280,100%,20%,0.3) 0px, transparent 50%),
        linear-gradient(135deg, #05070a 0%, #111827 100%);
    background-attachment: fixed;
}

/* Subtle Silk Texture Overlay */
.edu-page-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* --- 2. THE CINEMATIC WRAPPER --- */
.timeline-item {
    width: 95%;
    max-width: 1500px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    /* Entry Animation */
    animation: revealUp 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- 3. LARGE PROFESSIONAL PHOTO --- */
.timeline-photo {
    flex: 1.4;
    height: 700px;
    background: url('images/sistermmet.jpeg') center/cover no-repeat;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-photo:hover {
    transform: scale(1.01) translateX(-10px);
}

/* --- 4. THE OVERLAPPING GLASS CONTENT --- */
.timeline-content {
    flex: 1;
    margin-left: -180px; /* Strong Premium Overlap */
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 80px 60px;
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.4); /* Glowing Gold Border */
    box-shadow: 40px 40px 90px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    z-index: 2;
    /* Slide-in Animation */
    animation: slideInFromRight 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.timeline-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 30%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.timeline-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.imp-fact {
    color: #c5a059;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

/* --- 5. INTERACTIVE LOCATION BOX --- */
.location-box {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.15), transparent);
    border-left: 5px solid #c5a059;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 20px 20px 0;
    font-style: italic;
    color: #eee;
    transition: all 0.4s ease;
}

.location-box:hover {
    background: rgba(197, 160, 89, 0.25);
    transform: translateX(15px);
}

/* --- 6. PREMIUM ACTION BUTTON --- */
.edu-btn {
    display: inline-block;
    padding: 20px 55px;
    background: linear-gradient(135deg, #c5a059 0%, #8e6d2a 100%);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 60px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.edu-btn:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* --- ANIMATIONS --- */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(80px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(150px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1200px) {
    .timeline-item { flex-direction: column; width: 100%; padding: 20px; }
    .timeline-photo { width: 100%; height: 450px; margin-bottom: -120px; border-radius: 30px; }
    .timeline-content { margin-left: 0; width: 92%; padding: 50px 35px; border-radius: 20px; }
    .timeline-content h2 { font-size: 2.2rem; font-family: Georgia, 'Times New Roman', Times, serif; }
}

/* ======================footer===== */

 * {
            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 --- */
      /* --- 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.5rem;
            font-weight: 800;
            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;
            }
        }
        

       /* ================= PC (LARGE SCREENS) =================swatiii */
@media (min-width: 1200px) {
    .header-inner {
        flex-direction: column;
    }

    .nav {
        justify-content: center;
    }

    .mega-dropdown {
        width: 1000px;
    }

    .premium-about .container {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .team-row {
        gap: 90px;
    }
}


/* ================= TABLET ================= */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mega-dropdown {
        width: 90%;
        grid-template-columns: 1fr;
    }

    .mega-left {
        display: none;
    }

    .premium-about .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-border-animation img {
        height: 450px;
    }

    .mmet-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-row {
        gap: 40px;
    }
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

    /* HEADER */
    .site-header {
        padding: 10px 0;
    }

    .branding-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .school-logo-main {
        height: 60px;
    }

    .shine-text {
        font-size: 20px;
        letter-spacing: 2px;
        text-align: center;
    }

    /* NAV */
    .nav {
        display: none; /* hide desktop nav */
    }

    /* BUTTON */
    .mmet-open-btn {
        right: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }

    /* MEGA MENU */
    .mmet-mega-card {
        flex-direction: column;
        height: 95vh;
    }

    .mmet-nav-content {
        padding: 25px;
    }

    .mmet-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mmet-menu-top-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    /* ABOUT SECTION */
    .premium-about {
        padding: 60px 20px;
    }

    .premium-about .container {
        grid-template-columns: 1fr;
    }

    .image-border-animation img {
        height: 300px;
    }

    .animated-heading {
        font-size: 1.8rem;
    }

    .grid-item p {
        font-size: 1rem;
    }

    /* HISTORY */
    .photo-container {
        float: none;
        margin: 0 auto 20px auto;
    }

    /* VM SECTION */
    .mmet-about-vm-main-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .mmet-about-vm-card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .vm-icon-box {
        margin: 0 auto 20px;
    }

    /* MANAGEMENT */
    .serif-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
        white-space: normal;
    }

    .management-text {
        font-size: 1rem;
    }

    /* TEAM */
    .team-row {
        gap: 25px;
    }

    .circle-frame {
        width: 150px;
        height: 150px;
    }

    /* TIMELINE */
    .timeline-photo {
        height: 300px;
    }

    .timeline-content {
        padding: 30px 20px;
    }

    .timeline-content h2 {
        font-size: 1.8rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: 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;
    }
}

/* =====================================================
   About Page Section Responsive Overrides (Mobile-First)
   Targets: premium-about, history, vision-mission,
   management, management-team, sister institution
   ===================================================== */
@media (max-width: 767px) {
    .premium-about {
        padding: 48px 12px !important;
    }

    .premium-about .container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 8px !important;
    }

    .text-side {
        order: 2;
    }

    .image-side {
        order: 1;
        margin-top: 0 !important;
    }

    .image-border-animation {
        padding: 8px;
        border-radius: 20px;
    }

    .image-border-animation img {
        height: auto !important;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .animated-heading {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
        line-height: 1.25;
        white-space: normal;
    }

    .content-grid {
        gap: 10px;
    }

    .grid-item {
        gap: 10px;
        padding: 8px 0;
    }

    .grid-item p {
        font-size: 0.96rem !important;
        line-height: 1.55;
    }

    .history-section {
        padding: 46px 12px !important;
    }

    .history-aura-container {
        max-width: 100% !important;
    }

    .history-title {
        font-size: clamp(1.45rem, 6vw, 1.9rem) !important;
        padding-left: 10px;
        margin-bottom: 16px;
    }

    .history-card {
        padding: 18px 14px !important;
        margin-bottom: 24px;
    }

    .photo-container {
        float: none !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
    }

    .history-float-img {
        width: 100%;
        height: auto;
    }

    .single-line-highlight {
        padding: 12px;
    }

    .legacy-quote,
    .legacy-footer {
        font-size: clamp(1rem, 4.6vw, 1.15rem) !important;
    }

    .gold-divider {
        margin: 16px auto;
    }

    .mmet-about-vm-section {
        padding: 50px 12px !important;
    }

    .mmet-about-vm-main-title {
        font-size: clamp(1.45rem, 7vw, 2rem) !important;
        letter-spacing: 1.5px !important;
        line-height: 1.2;
    }

    .vm-title-accent {
        width: 100px;
        margin: 14px auto 28px !important;
    }

    .vm-cards-stack {
        gap: 18px !important;
    }

    .mmet-about-vm-card {
        padding: 20px 14px !important;
        border-radius: 0 22px 0 22px;
    }

    .vm-icon-box {
        width: 72px;
        height: 72px;
        margin: 0 auto 14px !important;
    }

    .vm-logo-svg {
        width: 34px;
        height: 34px;
    }

    .mmet-about-vm-content h3 {
        font-size: 1.35rem !important;
        margin-bottom: 10px;
    }

    .mmet-about-vm-content p,
    .mmet-about-mission-list li {
        font-size: 0.98rem !important;
        line-height: 1.6;
    }

    .mmet-about-mission-list li {
        padding-left: 28px;
        margin-bottom: 10px;
    }

    .luxury-management-section {
        padding: 56px 12px !important;
    }

    .mgt-glass-container {
        padding: 24px 14px !important;
        border-radius: 22px !important;
    }

    .serif-title {
        font-size: clamp(1.5rem, 7vw, 2.1rem) !important;
        letter-spacing: 2px !important;
        white-space: normal !important;
    }

    .gold-accent-divider {
        width: 110px;
        height: 3px;
        margin: 20px auto !important;
    }

    .management-text {
        font-size: 0.96rem !important;
        line-height: 1.7 !important;
        letter-spacing: 0;
    }

    .mgt-footer-text {
        margin-top: 20px !important;
        font-size: 0.72rem !important;
        letter-spacing: 1.5px !important;
        padding: 10px 14px !important;
        white-space: normal;
        line-height: 1.4;
    }

    .cyber-silk-section {
        padding: 52px 12px !important;
    }

    .team-wrapper {
        margin-top: 24px !important;
        gap: 22px !important;
    }

    .team-row {
        gap: 14px !important;
    }

    .team-item {
        flex: 1 1 140px;
        max-width: 190px;
    }

    .circle-frame {
        width: 130px !important;
        height: 130px !important;
        margin-bottom: 10px;
    }

    .info h3 {
        font-size: 1rem !important;
        line-height: 1.3;
    }

    .info span {
        font-size: 0.72rem !important;
        letter-spacing: 1px;
    }

    .edu-page-container {
        padding: 44px 0 !important;
        min-height: auto;
        background-attachment: scroll;
    }

    .timeline-item {
        width: 100% !important;
        padding: 0 12px !important;
    }

    .timeline-photo {
        height: 220px !important;
        margin-bottom: 0 !important;
        border-radius: 16px !important;
    }

    .timeline-content {
        width: 100% !important;
        margin: 14px 0 0 0 !important;
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .timeline-content h2 {
        font-size: clamp(1.2rem, 6vw, 1.55rem) !important;
        margin-bottom: 14px;
    }

    .timeline-content p {
        font-size: 0.95rem !important;
        line-height: 1.65;
    }

    .location-box {
        padding: 14px 12px !important;
        margin: 18px 0 !important;
        border-radius: 0 12px 12px 0;
    }

    .location-box:hover {
        transform: none;
    }

    .edu-btn {
        width: 100%;
        text-align: center;
        padding: 12px 18px !important;
        letter-spacing: 1px;
        font-size: 0.82rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .premium-about {
        padding: 70px 18px;
    }

    .premium-about .container {
        gap: 30px !important;
        padding: 0 16px !important;
    }

    .image-border-animation img {
        height: 440px !important;
    }

    .history-section {
        padding: 56px 18px;
    }

    .history-card {
        padding: 28px;
    }

    .mmet-about-vm-section {
        padding: 70px 18px;
    }

    .mmet-about-vm-main-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .mmet-about-vm-card {
        padding: 30px;
    }

    .luxury-management-section {
        padding: 80px 18px;
    }

    .mgt-glass-container {
        padding: 40px 24px;
    }

    .management-text {
        font-size: 1.08rem;
        line-height: 1.9;
    }

    .mgt-footer-text {
        letter-spacing: 3px;
        padding: 12px 26px;
    }

    .cyber-silk-section {
        padding: 68px 18px;
    }

    .team-row {
        gap: 26px !important;
    }

    .circle-frame {
        width: 160px;
        height: 160px;
    }

    .team-item {
        flex: 0 1 200px;
    }

    .edu-page-container {
        padding: 56px 0;
        background-attachment: scroll;
    }

    .timeline-item {
        padding: 0 18px;
    }

    .timeline-photo {
        height: 320px !important;
        margin-bottom: -70px !important;
    }

    .timeline-content {
        width: 95% !important;
        padding: 36px 24px !important;
    }

    .timeline-content h2 {
        font-size: 1.9rem !important;
    }
}
