html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================
   GLOBAL CONTAINER SYSTEM
   ========================= */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

:root {
    --header-height: 96px;
    /* set to your real header height */
}

/* browser-native smooth scrolling + header offset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    /* helps CSSOM scrolling */
}

/* ensure direct :target jumps also respect offset */
:target {
    scroll-margin-top: var(--header-height);
}

#alumni-part {
    overflow: visible;
}

/* avoid clipping shadows */

/* remove fixed background attachment for perf */
.mmet-about-vm-section {
    background-attachment: scroll !important;
}

/* --- about.css --- */

.mmet-about-vm-section {
    padding: 100px 0;
    background-color: #fcfcfc;
    /* Minimal soft background */
    scroll-margin-top: 80px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    /* Prevents header overlap when clicking link */
}

.mmet-about-vm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.mmet-about-vm-main-title {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.8rem;
    color: #1f3c88;
    /* School Blue */
    margin-bottom: 60px;
}

.mmet-about-vm-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card Styling */
.mmet-about-vm-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 45px;
    border-radius: 20px;
    display: flex;
    gap: 35px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}


.mmet-about-vm-icon {
    font-size: 3.5rem;
    color: #ff9f1c;
    /* School Orange */
    flex-shrink: 0;
}

.mmet-about-vm-content h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    margin-bottom: 18px;
    color: #222;
}

.mmet-about-vm-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    
}

/* Mission List */
.mmet-about-mission-list {
    list-style: none;
    padding: 0;
}

.mmet-about-mission-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: #444;
}

.mmet-about-mission-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff9f1c;
    font-weight: bold;
}

/* --- HOVER EFFECTS (Desktop Only) --- */
@media (min-width: 1025px) {
    .mmet-about-vm-card:hover {
        transform: translateY(-10px);
        background-color: #ffffff;
        border-color: #ff9f1c;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    }

    .mmet-about-vm-card:hover .mmet-about-vm-icon {
        transform: scale(1.15) rotate(5deg);
        transition: transform 0.3s ease;
    }
}

/* --- MOBILE VIEW (Safe) --- */
@media (max-width: 768px) {
    .mmet-about-vm-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .mmet-about-vm-icon {
        font-size: 2.8rem;
    }

    .mmet-about-mission-list li {
        text-align: left;
    }
}

/* ================ MANAGEMENT SECTION POLISHED ================ */

:root {
    --royal-bg: hsl(313, 94%, 80%);
    --bright-gold: #FFD700;
    --pure-white: #FFFFFF;
    --silver-text: #F0F0F0;
    --deep-purple: #120621;
    --accent-gold: #fbbf24; /* HD Amber Gold */
}

.luxury-management {
    padding: 80px 5%; /* 📈 Increased padding for HD widescreen feel */
    background: radial-gradient(circle at center, rgb(128, 7, 73), var(--deep-purple));
    text-align: center;
    overflow: hidden;
    padding-bottom: 80px;
}

/* --- 📝 Header & Full-Width Text --- */
.header-container {
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto 60px;
}

.serif-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4.5rem;
    color: var(--pure-white);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gold-line {
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bright-gold), transparent);
    margin: 15px auto 40px;
}

.white-message {
    color: var(--pure-white) !important;
    font-size: 1.4rem; /* 📈 Larger for HD Impact */
    width: 100%;       /* 🚀 FULL WIDTH */
    line-height: 1.9;
    font-weight: 400;
   font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
}

/* --- ✨ THE ELITE HIGHLIGHT POINT (The requested effect) --- */
.highlight-last-point {
    display: block;
    width: 100%;
    margin-top: 45px;
    padding: 35px 20px;
    color: var(--accent-gold); 
    font-size: 1.8rem; /* 📈 Standout Size */
    font-weight: 800;
    font-style: var(--bright-gold);
    
    /* 🎨 Background Highlight Effect */
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.08), transparent);
    border-top: 1px solid rgba(251, 191, 36, 0.3);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    
    /* 🎭 Glow & Pulse Animation */
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    animation: glowPulse 3s infinite ease-in-out;
    transition: all 0.4s ease;
    cursor: default;
}

.highlight-last-point:hover {
    color: #ffffff;
    text-shadow: 0 0 30px var(--accent-gold), 0 0 10px var(--accent-gold);
    letter-spacing: 1.5px;
    transform: scale(1.01);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.9; text-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }
    50% { opacity: 1; text-shadow: 0 0 25px rgba(251, 191, 36, 0.8); }
}

/* --- 📸 Team Grid (3 on Top, 2 Centered Below) --- */
.team-grid {
    display: flex;         /* 🚀 Switch to Flex for smart centering */
    flex-wrap: wrap;      
    justify-content: center; /* 🎯 CENTERS the bottom row */
    gap: 80px 40px;
    margin-top: 60px;
    width: 100%;
}

.team-item {
    flex: 0 1 calc(33.333% - 60px); /* Adjusts for 3-column layout */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
}

/* --- Circle & Portrait Styling (Kept Consistent) --- */
.large-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 25px;
}

.large-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    border: 5px solid var(--bright-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}



/* --- Hover State --- */
.team-item:hover img {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--pure-white);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.team-item:hover .glow-effect {
    opacity: 0.4;
}

.bright-white {
    color: var(--pure-white) !important;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 700;
}

.role-bright {
    color: var(--bright-gold);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 5px;
}

/* --- 📱 Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .team-item { flex: 0 1 calc(50% - 40px); } /* 2 per row */
}

@media (max-width: 768px) {
    .team-item { flex: 0 1 100%; } /* 1 per row */
    .serif-title { font-size: 2.8rem; }
    .white-message { font-size: 1.1rem; }
    .highlight-last-point { font-size: 1.3rem; }
}
/* ================================================================
   VISION & MISSION - BOLD GLASSMORMISM VERSION
   ================================================================ */
/* Enhanced Hover Animation */
/* Enhanced Hover Animation */
/* 1. Section Background & Overlay */
.vm-section {
    position: relative;
    background-image: url('img/bg1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

.vm-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.8), rgba(31, 60, 136, 0.6));
    z-index: -1;
}

/* 2. Header Styling */
.vm-header {
    text-align: center;
    margin-bottom: 60px;
}

.vm-main-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.vm-title-accent {
    width: 80px;
    height: 4px;
    background: #ff9f1c;
    margin: 0 auto;
    border-radius: 2px;
}

/* 3. Card Container & Glassmorphism */
.vm-cards-stack {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
}

.vm-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 50px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced Hover Effect */
.vm-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff9f1c;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 159, 28, 0.2);
}

/* 4. Icon & Animation */
.vm-icon-box {
    font-size: 3rem;
    color: #ff9f1c;
    filter: drop-shadow(0 0 10px rgba(255, 159, 28, 0.4));
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.vm-card:hover .vm-icon-box i {
    transform: rotateY(360deg);
    transition: transform 0.8s ease;
    color: #ffffff;
}

/* 5. Master Typography Sync */
.vm-card-title {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 2.2rem !important;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 700 !important;
}

.vm-text {
    font-family: Georgia, 'Times New Roman', Times, serif!important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
    list-style: none;
}

/* Mission List Styling */
.vm-mission-list {
    padding: 0;
    margin-top: 20px;
}

.vm-mission-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}

.vm-mission-list li::before {
    content: "🔸";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* 6. Animations */
@keyframes vmFadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vmSlideLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes vmSlideRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.vm-reveal-up { animation: vmFadeInUp 1s ease forwards; }
.vm-reveal-left { animation: vmSlideLeft 1.2s ease forwards; }
.vm-reveal-right { animation: vmSlideRight 1.2s ease forwards; }

/* 7. Responsive Fix */
@media (max-width: 768px) {
    .vm-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    .vm-main-title { font-size: 2.5rem; }
    .vm-mission-list li { padding-left: 0; }
    .vm-mission-list li::before { display: none; }
}

/* =============== ALUMNI SECTION PREMIUM POLISH ============ */

/* --- Alumni Modern Note Section --- */
.alumni-modern-note {
    max-width: 1050px;
    margin: 60px auto;
    padding: 50px 40px;
    /* Deep radial gradient to make the gold pop */
    background: radial-gradient(circle at center, #1e2030 0%, #0a0a0a 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    height: auto !important;
    /* Forces box to grow with content */
    min-height: min-content;
    display: block;
    /* Ensures standard flow */
}

/* Glassmorphism inner container */
.note-content-card {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* --- Paragraph Visibility --- */
.intro-p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    color: #ffffff;
    /* Pure white for primary impact */
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Depth for readability */
}

.body-p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    color: #e0e0e0;
    /* Light grey for secondary text */
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    z-index: 5;
    /* Keeps text on top */
}

/* --- Association Highlight Box --- */
.association-highlight {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle glass effect */
    padding: 40px;
    border-radius: 18px;
    border-top: 2px solid #d4af37;
    margin-top: 20px;
    clear: both;
}

.association-highlight p {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* --- Gold Gradient Heading --- */
.gold-gradient-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.8rem;
    /* Metallic gold multi-stop gradient */
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- Year & Strong Styles --- */
.year-gold {
    color: #ffd700;
    /* Bright gold */
    font-weight: 800;
    font-size: 1.2rem;
    /* No background or box per your request */
}

.note-content-card strong {
    color: #d4af37;
    /* Themed gold for important facts */
    font-weight: 700;
}

/* Small decorative divider */
.mini-divider {
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 10px auto 25px;
    border-radius: 2px;
}

.achievers-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.achievers-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    /* Gold Metallic Gradient */
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);

    /* ADD THESE THREE LINES TO FIX THE ERROR */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;
    letter-spacing: 1px;
    text-transform: capitalize;

}

.achievers-underline {
    width: 80px;
    height: 3px;
    background: #b38728;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .achievers-title {
        font-size: 1.8rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .alumni-modern-note {
        margin: 30px 15px;
        padding: 30px 20px;
    }

    .gold-gradient-title {
        font-size: 2rem;
    }

    .intro-p {
        font-size: 1.1rem;
    }
}

/* 1. SECTION WRAPPER */
#alumni-spotlight-portal {
    padding: 60px 8%;
    /* Reduced top/bottom padding slightly */
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* 2. HEADER STYLING */
.alumni-header-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.alumni-header-wrap h1 {
    font-family: 'Cinzel', serif;
    color: #050303d9;
    font-size: 4.5rem;
    margin: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 15px auto;
}

/* 3. GRID LAYOUT - UPDATED FOR RESPONSIVENESS */
/* Update section 3 in your CSS */
.alumni-grid {
    display: grid;
    /* Increased min-width from 300px to 550px for PC view */
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* 4. CARD STYLING */
.alumni-card {
    display: flex;
    background: #ffffff;
    min-height: 280px;
    height: auto;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 6px solid #D4AF37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Added width 100% to ensure it fills the grid cell */
    width: 100%;
}

.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* 5. IMAGE SECTION */
.alumni-card-img {
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.alumni-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

/* 6. CONTENT SECTION */
/* Update section 6 in your CSS */
.alumni-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers text vertically against the image */
    background: white;
    flex-grow: 1;
    min-width: 0;
    /* Prevents flex children from overflowing */
    text-align: left;
}

.alumni-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.alumni-card-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #2D1B4B;
    margin: 0 0 10px 0;
    /* FIX: Standard properties added to remove VS Code errors */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alumni-line {
    font-size: 0.85rem;
    color: #444;
    margin: 2px 0;
    line-height: 1.5;
    /* FIX: Increased to 3 lines and added standard property */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alumni-line b {
    color: #2D1B4B;
}

/* 7. DISCOVER BUTTON */
.alumni-more-btn {
    margin-top: 15px;
    /* Reduced margin */
    background: transparent;
    border: 2px solid #D4AF37;
    color: #2D1B4B;
    padding: 10px 20px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.alumni-more-btn:hover {
    background: #D4AF37;
    color: #ffffff;
}

/* 8. JS ANIMATION STATES */
.alumni-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}


/* 9. MODAL & UPDATED MOBILE RESPONSIVE */
@media (max-width: 1200px) {

    /* On medium desktops/large tablets, switch to 1 column if they get tight */
    .alumni-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        /* Keeps the single column from being too wide */
    }
}

@media (max-width: 992px) {

    /* For tablets, we reduce the header size and gap */
    .alumni-header-wrap h1 {
        font-size: 3.5rem;
    }

    .alumni-grid {
        grid-template-columns: 1fr;
    }

    /* Stack to 1 column earlier */
}

@media (max-width: 768px) {
    .alumni-card {
        flex-direction: column;
        height: auto;
    }

    .alumni-card-img {
        width: 100%;
        height: 250px;
    }

    .alumni-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensures image isn't distorted */
    }

    .alumni-header-wrap h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    #alumni-spotlight-portal {
        padding: 40px 5%;
        /* Tighten padding for small screens */
    }
}

@media (max-width: 480px) {
    .alumni-card-img {
        height: 220px;
        /* Shorter image for very small phones */
    }

    .alumni-header-wrap h1 {
        font-size: 2rem;
    }
}



/* ================= HISTORICAL SECTION - GOLDEN GREEN & AURA ================= */
.history-section {
    width: 100%;
    position: relative;
    padding: 60px 0;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a2a1a 0%, #0d140d 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.history-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(212, 175, 55, 0.05) 40%,
            rgba(212, 175, 55, 0.15) 50%,
            rgba(212, 175, 55, 0.05) 60%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.history-section:hover::after {
    left: 150%;
    transition: all 1.2s ease-in-out;
}

.history-aura-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    position: relative;
    z-index: 2;
}

/* Changed to block to allow wide text wrap */
.history-wrapper {
    display: block;
}

/* SQUARE FLOATING IMAGE */
.history-photo-shape {
    float: left;
    /* Key for text wrap */
    width: 350px;
    /* Reduced size to allow more text space */
    aspect-ratio: 1 / 1;
    margin: 10px 45px 20px 0;
    /* Space for text on right/bottom */

    object-fit: cover;
    border-radius: 30px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.2);

    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.history-section:hover .history-photo-shape {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    border-color: #D4AF37;
}

.history-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    margin-right: 50rem;
    color: #ab913c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 70px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
}

/* WIDE TEXT STYLES */
.history-content p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 19px;
    line-height: 2;
    color: #f3e5ab;
    margin-bottom: 30px;
    text-align: justify;
    width: 100%;
    /* Spreads wide */
}

/* GOLDEN DROP CAP */
.history-content p:first-of-type::first-letter {
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 12px;
    color: #D4AF37;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 900;
}

.history-content strong {
    color: #D4AF37;
}
/* mv */
@media (max-width: 480px) {

  /* Fix spacing issue for long link text */
  .history-content a,
  .history-content strong {
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    display: inline !important;
  }

  /* 🔥 IMPORTANT: stop justify causing gaps */
  .history-content p {
    text-align: left !important;
  }

}
/* ==========================================================
   MANAGEMENT SECTION (EXACT STYLE - RESPONSIVE)
   ========================================================== */

.mmet-management-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    /* REDUCED EFFECT: Lowered opacity of the shine layer from 0.3 to 0.15 */
    background:
        linear-gradient(110deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 215, 0, 0.15) 50%,
            rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at center, rgba(255, 200, 200, 0.1) 0%, rgba(10, 25, 47, 0.95) 100%),
        url('img/bg16.jpeg') center/cover no-repeat;

    background-size: 200% 100%, auto, cover;
    animation: goldenShine 8s infinite linear;
    /* Slowed down for a more "premium" feel */
}

@keyframes goldenShine {
    0% {
        background-position: 200% 0, center, center;
    }

    100% {
        background-position: -200% 0, center, center;
    }
}

/* REDUCED EFFECT: Softened the background sweep */
.mmet-management-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: backgroundSweep 10s infinite;
    z-index: 1;
}

.mmet-management-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mmet-management-text-box {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
    border-bottom: 1px solid rgba(255, 159, 28, 0.3);
    padding-bottom: 40px;
}

.mmet-management-text-box h2 {
    font-family: 'Playfair Display', serif;
    /* RESPONSIVE FONT: Shrinks automatically on mobile */
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: #ff9f1c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 159, 28, 0.4);
    line-height: 1.2;
}

.mmet-management-text-box p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 4vw, 1.15rem);
    color: #f8f9fa;
    line-height: 1.8;
}

/* ================= GRID FIXES ================= */

.mmet-management-grid {
    display: grid;
    /* Uses auto-fit to handle the row items perfectly */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mmet-member-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mmet-member-card:hover {
    transform: translateY(-10px);
    border-color: #ff9f1c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mmet-img-wrapper {
    height: 380px;
    overflow: hidden;
}

.mmet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {
    .mmet-management-section {
        padding: 60px 0;
    }

    /* Center text better on mobile */
    .mmet-management-text-box {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .mmet-management-grid {
        /* Single column on mobile to prevent squishing */
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .mmet-img-wrapper {
        height: 320px;
    }

    .mmet-info-box h4 {
        font-size: 1.3rem;
    }
}



/* ======================================================
   LIGHT EYE-CATCHING PREMIUM BACKGROUND UPGRADE
   Replace ONLY the background part of educational-network-section
   ====================================================== */


.educational-network-section {
    position: relative;
    padding: 60px 8%;
    overflow: hidden;

    /* Very light lavender academic gradient */
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(33, 14, 91, 0.1), transparent 45%),
        linear-gradient(135deg, #fbfaff 0%, #f6f3ff 40%, #faf8ff 100%);
}

/* Subtle animated floating light */
.educational-network-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
    top: -150px;
    left: -150px;
    animation: floatGlow 12s ease-in-out infinite alternate;
    z-index: 0;
}

.educational-network-section::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatGlow 14s ease-in-out infinite alternate-reverse;
    z-index: 0;
}

@keyframes floatGlow {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    100% {
        transform: translateY(30px) translateX(20px);
    }
}

/* Ensure content above background effects */
.educational-network-section>* {
    position: relative;
    z-index: 2;
}


/* HEADER */
.network-header-wrapper {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(90deg, #2D1B4B, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

.legacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D4AF37;
    font-weight: 700;
}

/* GRID */
.network-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 60px;
    position: relative;
}

/* Elegant vertical divider */
.visual-anchor-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #D4AF37, transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

@media (max-width: 992px) {
    .visual-anchor-line {
        display: none;
    }
}

/* CARD */
.edu-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(.22, .9, .3, 1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

/* Subtle shine animation */
.edu-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.4), transparent 60%);
    transform: rotate(25deg);
    transition: all 0.8s ease;
}

.edu-card:hover::before {
    top: 100%;
}

.edu-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.edu-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2D1B4B, #3c2a60);
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(45, 27, 75, 0.2);
    transition: transform 0.4s ease;
}

.edu-card:hover .edu-icon-box {
    transform: rotateY(180deg);
}

.edu-icon-box svg {
    width: 28px;
    height: 28px;
}

.edu-card-title {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #2D1B4B;
    font-weight: 700;
}

.edu-card-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* PREMIUM BUTTON */
.edu-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(90deg, #D4AF37, #b8962f);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.edu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

/* Scroll reveal animation */
.animate-ready {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(.22, .9, .3, 1);
}

.animate-ready.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .educational-network-section {
        padding: 80px 6%;
    }

    .edu-card {
        padding: 40px 25px;
    }
}


/* ======================================================
   SVG STROKE DRAWING ANIMATION (Premium Enhancement)
   Add below previous Educational Network CSS
   ====================================================== */

/* Prepare SVG for stroke animation */
.educational-network-section .edu-icon-box svg {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.2s cubic-bezier(.22, .9, .3, 1), transform 0.4s ease;
}

/* When section becomes visible, animate drawing */
.educational-network-section .animate-ready.visible .edu-icon-box svg {
    stroke-dashoffset: 0;
}

/* Optional subtle pulse glow after drawing */
.educational-network-section .edu-icon-box::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.educational-network-section .animate-ready.visible .edu-icon-box::after {
    opacity: 0.4;
}

/* Hover enhancement */
.educational-network-section .edu-card:hover .edu-icon-box svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .educational-network-section {
        padding-top: 20px;
        padding-bottom: 50px;
    }
}

/* ===============================
   SAFE RESPONSIVE FIX – EDUCATIONAL NETWORK
   =============================== */

/* 1️⃣ Fix top whitespace issue */
@media (max-width: 992px) {
    .educational-network-section {
        padding-top: 40px;
        /* reduce extra white space */
        padding-bottom: 50px;
    }

    .network-header-wrapper {
        margin-bottom: 30px;
        /* reduce large gap above cards */
    }
}

/* 2️⃣ Make cards stack cleanly */
@media (max-width: 992px) {
    .network-grid-container {
        grid-template-columns: 1fr;
        /* single column */
        gap: 30px;
        /* normal spacing */
    }

    .visual-anchor-line {
        display: none;
        /* remove center divider */
    }
}

/* 3️⃣ Reduce card padding slightly on mobile */
@media (max-width: 768px) {
    .edu-card {
        padding: 30px 22px;
    }

    .edu-card-title {
        font-size: 1.35rem;
    }

    .edu-card-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* === Fix leftover white space above "Our Educational Network" (mobile/tablet) ===
   - Targets the educational section and its immediate previous section (safe).
   - Removes any extra top gap, trims header margins, and forces compact stacking.
   - Put this at the *end* of style.css so it overrides other rules.
*/

@media (max-width: 992px) {

    /* If the previous section is .about-mmet-video (common in your markup),
     remove its big bottom padding when followed by the educational section. */
    .about-mmet-video+.educational-network-section,
    .vision-strip+.educational-network-section,
    .programs-video-section+.educational-network-section {
        padding-top: 12px !important;
        margin-top: 0 !important;
    }

    /* Main safety clamp for the educational section itself */
    .educational-network-section {
        padding-top: 12px !important;
        /* make compact on phones/tablets */
        padding-bottom: 40px !important;
    }

    /* Reduce header wrapper vertical spacing */
    .network-header-wrapper {
        margin-top: 6px !important;
        margin-bottom: 18px !important;
    }

    /* Remove any default top margin from the title */
    .educational-network-section .section-title {
        margin-top: 0 !important;
    }

    /* Ensure no stray top margin from paragraphs or subtitle */
    .educational-network-section .section-subtitle,
    .educational-network-section p {
        margin-top: 0 !important;
    }

    /* Small card spacing adjustments (keeps layout tight) */
    .network-grid-container {
        gap: 22px !important;
    }

    .edu-card {
        padding: 28px 18px !important;
    }
}

/* Extra defensive rule for very small phones */
@media (max-width: 480px) {

    .about-mmet-video+.educational-network-section,
    .educational-network-section {
        padding-top: 10px !important;
    }
}

/* ===== Desktop spacing fix ===== */
@media (min-width: 993px) {
    .educational-network-section {
        padding-top: 30px;
        /* reduced from 60px */
        padding-bottom: 60px;
    }

    .network-header-wrapper {
        margin-bottom: 50px;
        /* reduced from 80px */
    }

    .educational-network-section .section-title {
        margin-top: 0;
    }
}


/* ===== quick visibility fix so buttons aren't clipped ===== */
.alumni-card {
    /* allow the card to show the button even if it sits near the edge */
    overflow: visible;
    /* changed from hidden -> visible so button isn't clipped */
}

.alumni-card-content {
    padding-bottom: 22px;
    /* ensures space for the button at the bottom */
}

/* ===============================
   RESPONSIVE PREMIUM ALUMNI MODAL
================================= */

.alumni-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.alumni-modal-overlay.active {
    display: flex;
}

/* Modal Card */
.alumni-modal-card {
    background: #ffffff;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    /* prevents overflow */
    overflow-y: auto;
    /* internal scroll */
    border-radius: 14px;
    padding: 35px;
    position: relative;
    border-top: 8px solid #D4AF37;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s ease;
}

/* Smooth scroll inside modal */
.alumni-modal-card::-webkit-scrollbar {
    width: 6px;
}

.alumni-modal-card::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #2D1B4B;
    cursor: pointer;
}

/* Top Section */
.modal-top {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.modal-photo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    object-position: center 20%;
}

/* Head Text */
.modal-head h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #2D1B4B;
}

.modal-role {
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-quote {
    font-style: italic;
    margin-top: 6px;
    color: #444;
}

/* Content Sections */
.modal-body section {
    margin-bottom: 18px;
}

.modal-body h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #2D1B4B;
}

.modal-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    word-break: break-word;
    /* prevents overflow */
}

/* Achievements */
#modalAchievements {
    padding-left: 0;
}

#modalAchievements li {
    list-style: none;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    font-weight: 600;
}

#modalAchievements li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #D4AF37;
}

/* CTA */
.modal-cta {
    text-align: right;
    margin-top: 20px;
}

#modalInspireBtn {
    background: #D4AF37;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE FIX
================================= */

/* Tablet */
@media (max-width: 768px) {

    .alumni-modal-card {
        padding: 25px;
    }

    .modal-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-photo {
        width: 100px;
        height: 100px;
    }

    .modal-head h2 {
        font-size: 1.3rem;
    }

    .modal-body p {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .alumni-modal-card {
        padding: 20px;
        max-height: 92vh;
    }

    .modal-head h2 {
        font-size: 1.1rem;
    }

    .modal-body p {
        font-size: 0.85rem;
    }
}


/* 1st page about// */
.about-mmet {
    background: radial-gradient(circle at center, #0a2e36 0%, #05161a 100%);
    padding: 100px 8%;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the title and container */
}

/* ✨ COMPACT TITLE CARD */
.about-title {
    text-align: center;
    max-width: 800px; /* Reduced width as requested */
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(to bottom, #fff7ad 0%, #ffd700 45%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    padding-bottom: 15px;
}

.about-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

/* MAIN LAYOUT RE-ALIGNMENT */
.about-container {
    display: flex;
    align-items: flex-start; /* Align to top */
    justify-content: center;
    gap: 50px;
    max-width: 1400px; /* Increased total width */
    width: 100%;
    margin: auto;
    z-index: 2;
}

/* LEFT IMAGE - COMPACT SIZE */
.about-image {
    flex: 0 0 650px; /* Fixed smaller width to allow content to grow */
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(0,0,0,0.6), 0 0 15px rgba(255, 215, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* RIGHT CONTENT - INCREASED WIDTH */
.about-right {
    flex: 1; /* Takes up all remaining space (approx 65-70%) */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* QUOTE BOX - REFINED COLORS */
.quote-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 55px;
    border-left: 5px solid #ffd700; /* Gold accent bar */
    
    /* Font Colors */
    color: #ffd700; /* Gold text for quote */
    font-size: 22px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: var(--bright-gold);
    line-height: 1.6;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
    margin-top: 50px;
}

/* CONTENT TEXT */
.about-content {
    /* Font Colors */
    color: #e0f2f1; /* Soft minty white for high readability */
    font-size: 21px;
    line-height: 1.9;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* LIST COLORS */
.about-content ul {
    margin-top: 5px;
    list-style: none;
    padding: 0;
}

.about-content li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    color: #f3f2f0; /* Slightly darker teal for secondary info */
    transition: 0.3s ease;
}

.about-content li:hover {
    color: #ee980e;
    transform: translateX(5px);
}

.about-content li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #ffd700; /* Sparkling Gold Bullet */
    font-size: 20px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* RESPONSIVE */
@media(max-width: 1100px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    .about-image {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }
    .about-right {
        width: 100%;
    }
}
/* heading of history */

.history-title {
    text-align: center;
    white-space: nowrap;
    /* keeps text in one line */
    font-size: 32px;
}

/* alumini styling */
/* 1. HD FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display:ital,wght@0,700;1,500&family=Montserrat:wght@300;400;600&display=swap');

/* RESET BROWSER DEFAULTS */
html,
body {
    margin: 0;
    padding: 0;
}

.alumni-section {
    background: radial-gradient(circle at 20% 20%, #4a0e0e 0%, #2d0b4d 40%, #1a052e 100%);
    color: #ffffff;
    padding: 40px 10% 80px 10%;
    margin: 0 0 40px 0;
    border-radius: 0 0 40px 40px;
   font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.9;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 50px rgba(125, 60, 152, 0.4), inset 0 0 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.alu {
    text-align: center;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 45px !important;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #fff, #ffd700, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

.alumni-image {
    width: 100%;
    margin-bottom: 50px;
    text-align: center;
    perspective: 1000px;
}

.alumni-image img {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: 10px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.3);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.alumni-image img:hover {
    transform: rotateX(5deg) translateY(-10px) scale(1.02);
    outline: 10px solid rgba(255, 215, 0, 0.1);
}

.alumni-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border-left: 4px solid #ffd700;
}

.alumni-section strong {
    color: #ffd700;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- RE-DESIGNED QUOTE SECTION --- */
.highlight-container {
    display: flex;
    align-items: stretch;
    /* Ensures both sides are same height */
    max-width: 1100px;
    margin: 30px auto;
    background: rgba(0, 0, 0, 0.3);
    /* Transparent dark base */
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.highlight-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 25px 40px;
    position: relative;
    transition: 0.4s ease;
}

/* LEFT QUOTE (Heritage Style) */
.highlight-item:first-child {
    background: linear-gradient(135deg, rgba(74, 14, 14, 0.6), transparent);
    border-right: 1px solid rgba(255, 215, 0, 0.2);
}

.highlight-item:first-child::before {
    content: "“";
    position: absolute;
    left: 15px;
    top: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
}

/* RIGHT QUOTE (Visionary Style) */
.highlight-item:last-child {
    background: linear-gradient(135deg, transparent, rgba(45, 11, 77, 0.5));
}

.highlight-item:last-child::after {
    content: "”";
    position: absolute;
    right: 15px;
    bottom: -15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
}

.highlight-item p {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    font-style: bold;
    background: transparent;
    /* Overrides global p background */
    border-left: none;
    /* Overrides global p border */
    padding: 0;
}

.highlight-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* MOBILE ADAPTATION */
@media (max-width: 900px) {
    .highlight-container {
        flex-direction: column;
    }

    .highlight-item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
}

@media (max-width: 768px) {
    .alumni-section {
        padding: 40px 5%;
        border-radius: 0;
    }

    .alu {
        font-size: 28px !important;
    }
}

/* scrolling effect */
/* Initial Hidden State */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    /* Smooth HD curve */
}

/* State added by JavaScript on scroll */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------- */
/* 1. CENTER THE CONTAINER */
.alumni-image.scroll-reveal {
    display: flex;
    justify-content: center;
    /* Horizontally centers the image */
    align-items: center;
    width: 100%;
    margin: 60px auto;
    /* Adds breathing room above and below */
    perspective: 1200px;
    /* Enables 3D depth for the hover effect */
}

/* 2. STYLE THE IMAGE */
.alumni-image img {
    /* Increased Width as requested */
    width: 90%;
    max-width: 1000px;
    /* Prevents it from becoming too giant on huge screens */

    height: auto;
    border-radius: 25px;
    /* Premium rounded corners */

    /* The "Golden Frame" Look */
    border: 1px solid rgba(255, 215, 0, 0.3);
    outline: 12px solid rgba(255, 255, 255, 0.03);

    /* HD Depth Shadow */
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(125, 60, 152, 0.2);

    /* Smooth transition for both Scroll and Hover */
    transition:
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        opacity 0.8s ease,
        box-shadow 0.5s ease;

    filter: contrast(1.05) brightness(1.02);
    /* Enhances photo quality */
}

/* 3. INTERACTIVE HOVER EFFECT */
.alumni-image img:hover {
    transform: scale(1.03) rotateX(2deg);
    /* Subtle 3D lift */
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.2);
    outline: 12px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
}

/* 4. SCROLL ANIMATION STATES */
/* --- 1. GLOBAL SCROLL REVEAL BASE --- */
/* --- 1. THE HIDDEN STATE (Off-screen) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    /* Starts lower and slightly smaller */
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Professional ease-out */
    will-change: transform, opacity;
}

/* --- 2. THE ACTIVE STATE (On-screen) --- */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    /* Snaps into original position */
}

/* --- 3. PREMIUM FONT EFFECT (Headers) --- */
h2.alu.scroll-reveal {
    letter-spacing: 18px;
    /* Starts very wide for an expensive look */
    transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

h2.alu.scroll-reveal.active {
    letter-spacing: 5px;
    /* Compresses into place */
}

/* --- 4. CENTERED HD IMAGE (Wide & 3D Rise) --- */
.alumni-image {
    display: flex;
    justify-content: center;
    /* Horizontally centers the image */
    width: 100%;
    margin: 60px 0;
}

.alumni-image.scroll-reveal {
    /* Subtle 3D "tilt" as it arrives */
    transform: perspective(1000px) rotateX(10deg) translateY(60px) scale(0.9);
    transition: all 1.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.alumni-image.scroll-reveal.active {
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

.alumni-image img {
    width: 95%;
    /* Increased width as requested */
    max-width: 1150px;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

/* --- 5. STAGGERED FLOW --- */
/* This makes paragraphs pop up one-by-one for a better reading rhythm */
p.scroll-reveal:nth-of-type(1) {
    transition-delay: 0.1s;
}

p.scroll-reveal:nth-of-type(2) {
    transition-delay: 0.2s;
}

p.scroll-reveal:nth-of-type(3) {
    transition-delay: 0.3s;
}

/* ==============5phtos of alumini=// */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Montserrat:wght@300;400;600&display=swap');

/* --- 1. PREMIUM HERO TOP SECTION --- */
.alumni-hero-wrapper {
    height: 80vh;
    background: linear-gradient(rgba(43, 2, 2, 0.7), rgba(43, 2, 2, 0.9)),
        url('https://images.unsplash.com/photo-1541339907198-e08756ebafe3?auto=format&fit=crop&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    border-bottom: 3px solid #cf9e5d;
}

.hero-content {
    z-index: 5;
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #cf9e5d;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    margin: 0;
    line-height: 1.1;
}

.hero-main-title span {
    color: #cf9e5d;
    font-style: italic;
}

.hero-description {
    max-width: 600px;
    margin: 30px auto;
    font-size: 18px;
    opacity: 0.8;
    font-weight: 300;
}

/* --- 2. THE ALUMNI MAIN (MAROON HD) --- */
/* Premium Background & Font */
.cu-main {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top, #4a0404 0%, #1a0101 100%);
    /* Reduced top padding from 120px to 40px to remove the gap */
    padding: 40px 20px 80px 20px; 
    display: flex;
    justify-content: center;
}

.cu-box {
    width: 95%;
    max-width: 1400px;
}

/* HD Shining Heading */
.cu-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    background: linear-gradient(to right, #cf9e5d 20%, #fff 50%, #cf9e5d 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shineText 5s linear infinite;
    text-transform: uppercase;
    /* Reduced bottom margin to bring photos closer */
    margin-bottom: 30px; 
    text-align: center;
    margin-top: 0;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

/* Single Row Layout (Desktop) */
.cu-leaders-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Premium Glass Cards */
.cu-leader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.4s ease-in-out;
}

.cu-leader-card:hover {
    transform: translateY(-10px);
}

.cu-leader-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #cf9e5d;
    padding: 5px;
    /* Reduced bottom margin */
    margin-bottom: 15px; 
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
}

.cu-leader-card:hover img {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 20px rgba(207, 158, 93, 0.5);
}

.cu-leader-card h3 {
    color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    margin: 5px 0;
}

.cu-role, .cu-yop {
    color: #cf9e5d;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 2px 0;
    font-size: 14px;
}

/* Premium Gallery Button */
.cu-gallery-footer {
    width: 100%;
    overflow: hidden; 
}

.cu-gallery-btn {
    margin-top: 40px;
    display: inline-flex;
    float: right;
    padding: 15px 40px;
    border: 2px solid #cf9e5d;
    color: #cf9e5d;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.4s;
    background: rgba(207, 158, 93, 0.05);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.cu-gallery-btn:hover {
    background: #cf9e5d;
    color: #2b0202;
    box-shadow: 0 0 30px rgba(207, 158, 93, 0.4);
}

/* Responsiveness */
@media (max-width: 1200px) {
    .cu-leaders-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .cu-leaders-grid { grid-template-columns: repeat(2, 1fr); }
    .cu-title { font-size: 2.2rem; margin-bottom: 20px; }
    .cu-gallery-btn {
        float: none;
        display: block;
        text-align: center;
        margin: 30px auto 0;
    }
}
.ka{
    color: gold;
}
/* =======================knss */
/* --- FULL VIEWPORT: ZERO GAPS --- */
/* --- CONTAINER BREATHING ROOM --- */
.edu-page-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #2a004f 0%, #050010 100%);
    position: relative;
    overflow-x: hidden;
    padding: 60px 2%; /* Pushes the whole card down from the top edge */
    font-family: Georgia, 'Times New Roman', serif;
}

.edu-page-container .timeline-item {
    width: 95%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 50px 5%;
    display: flex;
    flex-direction: column; 
    z-index: 10;
}

/* --- THE FIX: VISIBLE HEADER --- */
.full-width-header {
    width: 100%;
    /* REMOVED: white-space: nowrap (This was causing the cutoff) */
    white-space: normal; 
    text-align: center;
    
    /* Pushes everything below it further down */
    margin-bottom: 60px !important; 
    
    /* Liquid Gold Style */
    font-size: clamp(35px, 4.5vw, 50px) !important;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(-45deg, #8a6d3b, #bf953f, #fcf6ba, #ffffff, #fcf6ba, #b38728);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: liquidShimmer 6s linear infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

/* --- LAYOUT ALIGNMENT --- */
.split-layout-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
}

.timeline-content {
    flex: 1.3;
    text-align: left;
}

.timeline-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.timeline-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    height: 500px;
}

/* --- BUTTONS & TEXT --- */
.edu-page-container p {
    font-size: clamp(26px, 1.8vw, 28px);
    line-height: 1.7;
    color: #e6e0ff;
    margin-bottom: 25px;
}

.location-box {
    display: inline-block;
    padding: 15px 35px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid #ffd700;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 40px;
}

.edu-btn {
    display: block;
    width: fit-content;
    padding: 20px 60px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* --- MOBILE STACKING --- */
@media (max-width: 1024px) {
    .split-layout-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .timeline-content {
        text-align: center;
    }
    .edu-btn {
        margin: 0 auto;
    }
}
/* ===== REMOVE GAP BETWEEN SECTIONS of alumini===== */

/* Remove bottom gap of first section */
.alumni-section {
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
    /* reduce if still space */
}

/* Remove top gap of second section */
.alumni-main {
    margin-top: 0 !important;
    padding-top: 40px !important;
    /* adjust tightness */
}

/* If hero section exists before alumni-main */
.alumni-hero-wrapper {
    margin-bottom: 0 !important;
}

/* Remove default gap caused by headings/containers */
h2,
h1,
p {
    margin-top: 0;
}

/* Remove unwanted white gap from body */
body {
    margin: 0;
    padding: 0;
}

/* scrolling between pages css */
/* Base hidden states */
.reveal-up,
.scroll-reveal,
.leader-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

/* The 'active' state triggered by JS */
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.scroll-reveal.active,
.leader-card.active {
    opacity: 1;
    transform: translate(0);
}

---------------------------------------scroll
/* --- SCROLL REVEAL BASE STATES --- */

/* Group all reveal types so they start invisible and slightly moved */
.reveal-up,
.scroll-reveal,
.team-item,
.leader-card,
.mmet-about-vm-card,
.alumni-hidden {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    visibility: visible !important;
}

.reveal-left {
    opacity: 0 !important;
    transform: translateX(-50px) !important;
    transition: all 0.8s ease-out !important;
}

.reveal-right {
    opacity: 0 !important;
    transform: translateX(50px) !important;
    transition: all 0.8s ease-out !important;
}

/* --- THE TRIGGER (Added by JS) --- */
.active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}