/* =========================================================
   1. GOOGLE FONTS IMPORT (Jost for Headings, Poppins for Body)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');
/* =========================================================
   2. ROOT VARIABLES SETTINGS
   ========================================================= */
:root {
    /* Define Dual Fonts */
    --mps-heading-font: 'Jost', sans-serif;
    --mps-body-font: 'Poppins', sans-serif;
}
/* =========================================================
   3. GLOBAL FONT APPLY
   ========================================================= */
/* Poppins for all normal text, buttons, links, paragraphs */
body, 
p, 
a, 
span, 
div, 
input, 
button, 
textarea, 
select, 
li {
    font-family: var(--mps-body-font) !important;
}
/* Jost exclusively for all Headings */
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-family: var(--mps-heading-font) !important;
    letter-spacing: 0.5px; /* Jost headings me slight spacing bahut achhi lagti hai */
}
/* --- Variables & Reset --- */
:root {
    --mps-blue: #2E3192;
    --mps-blue-dark: #1a1c6b;
    --mps-accent: #F5A623;
    --mps-accent-light: #ffbe4d;
    --text-color: #333333;
}
body, html {
    margin: 0; padding: 0;
    color: var(--text-color);
}
a { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
/* ========================================= */
/* --- GLOBAL RESPONSIVE FIXES --- */
/* ========================================= */
/* 1. Ensure padding and borders don't increase element width */
*, *::before, *::after {
    box-sizing: border-box !important;
}
/* 2. Lock the body and html to the screen width and hide horizontal scroll */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; /* Ye line poori website ka left-right scroll band karegi */
    margin: 0;
    padding: 0;
}
/* 3. Ensure no image ever breaks out of its container on mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* 4. Global Container padding to ensure text doesn't touch screen edges on mobile */
.container {
    width: 100%;
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}
/* Large Desktop */
@media (max-width: 1199px) {
    .container {
        padding-right: 30px;
        padding-left: 30px;
    }
}
/* Tablet */
@media (max-width: 991px) {
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }
}
/* Small Mobile */
@media (max-width: 575px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
}
/* --- Top Bar (Modern Gradient) --- */
.header-top {
    background: linear-gradient(135deg, var(--mps-blue) 0%, var(--mps-blue-dark) 100%);
    padding: 10px 0;
}
.header-top .container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1250px; margin: 0 auto; padding: 0 5px;
}
.header-top .left-info { display: flex; gap: 15px; }
/* Top Header Pill Buttons */
.top-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.top-pill i { color: var(--mps-accent); font-size: 14px; }
.top-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}
/* Parent Portal Button (Override Pill Style) */
.portal-pill {
    background: linear-gradient(135deg, var(--mps-accent) 0%, var(--mps-accent-light) 100%);
    color: var(--mps-blue-dark);
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
}
.portal-pill i { color: var(--mps-blue-dark); }
.portal-pill:hover {
    background: linear-gradient(135deg, var(--mps-accent-light) 0%, var(--mps-accent) 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.5);
}
/* =========================================================
   TOP HEADER SOCIAL ICONS
   ========================================================= */
.right-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Parent Portal aur Social Icons ke beech ka gap */
}
.header-social-links {
    display: flex;
    align-items: center;
    gap: 8px; /* Icons ke beech ka gap */
}
.header-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15); /* Halka white transparent background */
    color: #ffffff; /* Icon ka color */
    border-radius: 50%; /* Gol shape ke liye */
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.header-social-links a:hover {
    background-color: #F5A623; /* Hover par Orange color */
    color: #2E3192; /* Hover par Icon ka Blue color */
    transform: translateY(-2px); /* Hover par thoda upar uthega */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* --- Main Menu / Brand Area --- */
.main-menu {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: sticky; top: 0; z-index: 999;
}
.main-menu .container {
    display: flex; flex-direction: column;
    max-width: 1250px; margin: 0 auto; padding: 10px 10px 0 10px;
}
/* ==========================================
   BRAND AREA CONTAINER
   ========================================== */
.brand-area {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #f0f0f0; 
    padding-bottom: 10px;
}
/* ==========================================
   1. LOGO AREA (Left)
   ========================================== */
.logo-area img {
    height: 75px;
    transition: transform 0.3s ease;
}
.logo-area img:hover { 
    transform: scale(1.02); 
}
/* ==========================================
   2. CENTER BRAND TEXT (School Name & Tagline)
   ========================================== */
.mps-brand-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; /* Yeh text ko center mein proper space lene mein madad karega */
    padding: 0 15px;
}
.mps-brand-text .school-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--mps-blue, #2E3192); /* Aapke theme ka variable use kiya hai */
    margin: 0 0 4px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mps-brand-text .school-name span {
    color: #F5A623; /* MPS Orange */
}
.mps-brand-text .school-tagline {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mps-brand-text .school-tagline .divider {
    color: #F5A623;
    margin: 0 8px;
    font-weight: bold;
}
/* ==========================================
   3. BRANCH TABS (Right)
   ========================================== */
.branch-tabs { 
    display: flex; 
    gap: 12px; 
    background: #f8f9fa; 
    padding: 5px; 
    border-radius: 30px; 
}
.branch-tabs a {
    padding: 6px 20px; 
    border-radius: 25px;
    font-size: 12px; 
    font-weight: 700; 
    color: #666;
    transition: all 0.3s ease;
}
.branch-tabs a:hover { 
    color: var(--mps-blue, #2E3192); 
}
.branch-tabs a.active {
    background: linear-gradient(135deg, var(--mps-blue, #2E3192) 0%, var(--mps-blue-dark, #181958) 100%);
    color: #fff; 
    box-shadow: 0 4px 10px rgba(46, 49, 146, 0.2);
}
/* ==========================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================== */
/* Tablet */
@media (max-width: 991px) {
    .logo-area img {
        height: 55px;
    }
    .mps-brand-text .school-name {
        font-size: 18px;
    }
    .mps-brand-text .school-tagline {
        font-size: 11px;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .logo-area img {
        height: 45px;
    }
    .mps-brand-text .school-name {
        font-size: 14px;
        letter-spacing: 0px;
    }
    .mps-brand-text .school-tagline {
        font-size: 9px;
    }
    .mps-brand-text .school-tagline .divider {
        margin: 0 4px;
    }
}
/* --- Navigation Bar --- */
.nav-area { padding: 15px 0; }
/* Menu Center Aligned */
.nav-menu { display: flex; gap: 30px; justify-content: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    color: #444; font-weight: 600; font-size: 15px;
    padding: 5px 0; display: inline-flex; align-items: center;
    transition: color 0.3s ease; position: relative;
}
.nav-menu > li > a .nav-icon { font-size: 10px; margin-left: 8px; color: #999; transition: transform 0.3s ease; }
.nav-menu > li > a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--mps-accent);
    transition: width 0.3s ease;
}
.nav-menu > li:hover > a { color: var(--mps-blue); }
.nav-menu > li:hover > a .nav-icon { color: var(--mps-blue); transform: rotate(180deg); }
.nav-menu > li:hover > a::after { width: 100%; }
/* --- Dropdown CSS --- */
.dropdown-menu {
    position: absolute; top: 120%; left: 0;
    background: #fff; min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--mps-accent);
    opacity: 0; visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000; padding: 10px 0;
}
.nav-menu > li:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0); top: 100%;
}
.dropdown-menu li a {
    display: block; padding: 12px 20px;
    color: #555; font-size: 14px; font-weight: 500;
    transition: all 0.2s ease;
}
.dropdown-menu li a:hover {
    background: #f8f9fa; color: var(--mps-blue);
    padding-left: 25px;
}
/* Mobile Toggle */
.mobile-toggle { display: none; background: none; border: none; font-size: 35px; color: var(--mps-blue); cursor: pointer; }
/* Responsive View (Fixing spacing and alignment issues) */
@media (max-width: 768px) {
    /* Mobile Top Header Fixes */
    .header-top .container { flex-direction: column; gap: 12px; }
    .header-top .left-info { 
        flex-direction: row; flex-wrap: wrap; 
        justify-content: center; gap: 8px; 
    }
    .right-info{display: none !important;;}
    .brand-area { flex-wrap: wrap; border-bottom: none; }
    .branch-tabs { display: none; }
    .mobile-toggle { display: block; }
    .nav-area { display: none; width: 100%; border-top: 1px solid #eee; margin-top: 10px; }
    .nav-area.active { display: block; }
    .nav-menu { flex-direction: column; gap: 0; }
    /* Mobile Nav Link Fix (Keeps arrow next to text) */
    .nav-menu > li > a { 
        padding: 12px 10px; border-bottom: 1px solid #f5f5f5; 
        width: 100%; justify-content: flex-start; gap: 10px; 
    }
    .nav-menu > li > a .nav-icon { margin-left: 0; }
    .nav-menu > li > a::after { display: none; }
    .dropdown-menu { position: relative; box-shadow: none; border: none; display: none; opacity: 1; visibility: visible; transform: none; padding: 0; }
    .nav-menu > li.active .dropdown-menu { display: block; background: #fafafa; }
}
/* ========================================= */
/* --- HERO SLIDER SECTION --- */
/* ========================================= */
.hero-section {
    width: 100%;
    position: relative;
    background-color: #f5f5f5;
}
.heroSwiper {
    width: 100%;
    /* Ye aapki 1920x650 image ke aspect ratio ko lock kar dega */
    aspect-ratio: 1920 / 650; 
    height: auto;
}
/* Media (Image & Video) properties */
.hero-media {
    width: 100%;
    height: 100%;
    /* Container ka ratio ab image jaisa hai, isliye crop nahi hoga */
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
/* Custom Arrows */
.custom-arrow {
    color: #fff !important;
    background: rgba(46, 49, 146, 0.5); /* MPS Blue (Semi-transparent) */
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.custom-arrow:after { font-size: 16px !important; font-weight: bold; }
.custom-arrow:hover { background: var(--mps-accent); color: var(--mps-blue) !important; }
/* Custom Pagination Dots */
.swiper-pagination-bullet { background: #fff !important; opacity: 0.6 !important; }
.swiper-pagination-bullet-active { background: var(--mps-accent) !important; opacity: 1 !important; transform: scale(1.3); }
/* --- Mobile Responsiveness for Slider --- */
@media (max-width: 768px) {
    .heroSwiper {
        /* Mobile par bhi same aspect ratio maintain karega */
        aspect-ratio: 1920 / 650;
        height: auto;
        min-height: auto; /* Purani fix height hata di gayi hai */
    }
    /* Mobile par navigation arrows chhupa diye hain kyunki swipe aasan hota hai */
    .custom-arrow { display: none !important; } 
}
/* ========================================= */
/* --- WELCOME SECTION --- */
/* ========================================= */
.welcome-section {
    padding: 90px 0;
    background-color: #ffffff;
    /* Faint geometric background pattern (Inline SVG for fast loading) */
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z' fill='%23f5f6f8' fill-opacity='0.4'/%3E%3Cpath d='M0 0h120v120H0z' fill='none'/%3E%3C/svg%3E");
    background-size: 250px 250px;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}
/* "WELCOME TO" Text */
.welcome-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-main);
}
/* "Modern Public School" Text */
.welcome-title {
    font-family: 'Playfair Display', serif; /* Serif font matching the reference */
    font-size: 46px;
    color: var(--mps-blue); /* MPS Theme Blue */
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px 0;
}
/* "Bhiwadi" Text */
.welcome-highlight {
    color: var(--mps-accent); /* MPS Theme Accent */
    font-size: 40px;
    font-family: var(--font-main); /* Sans-serif to provide modern contrast */
    font-weight: 600;
}
/* Paragraph Text */
.welcome-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin: 0 auto;
    max-width: 900px;
}
/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .welcome-section { 
        padding: 60px 0; 
    }
    .welcome-title { 
        font-size: 34px; 
    }
    .welcome-highlight { 
        font-size: 30px; 
    }
    .welcome-desc { 
        font-size: 15px; 
        line-height: 1.7;
        /* Mobile par justify look better readable banata hai, but ends in center */
        text-align: justify; 
        text-align-last: center; 
    }
}
/* ========================================= */
/* --- COMBINED WELCOME & GALLERY SECTION --- */
/* ========================================= */
.combined-welcome-section {
    padding: 60px 0;
    /* Ek hi background poore section par continuous chalega */
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z' fill='%23f5f6f8' fill-opacity='0.4'/%3E%3Cpath d='M0 0h120v120H0z' fill='none'/%3E%3C/svg%3E");
    background-size: 250px 250px;
    background-position: center;
    border-bottom: 1px solid #f0f0f0;
}
/* Static Text Styles */
.welcome-content {
    max-width: 1000px;
    margin: 0 auto 50px auto; /* Gallery ke liye niche gap diya hai */
    text-align: center;
    padding: 0 15px;
}
.welcome-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: var(--mps-blue);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}
.welcome-highlight {
    color: var(--mps-accent);
    font-size: 38px;
    font-family: var(--font-main);
    font-weight: 600;
}
.welcome-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 900px;
}
/* --- Contained Gallery Wrapper (Reduced Width & Border Radius) --- */
.gallery-wrapper-contained {
    max-width: 900px; /* Width ko thoda kam aur control rakha hai */
    margin: 0 auto;
    position: relative;
    border-radius: 12px; /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 4px solid #fff;
}
.wg-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
/* Floating Content Box */
.wg-static-box {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 390px;
    background: rgba(26, 28, 107, 0.9); /* MPS Dark Blue */
    padding: 15px;
    z-index: 10;
    color: #fff;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
.wg-title {
    color: var(--mps-accent);
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin:  0;
}
.wg-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
}
/* Custom Navigation Buttons */
.wg-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.wg-prev, .wg-next {
    background: var(--mps-accent);
    color: var(--mps-blue-dark);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 4px;
}
.wg-prev:hover, .wg-next:hover {
    background: #fff;
    color: var(--mps-blue);
}
/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .combined-welcome-section { padding: 50px 0; }
    .welcome-title { font-size: 30px; }
    .welcome-highlight { font-size: 26px; }
    .welcome-desc { font-size: 14px; text-align: justify; text-align-last: center; }
    .gallery-wrapper-contained {
        border-radius: 6px;
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    .wg-image { height: 280px; }
    .wg-static-box {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        border-radius: 0;
        padding: 20px;
        background: var(--mps-blue);
    }
}
/* ========================================= */
/* --- LEADERSHIP MESSAGES (MOVING BORDER) --- */
/* ========================================= */
.mps-leadership-section {
    padding: 50px 0 50px 0;
    background-color: #fdfdfd;;
}
/* 
   THE GRID: Bypasses Bootstrap and forces 3 columns
*/
.mps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* CHANGED TO 3 COLUMNS */
    gap: 30px; /* Gap slightly reduced to fit 3 boxes perfectly */
    margin-top: 80px;
    max-width: 1400px; /* Limits max width on huge screens */
    margin-left: auto;
    margin-right: auto;
}
/* --- DYNAMIC MOVING BORDER SETUP --- */
.mps-animated-box {
    position: relative;
    border-radius: 20px;
    padding: 3px;
    display: flex;
    z-index: 1;
    transition: transform 0.3s ease;
}
.mps-animated-box:hover {
    transform: translateY(-8px);
}
.mps-moving-border {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    z-index: -1;
    background-size: 300% 300%;
    animation: moveGradient 4s ease infinite;
}
/* MPS Theme Gradients */
.blue-anim { background-image: linear-gradient(45deg, #2E3192, #6a6ef0, #2E3192, #00d2ff); }
.yellow-anim { background-image: linear-gradient(45deg, #F5A623, #ffc843, #F5A623, #ff512f); }
/* New Red Theme for 3rd Box */
.red-anim { background-image: linear-gradient(45deg, #D32F2F, #FF5252, #D32F2F, #FF8A80); }
@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- INNER CARD (White Box) --- */
.mps-inner-card {
    background-color: #ffffff;
    border-radius: 17px; 
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 70px 25px 15px 25px; /* Side padding reduced slightly to fit 3 in a row */
    text-align: center;
}
/* Floating Image */
.mps-leader-img {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px; 
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.blue-img-border { border: 3px solid #2E3192; }
.yellow-img-border { border: 3px solid #F5A623; }
.red-img-border { border: 3px solid #D32F2F; } /* Red Border */
.mps-leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* Typography & Content */
.mps-leader-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}
.watermark-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 70px;
    z-index: 0;
}
.blue-watermark { color: rgba(46, 49, 146, 0.05); }
.yellow-watermark { color: rgba(245, 166, 35, 0.08); }
.red-watermark { color: rgba(211, 47, 47, 0.05); } /* Red Watermark */
.mps-quote-text {
    font-size: 14.5px; /* Font size slightly adjusted for 3-col layout */
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    flex-grow: 0;
}
.mps-author {
    position: relative;
    z-index: 2;
    padding-top: 5px;
    border-top: 1px dashed #ddd; 
}
.mps-author h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.blue-text { color: #2E3192; }
.yellow-text { color: #F5A623; }
.red-text { color: #D32F2F; } /* Red Text */
.mps-author span {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* --- Responsive Adjustments --- */
/* Tablets and small desktops */
@media (max-width: 1199px) {
    .mps-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
        gap: 50px 30px; 
    }
}
/* Mobile Devices */
@media (max-width: 768px) {
    .mps-cards-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 80px; 
    }
}
/* ========================================= */
/* --- BLUE THEME ADMISSION SECTION --- */
/* ========================================= */
.mps-blue-admission {
    position: relative;
    padding: 50px 0;
    /* Main Background Image */
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: right center;
    background-attachment: fixed;
}
/* Primary Theme Color (Dark Blue) fading to transparent */
.mps-blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* MPS Blue: #2E3192 */
    background: linear-gradient(90deg, rgba(46, 49, 146, 1) 40%, rgba(46, 49, 146, 0.85) 60%, transparent 100%);
    z-index: 1;
}
.mps-relative-z {
    position: relative;
    z-index: 2;
}
/* Text Content Area */
.mps-adm-text-area {
    max-width: 55%;
    margin-bottom: 60px;
}
.mps-adm-subtitle {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--mps-accent); /* Yellow */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--mps-accent);
    padding-bottom: 5px;
}
/* White Title for Dark Overlay */
.mps-adm-title-white {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 35px;
}
.mps-adm-title-white span {
    color: var(--mps-accent);
    font-style: italic;
}
/* White Text List */
.mps-adm-list-white {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mps-adm-list-white li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-family: var(--font-main);
    font-size: 15.5px;
    color: #f1f5f9; /* Light slate/white */
    line-height: 1.7;
    margin-bottom: 16px;
}
.mps-adm-list-white li i {
    color: var(--mps-accent); /* Yellow checkmarks */
    font-size: 18px;
    margin-top: 4px;
}
/* --- Solid Background Rounded Cards Grid --- */
.mps-solid-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
/* Solid White Cards (No Gradient) */
.mps-solid-card {
    background-color: #ffffff;
    border-radius: 18px; /* Smooth rounded corners */
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 5px solid transparent;
}
/* Hover Effect: Lifts up and shows theme border at bottom */
.mps-solid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid var(--mps-blue);
}
/* Icon Box inside Card */
.mps-scard-icon {
    width: 65px;
    height: 65px;
    background-color: #f0f4ff; /* Light blue soft background */
    color: var(--mps-blue);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease;
}
.mps-solid-card:hover .mps-scard-icon {
    transform: scale(1.1);
    background-color: var(--mps-blue);
    color: #ffffff;
}
.mps-solid-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}
/* Special Apply Now Card (Solid Accent Color - No Gradient) */
.mps-scard-accent {
    background-color: var(--mps-accent); /* Solid Theme Yellow/Orange */
    color: var(--mps-blue);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
}
.mps-scard-accent:hover {
    border-bottom: 5px solid var(--mps-blue);
}
.mps-scard-accent .mps-scard-icon-white {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--mps-blue);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease;
}
.mps-scard-accent:hover .mps-scard-icon-white {
    transform: scale(1.1);
    background-color: var(--mps-blue);
    color: #ffffff;
}
.mps-scard-accent h4 {
    color: var(--mps-blue);
}
/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .mps-adm-text-area {
        max-width: 70%;
    }
}
@media (max-width: 992px) {
    .mps-blue-overlay {
        /* Solid blue overlay on mobile for full readability */
        background: rgba(46, 49, 146, 0.95); 
    }
    .mps-adm-text-area {
        max-width: 100%;
    }
    .mps-solid-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .mps-solid-cards-grid {
        grid-template-columns: 1fr;
    }
    .mps-adm-title-white {
        font-size: 34px;
    }
}
/* ========================================= */
/* --- REDESIGNED CALL TO ACTION --- */
/* ========================================= */
.mps-premium-cta {
    position: relative;
    padding: 50px 0;
    /* Parallax Background Image */
    background-image: url('../images/breadcrumb-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    text-align: center;
}
/* Deep Blue Gradient Overlay for Premium Depth */
.mps-cta-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Blue fading into an even darker navy blue */
    background: linear-gradient(135deg, rgba(26, 28, 107, 0.95) 0%, rgba(15, 17, 66, 0.9) 100%);
    z-index: 1;
}
/* --- Creative Floating Background Elements --- */
.cta-circle-1, .cta-circle-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}
.cta-circle-1 {
    width: 350px;
    height: 350px;
    top: -120px;
    left: -100px;
    border: 2px dashed rgba(245, 166, 35, 0.2); /* Accent color dashed border */
    animation: rotateSlow 25s linear infinite;
}
.cta-circle-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -50px;
    background: rgba(255, 255, 255, 0.03);
}
@keyframes rotateSlow {
    100% { transform: rotate(360deg); }
}
/* --- Content Wrapper --- */
.mps-cta-content-wrapper {
    max-width: 850px;
    margin: 0 auto;
}
/* Typography & Layout */
.cta-subtitle {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--mps-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}
.cta-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}
/* Highlight the number 30,000 creatively */
.cta-main-title span {
    color: var(--mps-accent);
    font-style: italic;
}
.cta-divider {
    width: 80px;
    height: 4px;
    background: var(--mps-accent);
    margin: 20px auto 10px auto;
    border-radius: 2px;
}
.cta-description {
    font-family: var(--font-main);
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 15px;
}
/* --- Gradient Button Enhancements (Pulse Effect) --- */
.cta-pulse-btn {
    padding: 18px 45px;
    font-size: 18px;
    /* Adding a continuous glowing pulse animation */
    animation: shadowPulse 2s infinite;
}
@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(245, 166, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}
/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .mps-premium-cta {
        padding: 80px 0;
        background-attachment: scroll; /* Scroll instead of parallax for smooth mobile UI */
    }
    .cta-main-title {
        font-size: 36px;
    }
    .cta-description {
        font-size: 16px;
    }
    .cta-pulse-btn {
        padding: 15px 35px;
        font-size: 16px;
    }
    .cta-circle-1, .cta-circle-2 {
        display: none; /* Hide background shapes on mobile to keep it clean */
    }
}
/* ========================================= */
/* --- AWARDS & ACCOLADES (STRICTLY 5 SLIDES) --- */
/* ========================================= */
.mps-awards-section {
    background-color: #fdfdfd;
    padding: 40px 0 40px 0;
    overflow: hidden;
}
.awards-swiper {
    width: 100%;
    /* Max-width container ko limit karega taaki design bahut badi screens par faile nahi */
    max-width: 1300px; 
    margin: 0 auto;
    padding: 50px 0; 
}
/* Slide Card */
.award-slide {
    aspect-ratio: 1 / 1.4; 
    height: auto;
    background: linear-gradient(135deg, #b8860b, #ffd700, #f5e6a3, #ffd700, #b8860b);
    padding: 6px; 
    border-radius: 4px;
    box-shadow: none !important; 
    box-sizing: border-box;
    /* MAGIC FIX: By default saari extra slides hidden rahengi */
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
/* MAGIC FIX: Jo 5 slides focus me hain, sirf wahi visible hongi */
.award-slide.swiper-slide-visible {
    opacity: 1 !important;
    visibility: visible;
}
.award-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff; 
}
@media (max-width: 768px) {
    .mps-awards-section h2 { font-size: 28px !important; }
}
/* ========================================= */
/* --- CREATIVE FAQ SECTION --- */
/* ========================================= */
.mps-creative-faq {
    position: relative;
    padding: 50px 0;
    /* Background Image */
    background-image: url('https://mps.laptopsservice.center/uploads/sliders/1785931737.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Theme Color Overlay */
.mps-faq-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(26 28 107 / 85%); /* MPS Deep Blue with 92% opacity */
    z-index: 1;
}
.mps-relative-z {
    position: relative;
    z-index: 2;
}
.mps-faq-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}
/* Typography matching upper sections */
.mps-faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}
.mps-faq-subtitle {
    font-family: var(--font-main);
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 90%;
}
/* Creative Accordion */
.mps-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
.mps-accordion-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-left: 4px solid transparent;
}
.mps-accordion-item.active {
    /* Theme accent color on active left border */
    border-left: 4px solid var(--mps-accent); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transform: translateX(5px);
}
.mps-accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 17px;
    font-weight: 700;
    color: var(--mps-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}
.mps-accordion-header i {
    color: var(--mps-accent);
    background: rgba(26, 28, 107, 0.05);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.4s ease, background 0.3s;
}
.mps-accordion-item.active .mps-accordion-header i {
    transform: rotate(45deg); /* Turns Plus into Cross (X) */
    background: var(--mps-accent);
    color: var(--mps-blue);
}
.mps-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8fafc;
}
.mps-accordion-item.active .mps-accordion-body {
    padding: 0 25px 22px 25px;
}
.mps-accordion-body p {
    margin: 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}
/* Gradient Button with Drop Shadow */
.mps-gradient-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #F5A623, #ff7b00); /* MPS Yellow to Orange Gradient */
    color: #ffffff;
    font-weight: 700;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.4); /* Strong Drop Shadow */
    transition: all 0.4s ease;
}
.mps-gradient-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(245, 166, 35, 0.6);
    color: #ffffff;
}
.mps-gradient-btn i {
    transition: transform 0.3s ease;
}
.mps-gradient-btn:hover i {
    transform: translateX(5px);
}
/* Right Side Creative Image Frame */
.mps-creative-image-box {
    position: relative;
    padding: 20px 20px 0 0;
}
/* Background staggered frame */
.mps-img-frame-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 90%;
    border: 4px solid var(--mps-accent);
    border-radius: 12px;
    z-index: 1;
    transform: translate(15px, -15px);
}
.mps-faq-featured-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
/* Floating Badge on Image */
.mps-img-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #F5A623, #ff7b00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #fff;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 4px solid #fff;
}
/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .mps-faq-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .mps-creative-image-box {
        max-width: 85%;
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .mps-faq-title {
        font-size: 32px;
    }
    .mps-creative-image-box {
        max-width: 100%;
        padding: 10px 10px 0 0;
    }
    .mps-img-frame-back {
        transform: translate(10px, -10px);
    }
    .mps-faq-featured-img {
        height: 350px;
    }
    .mps-accordion-header {
        font-size: 15px;
        padding: 18px 20px;
    }
}
/* ========================================= */
/* --- STUDENTS SPEAK (PERFECT ALIGNMENT) --- */
/* ========================================= */
.mps-student-speak-section {
    padding: 50px 0;
    background-color: #fdfdfd;
}
/* Centered Header CSS */
.mps-heading {
    display: block;
    text-align: center;
    width: 100%;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #2E3192;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}
.mps-heading span { color: #F5A623; }
.mps-hr-center {
    width: 60px;
    height: 3px;
    background-color: #F5A623;
    border: none;
    margin: 0 auto;
    opacity: 1;
}
.mps-para {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    max-width: 850px;
    margin: 15px auto 0 auto;
    text-align: center;
    padding-bottom: 30px;
}
/* 
   MAGIC FIX FOR IMAGE CUT-OFF: 
   Ye bottom padding Owl Carousel ke 'overflow: hidden' ko override karti hai 
   jisse aadhi bahar nikli hui image container ke andar hi fit ho jati hai.
*/
.mps-slide-item {
    padding-top: 70px;
    padding-bottom: 70px; /* Important for image */
    padding-left: 10px;
    padding-right: 10px;
}
/* --- Card Base Styling --- */
.testi-card {
    background-color: #2E3192; /* Side Blue */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px 45px 20px;
    text-align: center;
    position: relative;
    transition: all 0.5s ease;
    height: 100%;
    min-height: 280px;
}
/* --- CENTER ACTIVE CARD --- */
.owl-item.center .testi-card {
    background-color: #F5A623; /* Center Yellow */
    color: #2E3192;
    transform: scale(1.10) translateY(-15px)!important;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.15);*/
    z-index: 10;
}
/* Side Cards scaling down automatically avoids text squishing */
.owl-item:not(.center) .testi-card {
    transform: scale(0.9);
    opacity: 0.9;
}
/* Inner Text Styling */
.quote-icon { font-size: 26px; margin-bottom: 15px; color: rgba(255,255,255,0.2); }
.owl-item.center .testi-card .quote-icon { color: rgba(46,49,146,0.2); }
.testi-msg { font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.testi-name { font-size: 18px; font-weight: 700; margin: 0; }
.testi-desig { font-size: 13px; font-weight: 600; display: block; margin-top: 5px; }
/* Floating Image */
.testi-card .student-img {
    width: 85px !important;
    height: 85px !important;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    position: absolute;
    bottom: -40px; /* Half image bahar */
    left: 50%;
    transform: translateX(-50%);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.2);*/
    transition: all 0.5s ease;
}
.owl-item.center .testi-card .student-img {
    width: 100px !important;
    height: 100px !important;
    bottom: -60px;
    border-width: 5px;
}
/* --- OWL DOTS (Yellow MPS Theme) --- */
.testimonialsSlider .owl-dots {
    text-align: center;
    margin-top: 20px;
}
.testimonialsSlider .owl-dot span {
    width: 12px;
    height: 12px;
    background: transparent !important;
    border: 2px solid #F5A623;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.testimonialsSlider .owl-dot.active span {
    background: #F5A623 !important;
    transform: scale(1.2);
}
/* ========================================= */
/* --- OUR ACHIEVERS (PREMIUM RECTANGLE) --- */
/* ========================================= */
.mps-achievers-section {
    padding: 40px 0;
    background-color: #fdfdfd;
}
.achievers-swiper {
    padding: 20px 0 20px 0;
}
/* Premium Card Design */
.premium-achiever-card {
    background: #ffffff;
    border-radius: 16px; /* Smooth card corners */
    padding: 15px 15px 15px 15px; /* Inner spacing */
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #f0f0f0;
}
.premium-achiever-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(46, 49, 146, 0.15); /* Blue hover shadow */
}
/* --- RECTANGLE IMAGE WITH GOLDEN BORDER --- */
.achiever-img-rect {
    width: 100%;
    
    border-radius: 12px; /* Radius with golden border */
    /* border: 4px solid #D4AF37;  */
    overflow: hidden;
    /* margin-bottom: 25px; */
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}
.achiever-img-rect img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.6s ease;
}
.premium-achiever-card:hover .achiever-img-rect img {
    transform: scale(1.08); /* Slight zoom on hover */
}
/* Typography */
.achiever-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 5px;
}
.achiever-class {
    display: block;
    font-size: 15px;
    color: #777;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* --- GOLDEN GRADIENT PERCENTAGE BUTTON --- */
.achiever-score-btn {
    background: linear-gradient(135deg, #b8860b, #ffd700, #f5e6a3, #ffd700);
    background-size: 200% auto;
    color: #2E3192; /* Dark blue text for contrast */
    display: inline-block;
    padding: 0px 35px;
    border-radius: 50px; /* Button / Pill shape */
    font-weight: 900;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4); /* Golden glow */
    transition: all 0.4s ease;
}
.premium-achiever-card:hover .achiever-score-btn {
    background-position: right center; /* Gradient flow animation */
    transform: scale(1.05);
}
.percent-sign {
    font-size: 20px;
    margin-left: 2px;
}
/* Pagination Dots */
.achievers-swiper .swiper-pagination-bullet { background: #bbb; opacity: 1; }
.achievers-swiper .swiper-pagination-bullet-active { background: #2E3192; width: 30px; border-radius: 10px; }
/* ========================================= */
/* --- FUN FACTS (MODERN & ENGAGING) --- */
/* ========================================= */
.mps-fun-facts-section {
    background: #2E3192; /* Solid MPS Blue */
    padding: 30px 0 30px 0; /* Top padding extra for floating icons */
    position: relative;
}
/* FORCES 4 COLUMNS IN ONE ROW ON DESKTOP */
.fun-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding-top:60px;
}
/* Modern Minimal Card */
.fun-fact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgb(245 166 35); /* Subtle golden border */
    border-radius: 16px;
    padding: 20px 20px 20px 20px; /* Space for floating icon */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy smooth transition */
    margin-top: 40px; /* Essential for floating icon */
}
/* The Floating Engaging Icon */
.fact-icon-float {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #F5A623, #ffc843);
    border: 8px solid #ffffff; /* Matches background to look cut out */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #2E3192;
    transition: all 0.4s ease;
    z-index: 2;
}
/* Hover Animations */
.fun-fact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #F5A623;
    transform: translateY(-12px); /* Lifts up */
    box-shadow: 0 15px 40px rgba(0,0,0,0.2), inset 0 -4px 0 #F5A623; /* Golden bottom lip */
}
.fun-fact-card:hover .fact-icon-float {
    color: #ffffff;
    animation: pulse-glow 1.5s infinite; /* Engaging pulse */
    transform: translateX(-50%) scale(1.1);
}
/* Pulse Keyframe */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(245, 166, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}
/* Typography */
.fact-number {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1;
}
.fact-label {
    font-size: 15px;
    font-weight: 600;
    color: #e9ecf0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}
/* Responsiveness */
@media (max-width: 992px) {
    .fun-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
    .mps-fun-facts-section { padding-top: 60px; }
}
@media (max-width: 576px) {
    .fun-facts-grid { grid-template-columns: 1fr; gap: 30px; }
    .fact-number { font-size: 42px; }
}
/* ========================================= */
/* --- CONTACT PAGE (PURE CUSTOM CSS) --- */
/* ========================================= */
.text-blue { color: #2E3192; }
.text-golden { color: #F5A623; }
.required { color: #e74c3c; }
.position-relative { position: relative; }
.z-index-1 { z-index: 1; }
/* Custom Container (Replaces Bootstrap .container) */
.mps-custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* 1. Breadcrumb Styling */
.mps-breadcrumb-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2E3192; 
    padding: 70px 0;
}
.breadcrumb-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgb(46 49 146 / 70%);
}
.breadcrumb-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.breadcrumb-title {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 800;
    color: #ffffff; /* Explicitly White */
    margin: 0 0 15px 0;
    text-transform: capitalize;
}
.breadcrumb-links {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}
.breadcrumb-links a { color: #ffffff; text-decoration: none; font-weight: 600; transition: 0.3s; }
.breadcrumb-links a:hover { color: #F5A623; }
.current-page { color: #F5A623; font-weight: 700; }
.mx-icon { margin: 0 10px; color: #F5A623; font-size: 12px; }
/* 2. Contact Main Section */
.mps-contact-page {
    padding: 50px 0 50px 0;
    background-color: #fcfcfc;
}
.contact-intro-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.contact-intro-box h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800; 
    font-size: 38px;
    margin-bottom: 15px;
}
.intro-desc {
    color: #666;
    font-size: 16px; 
    line-height: 1.8;
}
/* --- THE MAIN CUSTOM GRID (Left & Right) --- */
.mps-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr; /* Left gets 1 part, Right gets 1.8 parts */
    gap: 40px;
    align-items: stretch;
}
/* Left Column: Info */
.contact-info-wrapper {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%; /* Match height with form */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modern-info-card {
    display: flex;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px dashed #e0e0e0;
    transition: transform 0.3s ease;
}
.modern-info-card.no-border { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.modern-info-card:hover { transform: translateX(8px); }
.icon-circle {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #2E3192, #474adb);
    color: #ffffff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 22px;
    margin-right: 20px; flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(46, 49, 146, 0.2);
    transition: 0.3s;
}
.modern-info-card:hover .icon-circle {
    background: linear-gradient(135deg, #F5A623, #ffc843);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.4);
}
.info-text h4 { font-size: 18px; font-weight: 700; color: #2E3192; margin: 0 0 5px 0; }
.info-text p, .info-text a { color: #666; margin: 0; line-height: 1.5; text-decoration: none; font-size: 15px; transition: 0.3s;}
.info-text a:hover { color: #F5A623; }
/* Right Column: Form */
.creative-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(46, 49, 146, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.creative-form-box::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, #F5A623, #2E3192);
}
.form-title { font-size: 26px; font-weight: 800; color: #2E3192; margin: 0 0 30px 0; }
/* Custom CSS Grid for Form Inputs */
.mps-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.full-width { grid-column: span 2; }
.mps-form-label { font-weight: 600; color: #444; font-size: 14px; margin-bottom: 8px; display: block; }
.mps-creative-input {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px; 
    padding: 14px 20px;
    font-size: 15px; color: #333;
    transition: all 0.3s ease;
    resize: none;
    box-sizing: border-box;
    font-family: inherit;
}
.mps-creative-input:focus {
    background: #ffffff;
    border-color: #F5A623;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
    outline: none;
}
.mps-creative-btn {
    background: #2E3192; color: #ffffff; border: none;
    padding: 15px 35px; font-size: 16px; font-weight: 700;
    border-radius: 50px; cursor: pointer; transition: all 0.4s ease;
    display: inline-block;
}
.mps-creative-btn:hover {
    background: #F5A623; color: #2E3192;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3);
}
.ml-icon { margin-left: 10px; }
/* 4. Map Section */
.mps-map-section { padding-bottom: 60px; background-color: #fcfcfc;}
.map-wrapper {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 5px solid #ffffff;
    line-height: 0;
}
/* Custom Responsive Rules */
@media (max-width: 992px) {
    .mps-contact-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .breadcrumb-title { font-size: 36px; }
    .mps-form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .creative-form-box { padding: 30px 20px; }
    .mps-creative-btn { width: 100%; }
}
/* ========================================= */
/* --- FOOTER SECTION (MODERN & CREATIVE) --- */
/* ========================================= */
.mps-footer-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    background-color: #1a1c5b; /* Dark fallback */
    color: #e0e0e0;
    padding-top: 40px;
}
.footer-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 17, 60, 0.92); /* Deep dark blue overlay */
}
/* Main 4-Column Grid */
.footer-main-grid {
    display: grid;
    /* Ratio: Slightly more space for Logo and Map, less for Links */
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr; 
    gap: 40px;
    padding-bottom: 30px;
}
/* Widgets Styling */
.footer-widget {
    display: flex;
    flex-direction: column;
}
.footer-logo {
    max-width:280px;
    margin-bottom: 10px;
    /* filter: brightness(0) invert(1);  */
    background: #ffffff;
    border-radius: 5px;
}
.footer-about-text {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}
/* --- UPDATED FOOTER CONTACT LIST WITH HOVER CIRCLES --- */
.footer-contact-list {
    list-style: none; padding: 0; margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    cursor: pointer;
}
/* The Icon Circle */
.footer-icon-circle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-icon-circle i {
    color: #F5A623;
    font-size: 13px;
    transition: all 0.4s ease;
}
.footer-contact-list a {
    color: #e0e0e0; text-decoration: none; transition: 0.3s;
}
/* Hover Effects for Contact List */
.footer-contact-list li:hover .footer-icon-circle {
    background: #F5A623;
    border-color: #F5A623;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.4);
}
.footer-contact-list li:hover .footer-icon-circle i {
    color: #2E3192; /* Blue icon on golden circle */
}
.footer-contact-list li:hover a, 
.footer-contact-list li:hover span {
    color: #F5A623;
}
/* --- SOCIAL MEDIA ICONS --- */
.footer-social-icons {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}
.footer-social-icons a {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #2E3192, #474adb);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* Social Media Hover Effect */
.footer-social-icons a:hover {
    background: linear-gradient(135deg, #F5A623, #ffc843);
    color: #2E3192;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.5);
}
/* Titles */
.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 50px; height: 3px;
    background: #F5A623;
    border-radius: 5px;
}
/* Links List */
.footer-links {
    list-style: none; padding: 0; margin: 0;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.footer-links i {
    font-size: 12px;
    color: #F5A623;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #F5A623;
    transform: translateX(5px);
}
/* Map Embed */
.footer-map-box {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    line-height: 0;
}
/* --- FOOTER BOTTOM BAR --- */
.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}
/* Bottom Grid (Left, Center, Right) */
.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    font-size: 14px;
    color: #aaaaaa;
}
.footer-bottom-grid p { margin: 0; }
.footer-bottom-grid strong { color: #ffffff; }
.designer-link {
    color: #F5A623;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.designer-link:hover { color: #ffffff; }
.policy-box a {
    color: #aaaaaa;
    text-decoration: none;
    transition: 0.3s;
}
.policy-box a:hover { color: #F5A623; }
.text-left { text-align: left; }
.text-center { text-align: center; margin:0; }
.text-right { text-align: right; }
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-main-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-grid { grid-template-columns: 1fr; text-align: center; gap: 15px; }
    .text-left, .text-right { text-align: center; }
}
@media (max-width: 576px) {
    .footer-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-map-box iframe { height: 250px; }
}
/* =========================================================
   MPS PHOTO GALLERY (PREMIUM HOVER STYLE)
   ========================================================= */
.mps-gallery-section {
    padding: 80px 0;
    background-color: #ffffff; /* Clean white background */
}
/* Grid - Desktop pe 3 Box jaise image me hai */
.mps-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* Gallery Box */
.mps-gallery-card {
    border-radius: 8px; /* Smooth Corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* Smooth Shadow */
    overflow: hidden;
    position: relative;
    height: 280px; /* Fixed height for uniformity */
    transition: box-shadow 0.3s ease;
}
.mps-gallery-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.mps-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
/* Image Setup */
.mps-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mps-gallery-card:hover .mps-gallery-img {
    transform: scale(1.05); /* Slight zoom on hover */
}
/* =========================================
   Purple Hover Overlay
   ========================================= */
.mps-gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(126, 50, 148, 0.85); /* Screenshot jaisa exact Purple */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mps-gallery-card:hover .mps-gallery-overlay {
    opacity: 1;
}
/* Hover Content Positioning */
.mps-gallery-hover-content {
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    padding: 20px;
}
.mps-gallery-card:hover .mps-gallery-hover-content {
    transform: translateY(0);
}
/* Expand Icon Circular Style */
.mps-hover-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
}
/* Text Area Style */
.mps-hover-text {
    text-align: left;
}
.mps-hover-text h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}
.mps-hover-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}
/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 991px) {
    .mps-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .mps-gallery-section {
        padding: 60px 0;
    }
    .mps-gallery-card {
        height: 250px;
    }
}
@media (max-width: 767px) {
    .mps-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin: 0 auto;
    }
    .mps-gallery-section {
        padding: 50px 0;
    }
    .mps-gallery-card {
        height: 220px;
    }
}
/* =========================================================
   FANCYBOX 5 CUSTOM UI STYLING
   ========================================================= */
/* 1. Dark Background for the whole Fancybox */
.fancybox__container {
    --fancybox-bg: rgba(30, 30, 30, 0.95); /* Thoda dark premium background */
}
/* 2. Top & Bottom Gap for Main Image */
.fancybox__viewport {
    padding-top: 60px !important; /* Upar se gap */
    padding-bottom: 140px !important; /* Niche se gap thumbnails ke liye */
}
/* 3. Close Button (Top Right) - Red Background */
.fancybox__toolbar .f-button[data-fancybox-close] {
    background-color: #e74c3c !important; /* Red Color */
    color: #ffffff !important;
    border-radius: 4px !important;
    margin: 15px 20px !important;
    opacity: 1 !important;
    transition: background-color 0.3s ease;
}
.fancybox__toolbar .f-button[data-fancybox-close]:hover {
    background-color: #c0392b !important; /* Darker red on hover */
}
/* 4. Next & Previous Buttons - Box ke paas dono side (Right & Left) */
.fancybox__container .f-button.is-prev,
.fancybox__container .f-button.is-next {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-radius: 4px !important;
    width: 45px !important;
    height: 60px !important;
    opacity: 0.9 !important;
    position: absolute !important;
    top: 45% !important; /* Center se thoda upar adjust */
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
    display: flex !important;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.fancybox__container .f-button.is-prev:hover,
.fancybox__container .f-button.is-next:hover {
    background-color: #f0f0f0 !important;
    opacity: 1 !important;
}
/* Image (Box) ke paas laane ke liye screen ke edges se gap (percentage me) */
.fancybox__container .f-button.is-prev {
    left: 8% !important; /* Left edge se andar ki taraf */
}
.fancybox__container .f-button.is-next {
    right: 8% !important; /* Right edge se andar ki taraf */
}
/* Mobile Screen Par Edges ke paas kar denge taaki image cover na ho */
@media (max-width: 768px) {
    .fancybox__container .f-button.is-prev { left: 2% !important; }
    .fancybox__container .f-button.is-next { right: 2% !important; }
}
/* 5. Center Thumbnails at the Bottom */
.f-thumbs.is-classic {
    position: absolute !important;
    bottom: 25px !important; /* Niche se gap */
    width: 100% !important;
}
.f-thumbs__track {
    display: flex !important;
    justify-content: center !important; /* Center alignment */
    margin: 0 auto !important;
    transform: none !important; /* Removes default slide behavior if images are less */
}
/* Thumbnail Images Styling */
.f-thumbs__slide {
    padding: 0 5px !important; /* Thumbnails ke beech gap */
}
.f-thumbs__slide__button {
    border-radius: 4px !important;
    overflow: hidden !important;
}
/* Highlight Active Thumbnail with Theme Color */
.f-thumbs__slide.is-nav-selected .f-thumbs__slide__button::after {
    border: 3px solid #F5A623 !important; /* Orange border for active thumbnail */
}
/* ========================================= */
/* VIDEO GALLERY CUSTOM STYLING              */
/* ========================================= */
.mps-video-gallery-section {
    position: relative;
    padding: 50px 0 50px;
    background: #f7f9fc;
    overflow: hidden;
}
.mps-video-gallery-section::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    top: -150px;
    right: -120px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.06);
    pointer-events: none;
}
.mps-video-gallery-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -120px;
    border-radius: 50%;
    background: rgba(12, 35, 64, 0.04);
    pointer-events: none;
}
/* =========================================================
   SECTION HEADING
   ========================================================= */
.mps-video-gallery-heading {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}
.mps-video-gallery-heading-left {
    max-width: 750px;
}
.mps-video-gallery-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #f5a623;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}
.mps-video-gallery-line {
    display: inline-block;
    width: 35px;
    height: 2px;
    background: #f5a623;
}
.mps-video-gallery-heading h2 {
    margin: 0 0 14px;
    color: #102a43;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
}
.mps-video-gallery-heading h2 span {
    color: #f5a623;
}
.mps-video-gallery-heading p {
    max-width: 680px;
    margin: 0;
    color: #68788a;
    font-size: 16px;
    line-height: 1.8;
}
/* =========================================================
   VIDEO GRID (3 Boxes per row)
   ========================================================= */
.mps-video-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
/* =========================================================
   VIDEO CARD
   ========================================================= */
.mps-video-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(16, 42, 67, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mps-video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 20px 45px rgba(16, 42, 67, 0.13);
}
/* =========================================================
   VIDEO PLAYER
   ========================================================= */
.mps-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b1726;
    overflow: hidden;
}
.mps-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* =========================================================
   VIDEO NUMBER
   ========================================================= */
.mps-video-number {
    position: absolute;
    top: 14px;
    left: 14px;
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(12, 35, 64, 0.88);
    backdrop-filter: blur(7px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
}
/* =========================================================
   CARD CONTENT
   ========================================================= */
.mps-video-card-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}
.mps-video-card-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.12);
    color: #f5a623;
    font-size: 14px;
    transition: all 0.3s ease;
}
.mps-video-card:hover .mps-video-card-icon {
    background: #f5a623;
    color: #ffffff;
}
.mps-video-card-info {
    min-width: 0;
}
.mps-video-card-label {
    display: block;
    margin-bottom: 4px;
    color: #8a98a8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.mps-video-card-info h3 {
    margin: 0;
    color: #102a43;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}
/* =========================================================
   EMPTY STATE
   ========================================================= */
.mps-video-empty {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 20px auto 0;
    padding: 65px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(16, 42, 67, 0.06);
}
.mps-video-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.10);
    color: #f5a623;
    font-size: 30px;
}
.mps-video-empty h3 {
    margin: 0 0 8px;
    color: #102a43;
    font-size: 25px;
    font-weight: 700;
}
.mps-video-empty p {
    margin: 0 auto 25px;
    color: #7b8998;
    font-size: 15px;
    line-height: 1.7;
}
.mps-video-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 8px;
    background: #102a43;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.mps-video-empty-btn:hover {
    background: #f5a623;
    color: #ffffff;
}
/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 1199px) {
    .mps-video-gallery-section {
        padding: 55px 0 85px;
    }
    .mps-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
}
@media (max-width: 991px) {
    .mps-video-gallery-section {
        padding: 50px 0 75px;
    }
    .mps-video-gallery-heading {
        margin-bottom: 35px;
    }
    .mps-video-gallery-heading p {
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    .mps-video-gallery-section {
        padding: 40px 0 65px;
    }
    .mps-video-gallery-heading {
        margin-bottom: 30px;
    }
    .mps-video-gallery-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .mps-video-gallery-line {
        width: 25px;
    }
    .mps-video-gallery-heading h2 {
        font-size: 32px;
    }
    .mps-video-gallery-heading p {
        font-size: 14px;
        line-height: 1.7;
    }
    .mps-video-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .mps-video-card {
        border-radius: 14px;
    }
    .mps-video-card-content {
        padding: 16px;
    }
}
@media (max-width: 480px) {
    .mps-video-gallery-section {
        padding: 35px 0 55px;
    }
    .mps-video-gallery-heading h2 {
        font-size: 28px;
    }
    .mps-video-gallery-heading p {
        font-size: 13px;
    }
    .mps-video-grid {
        gap: 18px;
    }
    .mps-video-card-content {
        gap: 11px;
        padding: 14px;
    }
    .mps-video-card-icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
    .mps-video-card-label {
        font-size: 9px;
    }
    .mps-video-card-info h3 {
        font-size: 14px;
    }
    .mps-video-number {
        top: 10px;
        left: 10px;
        min-width: 38px;
        height: 30px;
        font-size: 10px;
    }
    .mps-video-empty {
        padding: 45px 20px;
    }
    .mps-video-empty-icon {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }
    .mps-video-empty h3 {
        font-size: 21px;
    }
}
/* =========================================================
   INFRASTRUCTURE PAGE - PREMIUM GRID (CUSTOM CSS)
   ========================================================= */
.mps-infra-section {
    padding: 40px 0;
    background-color: #f4f7fc; /* Soft background to highlight cards */
}
/* 4-Column Grid Layout */
.mps-infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px; 
    padding: 20px 0;
}
/* =======================================
   THE "STROKE BOX BEHIND" LOGIC
   ======================================= */
.mps-infra-card-wrap {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
}
/* Pseudo-element for the stroke/border behind the card */
.mps-infra-card-wrap::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 100%;
    height: 100%;
    border: 2px dashed #F5A623; /* MPS Orange Dashed Stroke */
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s ease;
    box-sizing: border-box;
}
/* Hover Effect on the stroke */
.mps-infra-card-wrap:hover::before {
    border: 2px solid #2E3192; /* Solid MPS Blue on hover */
    top: 12px;
    left: 12px;
}
/* =======================================
   MAIN CARD DESIGN
   ======================================= */
.mps-infra-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 20px; /* Smooth rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    overflow: hidden; /* Keeps image inside rounded corners */
}
/* Image Box Styling */
.mps-infra-img-box {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.mps-infra-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Content (Title & Desc) Styling */
.mps-infra-content {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.mps-infra-title {
    font-size: 20px;
    font-weight: 800;
    color: #2E3192; /* MPS Blue */
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
}
.mps-infra-desc {
    font-size: 14.5px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}
/* =======================================
   HOVER EFFECTS
   ======================================= */
.mps-infra-card-wrap:hover .mps-infra-card {
    transform: translate(6px, 6px); /* Card pushes down to meet the stroke */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.mps-infra-card-wrap:hover .mps-infra-img-box img {
    transform: scale(1.08); /* Smooth image zoom */
}
.mps-infra-card-wrap:hover .mps-infra-title {
    color: #F5A623; /* Title turns Orange on hover */
}
/* =======================================
   EMPTY STATE STYLING
   ======================================= */
.mps-infra-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #ccc;
    color: #888;
}
.mps-infra-empty i {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 15px;
}
/* =========================================================
   RESPONSIVE LAYOUT (Mobile & Tablet)
   ========================================================= */
/* Tablet View (2 Columns) */
@media (max-width: 991px) {
    .mps-infra-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}
/* Mobile View (1 Column) */
@media (max-width: 767px) {
    .mps-infra-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
/* =========================================================
   ADHARSHILA SECTION - CUSTOM RESPONSIVE CSS
   ========================================================= */
/* Main Section & Overlay */
.mps-adh-section {
    position: relative;
    padding: 40px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.mps-adh-overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(26 28 107 / 85%); /* MPS Blue with Opacity */
    backdrop-filter: blur(2px);
    z-index: 1;
}
.mps-adh-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
/* Flexbox Row (For 2 Columns) */
.mps-adh-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}
/* Left & Right Columns (50% - 50%) */
.mps-adh-left, 
.mps-adh-right {
    flex: 1;
    min-width: 300px;
}
/* --- LEFT: SLIDER CSS --- */
.mpsAdhSwiper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 4 / 3;
}
.mpsAdhSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Slider Pagination (Pill Shape) */
.mpsAdhSwiper .swiper-pagination {
    bottom: 15px !important;
}
.mpsAdhSwiper .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5;
    width: 8px; height: 8px;
    transition: all 0.3s ease;
}
.mpsAdhSwiper .swiper-pagination-bullet-active {
    background: #F5A623 !important;
    opacity: 1;
    width: 25px;
    border-radius: 4px;
}
/* --- RIGHT: CONTENT CSS --- */
.mps-adh-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #F5A623;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}
.mps-adh-heading {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}
.mps-adh-heading span {
    color: #F5A623;
}
.mps-adh-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 15px;
}
/* Key Features Grid */
.mps-adh-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}
.mps-adh-feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #F5A623;
    transition: all 0.3s ease;
}
.mps-adh-feature-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}
.feature-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.feature-head i {
    color: #F5A623;
    font-size: 20px;
}
.feature-head h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.mps-adh-feature-box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
/* Gradient Button */
.mps-adh-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to right, #F5A623, #ff6a00);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
    transition: all 0.3s ease;
}
.mps-adh-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.5);
    color: #ffffff;
}
/* =========================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================= */
@media (max-width: 991px) {
    .mps-adh-row {
        flex-direction: column; /* Stack vertically */
        gap: 30px;
    }
    .mps-adh-left {
        width: 100%;
        max-width: 700px;
        order: -1; /* Slider hamesha upar aayega mobile par */
    }
    .mps-adh-heading {
        font-size: 34px;
    }
}
@media (max-width: 767px) {
    .mps-adh-section {
        padding: 60px 0;
    }
    .mps-adh-features {
        grid-template-columns: 1fr; /* Mobile par features ek ke neeche ek aayenge */
    }
    .mps-adh-heading {
        font-size: 28px;
    }
}
/* Hero Slider Smooth Zoom Effect */
.heroSwiper .swiper-slide img {
    transition: transform 7s ease-in-out !important; /* 7 seconds tak dhire-dhire zoom hoga */
    transform: scale(1);
}
.heroSwiper .swiper-slide-active img {
    transform: scale(1.08) !important; /* Active hone par 8% zoom ho jayega */
}
/* =========================================================
   CURRICULUM PAGE - BOX BEHIND BOX DESIGN (CUSTOM CSS)
   ========================================================= */
.mps-curriculum-section {
    padding: 40px 0;
    background-color: #f4f7fc; /* Soft background so white cards pop */
}
/* Grid Layout */
.mps-curr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px; /* Thoda zyada gap taki peeche wala box clearly dikhe */
    padding: 20px 0;
}
/* =======================================
   THE "STROKE BOX BEHIND" LOGIC
   ======================================= */
.mps-curr-card-wrap {
    position: relative;
    z-index: 1;
    display: block;
}
/* Ye pseudo-element peeche wala stroke box banayega */
.mps-curr-card-wrap::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 100%;
    height: 100%;
    border: 2px dashed #F5A623; /* Orange dashed stroke */
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s ease;
    box-sizing: border-box;
}
/* Hover par peeche wala box color change karega ya solid ho jayega */
.mps-curr-card-wrap:hover::before {
    border: 2px solid #2E3192; /* MPS Blue solid stroke on hover */
    top: 10px;
    left: 10px;
}
/* =======================================
   MAIN CARD DESIGN
   ======================================= */
.mps-curr-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 20px;
    padding: 12px; /* Card ke andar polaroid jaisa gap */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}
/* Image Box Styling */
.mps-curr-img {
    height: 200px;
    width: 100%;
    border-radius: 12px; /* Image ko bhi slightly curve kiya */
    overflow: hidden;
    position: relative;
}
.mps-curr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Content (Title) Styling */
.mps-curr-content {
    padding: 20px 10px 10px;
    text-align: center;
}
.mps-curr-title {
    font-size: 22px;
    font-weight: 800;
    color: #4a4a4a;
    margin: 0;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
/* =======================================
   HOVER EFFECTS
   ======================================= */
.mps-curr-card-wrap:hover .mps-curr-card {
    transform: translate(6px, 6px); /* Card hover par peeche wale box me dabega */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.mps-curr-card-wrap:hover .mps-curr-img img {
    transform: scale(1.1); /* Image smooth zoom hogi */
}
.mps-curr-card-wrap:hover .mps-curr-title {
    color: #2E3192; /* Title MPS Blue ho jayega */
}
/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */
@media (max-width: 1199px) {
    .mps-curr-grid {
        gap: 30px;
    }
}
/* Tablet View (2 Columns) */
@media (max-width: 991px) {
    .mps-curr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
/* Mobile View (1 Column) */
@media (max-width: 575px) {
    .mps-curr-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .mps-curriculum-section {
        padding: 60px 0;
    }
}
/* =========================================================
   AWARDS & SCHOLARSHIPS - ZIG-ZAG (MPS THEME)
   ========================================================= */
.mps-zigzag-section {
    padding: 40px 0;
    background-color: #ffffff;
}
/* Individual Row (Flexbox) */
.mps-zigzag-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px;
}
/* Reverse Row for Zig-Zag Effect */
.mps-zigzag-row.mps-row-reverse {
    flex-direction: row-reverse;
}
.mps-zigzag-row:last-child {
    margin-bottom: 0;
}
/* Columns */
.mps-img-col, .mps-text-col {
    flex: 1;
    width: 50%;
}
/* --- IMAGE STYLING (Box with Stroke) --- */
.mps-img-col .img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 12px;
}
/* MPS Blue Stroke for Normal Rows */
.mps-img-col .img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #2E3192; /* MPS Dark Blue */
    border-radius: 12px;
    z-index: -1;
    transition: all 0.4s ease;
}
/* MPS Orange Stroke for Reverse Rows */
.mps-row-reverse .mps-img-col .img-wrapper::after {
    left: 20px;
    border-color: #F5A623; /* MPS Orange */
}
.mps-img-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}
/* Hover Animations */
.mps-zigzag-row:hover .img-wrapper::after {
    top: 10px;
    left: -10px;
}
.mps-row-reverse:hover .img-wrapper::after {
    top: 10px;
    left: 10px;
}
.mps-zigzag-row:hover img {
    transform: translateY(-5px);
}
/* --- TEXT CONTENT STYLING --- */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #2E3192; /* MPS Dark Blue */
    margin-bottom: 25px;
    line-height: 1.2;
}
.section-title span {
    color: #F5A623; /* MPS Orange Highlight */
}
.mps-text-col p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 20px;
}
/* Custom Bullet List */
.custom-list {
    list-style: none;
    padding: 0;
}
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15.5px;
    color: #444;
    line-height: 1.6;
}
.custom-list li::before {
    content: '\f101'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #F5A623; /* MPS Orange Arrows */
}
/* --- BADGES GRID --- */
.badges-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.badge-box {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 8px;
    border-top: 4px solid #F5A623; /* MPS Orange Top Border */
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.badge-box h4 {
    color: #2E3192; /* MPS Dark Blue Heading */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.badge-box ul {
    list-style: none;
    padding: 0;
}
.badge-box ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.badge-box ul li::before {
    content: '\f101';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #F5A623; /* MPS Orange Arrows */
    font-size: 12px;
}
/* =========================================================
   RESPONSIVE LAYOUT (Mobile & Tablet)
   ========================================================= */
@media (max-width: 991px) {
    .mps-zigzag-row, 
    .mps-zigzag-row.mps-row-reverse {
        flex-direction: column; 
        gap: 40px;
        margin-bottom: 70px;
    }
    .mps-img-col, .mps-text-col {
        width: 100%;
    }
    .mps-img-col .img-wrapper::after {
        display: none; 
    }
    .section-title {
        font-size: 30px;
    }
}
@media (max-width: 767px) {
    .badges-grid {
        flex-direction: column;
        gap: 20px;
    }
}
/* =========================================================
   COMBINED SECTION (SCHOLARSHIPS & BADGES) OVERLAY
   ========================================================= */
.mps-combined-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Premium Parallax Effect */
}
.mps-combined-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(46, 49, 146, 0.94); /* MPS Dark Blue overlay */
    z-index: 0;
}
.mps-combined-grid {
    display: flex;
    gap: 60px;
}
.mps-combined-col {
    flex: 1;
}
.text-white {
    color: #ffffff !important;
}
/* Scholarship List inside dark background */
.text-white-list li {
    color: rgba(255, 255, 255, 0.85);
}
.text-white-list li::before {
    color: #F5A623;
}
/* Transparent Badge Boxes for Dark Overlay */
.badges-transparent .badge-box {
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism look */
    border-top: 4px solid #F5A623;
    box-shadow: none;
    border-radius: 8px;
}
.badges-transparent .badge-box ul li {
    color: rgba(255, 255, 255, 0.85);
}
/* Mobile Responsive for Combined Section */
@media (max-width: 991px) {
    .mps-combined-grid {
        flex-direction: column;
        gap: 40px;
    }
}
/* =========================================================
   ADMISSION POLICY PAGE (MPS THEME)
   ========================================================= */
.mps-admission-section {
    padding: 40px 0;
    background-color: #ffffff;
}
/* Row Styling */
.mps-admission-row {
    display: flex;
    align-items: center;
    gap: 50px;
}
.mps-admission-row .mps-img-col, 
.mps-admission-row .mps-text-col {
    flex: 1;
    width: 50%;
}
/* Highlight Box */
.mps-highlight-box {
    background-color: #fcf4e8; /* Light Orange Tint */
    border-left: 5px solid #F5A623; /* MPS Orange */
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
}
.mps-highlight-box p {
    font-size: 14px !important;
    color: #444444;
}
.mps-orange-title {
    color: #F5A623;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
/* Guidelines Box */
.mps-guidelines-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid #2E3192; /* MPS Dark Blue */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.mps-doc-list li {
    background: #ffffff;
    padding: 15px 20px 15px 45px !important;
    border-radius: 6px;
    border: 1px solid #eeeeee;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.mps-doc-list li::before {
    top: 15px !important;
    left: 20px !important;
}
/* Naya Wrapper Class Uniform Gap ke liye */
.mps-admission-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 45px; /* Ye saare boxes ke beech exactly same gap rakhega */
}
.mps-criteria-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mps-criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.criteria-header {
    background-color: #2E3192; /* MPS Dark Blue */
    padding: 20px 25px;
}
.criteria-header h4 {
    color: #ffffff;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.criteria-body {
    background-color: #ffffff;
    padding: 30px 25px;
}
.criteria-body .custom-list li {
    margin-bottom: 15px;
}
/* =========================================================
   RESPONSIVE LAYOUT (Mobile & Tablet)
   ========================================================= */
@media (max-width: 991px) {
    .mps-admission-row {
        flex-direction: column;
    }
    .mps-admission-row .mps-img-col, 
    .mps-admission-row .mps-text-col {
        width: 100%;
    }
    .mps-guidelines-box {
        padding: 25px;
    }
}
/* =========================================================
   TRANSFER CERTIFICATE (TC) PAGE - CUSTOM CSS
   ========================================================= */
.mps-tc-section {
    padding: 40px 0;
    background-color: #f7f9fc; /* Light background */
}
/* Wrapper to hold form and info side-by-side */
.mps-tc-wrapper {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eef0f5;
}
/* --- Left Side: Form Styling --- */
.mps-tc-card {
    flex: 1.2;
    padding: 50px 40px;
    background-color: #ffffff;
}
.mps-tc-title {
    font-size: 32px;
    font-weight: 800;
    color: #2E3192; /* MPS Blue */
    margin-bottom: 10px;
}
.mps-tc-title span {
    color: #F5A623; /* MPS Orange */
}
.mps-tc-desc {
    font-size: 15px;
    color: #666666;
    margin-bottom: 30px;
}
.mps-tc-form .form-group {
    margin-bottom: 25px;
}
.mps-tc-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
}
/* Focus effect matching theme */
.mps-tc-input:focus {
    border-color: #2E3192;
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.1);
}
.mps-tc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0066ff; /* Exact blue from your reference image */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.mps-tc-btn:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
}
/* --- Right Side: Info Area Styling --- */
.mps-tc-info {
    flex: 0.8;
    background: linear-gradient(135deg, #2E3192, #1a1c5b);
    padding: 50px 40px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tc-info-content .info-icon {
    font-size: 40px;
    color: #F5A623;
    margin-bottom: 20px;
}
.tc-info-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}
.tc-info-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}
.tc-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F5A623;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.tc-contact-link:hover {
    color: #ffffff;
}
/* =========================================================
   RESPONSIVE LAYOUT (Mobile & Tablet)
   ========================================================= */
@media (max-width: 768px) {
    .mps-tc-wrapper {
        flex-direction: column;
        margin: 0 15px;
    }
    .mps-tc-card {
        padding: 40px 25px;
    }
    .mps-tc-info {
        padding: 40px 25px;
    }
}
/* =========================================================
   PRESIDENT / CHAIRPERSON / EXEC MESSAGE PAGE - CUSTOM CSS
   (With User Values & Dynamic Animated Border)
   ========================================================= */
.mps-message-section {
    padding: 120px 0 80px; /* Top padding zyada rakhi hai taaki overlapping image fit ho sake */
    background-color: #f8f9fa; /* Soft background */
}
/* Container Wrapper to limit width for better reading */
.mps-message-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
/* =======================================
   DYNAMIC ANIMATED BORDER (STROKE) EFFECT
   ======================================= */
.mps-message-animated-border {
    padding: 4px; /* Border ki thickness */
    border-radius: 28px; /* Inner card se 4px zyada taaki corners smooth rahein */
    background: linear-gradient(60deg, #2E3192, #F5A623, #2E3192, #F5A623);
    background-size: 300% 300%;
    animation: animateGradientStroke 4s ease infinite;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}
@keyframes animateGradientStroke {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* =======================================
   THE MAIN CARD
   ======================================= */
.mps-message-card {
    background-color: #f3f4ff; /* Aapki custom value */
    border-radius: 24px;
    padding: 110px 40px 40px; /* Aapki custom value: Top padding to clear the image */
    position: relative;
    text-align: center;
    z-index: 1;
}
/* =======================================
   TOP OVERLAPPING PROFILE IMAGE
   ======================================= */
.mps-profile-img-box {
    position: absolute;
    top: -100px; /* Aapki custom value */
    left: 50%;
    transform: translateX(-50%);
    width: 200px; /* Aapki custom value */
    height: 200px; /* Aapki custom value */
    border-radius: 50%;
    background-color: #ffffff;
    /* Achieving the double border effect (White gap + Blue stroke) */
    border: 5px solid #ffffff;
    outline: 2px solid #2E3192;
    box-shadow: 0 10px 25px rgba(46, 49, 146, 0.15);
    z-index: 10;
}
.mps-profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* =======================================
   BACKGROUND WATERMARK QUOTE
   ======================================= */
.mps-watermark-quote {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    color: rgba(46, 49, 146, 0.04); /* Very faint MPS Blue */
    z-index: -1;
    line-height: 1;
}
/* =======================================
   MESSAGE CONTENT TYPOGRAPHY
   ======================================= */
.mps-intro-quote {
    font-size: 20px;
    font-weight: 600;
    color: #F5A623; /* MPS Orange for highlight */
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.5;
}
.mps-message-content p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify; /* Keeps long text looking neat */
}
/* =======================================
   DIVIDER & AUTHOR DETAILS
   ======================================= */
.mps-message-divider {
    border: 0;
    border-top: 1px dashed #cccccc;
    margin: 40px auto 30px;
    width: 80%;
}
.mps-message-author h3 {
    font-size: 26px;
    font-weight: 800;
    color: #2E3192; /* MPS Blue */
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}
.mps-message-author p {
    font-size: 14px;
    font-weight: 700;
    color: #888888;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* =========================================================
   RESPONSIVE LAYOUT (Mobile)
   ========================================================= */
@media (max-width: 767px) {
    .mps-message-card {
        padding: 60px 20px 30px;
        /* border-width hataya gaya hai kyunki border ab gradient se ban raha hai */
    }
    .mps-profile-img-box {
        width: 100px;
        height: 100px;
        top: -50px;
        border-width: 4px;
    }
    .mps-message-content p {
        text-align: left; /* Better readability on small screens */
    }
    .mps-message-divider {
        width: 100%;
    }
}
/* =========================================================
   MANDATORY DISCLOSURE PAGE (THUMBNAIL GRID)
   ========================================================= */
.mps-disclosure-section {
    padding: 40px 0;
    background-color: #f4f7fc;
}
.mps-disclosure-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 20px 0;
}
.mps-empty-state { text-align: center; padding: 50px; width: 100%; }
.mps-empty-state h4 { color: #888888; }
/* --- CARD BORDER STROKE EFFECT --- */
.mps-pdf-card-wrap {
    position: relative;
    width: 650px; /* BADA SIZE DESKTOP KE LIYE */
    max-width: 100%;
    z-index: 1;
}
.mps-pdf-card-wrap::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px;
    width: 100%; height: 100%;
    border: 2px dashed #F5A623;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s ease;
    box-sizing: border-box;
}
.mps-pdf-card-wrap:hover::before {
    border: 2px solid #2E3192;
    top: 6px; left: 6px;
}
/* --- MAIN WHITE CARD --- */
.mps-pdf-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0; /* Padding removed for edge-to-edge image */
    text-align: center;
    border: 1px solid #eef0f5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Clips the image radius */
}
.mps-pdf-card-wrap:hover .mps-pdf-card {
    transform: translate(4px, 4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
/* --- THUMBNAIL IMAGE AREA --- */
.mps-pdf-thumbnail {
    width: 100%;
    height: 240px; /* Badi image */
    overflow: hidden;
    background: #fff0f0;
    border-bottom: 1px solid #eef0f5;
    position: relative;
}
.mps-pdf-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mps-pdf-card-wrap:hover .mps-pdf-thumbnail img {
    transform: scale(1.1); /* Hover karne par image zoom hogi */
}
/* Fallback Icon (agar admin ne image upload nahi ki) */
.mps-pdf-fallback {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #e74c3c;
}
.mps-pdf-fallback i { font-size: 60px; margin-bottom: 15px; }
.mps-pdf-fallback span { font-weight: bold; font-size: 16px; color: #555; }
/* --- CONTENT AREA --- */
.mps-pdf-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.mps-pdf-title {
    font-size: 22px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 25px;
    line-height: 1.4;
}
.mps-pdf-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #F5A623;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}
.mps-pdf-btn:hover {
    background: #2E3192;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(46, 49, 146, 0.3);
}
/* --- MOBILE RESPONSIVE --- */
@media (max-width: 767px) {
    .mps-pdf-card-wrap {
        width: 100%;
        max-width: 350px;
    }
    .mps-pdf-thumbnail {
        height: 200px; /* Mobile par height thodi kam */
    }
}
/* =========================================================
   SEAMLESS GALLERY (INFRASTRUCTURE PAGES)
   ========================================================= */
/* Swiper Container Padding */
.igGallerySwiper { 
    width: 100%; 
    padding: 10px 0 0px 0; 
}
/* YEH LINE SABSE ZAROORI HAI CONTINUOUS SLIDE KE LIYE (Bina ruke chalne ke liye) */
.igGallerySwiper .swiper-wrapper {
    transition-timing-function: linear !important; 
}
/* Slide Height Auto */
.mps-ig-slide { 
    height: auto; 
}
/* Image Wrapper (Perfect Square & No Gap) */
.mps-ig-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes it perfectly square (1:1 ratio) */
    overflow: hidden;
    border-radius: 0; /* Gap hatane ke baad edges sharp rakhi hain */
    cursor: zoom-in; /* Hover karne par mouse ka icon zoom wala aayega */
}
/* Image Styling */
.mps-ig-img-wrap img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* Hover Effect - Image halki si zoom hogi */
.mps-ig-img-wrap:hover img { 
    transform: scale(1.1); 
}
/* Optional: GLightbox popup background color adjust karne ke liye (agar dark chahiye) */
.glightbox-container .goverlay {
    background: rgba(0, 0, 0, 0.9);
}
/* Gallery Image Border & Hover Effect */
    .mps-ig-img-wrap img {
        /* border: 3px solid #2E3192; 
        border-radius: 10px;  */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 3D depth ke liye shadow */
        transition: transform 0.3s ease, border-color 0.3s ease;
        width: 100%;
        display: block;
    }
    /* Hover karne par Orange border aur halka zoom */
    .mps-ig-img-wrap:hover img {
        border-color: #F5A623; /* Hover par MPS Orange */
        transform: scale(1.03);
    }
/* =========================================================
   PREMIUM TEAM GRID (OUR TEAM PAGE)
   ========================================================= */
.mps-team-section {
    padding: 40px 0;
    background-color: #f8fafc; /* Very light slate blue for a clean background */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.mps-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 35px;
    padding-top: 20px;
}
/* --- Modern Card Styling --- */
.mps-team-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth bouncy effect */
    position: relative;
    text-align: center;
    border: 1px solid #eef2f6;
}
.mps-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 49, 146, 0.12); /* Subtle MPS Blue shadow */
}
/* --- Top Color Banner inside Card --- */
.mps-card-banner {
    height: 110px;
    background: linear-gradient(135deg, #2E3192, #181958);
    position: relative;
    /* Subtle overlay pattern for premium feel */
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%), linear-gradient(135deg, #2E3192, #181958);
}
.mps-card-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: #F5A623; /* MPS Orange accent line */
}
/* --- Floating Image Overlapping the Banner --- */
.mps-team-img-wrap {
    width: 150px;
    height: 150px;
    margin: -65px auto 15px; /* Pulls the image up over the banner */
    border-radius: 50%;
    border: 6px solid #ffffff; /* Thick white border to separate from banner */
    background: #ffffff;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}
.mps-team-card:hover .mps-team-img-wrap {
    transform: scale(1.05); /* Slight zoom on hover */
}
.mps-team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* --- Card Content Details --- */
.mps-team-info {
    padding: 0 20px 30px;
}
.mps-team-name {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.mps-team-designation {
    font-size: 13px;
    font-weight: 700;
    color: #F5A623;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}
.mps-team-qualification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #2E3192;
    background: #f0f4f8;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #dbe3ed;
    transition: all 0.3s;
    gap:5px;
}
.mps-team-card:hover .mps-team-qualification {
    background: #2E3192;
    color: #ffffff;
    border-color: #2E3192;
}
/* --- Responsive adjustments --- */
@media (max-width: 767px) {
    .mps-team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
/* =========================================================
   EYP PAGE - CUSTOM CLEAN DESIGN
   ========================================================= */
.mps-eyp-page-wrapper {
    background-color: #f8fafc;
    padding: 60px 0 80px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* --- Intro Section --- */
.mps-eyp-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.mps-eyp-subtitle {
    color: #F5A623;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}
.mps-eyp-title {
    font-size: 36px;
    font-weight: 800;
    color: #2E3192;
    line-height: 1.2;
    margin-bottom: 24px;
}
.mps-eyp-title span {
    color: #F5A623;
}
.mps-divider {
    height: 4px;
    width: 80px;
    background-color: #F5A623;
    margin: 0 auto 24px auto;
    border-radius: 4px;
}
.mps-eyp-desc {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
}
/* --- Age Grid Cards --- */
.mps-eyp-age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.mps-age-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}
.mps-age-box:hover {
    transform: translateY(-8px);
}
.mps-age-box.border-blue { border-top: 4px solid #2E3192; }
.mps-age-box.border-orange { border-top: 4px solid #F5A623; }
.mps-age-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}
.badge-orange {
    background: #fff7ed;
    color: #F5A623;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}
.badge-blue {
    background: #eff6ff;
    color: #2E3192;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}
/* --- Philosophy Box --- */
.mps-eyp-philosophy-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid #f3f4f6;
    margin-bottom: 80px;
    align-items: center;
}
@media (min-width: 992px) {
    .mps-eyp-philosophy-box {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 50px;
    }
}
.mps-philosophy-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 24px;
}
.mps-philosophy-text p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}
.mps-philosophy-text p span {
    color: #F5A623;
    font-weight: 600;
}
.mps-philosophy-img {
    position: relative;
    padding: 15px;
}
/* Orange Box Offset Shadow Effect */
.img-offset-bg {
    position: absolute;
    top: 0; left: 0; right: 20px; bottom: 20px;
    background-color: rgba(245, 166, 35, 0.3);
    border-radius: 24px;
    z-index: 1;
}
.mps-philosophy-img img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: block;
}
/* --- Learning Domains --- */
.mps-eyp-domains-header {
    text-align: center;
    margin-bottom: 40px;
}
.mps-eyp-domains-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 16px;
}
.mps-eyp-domains-header h2 span { color: #F5A623; }
.mps-eyp-domains-header p {
    font-size: 18px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
}
.mps-eyp-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.mps-domain-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: default;
}
.mps-domain-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #F5A623;
}
.domain-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px auto;
    background: #eff6ff;
    color: #2E3192;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}
.mps-domain-box:hover .domain-icon-wrap {
    background: #2E3192;
    color: #ffffff;
}
.mps-domain-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    transition: color 0.3s ease;
}
.mps-domain-box:hover h4 {
    color: #2E3192;
}
/* =========================================================
   PYP PAGE - CUSTOM CLEAN DESIGN
   ========================================================= */
.mps-pyp-page-wrapper {
    background-color: #f8fafc;
    padding: 60px 0 80px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* --- Intro Section --- */
.mps-pyp-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.mps-pyp-subtitle {
    color: #F5A623;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}
.mps-pyp-title {
    font-size: 36px;
    font-weight: 800;
    color: #2E3192;
    line-height: 1.2;
    margin-bottom: 24px;
}
.mps-pyp-title span {
    color: #F5A623;
}
/* Note: .mps-divider is already defined in EYP CSS, it will reuse it perfectly */
.mps-pyp-desc {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
}
/* --- Philosophy Box --- */
.mps-pyp-philosophy-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid #f3f4f6;
    margin-bottom: 80px;
    align-items: center;
}
@media (min-width: 992px) {
    .mps-pyp-philosophy-box {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 50px;
    }
}
/* Reusing philosophy text styles from previous section */
.img-offset-bg-blue {
    position: absolute;
    top: 0; left: 0; right: 20px; bottom: 20px;
    background-color: rgba(46, 49, 146, 0.15); /* Blue variant of the offset box */
    border-radius: 24px;
    z-index: 1;
}
/* --- Learning Domains / Focus Grid --- */
.mps-pyp-domains-header {
    text-align: center;
    margin-bottom: 40px;
}
.mps-pyp-domains-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 16px;
}
.mps-pyp-domains-header h2 span { color: #F5A623; }
.mps-pyp-domains-header p {
    font-size: 18px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
}
.mps-pyp-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
/* =========================================================
   MYP PAGE - CUSTOM CLEAN DESIGN
   ========================================================= */
.mps-myp-page-wrapper {
    background-color: #f8fafc;
    padding: 60px 0 80px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* --- Intro Section --- */
.mps-myp-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.mps-myp-subtitle {
    color: #F5A623;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}
.mps-myp-title {
    font-size: 36px;
    font-weight: 800;
    color: #2E3192;
    line-height: 1.2;
    margin-bottom: 24px;
}
.mps-myp-title span {
    color: #F5A623;
}
.mps-myp-desc {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
}
/* --- Reusing Philosophy Box classes from EYP/PYP --- */
.mps-myp-philosophy-box {
    margin-bottom: 80px;
}
/* --- Header for Core Attributes --- */
.mps-myp-domains-header {
    text-align: center;
    margin-bottom: 50px;
}
.mps-myp-domains-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2E3192;
    margin-bottom: 16px;
}
.mps-myp-domains-header h2 span { color: #F5A623; }
.mps-myp-domains-header p {
    font-size: 18px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
}
/* --- 3-Column Feature Cards (For long paragraph points) --- */
.mps-myp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.mps-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-bottom: 4px solid transparent;
}
.mps-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-bottom-color: #F5A623;
}
.feature-icon-wrap {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    background: #eff6ff;
    color: #2E3192;
    border-radius: 16px; /* Slightly square shape for variation */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}
.mps-feature-card:hover .feature-icon-wrap {
    background: #2E3192;
    color: #ffffff;
    border-radius: 50%; /* Morphs into a circle on hover */
}
.mps-feature-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.4;
}
.mps-feature-card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    text-align: justify;
}
/* =========================================================
   SECONDARY & SR. SECONDARY PAGE - FOOLPROOF GRID DESIGN
   ========================================================= */
.mps-page-layout {
    background-color: #f8fafc;
    padding: 70px 0 90px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; 
}
/* --- Centered Headings --- */
.mps-center-heading {
    text-align: center; max-width: 800px; margin: 0 auto 60px auto;
}
.mps-badge {
    color: #F5A623; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; display: block; margin-bottom: 12px;
}
.mps-title {
    font-size: 38px; font-weight: 800; color: #2E3192; line-height: 1.2; margin-bottom: 18px;
}
.mps-title span { color: #F5A623; }
.mps-line {
    height: 4px; width: 60px; background-color: #F5A623; margin: 0 auto 20px auto; border-radius: 4px;
}
.mps-desc {
    font-size: 18px; color: #475569; line-height: 1.6;
}
/* --- CSS GRID ROW (Perfect Vertical Alignment) --- */
.mps-grid-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center; /* PERFECT VERTICAL CENTER */
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .mps-grid-row {
        grid-template-columns: 1fr 1fr; /* 50/50 Split */
        gap: 60px;
    }
    .mps-row-reverse .mps-grid-media { order: 1; }
    .mps-row-reverse .mps-grid-text { order: 2; }
}
.mps-section-title {
    font-size: 32px; font-weight: 800; color: #2E3192; margin-bottom: 20px;
    position: relative; padding-bottom: 12px;
}
.mps-section-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: #F5A623;
}
.mps-grid-text p {
    font-size: 16px; color: #475569; line-height: 1.7; margin-bottom: 15px; text-align: justify;
}
/* --- FORCE WHITE TEXT FOR DARK BACKGROUND --- */
.mps-text-white .mps-section-title {
    color: #ffffff !important;
}
.mps-text-white p {
    color: #e2e8f0 !important; /* Light grayish-white for better reading */
}
.mps-text-white .mps-section-title::after {
    background: #F5A623 !important; /* Keep orange line */
}
/* --- Full Width Parallax Section --- */
.mps-full-width-section {
    position: relative;
    background-size: cover; background-position: center; background-attachment: fixed;
    padding: 40px 0; margin: 40px 0 70px 0;
}
.mps-dark-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(46,49,146,0.92), rgba(24,25,88,0.95)); z-index: 1;
}
/* --- Image Framing --- */
.mps-img-wrapper {
    position: relative; padding: 15px; z-index: 2;
}
.mps-img-wrapper img {
    width: 100%; height: auto; border-radius: 16px; position: relative; z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12); display: block;
}
.mps-bg-accent {
    position: absolute; width: 100%; height: 100%; border-radius: 16px; z-index: 1;
}
.orange-accent { background-color: #F5A623; top: 15px; left: -15px; }
.white-accent { background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); top: -15px; right: -15px; }
/* --- Horizontal Pillars of Excellence --- */
.mps-pillars-grid {
    display: grid; grid-template-columns: 1fr; gap: 25px;
}
@media (min-width: 768px) {
    .mps-pillars-grid { grid-template-columns: 1fr 1fr; } /* 2x2 Layout */
}
.mps-pillar-card {
    display: flex; align-items: flex-start; background: #ffffff; padding: 25px;
    border-radius: 12px; border-left: 4px solid #F5A623; box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.mps-pillar-card:hover {
    transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.mps-pillar-icon {
    flex-shrink: 0; width: 55px; height: 55px; background: #eef2ff; color: #2E3192;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-right: 20px; transition: all 0.3s ease;
}
.mps-pillar-card:hover .mps-pillar-icon {
    background: #2E3192; color: #ffffff;
}
.mps-pillar-content h4 {
    font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 8px;
}
.mps-pillar-content p {
    font-size: 15px; color: #64748b; line-height: 1.5; margin: 0;
}


/* =========================================================
   ACHIEVEMENTS V4 - DUAL TONE & TIGHT ARROWS
   ========================================================= */

.mps-achievements-v4 {
    position: relative;
    background-color: #f8fafc; /* Bottom ka 30% light grey rahega */
    padding: 40px 0 40px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Top 70% Blue Background Overlay --- */
.achieve-bg-top {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 70%; /* Top 70% cover karega */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}
.mps-blue-tint {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(46, 49, 146, 0.85); /* 94% MPS Blue Overlay */
}

/* --- Light Heading for Dark Background --- */
.mps-center-heading-light {
    text-align: center; max-width: 800px; margin: 0 auto 25px auto;
}
.mps-badge-light {
    color: #F5A623; font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.mps-title-light {
    font-size: 38px; font-weight: 800; color: #ffffff; line-height: 1.2; margin: 10px 0 20px 0;
    text-transform: uppercase; /* ALL CAPS HEADING */
}
.text-orange { color: #F5A623; }
.mps-line-light {
    height: 4px; width: 70px; background-color: #F5A623; margin: 0 auto; border-radius: 4px;
}

/* --- Slider & Layout Mechanics --- */
.achievementSwiperV4 {
    position: relative;
}
.achieve-center-layout {
    max-width: 950px; 
    margin: 0 auto;
}

/* Image Box */
.achieve-img-box {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.3);  */
    border: 3px solid rgba(255,255,255,0.1);
}
.achieve-img-box img {
    width: 100%; height: 420px; object-fit: cover; display: block;
}

/* Text Box (Overlapping Bottom Center) */
.achieve-text-box {
    background: #ffffff;
    max-width: 800px; /* Fixed width */
    width: 90%;
    margin: -80px auto 0 auto; /* Aadha Upar */
    position: relative;
    z-index: 10;
    padding: 40px;
    border-radius: 16px;
    /* box-shadow: 0 25px 45px rgba(46, 49, 146, 0.15);  */
    border-top: 5px solid #F5A623; 
    text-align: center;
}

/* ALL CAPS Typography in Text Box */
.achieve-meta-center {
    display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 15px;
}
.tag-orange { color: #F5A623; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.tag-blue { color: #2E3192; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.year-text { color: #94a3b8; font-size: 14px; font-weight: 600; }

.achieve-text-box h3 {
    font-size: 26px; font-weight: 800; color: #2E3192; margin-bottom: 10px;
    text-transform: uppercase; /* CAPITAL FORMAT */
}
.achieve-text-box h4 {
    font-size: 17px; color: #F5A623; font-weight: 700; margin-bottom: 15px;
    text-transform: uppercase; /* CAPITAL FORMAT */
}
.achieve-text-box p {
    font-size: 16px; color: #475569; line-height: 1.7; margin-bottom: 0;
    text-transform: none; /* Paragraph normal case mein padhne mein easy rehta hai */
}

/* --- TIGHT NAVIGATION ARROWS (Placed snugly on Text Box edges) --- */
.ach-nav-tight-wrapper {
    position: absolute;
    bottom: 50px; /* Text box ke horizontal center ke hisaab se adjust */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 860px; /* Text box (800px) se bas thoda sa bada */
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none; 
}
.ach-prev-btn, .ach-next-btn {
    pointer-events: auto; 
    position: static !important;
    width: 55px !important;
    height: 55px !important;
    background: #ffffff !important;
    color: #2E3192 !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Premium hover shadow */
}
.ach-prev-btn::after, .ach-next-btn::after { display: none; }
.ach-prev-btn:hover, .ach-next-btn:hover {
    background: #F5A623 !important; /* Hover par MPS Orange */
    color: #ffffff !important;
    transform: scale(1.1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .achieve-bg-top { height: 60%; }
    .achieve-img-box img { height: 280px; }
    .achieve-text-box { width: 95%; margin-top: -50px; padding: 25px 20px; }
    .achieve-text-box h3 { font-size: 20px; }
    
    .ach-nav-tight-wrapper {
        max-width: 100%; 
        bottom: 30px;
        padding: 0 5px; /* Mobile par screen edges se padding */
    }
    .ach-prev-btn, .ach-next-btn { width: 45px !important; height: 45px !important; }
}


/* ==========================================
   MPS CUSTOM FORM STYLES (Fixed 2 Column Grid)
========================================== */
.mps-form-section { padding: 60px 0; background-color: #f4f7fb; }
.mps-form-card { background: #fff; padding: 45px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); max-width: 850px; margin: 0 auto; }

.feedback-card { border-top: 5px solid #2E3192; }
.joinus-card { border-top: 5px solid #F5A623; }
.mps-form-title { color: #2E3192; font-weight: 800; font-size: 26px; margin-bottom: 25px; border-bottom: 2px dashed #e2e6f0; padding-bottom: 15px; text-align: center; }

/* -------------------------------------
   NEW GRID LAYOUT (Forces 2 Columns)
-------------------------------------- */
.mps-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; align-items: start; }
.mps-form-grid .form-group { margin-bottom: 0; width: 100%;  }
.mps-full-width { grid-column: span 2; text-align: center; margin-top: 10px; }

/* Mobile view ke liye 1 column */
@media (max-width: 768px) {
    .mps-form-grid { grid-template-columns: 1fr; }
    .mps-full-width { grid-column: span 1; }
}

/* Form Elements */
.form-group label { font-weight: 700; color: #333; margin-bottom: 8px; font-size: 13.5px; display: inline-block; }
.form-group label span.text-danger { color: #e74c3c; }

.mps-input { border: 1px solid #ced4da; border-radius: 8px; padding: 10px 15px; font-size: 14.5px; transition: all 0.3s ease; background: #fff; width: 100%; color: #444; height: 45px; }
textarea.mps-input { height: auto; }
.mps-input:focus { border-color: #2E3192; box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1); outline: none; }
.mps-file-input { padding: 9px; background: #f9f9f9; cursor: pointer; }

/* Captcha Styling */
.captcha-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #eef1f8; padding: 5px 10px; border-radius: 8px; border: 1px dashed #2E3192; height: 45px; }
.captcha-image { background: #2E3192; color: #fff; padding: 5px 12px; font-family: 'Courier New', monospace; font-weight: bold; letter-spacing: 3px; font-size: 16px; border-radius: 5px; text-decoration: line-through; user-select: none; }
.captcha-input { border: 1px solid #ccc; padding: 5px 10px; border-radius: 5px; outline: none; font-size: 14px; flex-grow: 1; height: 35px; }
.refresh-captcha { color: #2E3192; font-size: 18px; cursor: pointer; transition: 0.3s; padding: 0 5px; }
.refresh-captcha:hover { transform: rotate(180deg); color: #F5A623; }

/* Buttons */
.mps-submit-btn { border: none; padding: 12px 35px; border-radius: 30px; font-weight: 800; font-size: 15px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; width: 50%; display: inline-block; }
.btn-orange { background: #F5A623; color: #fff; box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3); }
.btn-orange:hover { background: #e09612; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4); color: #fff; }
.btn-blue { background: #2E3192; color: #fff; box-shadow: 0 4px 15px rgba(46, 49, 146, 0.3); }
.btn-blue:hover { background: #1a1c57; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(46, 49, 146, 0.4); color: #fff; }

@media (max-width: 768px) { .mps-submit-btn { width: 100%; } }



    .mps-popup-overlay {
        position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 999999;
        display: flex; justify-content: center; align-items: center; padding: 20px;
        opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
        backdrop-filter: blur(5px);
    }
    .mps-popup-overlay.show-popup { opacity: 1; visibility: visible; }
    
    .mps-popup-box {
        position: relative; max-width: 900px; width: 100%; max-height: 90vh;
        background: transparent; border-radius: 8px;
        transform: scale(0.8); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .mps-popup-overlay.show-popup .mps-popup-box { transform: scale(1); }

    .mps-popup-close {
        position: absolute; top: -15px; right: -15px; width: 35px; height: 35px;
        background: #e74c3c; color: white; border-radius: 50%; font-size: 20px;
        display: flex; justify-content: center; align-items: center;
        cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 10;
        transition: transform 0.2s ease, background 0.2s ease;
    }
    .mps-popup-close:hover { background: #c0392b; transform: scale(1.1); }

    .mps-popup-img-container {
        width: 100%; max-height: 85vh; display: flex; justify-content: center; align-items: center;
    }
    .mps-popup-img-container img {
        max-width: 100%; max-height: 85vh; object-fit: contain; /* Handles Portrait/Landscape perfectly */
        border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    }


/* ========================================== */
/* MPS STICKY FLOATING BUTTONS (ENQUIRE & APPLY) */
/* ========================================== */

/* Desktop View: Right Side Vertical Buttons */
.mps-floating-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mps-floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    padding: 20px 12px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 0 8px 8px 0;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    cursor: pointer;
    
    /* Inner Border */
    outline: 1.5px solid rgba(255, 255, 255, 0.6); 
    outline-offset: -5px; 
}

/* Icon Settings Desktop */
.mps-floating-btn i {
    margin-bottom: 8px;
    transform: rotate(90deg); 
    transition: transform 0.3s ease;
}

/* MPS Theme Colors */
.mps-apply-btn { background-color: #2E3192; }
.mps-enquire-btn { background-color: #F5A623; }

/* Hover Effect */
.mps-floating-btn:hover {
    padding-top: 30px;
    filter: brightness(0.9);
    outline-color: #ffffff;
}

/* ========================================== */
/* Mobile View: Bottom Sticky Horizontal Bar  */
/* ========================================== */
@media (max-width: 768px) {
    .mps-floating-buttons {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        gap: 0;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
        /* border-radius: 15px 15px 0 0; */
        overflow: hidden;
    }

    .mps-floating-btn {
        writing-mode: horizontal-tb;
        transform: none;
        flex: 1;
        border-radius: 0;
        padding: 15px 10px;
        text-align: center;
        font-size: 14px;
        box-shadow: none;
        outline-offset: -4px;
    }

    /* Mobile Icon Fix - Seedhe Icons */
    .mps-floating-btn i {
        transform: rotate(0deg) !important; 
        margin-bottom: 0;
        margin-right: 8px;
    }

    .mps-floating-btn:hover {
        padding-top: 15px; /* Mobile me pop-out disable */
    }
}
