/* ==========================================================================
   1. CSS VARIABLES & BASE STYLES (Luxury Theme)
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #00B9F1; 
    --primary-dark: #007CA3;
    --primary-light: #E5F8FD;
    --logo-navy: #0A192F;
    --white: #ffffff;
    --bg-gray: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --gold: #F59E0B;
    
    /* Typography */
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 10px 30px rgba(0, 185, 241, 0.05);
    --shadow-card: 0 20px 40px rgba(10, 25, 47, 0.06);
    --shadow-hover: 0 30px 60px rgba(0, 185, 241, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(16px);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
    font-family: var(--font-body); color: var(--text-dark); 
    background-color: var(--bg-gray); line-height: 1.7; 
    overflow-x: hidden; width: 100%; 
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--logo-navy); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section-padding { padding: 120px 0; position: relative; }

/* Titles & Badges */
.badge-title {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-light); color: var(--primary-dark);
    padding: 8px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; font-family: var(--font-head);
}
.section-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; }
.section-desc { color: var(--text-muted); font-size: 1.15rem; max-width: 700px; margin-bottom: 40px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 36px; border-radius: 50px; font-family: var(--font-head);
    font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
    transition: var(--transition); position: relative; overflow: hidden; z-index: 1; gap: 10px;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.2); z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.5s ease;
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 25px rgba(0, 185, 241, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--logo-navy); }
.btn-outline-dark { background: transparent; color: var(--logo-navy); border: 2px solid var(--logo-navy); }
.btn-outline-dark:hover { background: var(--logo-navy); color: var(--white); }

/* ==========================================================================
   2. ULTRA PREMIUM CINEMATIC PRELOADER
   ========================================================================== */
.page-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 99999; display: flex; align-items: center; justify-content: center; 
    pointer-events: none;
}

/* Background Curtains */
.loader-curtain {
    position: absolute; top: 0; height: 100%; width: 50%; 
    background: var(--logo-navy); z-index: 1;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); 
    transition-delay: 0.5s; /* Delays opening until logo finishes appearing */
}
.loader-curtain-left { left: 0; transform-origin: left; }
.loader-curtain-right { right: 0; transform-origin: right; }

/* Exit Animation when '.loaded' class is added */
.page-loader.loaded .loader-curtain-left { transform: scaleX(0); }
.page-loader.loaded .loader-curtain-right { transform: scaleX(0); }
.page-loader.loaded .loader-content { opacity: 0; transform: translateY(-30px); transition-delay: 0s; }

/* Content Wrapper */
.loader-content { 
    position: relative; z-index: 2; 
    display: flex; flex-direction: column; align-items: center; 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}

/* Premium Logo Reveal */
.loader-logo {
    max-height: 50px; /* Adjust this based on your logo's native aspect ratio */
    width: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: cinematicLogoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cinematicLogoReveal {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}

/* Sweeping Glow Progress Bar */
.progress-bar-container {
    width: 200px; height: 2px; 
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px; overflow: hidden; position: relative; 
    margin-top: 35px;
    opacity: 0; 
    /* Appears slightly after the logo starts revealing */
    animation: fadeIn 0.8s ease 0.4s forwards; 
}

.progress-bar {
    position: absolute; top: 0; left: -50%; 
    height: 100%; width: 50%;
    background: var(--primary, #00B9F1); 
    border-radius: 4px; 
    box-shadow: 0 0 15px var(--primary, #00B9F1); /* Primary color glow */
    animation: loadingSweep 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes loadingSweep {
    0% { left: -50%; width: 30%; }
    50% { width: 60%; }
    100% { left: 150%; width: 30%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}


/* ==========================================================================
   ADMISSION ENQUIRY MODAL (WHATSAPP)
   ========================================================================== */
.enquiry-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.85); /* Dark navy translucent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Animation defaults - Hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.enquiry-modal-content {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-top: 6px solid var(--primary);
    
    /* Animation defaults - Scaled down and pushed down slightly */
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Active State (When Modal is Open) --- */
.enquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal-overlay.active .enquiry-modal-content {
    transform: scale(1) translateY(0);
}

/* --- Modal Internal Styles --- */
.modal-close-btn {
    position: absolute;
    top: 20px; right: 25px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    color: red;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--logo-navy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Ensure the form uses your existing premium styles */
.modal-form .form-group {
    margin-bottom: 18px;
}

/* Mobile Fixes for Modal */
@media (max-width: 576px) {
    .enquiry-modal-content {
        padding: 30px 20px;
    }
    .modal-header h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   404 ERROR PAGE (PREMIUM LOGISTICS THEME)
   ========================================================================== */
.error-page {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--logo-navy);
}

.error-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.error-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.3) blur(4px);
    transform: scale(1.1);
}

.error-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--logo-navy) 100%);
    z-index: 1;
}

.error-container {
    position: relative;
    z-index: 5;
    text-align: center;
}

.error-content {
    max-width: 650px;
    margin: 0 auto;
}

.error-code {
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -40px; /* Overlaps with text for depth */
    font-family: var(--font-head);
    letter-spacing: -5px;
}

.error-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin: 20px 0;
    letter-spacing: -1px;
}

.error-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Fix for Buttons */
@media (max-width: 768px) {
    .error-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 40px;
    }
    .error-actions .btn { width: 100%; }
    .error-code { margin-bottom: -20px; font-size: 10rem; }
}

/* ==========================================================================
   ULTRA-PREMIUM ELA CERTIFICATION SECTION
   ========================================================================== */
.ela-section {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 120px;
    z-index: 1;
}

/* --- Smooth Ambient Backgrounds --- */
.ela-ambient-glow {
    position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1;
    pointer-events: none; 
    will-change: transform;
    animation: smoothFloat 18s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.ela-glow-1 {
    width: 45vw; height: 45vw; max-width: 600px; max-height: 600px; 
    background: rgba(0, 185, 241, 0.08); top: -10%; right: -5%;
}
.ela-glow-2 {
    width: 35vw; height: 35vw; max-width: 500px; max-height: 500px; 
    background: rgba(10, 25, 47, 0.05); bottom: -10%; left: -10%; 
    animation-delay: -9s; animation-direction: alternate-reverse;
}

@keyframes smoothFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.05); }
    100% { transform: translate(40px, -20px) scale(0.95); }
}

/* --- Utilities --- */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.ela-badge-pulse {
    animation: badgePulse 3s infinite cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 0 rgba(0, 185, 241, 0.4);
}
@keyframes badgePulse {
    70% { box-shadow: 0 0 0 15px rgba(0, 185, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 185, 241, 0); }
}

.ela-header { margin-bottom: 70px; }
.ela-header .section-title { font-size: 3.5rem; letter-spacing: -1px; margin-bottom: 20px; }
.ela-header .section-desc { font-size: 1.15rem; color: var(--text-muted); max-width: 800px; line-height: 1.7; }
.ela-header .section-desc strong { color: var(--logo-navy); font-weight: 700; }

/* --- Showcase Layout --- */
.ela-showcase {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center;
    background: var(--bg-gray); border-radius: 30px; padding: 60px;
    box-shadow: inset 0 0 0 1px rgba(0, 185, 241, 0.05); margin-bottom: 60px;
    position: relative;
}

/* Left Panel (Logo) */
.ela-brand-panel {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 30px;
}

.ela-logo-container {
    background: var(--white); padding: 30px 40px; border-radius: 20px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.03);
    position: relative; overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ela-logo-container:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-hover); }

/* Shimmer effect inside logo */
.ela-shimmer {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg); animation: shimmer 4s infinite; z-index: 1;
}
@keyframes shimmer { 100% { left: 200%; } }

.ela-logo-container img { display: block; max-width: 100%; height: auto; position: relative; z-index: 2; }

.ela-status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--logo-navy); color: var(--white);
    padding: 12px 25px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.ela-status-badge:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 185, 241, 0.3); }
.ela-status-badge i { color: var(--primary); font-size: 1.2rem; transition: color 0.3s ease; }
.ela-status-badge:hover i { color: var(--white); }

/* Right Panel (Cards) */
.ela-levels-panel { display: flex; flex-direction: column; gap: 30px; perspective: 1000px; }

.ela-level-card {
    display: flex; flex-direction: row; align-items: stretch;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.05); 
    border: 1px solid rgba(0, 185, 241, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0); /* Hardware acceleration */
    position: relative;
}

.ela-offset-card { margin-left: 40px; } /* Stagger effect */

/* Interactive Hover Glow Frame */
.ela-card-border-glow {
    position: absolute; inset: 0; border-radius: 24px; pointer-events: none; opacity: 0;
    box-shadow: inset 0 0 0 2px var(--primary); transition: opacity 0.6s ease; z-index: 10;
}

.ela-level-card:hover { 
    transform: translateY(-8px) scale(1.01); 
    box-shadow: 0 30px 60px rgba(0, 185, 241, 0.12); 
}
.ela-level-card:hover .ela-card-border-glow { opacity: 1; }

/* The Badge - NEVER SQUISHES */
.ela-level-badge {
    background: var(--primary-light); color: var(--primary);
    width: 130px; min-width: 130px; flex-shrink: 0; 
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800; font-family: var(--font-head);
    border-right: 1px solid rgba(0, 185, 241, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.badge-dark { background: var(--logo-navy); color: var(--white); border-right: none; }
.ela-level-card:hover .ela-level-badge { background: var(--primary); color: var(--white); }
.ela-level-card:hover .badge-dark { background: var(--primary-dark); }

.ela-level-content { padding: 35px 40px; display: flex; flex-direction: column; justify-content: center; flex-grow: 1; }

.ela-level-content h3 { font-size: 1.6rem; color: var(--logo-navy); margin-bottom: 12px; letter-spacing: -0.5px; transition: color 0.4s ease; }
.ela-level-card:hover .ela-level-content h3 { color: var(--primary); }
.ela-level-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* Check List - Dynamic Hover Stagger */
.ela-check-list { list-style: none; padding: 0; margin: 0; }
.ela-check-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 1rem; color: var(--text-dark); font-weight: 500; margin-bottom: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ela-check-list li:last-child { margin-bottom: 0; }
.ela-check-list li i {
    color: var(--primary); font-size: 1.1rem; margin-top: 3px;
    flex-shrink: 0; /* Icon never squishes */
    transition: transform 0.4s ease;
}
.ela-level-card:hover .ela-check-list li { transform: translateX(8px); }
.ela-level-card:hover .ela-check-list li i { transform: scale(1.2); }

/* --- Benefits Grid --- */
.ela-benefits-wrapper {
    background: linear-gradient(135deg, var(--logo-navy) 0%, #112B4C 100%); 
    border-radius: 24px; padding: 50px; color: var(--white); 
    display: flex; flex-direction: column; align-items: center; gap: 40px;
    box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}

/* Subtle background mesh inside benefits */
.ela-benefits-wrapper::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0.05;
    background-image: radial-gradient(var(--white) 1px, transparent 1px); background-size: 20px 20px;
}

.ela-benefits-heading { font-size: 1.8rem; margin: 0; color: var(--white); position: relative; z-index: 2; }

.ela-benefits-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; position: relative; z-index: 2;
}

.ela-benefit-pill {
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px; border-radius: 50px; font-weight: 500; font-size: 1.05rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.ela-benefit-pill i { color: var(--primary); font-size: 1.2rem; transition: transform 0.4s ease; }
.ela-benefit-pill span { transition: color 0.4s ease; }

.ela-benefit-pill:hover { 
    background: var(--primary); border-color: var(--primary); 
    transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}
.ela-benefit-pill:hover i { color: var(--white); transform: rotate(10deg) scale(1.1); }
.ela-benefit-pill:hover span { color: var(--white); }

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1200px) {
    .ela-showcase { padding: 40px; gap: 30px; }
    .ela-offset-card { margin-left: 20px; }
}

@media (max-width: 992px) {
    .ela-header .section-title { font-size: 3rem; }
    .ela-showcase { grid-template-columns: 1fr; } /* Stack vertically */
    .ela-offset-card { margin-left: 0; } /* Remove stagger on tablet */
    .ela-brand-panel { flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .ela-section { padding-top: 80px; padding-bottom: 80px; }
    .ela-header .section-title { font-size: 2.4rem; }
    .ela-showcase { padding: 30px 20px; border-radius: 20px; }
    
    .ela-brand-panel { flex-direction: column; }
    .ela-logo-container { padding: 20px; }
    
    /* Modify card structure for mobile */
    .ela-level-card { flex-direction: column; } /* Stack badge on top of content */
    .ela-level-badge { width: 100%; min-width: 100%; height: 70px; border-right: none; border-bottom: 1px solid rgba(0, 185, 241, 0.1); }
    .ela-level-content { padding: 30px 20px; text-align: left; } 
    
    .ela-benefits-wrapper { padding: 40px 20px; }
    .ela-benefits-grid { gap: 15px; flex-direction: column; }
    .ela-benefit-pill { width: 100%; justify-content: center; } /* Full width buttons on mobile */
}
/* ==========================================================================
   3. FLOATING NAVBAR & SIDEBAR
   ========================================================================== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 24px 0; transition: var(--transition); }
header.scrolled { padding: 15px 0; }
header.scrolled .nav-wrapper {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; padding: 10px 30px; box-shadow: var(--shadow-card);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.logo { display: flex; align-items: center; }
.logo img { max-height: 45px; width: auto; transition: opacity 0.3s ease; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { color: var(--white); font-weight: 500; font-size: 0.95rem; position: relative; }
header.scrolled .nav-links a { color: var(--logo-navy); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
header.scrolled .nav-links a:hover { color: var(--primary); }

.hamburger { display: none; font-size: 1.5rem; color: var(--white); cursor: pointer; background: none; border: none; }
header.scrolled .hamburger { color: var(--logo-navy); }

/* Mobile Sidebar */
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.8); backdrop-filter: blur(8px); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition); }
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.mobile-sidebar { position: fixed; top: 0; right: -100%; width: 100%; max-width: 340px; height: 100vh; background: var(--white); z-index: 1001; transition: var(--transition); box-shadow: -10px 0 40px rgba(0,0,0,0.2); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 25px; border-bottom: 1px solid #edf2f7; }
.sidebar-logo-img { max-height: 40px; width: auto; }
.close-menu { font-size: 1.8rem; cursor: pointer; color: var(--text-muted); transition: var(--transition); }
.close-menu:hover { color: var(--primary); transform: rotate(90deg); }
.sidebar-links { padding: 25px; flex-grow: 1; }
.sidebar-links a { font-size: 1.15rem; color: var(--text-dark); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; transition: var(--transition); }
.sidebar-links a i { color: var(--primary); width: 20px; text-align: center; }
.sidebar-links a:hover { color: var(--primary); transform: translateX(10px); }
.sidebar-footer { padding: 25px; background: var(--bg-gray); border-top: 1px solid #edf2f7; }
.sidebar-contact p { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500;}
.sidebar-contact i { color: var(--primary); }
.sidebar-social { display: flex; gap: 15px; margin-top: 20px; }
.sidebar-social a { width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--logo-navy); box-shadow: var(--shadow-sm); transition: var(--transition); }
.sidebar-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ==========================================================================
   4. REUSABLE SUB-PAGE HEADER (About, Courses, Contact)
   ========================================================================== */
.page-header { position: relative; padding: 200px 0 120px; background: var(--logo-navy); color: var(--white); text-align: center; overflow: hidden; z-index: 1; }
.page-header::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 185, 241, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(0, 124, 163, 0.2) 0%, transparent 50%);
    z-index: -1; animation: rotateMesh 20s linear infinite;
}
.page-header h1 { font-size: 4.5rem; color: var(--white); margin-bottom: 15px; font-weight: 800; letter-spacing: -2px; animation: fadeUp 0.8s ease-out forwards; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 15px; font-family: var(--font-body);
    font-size: 1.1rem; font-weight: 500; color: var(--primary-light); animation: fadeUp 1s ease-out forwards;
    background: rgba(255,255,255,0.05); padding: 10px 30px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    width: max-content; margin: 0 auto; backdrop-filter: blur(10px);
}
.breadcrumb a { color: var(--white); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.8rem; color: var(--primary); }

/* ==========================================================================
   ULTRA-PREMIUM HERO V4 (FLUID LEFT CONTENT & RIGHT VERTICAL BAR)
   ========================================================================== */
.hero-v4 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #050D1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

/* --- Absolute Background Slider --- */
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.slide-bg { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s ease; }
.slide-bg.active { opacity: 1; visibility: visible; z-index: 1; }

/* Subtle Ken Burns Zoom */
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s ease-out; }
.slide-bg.active img { transform: scale(1); }

.hero-gradient-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0.95) 100%);
}

/* --- Main Layout Grid --- */
.hero-layout-grid {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

/* CSS Grid Stacking allows text elements to fade in/out perfectly in flow */
.hero-text-container {
    display: grid;
    width: 60%;
    max-width: 750px;
}

.slide-text {
    grid-area: 1 / 1; /* Stacks all text blocks on top of each other */
    align-self: center;
    opacity: 0; visibility: hidden; pointer-events: none;
}
.slide-text.active { opacity: 1; visibility: visible; pointer-events: auto; }

.text-mask { overflow: hidden; padding: 4px 0; margin-bottom: 15px; }

/* Staggered Text Animations */
.slide-text .badge-glass, .slide-text h1, .slide-text p, .slide-text .hero-buttons {
    opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-text.active .badge-glass { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.slide-text.active h1 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.slide-text.active p { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.slide-text.active .hero-buttons { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

/* Text Typography */
.badge-glass {
    display: inline-block; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); color: var(--primary-light, #E5F8FD);
    padding: 8px 24px; border-radius: 50px; font-weight: 600; letter-spacing: 1px; font-size: 0.85rem; text-transform: uppercase;
}
.slide-text h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem); color: var(--white); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin: 0; }
.slide-text p { font-size: clamp(1rem, 1.5vw, 1.25rem); color: #cbd5e1; line-height: 1.6; max-width: 90%; margin: 0; }
.hero-buttons { display: flex; gap: 16px; margin-top: 10px; }

/* --- Right Side Vertical Info Bar --- */
.hero-sidebar-v4 {
    width: 340px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 35px 30px;
    display: flex; flex-direction: column; gap: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.info-card-vert { display: flex; align-items: center; gap: 20px; transition: transform 0.3s ease; }
.info-card-vert:hover { transform: translateX(-5px); }
.info-card-vert .icon-box {
    width: 55px; height: 55px; flex-shrink: 0; border-radius: 14px;
    background: rgba(0, 185, 241, 0.15); color: var(--primary, #00B9F1);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    border: 1px solid rgba(0, 185, 241, 0.2);
}
.info-card-vert h4 { color: var(--white); font-size: 1.1rem; margin: 0 0 4px 0; }
.info-card-vert span { color: #cbd5e1; font-size: 0.9rem; }

/* --- Bottom Left Pagination --- */
.hero-pagination-v4 {
    position: relative; z-index: 5; margin-top: 60px;
    display: flex; align-items: center; gap: 20px;
}
.nav-num { font-weight: 700; color: rgba(255,255,255,0.4); font-size: 1.1rem; letter-spacing: 2px; transition: color 0.3s; }
.active-num { color: var(--primary, #00B9F1); }
.nav-progress-track { width: 250px; height: 3px; background: rgba(255, 255, 255, 0.2); position: relative; border-radius: 3px; }
.nav-progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--primary); border-radius: 3px; transition: width linear; }

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-text-container { width: 55%; }
    .hero-sidebar-v4 { width: 320px; }
}

@media (max-width: 992px) {
    .hero-layout-grid { flex-direction: column; align-items: flex-start; gap: 50px; }
    .hero-text-container { width: 100%; max-width: 100%; }
    
    /* Make Sidebar Horizontal on Tablet */
    .hero-sidebar-v4 { width: 100%; flex-direction: row; justify-content: space-between; padding: 25px; }
    .info-card-vert { gap: 15px; }
}

@media (max-width: 768px) {
    .hero-v4 { height: auto; min-height: 100vh; justify-content: flex-start; padding-top: 130px; padding-bottom: 40px; }
    
    .hero-gradient-overlay { background: linear-gradient(to bottom, rgba(10, 25, 47, 0.8) 0%, rgba(10, 25, 47, 0.95) 100%); }
    .slide-text p { max-width: 100%; margin-bottom: 20px; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Make Sidebar Vertical again for Mobile screens */
    .hero-sidebar-v4 { 
        flex-direction: column; gap: 20px; padding: 25px; 
        background: rgba(10, 25, 47, 0.6); /* Slightly darker for contrast */
    }

    .hero-pagination-v4 { margin-top: 40px; justify-content: center; width: 100%; }
    .nav-progress-track { width: 150px; }
}

/* ==========================================================================
   6. ABOUT US & LEGACY SECTIONS
   ========================================================================== */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img { border-radius: 24px; box-shadow: var(--shadow-card); position: relative; z-index: 2; width: 100%; height: 600px; object-fit: cover;}
.about-visual::before { content: ''; position: absolute; top: -30px; left: -30px; width: 100%; height: 100%; background: var(--bg-gray); border-radius: 24px; z-index: 1; border: 2px dashed var(--primary); }
.about-stat-card { position: absolute; bottom: -30px; right: -30px; background: var(--logo-navy); color: var(--white); padding: 40px; border-radius: 24px; z-index: 3; box-shadow: var(--shadow-hover); }
.about-stat-card h3 { color: var(--white); font-size: 3.5rem; margin-bottom: 5px; line-height: 1; }
.about-stat-card p { color: var(--primary); font-weight: 600; font-size: 1.1rem; margin: 0;}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.mv-card { background: var(--bg-gray); padding: 30px; border-radius: 20px; border-top: 4px solid var(--primary); transition: var(--transition); }
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.mv-card h4 { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 1.3rem; }
.mv-card i { color: var(--primary); font-size: 1.5rem; }

/* Legacy & Pedagogy (About Page) */
.legacy-section { background: var(--bg-gray); position: relative; }
.legacy-wrapper { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 600px; }
.legacy-img-box { position: absolute; left: 0; top: 0; width: 60%; height: 100%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); z-index: 1; }
.legacy-img-box img { width: 100%; height: 100%; object-fit: cover; }
.legacy-img-box::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, transparent, rgba(248, 250, 252, 0.8)); }
.legacy-content { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 60px; border-radius: 24px; width: 55%; z-index: 2; box-shadow: 0 30px 60px rgba(10, 25, 47, 0.08); border: 1px solid rgba(255,255,255,0.6); }
.legacy-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }
.legacy-highlight { font-size: 1.3rem; font-weight: 600; color: var(--logo-navy); border-left: 4px solid var(--primary); padding-left: 20px; margin: 30px 0; background: linear-gradient(to right, var(--primary-light), transparent); padding: 20px; border-radius: 0 12px 12px 0; }

.pedagogy-section { background: var(--logo-navy); color: var(--white); position: relative; overflow: hidden; }
.pedagogy-section .section-title { color: var(--white); }
.pedagogy-section .section-desc { color: #CBD5E1; }
.pedagogy-section .badge-title { background: rgba(255,255,255,0.1); color: var(--primary-light); border: 1px solid rgba(255,255,255,0.2); }
.pedagogy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 60px; position: relative; z-index: 2; }
.pedagogy-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 50px 40px; position: relative; overflow: hidden; transition: var(--transition); backdrop-filter: blur(10px); }
.pedagogy-card:hover { background: rgba(255,255,255,0.06); border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.pedagogy-num { position: absolute; top: 10px; right: 20px; font-size: 8rem; font-weight: 800; font-family: var(--font-body); color: rgba(255,255,255,0.03); line-height: 1; z-index: 0; transition: var(--transition); }
.pedagogy-card:hover .pedagogy-num { color: rgba(0, 185, 241, 0.1); transform: scale(1.1); }
.pedagogy-icon { width: 60px; height: 60px; background: rgba(0, 185, 241, 0.15); color: var(--primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 30px; position: relative; z-index: 1; }
.pedagogy-card h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 15px; position: relative; z-index: 1; }
.pedagogy-card p { font-size: 1.05rem; color: #94A3B8; margin: 0; position: relative; z-index: 1; }

/* ==========================================================================
   7. FEATURES SECTION
   ========================================================================== */
.features-section { background: var(--bg-gray); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.feat-card { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: var(--transition); z-index: 1; border: 1px solid rgba(0,0,0,0.03); }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%); z-index: -1; opacity: 0; transition: var(--transition); }
.feat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-card); border-color: var(--primary); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 70px; height: 70px; background: var(--bg-gray); color: var(--primary); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 25px; transition: var(--transition); }
.feat-card:hover .feat-icon { background: var(--primary); color: var(--white); transform: scale(1.1) rotate(5deg); box-shadow: 0 10px 20px rgba(0,185,241,0.3); }
.feat-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.feat-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   8. COURSES GRID (Index & Courses Page)
   ========================================================================== */
.courses-section, .courses-page-section { background: var(--bg-gray); }
.premium-course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 20px; }

.premium-card {
    background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card);
    transition: var(--transition); display: flex; flex-direction: column;
    border: 1px solid rgba(0, 185, 241, 0.05); position: relative; z-index: 1;
}
.premium-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 185, 241, 0.05), transparent 60%);
    z-index: -1; opacity: 0; transition: var(--transition);
}
.premium-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-color: rgba(0, 185, 241, 0.2); }
.premium-card:hover::before { opacity: 1; }

.card-visual { position: relative; height: 260px; width: 100%; overflow: hidden; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.premium-card:hover .card-visual img { transform: scale(1.1); }
.card-visual::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); pointer-events: none; }

.ai-badge {
    position: absolute; top: 20px; left: 20px; background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: var(--white); padding: 8px 16px; border-radius: 50px; font-family: var(--font-head);
    font-weight: 600; font-size: 0.8rem; box-shadow: 0 10px 20px rgba(109, 40, 217, 0.3);
    display: flex; align-items: center; gap: 6px; z-index: 2; letter-spacing: 0.5px;
}
.special-badge { background: linear-gradient(135deg, #059669 0%, #047857 100%); box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3); }

.card-content { padding: 35px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.5rem; color: var(--logo-navy); margin-bottom: 15px; line-height: 1.3; letter-spacing: -0.5px; }
.card-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }

.btn-details {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600;
    font-size: 1.05rem; color: var(--primary-dark); transition: var(--transition);
    width: max-content; padding: 10px 0; border-bottom: 2px solid transparent;
}
.btn-details i { transition: transform 0.4s ease; color: var(--primary); }
.premium-card:hover .btn-details { color: var(--primary); border-bottom: 2px solid var(--primary); }
.premium-card:hover .btn-details i { transform: translateX(8px); }

/* ==========================================================================
   9. COURSE DETAILS PAGE
   ========================================================================== */
.course-hero { position: relative; padding: 240px 0 140px; background-color: var(--logo-navy); color: var(--white); overflow: hidden; border-bottom: 5px solid var(--primary); }
.course-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: 1; transition: transform 10s ease; transform: scale(1.05); }
.course-hero:hover .course-hero-bg { transform: scale(1); }
.course-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--logo-navy) 0%, rgba(10, 25, 47, 0.4) 100%); z-index: 2; }
.course-hero .container { position: relative; z-index: 3; }
.ai-badge-large { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%); color: var(--white); padding: 10px 24px; border-radius: 50px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(109, 40, 217, 0.4); animation: fadeUp 0.8s ease forwards; }
.course-title { font-size: 4rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -2px; color: var(--white); line-height: 1.1; animation: fadeUp 1s ease forwards;}
.course-desc { font-size: 1.25rem; color: #E2E8F0; max-width: 800px; margin-bottom: 40px; line-height: 1.6; animation: fadeUp 1.2s ease forwards;}

.course-body { padding: 100px 0; background: var(--bg-gray); position: relative; }
.course-body::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0.3; background-image: radial-gradient(var(--primary-light) 1px, transparent 1px); background-size: 30px 30px; z-index: 0; }
.course-layout { display: grid; grid-template-columns: 2fr 1.1fr; gap: 60px; position: relative; z-index: 1; }

.module-box { background: var(--white); border-radius: 24px; padding: 45px; margin-bottom: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); position: relative; overflow: hidden; }
.module-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(0, 185, 241, 0.2); }
.module-box::after { content: ''; position: absolute; top: -50px; right: -50px; width: 100px; height: 100px; background: radial-gradient(circle, rgba(0, 185, 241, 0.1) 0%, transparent 70%); border-radius: 50%; transition: var(--transition); }
.module-box:hover::after { transform: scale(3); }
.module-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #edf2f7; }
.module-icon { width: 60px; height: 60px; background: var(--primary-light); color: var(--primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: inset 0 0 0 1px rgba(0, 185, 241, 0.2); }
.module-header h3 { font-size: 1.6rem; margin: 0; color: var(--logo-navy); letter-spacing: -0.5px; }
.module-list { list-style: none; padding: 0; }
.module-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.1rem; color: var(--text-muted); font-weight: 500;}
.module-list li::before { content: '\f058'; font-family: "FontAwesome"; position: absolute; left: 0; color: var(--primary); font-size: 1.1rem; top: 2px;}

.highlight-box { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border-left: 6px solid var(--gold); }
.highlight-box .module-icon { background: rgba(245, 158, 11, 0.15); color: #D97706; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.3);}
.highlight-box h3 { color: #D97706; }
.highlight-box .module-list li { color: #92400E; }
.highlight-box .module-list li::before { color: var(--gold); }

.sidebar-widget { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-card); margin-bottom: 30px; position: sticky; top: 120px; border: 1px solid rgba(0, 185, 241, 0.1); }
.sidebar-widget::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--primary) 0%, #8B5CF6 100%); border-radius: 24px 24px 0 0; }
.widget-header { text-align: center; margin-bottom: 30px; }
.widget-header h4 { font-size: 1.8rem; color: var(--logo-navy); margin-bottom: 10px; letter-spacing: -0.5px;}
.widget-header p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5;}
.eligibility-tag { background: var(--bg-gray); padding: 15px 20px; border-radius: 12px; font-weight: 600; color: var(--logo-navy); display: flex; align-items: center; gap: 15px; margin-bottom: 30px; border: 1px solid #edf2f7; }
.eligibility-tag i { color: var(--primary); font-size: 1.5rem; background: var(--white); padding: 10px; border-radius: 10px; box-shadow: var(--shadow-sm);}

#loader { text-align: center; padding: 150px 0; font-size: 1.5rem; color: var(--primary); font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 20px;}
#loader i { font-size: 3rem; }

/* ==========================================================================
   10. CONTACT PAGE (Cards, Maps, Forms)
   ========================================================================== */
.contact-info-section { background: var(--bg-gray); position: relative; z-index: 10; padding-top: 60px; }
.contact-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -120px; }
.contact-card { background: var(--white); padding: 50px 30px; border-radius: 24px; text-align: center; box-shadow: var(--shadow-card); border: 1px solid rgba(0, 185, 241, 0.1); transition: var(--transition); position: relative; overflow: hidden; z-index: 1; }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(0, 185, 241, 0.05), transparent 60%); z-index: -1; opacity: 0; transition: var(--transition); }
.contact-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-color: rgba(0, 185, 241, 0.3); }
.contact-card:hover::before { opacity: 1; }
.contact-card-icon { width: 80px; height: 80px; background: var(--primary-light); color: var(--primary); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 25px; transition: var(--transition); box-shadow: inset 0 0 0 1px rgba(0, 185, 241, 0.2); }
.contact-card:hover .contact-card-icon { background: var(--primary); color: var(--white); transform: scale(1.1) rotate(5deg); box-shadow: 0 10px 20px rgba(0, 185, 241, 0.3); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--logo-navy); letter-spacing: -0.5px;}
.contact-card p, .contact-card a { font-size: 1.05rem; color: var(--text-muted); display: block; font-weight: 500; margin-bottom: 8px; }
.contact-card a { transition: var(--transition); }
.contact-card a:hover { color: var(--primary); }

.campus-section { background: var(--white); }
.campus-showcase { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-gray); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 60px; border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); }
.campus-showcase:hover { box-shadow: var(--shadow-card); transform: translateY(-5px); }
.campus-showcase.reverse .campus-info { order: 2; }
.campus-showcase.reverse .map-container { order: 1; }
.campus-info { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.campus-info h3 { font-size: 2.2rem; margin-bottom: 25px; color: var(--logo-navy); display: flex; align-items: center; gap: 15px; letter-spacing: -0.5px; }
.campus-info h3 i { color: var(--primary); font-size: 1.8rem; }
.campus-details { list-style: none; padding: 0; margin: 0; }
.campus-details li { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 25px; font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; }
.campus-details li i { color: var(--primary); font-size: 1.3rem; margin-top: 4px; background: var(--white); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: var(--shadow-sm); }
.campus-details li a { color: var(--logo-navy); font-weight: 600; }
.campus-details li a:hover { color: var(--primary); }
.map-container { width: 100%; height: 100%; min-height: 400px; position: relative; background: #e2e8f0; overflow: hidden; }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: none !important; filter: grayscale(80%) contrast(1.2) opacity(0.8); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); transform: scale(1.05); }
.campus-showcase:hover .map-container iframe { filter: grayscale(0%) contrast(1) opacity(1); transform: scale(1); }

.contact-form-section { background: var(--bg-gray); position: relative; overflow: hidden;}
.form-bg-blob { position: absolute; width: 600px; height: 600px; background: rgba(0, 185, 241, 0.05); border-radius: 50%; filter: blur(60px); top: -100px; right: -100px; z-index: 0; }
.form-wrapper { background: var(--white); border-radius: 24px; padding: 60px; box-shadow: var(--shadow-card); border-top: 6px solid var(--primary); max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { position: relative; margin-bottom: 24px; }
.form-group.full-width { grid-column: span 2; }
.form-group i { position: absolute; top: 20px; left: 20px; color: var(--text-muted); font-size: 1.1rem; }
.premium-input, .premium-select, .premium-textarea { width: 100%; padding: 18px 20px 18px 50px; border-radius: 12px; border: 1px solid #cbd5e1; background: var(--bg-gray); font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); transition: var(--transition); outline: none; font-weight: 500; }
.premium-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-arrow { position: absolute; top: 20px; right: 20px; color: var(--text-muted); pointer-events: none; }
.premium-textarea { resize: vertical; min-height: 150px; padding-top: 20px; }
.premium-input:focus, .premium-select:focus, .premium-textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px var(--primary-light); }
.submit-btn { background: var(--primary); color: var(--white); border: none; padding: 20px 40px; border-radius: 12px; font-size: 1.1rem; font-weight: 700; font-family: var(--font-head); cursor: pointer; transition: var(--transition); width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 25px rgba(0, 185, 241, 0.4); }
.submit-btn:hover { background: var(--logo-navy); transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* ==========================================================================
   HOME PAGE: PLACEMENT MARQUEE
   ========================================================================== */
.placement-section { background: var(--logo-navy); overflow: hidden; padding: 100px 0; position: relative; }
.placement-section .section-title { color: var(--white); text-align: center; }

.marquee-wrapper { position: relative; width: 100vw; max-width: 100%; overflow: hidden; margin-top: 50px; display: flex; }
.marquee-track { display: flex; width: max-content; gap: 30px; padding: 20px 0; animation: scrollMarquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* --- 1. Square Image Constraints --- */
.gallery-img {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px; 
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* --- 2. Standard Marquee Speed --- */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 24px; 
    width: max-content;
    animation: marquee-scroll 50s linear infinite; 
}

/* Pause the animation when the user hovers over the gallery */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* --- 3. Keyframes --- */
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- 4. Premium Hover Overlay --- */
.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-img:hover .hover-overlay {
    opacity: 1;
}

.hover-icon {
    color: var(--primary-light);
    font-size: 2rem;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-img:hover .hover-icon {
    transform: translateY(0);
}

/* ==========================================================================
   CORE VALUES SECTION (Glowing Bento Grid)
   ========================================================================== */
.values-section { background: var(--white); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }

.value-card {
    background: var(--bg-gray); padding: 40px 30px; border-radius: 24px;
    text-align: center; transition: var(--transition); border: 1px solid rgba(0,0,0,0.02);
    position: relative; overflow: hidden; z-index: 1;
}

.value-card::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0, 185, 241, 0.15) 0%, transparent 70%);
    z-index: -1; transition: var(--transition); border-radius: 50%; opacity: 0;
}

.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); background: var(--white); border-color: var(--primary-light); }
.value-card:hover::before { opacity: 1; transform: scale(1.5); }

.value-icon {
    width: 80px; height: 80px; background: var(--white); color: var(--primary);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; margin: 0 auto 25px; box-shadow: var(--shadow-sm); transition: var(--transition);
}

.value-card:hover .value-icon { background: var(--primary); color: var(--white); transform: scale(1.1) rotate(5deg); }
.value-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--logo-navy); }
.value-card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* ==========================================================================
   11. ULTRA-PREMIUM PLACEMENT GALLERY & LIGHTBOX
   ========================================================================== */
.placements-gallery-section { background: var(--bg-gray); position: relative; }

.placement-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px; 
    margin-top: 40px; 
}

.placement-image-card { 
    position: relative; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.08); 
    cursor: zoom-in; 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    background: var(--logo-navy); 
    height: 280px; 
    width: 100%;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.placement-image-card::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 4;
}

.placement-image-card::before {
    content: ''; position: absolute; top: 0; left: -100%; 
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg); z-index: 3; pointer-events: none;
}

.placement-image-card:hover { 
    transform: translateY(-12px) scale(1.02); 
    box-shadow: 0 30px 60px rgba(0, 185, 241, 0.15), 0 15px 20px rgba(10, 25, 47, 0.2); 
    z-index: 10; 
}
.placement-image-card:hover::after { 
    border-color: rgba(0, 185, 241, 0.6); 
    box-shadow: inset 0 0 20px rgba(0, 185, 241, 0.2);
}
.placement-image-card:hover::before { animation: shineSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes shineSweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

.placement-image-card img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease; 
    filter: saturate(1.1) brightness(0.9); 
}
.placement-image-card:hover img { 
    transform: scale(1.15); 
    filter: saturate(1.2) brightness(1.1);
}

.hover-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.2) 60%, rgba(0, 185, 241, 0.15) 100%); 
    display: flex; align-items: center; justify-content: center; 
    opacity: 0; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}
.placement-image-card:hover .hover-overlay { opacity: 1; }

.hover-icon { 
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50px; 
    display: flex; align-items: center; justify-content: center; 
    color: var(--white); font-size: 1.1rem; 
    padding: 14px 32px;
    transform: translateY(30px) scale(0.9); 
    opacity: 0; 
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hover-icon::after {
    content: 'View Image';
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.placement-image-card:hover .hover-icon { 
    transform: translateY(0) scale(1); 
    opacity: 1; 
    transition-delay: 0.1s; 
}

.hover-icon i { transition: transform 0.4s ease; }
.placement-image-card:hover .hover-icon:hover i { transform: scale(1.2); color: var(--primary); }

.card-watermark { 
    position: absolute; bottom: 20px; left: 25px; 
    font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; 
    color: rgba(255, 255, 255, 0.9); z-index: 2; pointer-events: none; 
    opacity: 0; transform: translateX(-20px); 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.card-watermark span { color: var(--primary); }
.placement-image-card:hover .card-watermark { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }

.lightbox-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90vh; transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.lightbox-modal.active .lightbox-content { transform: scale(1); }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.6); object-fit: contain; border: 1px solid rgba(255,255,255,0.1); transition: opacity 0.2s ease;}
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 2.5rem; color: var(--white); cursor: pointer; transition: var(--transition); z-index: 100001; opacity: 0.7; }
.lightbox-close:hover { color: var(--primary); transform: rotate(90deg); opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.5rem; color: var(--white); cursor: pointer; transition: var(--transition); z-index: 100001; padding: 20px; opacity: 0.7; background: rgba(0,0,0,0.2); border-radius: 50%; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.05); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--primary); opacity: 1; background: rgba(255,255,255,0.1); border-color: rgba(0, 185, 241, 0.5); }
.lightbox-counter { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--white); font-family: var(--font-body); font-weight: 600; letter-spacing: 2px; background: rgba(0,0,0,0.5); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }

/* ==========================================================================
   12. STATS & PROCESS SECTIONS
   ========================================================================== */
.stats-section { background: linear-gradient(135deg, var(--logo-navy) 0%, #112B4C 100%); padding: 80px 0; color: var(--white); position: relative;}
.stats-section::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0.05; background-image: radial-gradient(var(--white) 1px, transparent 1px); background-size: 20px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-box { transition: var(--transition); }
.stat-box:hover { transform: translateY(-10px); }
.stat-icon { font-size: 3rem; color: var(--primary); margin-bottom: 15px; text-shadow: 0 10px 20px rgba(0,185,241,0.3); }
.stat-box h3 { font-size: 4rem; font-family: var(--font-body); font-weight: 800; color: var(--white); margin-bottom: 5px; line-height: 1; }
.stat-box p { font-size: 1rem; color: #94A3B8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

.process-section { background: var(--white); }
.process-grid { display: flex; justify-content: space-between; position: relative; margin-top: 60px; }
.process-grid::before { content: ''; position: absolute; top: 45px; left: 0; width: 100%; height: 2px; background: dashed 3px var(--primary-light); z-index: 1; }
.step-box { width: 22%; text-align: center; position: relative; z-index: 2; }
.step-icon { width: 90px; height: 90px; background: var(--white); border: 4px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--primary); margin: 0 auto 25px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.step-box:hover .step-icon { background: var(--primary); color: var(--white); transform: scale(1.1); box-shadow: var(--shadow-hover); }
.step-box h4 { font-size: 1.3rem; margin-bottom: 12px; }
.step-box p { color: var(--text-muted); }

/* ==========================================================================
   13. CERTIFICATIONS & CAMPUS LIFE
   ========================================================================== */
.certs-section { background: var(--bg-gray); }
.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.cert-card-lux { background: var(--white); padding: 40px; border-radius: 20px; text-align: left; display: flex; gap: 20px; align-items: center; box-shadow: var(--shadow-card); transition: var(--transition); position: relative; z-index: 1; overflow: hidden; border-left: 6px solid var(--primary); }
.cert-card-lux:hover { transform: translateX(10px); box-shadow: var(--shadow-hover); }
.cert-icon-lux { width: 70px; height: 70px; flex-shrink: 0; background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(245,158,11,0.2); }
.cert-info h4 { font-size: 1.25rem; color: var(--logo-navy); margin-bottom: 5px;}
.cert-info p { font-size: 0.9rem; color: var(--text-muted); margin: 0; font-weight: 500;}

.campus-section { background: var(--bg-light); }
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 24px; margin-top: 50px; }
.camp-item { border-radius: 24px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.camp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.camp-item:hover img { transform: scale(1.1); }
.camp-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px; background: linear-gradient(to top, rgba(10,25,47,0.95), transparent); color: var(--white); transform: translateY(20px); opacity: 0; transition: var(--transition); }
.camp-item:hover .camp-overlay { transform: translateY(0); opacity: 1; }
.camp-overlay h4 { color: var(--white); font-size: 1.5rem; margin: 0;}
.camp-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.camp-item:nth-child(2) { grid-column: span 2; }
.camp-item:nth-child(3) { grid-column: span 1; }
.camp-item:nth-child(4) { grid-column: span 1; }

.partners-section { padding: 80px 0; background: var(--white); overflow: hidden;}
.p-track { display: flex; width: max-content; gap: 100px; align-items: center; animation: scrollMarquee 20s linear infinite; }
.p-track i { font-size: 4.5rem; color: #CBD5E1; transition: var(--transition); }
.p-track i:hover { color: var(--primary); transform: scale(1.1); }

/* ==========================================================================
   14. PREMIUM CTA
   ========================================================================== */
.premium-cta { position: relative; padding: 140px 0; overflow: hidden; background: var(--logo-navy); text-align: center; color: var(--white); z-index: 1; }
.cta-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.blob { position: absolute; filter: blur(80px); border-radius: 50%; animation: moveBlob 15s infinite alternate ease-in-out; }
.blob-1 { width: 500px; height: 500px; background: rgba(0,185,241,0.4); top: -200px; left: -100px; }
.blob-2 { width: 600px; height: 600px; background: rgba(0,124,163,0.3); bottom: -250px; right: -150px; animation-delay: -5s; }
@keyframes moveBlob { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(100px, 50px) scale(1.2); } }
.cta-content { max-width: 900px; margin: 0 auto; }
.cta-content h2 { font-size: 4rem; color: var(--white); margin-bottom: 24px; font-weight: 800; letter-spacing: -1px; }
.cta-content p { font-size: 1.3rem; color: #E2E8F0; margin-bottom: 50px; }
.cta-actions { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ==========================================================================
   15. FOOTER & FLOATING WHATSAPP
   ========================================================================== */
footer { background: #050D1A; color: #94A3B8; padding: 100px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 80px; }
.footer-col h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 30px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a:hover { color: var(--primary); padding-left: 8px; }
.newsletter { display: flex; margin-top: 20px; }
.newsletter input { flex-grow: 1; padding: 15px 20px; border: none; border-radius: 50px 0 0 50px; outline: none; font-family: var(--font-body); }
.newsletter button { background: var(--primary); color: var(--white); border: none; padding: 0 30px; border-radius: 0 50px 50px 0; cursor: pointer; transition: var(--transition); }
.newsletter button:hover { background: var(--primary-dark); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; font-size: 0.95rem; }

.float-wa { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: var(--white); width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: var(--shadow-hover); z-index: 999; transition: var(--transition); }
.float-wa:hover { transform: scale(1.15) rotate(-10deg); }

/* Animations */
.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   16. RESPONSIVE DESIGN (FIXED FOR ALL SCREENS)
   ========================================================================== */

/* --- LARGE SCREENS (Laptops/Small Desktops) --- */
@media (max-width: 1200px) {
    header.scrolled .nav-wrapper { width: 95%; }
    
    /* Hero V4 Adjustments */
    .hero-text-container { width: 55%; }
    .hero-sidebar-v4 { width: 320px; }
    
    .about-grid { grid-template-columns: 1fr; }
    .process-grid { flex-direction: column; gap: 40px; }
    .process-grid::before { display: none; }
    .step-box { width: 100%; }
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .campus-showcase { grid-template-columns: 1fr; }
    .campus-showcase.reverse .campus-info { order: 1; }
    .campus-showcase.reverse .map-container { order: 2; }
    .map-container { min-height: 350px; }
}

/* --- TABLETS (Landscape) --- */
@media (max-width: 992px) {
    .nav-links, .nav-wrapper .btn { display: none; }
    .hamburger { display: block; }
    
    /* Hero V4 Tablet Adjustments */
    .hero-layout-grid { flex-direction: column; align-items: flex-start; gap: 40px; }
    .hero-text-container { width: 100%; max-width: 100%; }
    
    /* Make Sidebar Horizontal on Tablet to save space */
    .hero-sidebar-v4 { 
        width: 100%; 
        flex-direction: row; 
        justify-content: space-between; 
        padding: 25px; 
    }
    .info-card-vert { gap: 15px; }
    
    .features-grid, .courses-grid, .premium-course-grid, .certs-grid, .stats-grid, .campus-grid, .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .camp-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    
    .legacy-wrapper { flex-direction: column; }
    .legacy-img-box { position: relative; width: 100%; height: 400px; }
    .legacy-img-box::after { display: none; }
    .legacy-content { width: 90%; margin-top: -80px; padding: 40px; }
    .course-layout { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-widget { position: relative; top: 0; }
    .course-title { font-size: 3.2rem; }
    .placement-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- MOBILE & SMALL TABLETS (Portrait) --- */
@media (max-width: 768px) {
    /* Global Section Adjustments */
    .section-padding { padding: 70px 0; }
    .premium-cta { padding: 90px 0; }
    footer { padding: 70px 0 30px; }
    header.scrolled .nav-wrapper { border-radius: 0; padding: 15px 24px; border: none; }
    .logo img { max-height: 35px; } 
    .section-title { font-size: 2.6rem; }
    .cta-content h2 { font-size: 2.8rem; }

    /* --- HERO V4 MOBILE REWRITE --- */
    .hero-v4 { 
        height: auto; 
        min-height: 100vh; 
        justify-content: flex-start; 
        padding-top: 130px; 
        padding-bottom: 40px; 
    }
    .hero-gradient-overlay { 
        background: linear-gradient(to bottom, rgba(10, 25, 47, 0.8) 0%, rgba(10, 25, 47, 0.95) 100%); 
    }
    .slide-text p { max-width: 100%; margin-bottom: 20px; }

    /* ROBUST BUTTON RESPONSIVENESS FIX */
    .hero-buttons { 
        display: flex; 
        flex-direction: column; /* Forces buttons to stack vertically */
        width: 100%; 
        gap: 15px; 
        margin-top: 20px;
    }
    
    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline,
    .hero-buttons .btn-xl,
    .cta-actions .btn { 
        width: 100%; 
        justify-content: center; 
        text-align: center;
        padding: 16px 24px; /* Ensure comfortable touch target size */
        font-size: 1.05rem;
    }

    /* Stack Right Sidebar Vertically on Mobile */
    .hero-sidebar-v4 { 
        flex-direction: column; 
        gap: 20px; 
        padding: 25px; 
        background: rgba(10, 25, 47, 0.6); 
    }

    /* Convert Pagination */
    .hero-pagination-v4 { 
        margin-top: 40px; 
        justify-content: center; 
        width: 100%; 
    }
    .nav-progress-track { width: 150px; }

    /* --- COURSES & GRID MOBILE FIXES --- */
    .features-grid, .mv-grid, .courses-grid, .premium-course-grid, .certs-grid, .footer-grid { 
        grid-template-columns: 1fr; /* Forces exactly 1 column on mobile */
        gap: 30px; 
    }
    
    /* Sub-page & Component Mobile Adjustments */
    .cert-card-lux { flex-direction: column; text-align: center; padding: 30px 20px; }
    .cert-card-lux .cert-icon-lux { margin: 0 auto 15px auto; }

    .footer-col { text-align: center; }
    .footer-col .logo { justify-content: center; margin-bottom: 15px !important; }
    .footer-col div[style*="display: flex"] { justify-content: center; } 
    
    .newsletter { flex-direction: column; gap: 15px; }
    .newsletter input { border-radius: 50px; width: 100%; text-align: center; }
    .newsletter button { border-radius: 50px; width: 100%; padding: 15px; }

    .about-img { height: 350px; }
    .about-stat-card { right: 15px; bottom: -20px; padding: 20px; border-radius: 15px; }
    .about-stat-card h3 { font-size: 2.5rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stat-box h3 { font-size: 2.8rem; }
    .stat-icon { font-size: 2.2rem; }
    .campus-grid { grid-auto-rows: 220px; }

    .page-header { padding: 160px 0 80px; }
    .page-header h1 { font-size: 3rem; letter-spacing: -1px; }
    .legacy-content { width: 100%; margin-top: -50px; padding: 30px; }
    .legacy-highlight { font-size: 1.15rem; padding: 15px; }
    .pedagogy-grid { grid-template-columns: 1fr; gap: 30px; }
    .pedagogy-card { padding: 40px 30px; }

    .contact-info-section { padding-top: 20px; margin-top: 0; }
    .contact-cards-grid { grid-template-columns: 1fr; margin-top: -60px; }
    .campus-info { padding: 30px; }
    .campus-info h3 { font-size: 1.8rem; }
    .form-wrapper { padding: 40px 25px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .map-container { min-height: 300px; }

    .course-hero { padding: 180px 0 80px; }
    .course-title { font-size: 2.5rem; letter-spacing: -1px;}
    .module-box { padding: 30px 25px; }
    .sidebar-widget { padding: 30px 20px; }

    .placement-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .placement-image-card { height: 220px; }
    .lightbox-prev { left: 10px; width: 50px; height: 50px; font-size: 1.5rem; }
    .lightbox-next { right: 10px; width: 50px; height: 50px; font-size: 1.5rem; }
    .lightbox-close { top: 15px; right: 20px; font-size: 2rem; }
}

/* --- SMALL MOBILE PHONES --- */
@media (max-width: 480px) {
    .slide-text h1 { font-size: 2.4rem; }
    
    .placement-grid { grid-template-columns: 1fr; }
    .placement-image-card { height: 260px; }
    
    /* Ensure absolutely no button overflow on tiny screens */
    .hero-buttons .btn {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* --- ULTRA SMALL SCREENS (Older iPhones) --- */
@media (max-width: 375px) {
    .slide-text h1 { font-size: 2.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.2rem; }
}