/* ==========================================================================
   GLOBAL BRAND VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-blue: #1D2F6F;
    --primary-red: #D93636;
    --white: #FFFFFF;
    --light-bg: #F5F8FC;
    --dark-heading: #17233D;
    --accent-gold: #F5B642;
    --body-text: #4E5D78;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-heading);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   UI UTILITIES & BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary-red { background-color: var(--primary-red); color: var(--white); }
.btn-primary-red:hover { background-color: #b82727; transform: translateY(-2px); }
.btn-gold { background-color: var(--accent-gold); color: var(--dark-heading); box-shadow: 0 4px 15px rgba(245, 182, 66, 0.3); }
.btn-gold:hover { background-color: #e0a131; transform: translateY(-2px); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background-color: var(--white); color: var(--primary-blue); }

/* ==========================================================================
   TOP SYSTEM INFOBAR
   ========================================================================== */
.top-bar { background-color: var(--dark-heading); color: #a0aec0; font-size: 0.85rem; padding: 8px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-socials a { color: #a0aec0; margin-left: 15px; transition: color 0.3s; }
.top-bar-socials a:hover { color: var(--accent-gold); }

/* ==========================================================================
   STICKY MAIN HEADER (OPTIMIZED FOR WIDE LOGO)
   ========================================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }

.brand-logo-container {
    display: flex;
    align-items: center;
    width: 220px; 
}
.brand-logo-img {
    width: 100%;
    height: auto;
    max-height: 65px; 
    object-fit: contain;
}

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--dark-heading); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-red); }

/* Dropdown System */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-top: 3px solid var(--primary-blue);
    list-style: none; padding: 10px 0; min-width: 180px; display: none; border-radius: 0 0 4px 4px;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 8px 20px; display: block; font-weight: 400; }

.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-blue); }

/* ==========================================================================
   STRICT TWO-COLUMN HERO GRID (PREVENTS ACCIDENTAL OVERLAPS)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #101c44 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.hero-content { z-index: 5; }
.badge-premium { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 8px 18px; border-radius: 50px; display: inline-block; font-size: 0.85rem; color: var(--accent-gold); margin-bottom: 25px; font-weight: 600; letter-spacing: 0.5px; }
.hero-content h1 { font-size: 3rem; color: var(--white); line-height: 1.25; margin-bottom: 22px; }
.hero-content .text-highlight { color: var(--accent-gold); }
.hero-content p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 35px; color: #f1f5f9; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; }

/* Horizontal Trust Metric Row */
.hero-trust-indicators { display: flex; gap: 30px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 25px; }
.trust-item { display: flex; align-items: center; gap: 15px; }
.trust-item i { font-size: 2rem; }
.trust-item h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 2px; }
.trust-item p { margin: 0; font-size: 0.85rem; color: #94a3b8; }

/* ==========================================================================
   HERO PHOTOGRAPHY FRAME MODULE
   ========================================================================== */
.hero-visual-frame { position: relative; display: flex; justify-content: center; align-items: center; }
.visual-wrapper { position: relative; width: 100%; max-width: 420px; height: 450px; z-index: 5; }
.visual-shield-bg { position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-red) 0%, #a82323 100%); top: 15px; right: -15px; border-radius: 16px; z-index: 1; }
.main-hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; position: relative; z-index: 2; box-shadow: 0 20px 45px rgba(0,0,0,0.25); display: block; }

/* Real-Time Glass Indicator Badge */
.live-glass-counter {
    position: absolute; bottom: 25px; left: -25px; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 12px;
    padding: 12px 20px; display: flex; align-items: center; gap: 12px; z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18); width: 240px;
}
.counter-icon-circle { width: 40px; height: 40px; background: #e8fbf0; color: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.counter-bold { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--dark-heading); }
.counter-sub { display: block; font-size: 0.8rem; color: var(--body-text); }

.animate-bounce-slow { animation: bounceSlow 4s ease-in-out infinite; }
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   PROCESS ROADMAP TIMELINE SECTION
   ========================================================================== */
.process-section { padding: 100px 0; background-color: var(--light-bg); }
.section-title { text-align: center; max-width: 600px; margin: 0 auto 65px auto; }
.section-title span { color: var(--primary-red); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.section-title h2 { font-size: 2.35rem; margin: 10px 0 15px 0; }
.section-title p { color: var(--body-text); }

.timeline-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.timeline-step { background: var(--white); padding: 35px 25px; border-radius: 8px; box-shadow: 0 10px 30px rgba(29,47,111,0.02); transition: transform 0.3s; }
.timeline-step:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(29,47,111,0.06); }
.step-icon-box { width: 60px; height: 60px; background-color: rgba(217, 54, 54, 0.06); color: var(--primary-red); border-radius: 50px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 22px; position: relative; }
.step-number { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; background: var(--primary-blue); color: var(--white); border-radius: 50%; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.timeline-step h3 { font-size: 1.15rem; margin-bottom: 12px; }
.timeline-step p { font-size: 0.9rem; color: var(--body-text); }

/* ==========================================================================
   FLOATING OVERLAYS & FOOTER
   ========================================================================== */
.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; transition: transform 0.3s; }
.floating-whatsapp:hover { transform: scale(1.1); }

.main-footer { background-color: var(--dark-heading); color: #cbd5e1; padding: 75px 0 25px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 55px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--primary-red); }
.footer-col p { margin-bottom: 20px; color: #94a3b8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }
.footer-col i { margin-right: 10px; color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid #2e3d56; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; color: #64748b; font-size: 0.85rem; }

/* ==========================================================================
   RESPONSIVE MEDIA LAYOUT ADAPTERS
   ========================================================================== */
@media(max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-trust-indicators { justify-content: center; }
    .hero-visual-frame { margin-top: 20px; }
    .live-glass-counter { left: 50%; transform: translateX(-50%); bottom: -20px; }
    .animate-bounce-slow { animation: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mobile-menu-toggle { display: block; }
    .nav-links { display: none; }
}
@media(max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.35rem; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}




/* ==========================================================================
   HOMEPAGE EXTENSION STYLES
   ========================================================================== */

/* Layout Helper */
.layout-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.section-badge-red { color: var(--primary-red); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; }

/* Why Choose Us Section */
.why-choose-us { padding: 90px 0; background: var(--white); }
.why-content h2 { font-size: 2.4rem; margin-bottom: 20px; }
.why-content p { color: var(--body-text); margin-bottom: 35px; }
.feature-row { display: flex; gap: 20px; margin-bottom: 25px; }
.feature-icon { width: 50px; height: 50px; background: rgba(29,47,111,0.06); color: var(--primary-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.feature-row h3 { font-size: 1.15rem; margin-bottom: 5px; }
.feature-row p { margin: 0; font-size: 0.9rem; }

.why-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--light-bg); padding: 40px 20px; border-radius: 12px; text-align: center; border: 1px solid rgba(0,0,0,0.02); }
.stat-box h3 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 5px; }
.stat-box.red-box { background: var(--primary-red); color: var(--white); }
.stat-box.red-box h3, .stat-box.red-box p { color: var(--white); }
.stat-box.dark-box { background: var(--dark-heading); color: var(--white); }
.stat-box.dark-box h3, .stat-box.dark-box p { color: var(--white); }

/* Services Section */
.services-section { padding: 90px 0; background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(29,47,111,0.06); }
.s-icon { font-size: 2.2rem; color: var(--primary-red); margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 15px; line-height: 1.4; }
.service-card p { font-size: 0.9rem; line-height: 1.6; }

/* Team Section */
.team-section { padding: 90px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card { background: var(--light-bg); border-radius: 12px; padding: 40px 25px; text-align: center; }
.team-img-placeholder { width: 100px; height: 100px; background: rgba(0,0,0,0.04); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary-blue); margin: 0 auto 20px auto; border: 3px solid var(--white); }
.team-card h3 { font-size: 1.3rem; margin-bottom: 5px; }
.team-card span { color: var(--primary-red); font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 15px; }
.team-card p { font-size: 0.9rem; color: var(--body-text); }

/* Partner Universities Section */
.partners-section { padding: 70px 0; background: var(--light-bg); border-top: 1px solid rgba(0,0,0,0.05); }
.partners-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.partner-logo-box { background: var(--white); border: 1px dashed rgba(0,0,0,0.1); padding: 25px; text-align: center; border-radius: 8px; color: #718096; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; }
.partner-logo-box i { font-size: 1.4rem; color: var(--primary-blue); opacity: 0.7; }

/* Testimonials Section */
.testimonials-section { padding: 90px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testi-card { background: var(--light-bg); padding: 40px; border-radius: 12px; position: relative; }
.quote-mark { position: absolute; top: 15px; right: 30px; font-size: 5rem; line-height: 1; color: rgba(0,0,0,0.04); font-family: sans-serif; }
.testi-card p { font-style: italic; color: var(--dark-heading); font-size: 1.05rem; margin-bottom: 25px; position: relative; z-index: 2; }
.student-meta h4 { font-size: 1.1rem; color: var(--primary-blue); }
.student-meta span { font-size: 0.85rem; color: var(--primary-red); font-weight: 600; }

/* Contact Section Form */
.contact-strip-section { padding: 90px 0; background: linear-gradient(135deg, var(--dark-heading) 0%, #111a2e 100%); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.contact-info-block h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 20px; }
.contact-info-block p { color: #94a3b8; margin-bottom: 35px; }
.info-link { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.info-link i { color: var(--accent-gold); font-size: 1.2rem; }
.info-link p { margin: 0; color: #cbd5e1; font-weight: 600; }

.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.home-form .form-group-split { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.home-form input, .home-form select, .home-form textarea { width: 100%; padding: 14px; margin-bottom: 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border 0.3s; }
.home-form input:focus, .home-form select:focus, .home-form textarea:focus { border-color: var(--primary-blue); }

/* Responsive Adapters */
@media(max-width: 992px) {
    .layout-split, .testimonials-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-stats-grid { order: -1; }
    .contact-info-block { text-align: center; }
    .info-link { justify-content: center; }
}









/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE REBOOT (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Reset Master Layout Structures */
    .container {
        padding: 0 15px !important;
    }
    
    .layout-split, 
    .hero-container, 
    .services-grid, 
    .team-grid, 
    .testimonials-grid, 
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    /* 2. Header and Logo Fixing */
    .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 5px 0 !important;
    }
    
    .brand-logo-container {
        width: 160px !important; /* Elegant size on smaller mobile viewports */
        max-width: 160px !important;
    }
    
    .brand-logo-img {
        max-height: 48px !important;
    }
    
    .btn-primary-red {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }

    /* 3. Hero Section Cleanup */
    .hero-section {
        padding: 40px 0 !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 300px;
    }

    /* Trust Metric Horizontal Elements Row Fix */
    .hero-trust-indicators {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }
    
    .trust-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }

    /* Hero Visual Frame Layout Adjustment */
    .hero-visual-frame {
        margin-top: 15px !important;
    }
    
    .visual-wrapper {
        max-width: 310px !important;
        height: 330px !important;
    }
    
    .live-glass-counter {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -15px !important;
        width: 220px !important;
    }

    /* 4. Sections Layout Realignment (Typography & Spacing) */
    .why-choose-us, .services-section, .team-section, .partners-section, .testimonials-section, .contact-strip-section {
        padding: 50px 0 !important;
    }
    
    .section-title {
        margin-bottom: 35px !important;
    }
    
    .section-title h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    /* Why Choose Us Feature Rows Customization */
    .feature-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }

    /* 5. Team Section Layout Fix */
    .team-card {
        padding: 25px 15px !important;
    }

    /* 6. Partner Typography Grid Elements Layout Fix */
    .partners-logo-grid {
        grid-template-columns: 1fr 1fr !important; /* 2 clean columns side-by-side on mobile */
        display: grid !important;
        gap: 12px !important;
    }
    
    .partner-logo-box {
        padding: 15px 10px !important;
        font-size: 0.85rem !important;
    }

    /* 7. Contact Section and Inline Layout Form Controls */
    .info-link {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px !important;
    }
    
    .home-form .form-group-split {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 0 !important;
    }

    /* 8. Structural Layout Footers */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        text-align: left !important;
    }
    
    .footer-col h4::after {
        left: 0 !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
}