/* ============================================== 
   1. GLOBAL RESET & TYPOGRAPHY
   ============================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    /* ADD THIS LINE FOR SMOOTH SCROLLING */
    scroll-behavior: smooth;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden; 
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #f4f7fc;
    color: #333;
    
    /* REMOVED padding-top here to fix the gap */
}

.container { 
    max-width: 1250px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ============================================== 
   2. HEADER SECTION 
   ============================================== */
.site-header { 
    background: #fff; 
    padding: 10px 0; 
    position: fixed; /* Pinned to top */
    top: 0; 
    left: 0;
    width: 100%; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    
    /* Defines exact height: 50px logo + 20px padding = 70px total */
    height: 70px; 
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%; /* Ensures alignment */
}

.logo img { 
    height: 50px; 
    display: block; 
}

/* Navigation */
.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 25px; /* Slightly reduced gap to accommodate the extra Home tab */
    align-items: center;
}

.nav-link { 
    text-decoration: none; 
    color: #0d3c75; 
    font-weight: 600; 
    font-size: 15px; 
    transition: color 0.3s; 
    padding: 10px 0; 
    display: flex;
    align-items: center; /* Keeps text and icons perfectly aligned */
}

.nav-link:hover { 
    color: #f7941d; 
}

/* Icons Logic */
.nav-link i { 
    font-size: 11px; 
    margin-left: 5px; /* This is for the arrows on the right */
}

/* SPECIFIC STYLE FOR HOME ICON */
.nav-link i.fa-home {
    font-size: 16px;     /* Makes home icon slightly larger than arrows */
    margin-left: 0;      /* Removes left margin */
    margin-right: 8px;   /* Adds space between house icon and "Home" text */
    color: inherit;      /* Keeps the same color as the text */
}

/* Dropdown */
.nav-item { 
    position: relative; 
}

.dropdown { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: white; 
    width: 200px; 
    list-style: none; 
    padding: 0; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    border-radius: 6px; 
    display: none; 
    z-index: 1000; 
    border-top: 3px solid #f7941d; 
}

.dropdown li a { 
    text-decoration: none; 
    color: #0d3c75; 
    display: block; 
    padding: 12px 20px; 
    font-size: 14px; 
    font-weight: 500; 
    border-bottom: 1px solid #f0f0f0; 
    transition: 0.3s; 
}

.dropdown li a:hover { 
    background-color: #f9f9f9; 
    color: #f7941d; 
    padding-left: 25px; 
}

.nav-item:hover .dropdown { 
    display: block; 
}

/* Shop Button */
.header-btn .btn-shop { 
    background: #003366; 
    color: white; 
    text-decoration: none; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: bold; 
    font-size: 14px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(0,51,102,0.2); 
}

.btn-shop:hover { 
    background: #f7941d; 
}

/* Mobile Menu Icon */
.hamburger { 
    display: none; 
    cursor: pointer; 
} 
.bar { 
    display: block; 
    width: 25px; 
    height: 3px; 
    margin: 5px auto; 
    background-color: #0d3c75; 
    transition: 0.3s;
}

/* --- Phone Number Styling --- */
.header-btn {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between phone and button */
}

.header-phone {
    text-decoration: none;
    color: #0d3c75; /* Matching your nav color */
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.header-phone i {
    color: #f7941d; /* Using your orange accent color for the icon */
    font-size: 14px;
}

.header-phone:hover {
    color: #f7941d;
    transform: translateY(-1px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    /* Optional: If you want to keep the phone visible on mobile 
       instead of hiding it with the .header-btn */
    .header-btn {
        display: none; 
    }
    
    /* If you'd rather move the phone inside the mobile menu, 
       let me know and I can provide that code! */
}

/* Desktop defaults for the new Flex Wrapper */
.hamburger { display: none; }
.mobile-shop-li { display: none; }
.menu-item-flex { display: flex; align-items: center; }
.dropdown-arrow { margin-left: 6px; cursor: pointer; transition: transform 0.3s; }

/* ==============================================
MOBILE HEADER FIX (Replaces your current Mobile CSS)
============================================== */
@media (max-width: 992px) {
    .header-container { justify-content: space-between; padding: 0 15px; display: flex; align-items: center; }
    .logo img { height: 40px; }
    
    .header-btn { display: flex !important; align-items: center; gap: 10px; margin-left: auto; margin-right: 15px; }
    .btn-shop { display: none !important; }
    
    /* Phone Button */
    .header-phone {
        background-color: #F97316 !important; color: #fff !important; font-weight: 700;
        font-size: 13px !important; padding: 8px 15px; border-radius: 50px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 6px; text-decoration: none;
    }
    .header-phone:before { display: none !important; }
    .header-phone i { font-size: 13px; color: #fff !important; margin: 0; }
    
    /* Hamburger Styles */
    .hamburger { display: flex; flex-direction: column; cursor: pointer; z-index: 1001; }
    .bar { background-color: #000; height: 3px; width: 28px; margin: 5px 0; transition: 0.3s; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Main Sliding Menu */
    .nav-menu {
        position: fixed; right: -100%; top: 65px;
        flex-direction: column; background-color: #fff;
        width: 100%; height: calc(100vh - 65px);
        text-align: left; padding: 0; margin: 0;
        transition: 0.4s ease-in-out; overflow-y: auto; z-index: 1000;
        justify-content: flex-start !important; /* Forces items to top */
    }
    .nav-menu.active { right: 0; }
    
    /* MOBILE SHOP BUTTON (Top center) */
    .mobile-shop-li { display: block; padding: 20px; text-align: center; border-bottom: 1px solid #eee; background: #fafafa; }
    .btn-shop-mobile {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        background: #F97316; color: #fff; padding: 12px 30px; border-radius: 50px;
        text-decoration: none; font-weight: bold; font-size: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    /* --- FIX: List Items & Links Structure --- */
    .nav-item { width: 100%; list-style: none; border-bottom: none !important; } 
    .menu-item-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; border-bottom: 1px solid #f0f0f0; } 
    
    /* Let the link navigate, and the arrow toggle */
    .nav-link { 
        padding: 15px 20px; font-size: 16px; flex-grow: 1; display: flex; align-items: center; gap: 10px; color: #333; text-decoration: none; 
        border: none !important; /* Kills the unwanted orange line */
        box-shadow: none !important; /* Kills the unwanted orange line */
    }
    .dropdown-arrow { padding: 15px 25px; cursor: pointer; color: #777; border-left: 1px solid #eee; }
    
    /* --- FIX: Active State (Like Image 1 & 2) --- */
    .nav-item.active-dropdown .nav-link, 
    .nav-item.active-dropdown .dropdown-arrow,
    .nav-item.active-dropdown .dropdown-arrow i { 
        color: #F97316 !important; /* Turns Text and Arrow Orange */
    }
    
    /* Prevents the orange line from showing under the wrapper */
    .nav-item.active-dropdown .menu-item-flex {
        border-bottom: 1px solid #f0f0f0 !important; 
    }
    
    /* SMOOTH DROPDOWN ANIMATION */
    .dropdown {
        position: static; box-shadow: none; padding: 0; margin: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; display: block !important;
        background: #f9f9f9 !important; /* Very light gray background like Image 1 */
        border-top: none !important; /* Removes desktop orange top-border */
    }
    .dropdown li { list-style: none; }
    .dropdown li a { 
        padding: 12px 20px 12px 40px !important; /* Indents the sub-menu items */
        font-size: 14px; color: #555 !important; display: block; text-decoration: none; 
        border-bottom: 1px solid #eaeaea !important; 
    }
    .dropdown li:last-child a { border-bottom: none !important; }
    
    /* Opens the accordion smoothly */
    .nav-item.active-dropdown .dropdown { max-height: 600px; transition: max-height 0.4s ease-in; }
    
    /* Rotate Arrow visually */
    .nav-item.active-dropdown .dropdown-arrow i { transform: rotate(180deg); }
}
/* ============================================== 
   2. HERO SECTION - FINAL PERFORMANCE & UI FIX
   ============================================== */
.hero-section { 
    width: 100%; 
    background: white; 
    position: relative; 
    z-index: 1; 
    overflow: visible; 
    padding-top: 70px; /* Aligns banner below the 70px fixed header */
}

.hero-slider {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    position: relative;
    /* Perfect Desktop Ratio (1920x800) */
    aspect-ratio: 1920 / 800; 
    background: #ffffff; 
}

.hero-slide {
    grid-area: 1 / 1; 
    width: 100%;
    height: 100%; 
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start; 
}

.hero-slide.active {
    opacity: 1; 
    z-index: 2;
}

.hero-slide img { 
    width: 100%; 
    height: 100%; 
    display: block; 
    object-fit: cover; 
    object-position: center top; /* Ensures text at the top isn't cropped */
}

/* --- THE NEAT GRADIENT --- */
.hero-overlay {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px; 
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 10;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    height: 10px; 
    width: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid white;
}

.dot.active {
    background-color: #0d3c75;
    transform: scale(1.2);
    width: 24px;
    border-radius: 10px;
}

/* RESPONSIVE FIXES */
@media screen and (max-width: 1400px) {
    .hero-section { padding-top: 65px; }
}

@media screen and (max-width: 768px) {
    .hero-section { 
        padding-top: 60px; 
        overflow: visible; /* Ensure dots are never cropped */
    }
    
    .hero-slider {
        /* Adjusted Mobile Ratio: Gives a bit more height (900 vs 800) 
           so the dots have space at the bottom */
        aspect-ratio: 1920 / 950; 
    }

    .hero-slide img {
        /* Keeps original banner visible without cropping sides */
        object-fit: contain; 
        background: #fff;
    }

    .hero-overlay {
        /* Mobile Gradient: Soft and subtle so it doesn't hide banner text */
        height: 70px;
        background: linear-gradient(
            to bottom, 
            rgba(255, 255, 255, 0) 0%, 
            rgba(255, 255, 255, 1) 100%
        );
    }

    .slider-dots {
        /* Position dots clearly within the white gradient area */
        bottom: 10px;
    }

    .dot {
        height: 8px;
        width: 8px;
    }

    .dot.active {
        width: 18px;
    }
}

/* ============================================== 
   4. OFFERING SECTION (REDUCED GAP VERSION)
   ============================================== */
.offering-section {
    /* Gradient starts exactly at the join point */
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #f4f7fc 10%, /* Tightened the transition */
        #f4f7fc 100%
    ); 
    
    padding-bottom: 50px; 
    text-align: center;
    position: relative;
    z-index: 2;

    /* INCREASED NEGATIVE MARGIN: 
       Pulls this section up much higher to hide the gap from the previous section */
    margin-top: -20px; 
}

/* --- LOGO / HEADER --- */
.offering-header-wrapper {
    text-align: center;
    /* REDUCED PADDING: 
       Brings the "Offering for" logo closer to the top edge */
    padding-top: 23px;    
    padding-bottom: 0px;  
    width: 100%;
    background: transparent;
}

.offering-header-img {
    display: inline-block;
    max-width: 90%;      
    width: 800px;         
    height: auto;
    /* This overlap pulls the buttons into the logo's bottom space */
    margin-bottom: -15px; 
}

/* --- TABS / BUTTONS --- */
.tabs-container {
    position: relative;
    margin-top: 0px;      
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.hero-buttons {
    display: inline-flex;
    background: white;
    padding: 8px 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    background: transparent;
    color: #555;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-btn.active { 
    background: linear-gradient(135deg, #0d3c75 0%, #165ab0 100%); 
    color: white; 
    box-shadow: 0 4px 12px rgba(13, 60, 117, 0.3); 
}

/* --- GRID LAYOUT --- */
.offering-grid {
    display: flex;
    justify-content: center;
    gap: 20px; 
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0 20px;
}

.offering-card {
    flex: 1;
    min-width: 260px; 
    max-width: 360px;
    text-align: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex; 
    flex-direction: column;
    animation: fadeUp 0.6s ease forwards;
}

/* 4 Cards logic */
@media (min-width: 1200px) {
    .offering-card {
        flex: 0 1 calc(25% - 20px);
    }
}

.offering-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
}

.img-wrapper { 
    width: 100%; 
    height: 200px; 
    overflow: hidden; 
}

.img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}

.card-content { 
    padding: 25px 20px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.card-title { 
    color: #0d3c75; 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 12px; 
}

.card-desc { 
    color: #5a6c89; 
    font-size: 14px; 
    line-height: 1.6; 
}

/* --- BOTTOM CTA --- */
.section-cta-container { 
    margin-top: 35px; 
    display: flex; 
    justify-content: center; 
}

.main-cta-btn {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    background: linear-gradient(135deg, #0d3c75 0%, #165ab0 100%);
    color: white;
    padding: 14px 40px; 
    font-size: 14px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-decoration: none;
    transition: all 0.3s; 
    text-transform: uppercase;
    border: none;
}

@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ============================================== 
   MOBILE ONLY CORRECTIONS (Max-width: 768px)
   ============================================== */
@media (max-width: 768px) {

    /* 1. PNG TITLE - Keep it Large and Bold */
    .offering-header-wrapper {
        padding-top: 20px !important;
        padding-bottom: 0px !important;
        overflow: hidden; 
    }

    .offering-header-img {
        width: 130% !important; 
        max-width: 130% !important;
        margin-left: -15% !important; 
        transform: scale(1.25); /* Increased zoom slightly */
        height: auto;
        display: block;
        margin-bottom: 25px !important; 
    }

    /* 2. TAB BUTTONS UI - 2x2 Grid */
    .tabs-container {
        margin-top: 10px !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }

    .hero-buttons {
        display: flex !important;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 6px;
        background: #ffffff;
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .hero-btn {
        flex: 1 1 46%; 
        padding: 10px 2px !important; /* Smaller padding for tabs */
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    /* 3. REDUCE ENQUIRE BUTTON SIZE (School Solutions Button) */
    .main-cta-btn {
        padding: 10px 20px !important; /* Reduced from 14px 40px */
        font-size: 12px !important;    /* Reduced from 14px */
        letter-spacing: 0.5px;
        gap: 6px !important;           /* Closer icon and text */
        width: auto !important;        /* Ensure it doesn't stretch full screen */
        min-width: 200px;              /* Keeps it a nice shape */
    }

    .section-cta-container {
        margin-top: 20px !important;   /* Reduce gap above the button */
    }
}

/* ============================================== 
   5. NOTEBOOK SECTION (ALIGNED & OPTIMIZED)
   ============================================== */
.notebook-section {
    position: relative;
    width: 100%;
    /* 1. REDUCED SECTION PADDING */
    padding: 10px 20px 40px 20px; 
    background-color: #fff;
    background-image: 
        linear-gradient(to bottom, #f4f7fc 0%, rgba(255,255,255,0) 100px),
        repeating-linear-gradient(transparent, transparent 29px, #e3ebf3 30px);
    background-attachment: local; 
}

.nb-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.nb-header { 
    text-align: center; 
    margin-bottom: 20px; 
}
.nb-header img { 
    max-width: 100%; 
    height: auto; 
    width: 600px; 
}

.nb-content-row {
    display: flex; 
    flex-direction: row;
    align-items: flex-start; 
    justify-content: space-between;
    gap: 30px;
}

.nb-text-col { 
    flex: 1.2; 
    padding-right: 10px; 
    padding-top: 6px; 
}

.nb-main-paragraph {
    font-size: 1.05rem; 
    line-height: 30px; 
    font-weight: 500;
    color: #003366; 
    margin-bottom: 30px; 
    text-align: justify;
}

/* HIGHLIGHT STYLE for Locations & Keywords */
.highlight { 
    color: #ff4d4d; 
    font-weight: 700; 
}

.nb-quote-card {
    background-color: #eef2ff; 
    border-radius: 20px;
    padding: 20px 25px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #0d3c75; 
    margin-top: 10px; 
}

.nb-quote-content {
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #003366;
    line-height: 1.4; 
    margin-bottom: 15px;
}

/* NEW: AUTHOR PROFILE LAYOUT (Image + Text) */
.nb-author-profile {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns the profile to the right */
    gap: 15px;
}

.author-circle-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* This makes the image a circle */
    object-fit: cover;
    border: 2px solid #0d3c75;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-info {
    text-align: left;
}

.nb-quote-author {
    font-size: 0.95rem; 
    color: #003366; 
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.nb-quote-author.role {
    font-weight: 500;
    font-size: 0.85rem;
}

.nb-image-col { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.nb-image-col img {
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    display: block;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.1));
}

/* ============================================== 
   5. NOTEBOOK SECTION - MOBILE ONLY IMPROVEMENTS
   ============================================== */
@media (max-width: 768px) {
    .notebook-section {
        /* Reduced side padding to give the content more room */
        padding: 30px 15px 40px 15px !important;
        background-attachment: scroll; /* Better performance on mobile */
    }

    /* 1. FIXED PNG TITLE SIZE (No Cropping) */
    .nb-header {
        width: 100%;
        margin-bottom: 20px !important;
        text-align: center;
        overflow: hidden; /* Keeps things tidy */
    }

    .nb-header img {
        /* Makes the image fit perfectly inside the screen width */
        width: 100% !important; 
        max-width: 100% !important;
        
        /* Removes the negative margins and zoom that were causing the cut-off */
        margin-left: 0 !important; 
        transform: none !important; 
        
        height: auto;
        display: block;
        margin: 0 auto !important; /* Centers the image */
    }

    /* 2. LAYOUT ORDER IMPROVEMENTS */
    .nb-content-row {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .nb-image-col {
        order: 1 !important; /* Image comes first after title */
        margin-bottom: 15px;
        text-align: center; /* Centers the boy image */
    }

    .nb-image-col img {
        max-width: 90% !important; /* Keeps it proportional */
        border-radius: 15px;
        display: block;
        margin: 0 auto; /* Ensures it is centered */
    }

    .nb-text-col {
        order: 2 !important; /* Text comes last */
        padding-right: 0 !important;
    }

    /* 3. TEXT & QUOTE CARD IMPROVEMENTS */
    .nb-main-paragraph {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: left !important; /* "Justify" looks messy on small screens */
        margin-bottom: 25px !important;
        padding: 0 5px;
    }

    .nb-quote-card {
        padding: 15px 20px !important;
        margin-top: 5px !important;
        border-radius: 15px !important;
    }

    .nb-quote-content {
        font-size: 1rem !important; /* Slightly smaller for mobile */
        text-align: left;
    }

    .nb-author-profile {
        justify-content: flex-start !important; /* Align to left to match text */
        margin-top: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .author-circle-img {
        width: 50px !important; /* Slightly smaller profile pic */
        height: 50px !important;
        border-radius: 50%;
    }
}

    /* ============================================== 
   6. INNOVATION SECTION (ALIGNED & LARGE UI)
   ============================================== */
.innovation-section {
    width: 100%;
    background: #f4f7fc; 
    padding: 60px 20px 80px 20px; 
    position: relative;
}

.innovation-wrapper {
    width: 100%;
    max-width: 1100px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* MATCHING NOTEBOOK HEADER SIZE */
.innovation-header {
    text-align: center;
    margin-bottom: 35px;
}

.innovation-title-png {
    width: 600px; 
    max-width: 100%;
    height: auto;
}

/* 
   PARAGRAPH ALIGNMENT - UPDATED 
   'Justify' creates straight edges on both sides for a professional look 
*/
.innovation-description {
    max-width: 1000px;
    text-align: justify; 
    text-justify: inter-word; /* Distributes spacing evenly between words */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #003366;
    margin: 0 auto 50px auto; 
    font-weight: 500;
}

/* Keyword Highlights */
.highlight-dark {
    color: #ff4d4d;
    font-weight: 700;
}

/* 2-COLUMN GRID FOR LARGE IMAGES */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    width: 100%;
}

/* CARD UI STYLE */
.innovation-card {
    display: flex;
    flex-direction: column;
    align-items: center; 
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.innovation-card:hover {
    transform: translateY(-8px);
}

.innovation-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px; 
}

/* CTA BUTTON STYLE (Desktop) */
.btn-brochure {
    display: inline-block;
    background-color: #0d3c75;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-brochure:hover {
    background-color: #ff4d4d;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

/* ============================================== 
   MOBILE VIEW (MAX-WIDTH 768px)
   ============================================== */
@media (max-width: 768px) {
    .innovation-section {
        padding: 40px 15px 50px 15px;
    }

    /* Stack to 1 column for mobile */
    .innovation-grid {
        grid-template-columns: 1fr; 
        gap: 25px;
    }

    .innovation-title-png {
        width: 100%;
    }

    /* Updated for Mobile: Left alignment is cleaner on small screens */
    .innovation-description {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left; 
        margin-bottom: 35px;
        padding: 0 5px;
    }
    
    /* Reduced button size for mobile */
    .btn-brochure {
        padding: 8px 20px;
        font-size: 0.8rem;
        width: auto;
        letter-spacing: 0;
    }

    .innovation-card {
        padding: 15px;
        border-radius: 15px;
    }

    .innovation-card img {
        margin-bottom: 15px;
    }
}

/* ============================================== 
   7. STEM ELASTIC GALLERY STYLES (CENTERED & SIZED)
   ============================================== */
.stem-elastic-section {
    /* 1. REDUCED TOP PADDING: Changed from 40px to 10px */
    padding: 10px 0 30px 0;
    background-color: #f4f7fc;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.stem-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.stem-header {
    text-align: center;
    /* Reduced margin below the header */
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stem-header-img {
    max-width: 100%;      
    /* 2. REDUCED PNG SIZE: Changed from 900px to 650px to match Notebook section */
    width: 650px;        
    height: auto;
    display: block;
    margin: 0 auto 10px auto; /* Perfect centering */
}

/* 3. FIX: Perfect Centering for the "15 Years..." Text */
.stem-header p {
    font-size: 1.15rem;
    color: #5a6c89;
    margin-top: 0;
    font-weight: 500;
    
    /* ENFORCED CENTERING */
    text-align: center;
    width: 100%;
    max-width: 850px; 
    margin-left: auto;
    margin-right: auto;
    display: block;
    line-height: 1.5;
}

/* --- LAYOUT (No changes to logic, just cleaned up) --- */
.stem-gallery-row {
    display: flex;
    width: 100%;
    height: 420px; 
    gap: 15px;
    margin-bottom: 20px;
}

.stem-card {
    position: relative;
    flex: 1; 
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 0.4, 0.45, 1.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    background: #f0f0f0; /* Fallback */
    /* Required for inline background-image cards in Elastic Section */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stem-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.stem-card:hover .stem-card-img {
    transform: scale(1.1);
}

.stem-overlay {
    z-index: 1;
}

.stem-card-details {
    z-index: 2;
    position: relative;
}

.stem-card:hover {
    flex: 4; 
}

/* --- OVERLAY --- */
.stem-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(13, 60, 117, 0.5) 0%,
        rgba(13, 60, 117, 0.2) 50%,
        rgba(13, 60, 117, 0.0) 100%
    );
    transition: background 0.3s;
    z-index: 1;
}

.stem-card:hover .stem-overlay {
    background: linear-gradient(
        to top, 
        rgba(13, 60, 117, 0.7) 0%, 
        rgba(13, 60, 117, 0.05) 100%
    );
}

/* --- CONTENT --- */
.stem-card-details {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.stem-icon-bubble {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d3c75;
    font-size: 24px;
    margin-bottom: 12px;
}

.stem-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stem-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease 0.1s;
}

.stem-card:hover .stem-hidden-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.stem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stem-list li {
    font-size: 0.9rem;
    color: #f0f0f0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================== 
   STEM SECTION - PREMIUM MOBILE UI (FIXED VISIBILITY)
   ============================================== */
@media (max-width: 768px) {

    /* 1. RESET SECTION */
    .stem-elastic-section {
        padding: 50px 0 !important;
        background: #fdfdfd !important; 
        background-image: none !important;
    }

    /* 2. CENTERED TITLE */
    .stem-header {
        text-align: center !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
        display: block !important;
    }

    .stem-header-img {
        width: 100% !important;      
        max-width: 350px !important;  
        height: auto !important;
        margin: 0 auto !important;   
        display: block !important;
        transform: none !important; 
    }

    .stem-header p {
        font-size: 15px !important;
        margin-top: 15px !important;
        line-height: 1.5 !important;
        color: #555 !important;
        font-weight: 500 !important;
    }

    /* 3. THE FIX: FORCE VISIBILITY ON MOBILE */
    /* This stops GSAP from hiding the cards when scrolling */
    .stem-gallery-row, .stem-card, .fade-up, .delay-1, .delay-2 {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* 4. CARD CONTAINER SETUP */
    .stem-gallery-row {
        display: flex !important; 
        flex-direction: column !important; /* Stack vertically */
        gap: 20px !important; /* Space between cards */
        padding: 0 15px !important;
        height: auto !important;
        margin-bottom: 20px !important;
    }

    /* 5. PREMIUM APP-STYLE CARDS */
    .stem-card {
        display: block !important;
        width: 100% !important;
        height: 280px !important; /* Fixed height to show the background image */
        min-height: 280px !important;
        margin-bottom: 0 !important; 
        border-radius: 20px !important;
        position: relative !important;
        overflow: hidden !important;
        border: none !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
        background-size: cover !important;
        background-position: center top !important; /* Focuses on the top of the image */
    }

    /* 6. CINEMATIC BOTTOM FADE */
    .stem-card-details {
        position: absolute !important;
        padding: 25px 20px 20px 20px !important;
        inset: 0 !important;
        /* Sleek black fade from bottom up - lets the image show at the top! */
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 55%, transparent 100%) !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important; /* Pushes text to the bottom */
        box-sizing: border-box !important;
    }

    .stem-overlay {
        display: none !important; /* Hide old blue overlay */
    }

    /* 7. MODERN ICON STYLING */
    .stem-icon-bubble {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 12px !important;
        background: #F97316 !important; /* Vibrant Orange */
        color: #fff !important;
        font-size: 18px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid #fff !important; /* Crisp white border */
        box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4) !important;
    }

    /* 8. TEXT & LIST STYLING */
    .stem-card-title {
        font-size: 22px !important;
        color: #ffffff !important; 
        margin-bottom: 10px !important;
        text-align: left !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
    }

    .stem-hidden-content {
        max-height: none !important; 
        opacity: 1 !important;
        display: block !important;
    }

    .stem-list {
        padding: 0 !important;
        margin: 0 !important;
    }

    .stem-list li {
        font-size: 14px !important;
        color: #e2e8f0 !important; /* Soft white/grey */
        margin-bottom: 6px !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .stem-list li i {
        color: #F97316 !important; /* Orange checkmarks */
        font-size: 12px !important;
    }
}

/* ============================================== 
   8. TRUSTED ALL OVER INDIA SECTION (CSS MAP)
   ============================================== */
.india-trusted-section {
    /* REDUCED TOP GAP: Pulls it up closer to the gallery */
    padding: 10px 0 50px 0; 
    margin-top: -35px; 
    background: linear-gradient(to bottom, #f4f7fc 0%, #ffffff 100%);
    position: relative;
    z-index: 5;
}

.trusted-container {
    display: flex;
    flex-direction: row;
    align-items: center; 
    gap: 40px; /* Increased gap for a cleaner look between map and text */
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-wrapper {
    flex: 1;
    min-width: 350px;
    position: relative; 
}

.map-image { 
    width: 100%; 
    height: auto; 
    display: block; 
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.05));
}

/* --- PINS CSS WITH BLINKING EFFECT --- */
.pin { 
    position: absolute; 
    width: 12px; 
    height: 12px; 
    background-color: #dc3545; 
    border: 1px solid #fff; 
    border-radius: 50% 50% 50% 0; 
    transform: rotate(-45deg); 
    margin-top: -12px; 
    margin-left: -6px; 
    cursor: pointer; 
    z-index: 10; 
    /* BLINKING/PULSE ANIMATION */
    animation: pinPulse 2s infinite ease-in-out;
}

.pin::after { 
    content: ''; 
    position: absolute; 
    width: 4px; 
    height: 4px; 
    background: white; 
    border-radius: 50%; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}

/* Pulse Keyframes for Blinking */
@keyframes pinPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.pin:hover { 
    transform: rotate(-45deg) scale(1.4); 
    z-index: 20; 
    background-color: #0f3e6d; 
    animation: none; /* Stops blinking on hover */
}

.pin .tooltip { 
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: rotate(45deg) translateX(-50%); 
    transform-origin: bottom left; 
    background-color: rgba(0,0,0,0.85); 
    color: #fff; 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-size: 11px; 
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.2s; 
}

.pin:hover .tooltip { opacity: 1; visibility: visible; }

/* --- CONTENT COLUMN & PNG TITLE SIZE --- */
.content-column { 
    flex: 1.2; 
    padding-left: 10px; 
}

.heading-image { 
    width: 100%; 
    /* INCREASED SIZE: Matches previous sections (650px) */
    max-width: 650px; 
    height: auto; 
    display: block; 
    margin-bottom: 20px; 
    /* Centers it within the text column if it's smaller than the column */
    margin-left: 0; 
}

.text-content-block p { 
    font-family: 'Poppins', sans-serif; 
    font-size: 15.5px; 
    line-height: 1.7; 
    color: #444; 
    text-align: justify; 
    margin-bottom: 15px; 
}

/* Signature Styles */
.signature-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.signature-photo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0b3d75;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.signature-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature-name { font-weight: 700; color: #0b3d75; font-size: 19px; margin: 0 !important; }
.signature-details .desig { font-size: 14px; color: #666; font-weight: 500; display: block; }
.signature-details .comp { font-size: 14px; color: #f7941d; font-weight: 700; display: block; }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .trusted-container { flex-direction: column; text-align: center; }
    .content-column { padding-left: 0; margin-top: 30px; }
    .heading-image { margin: 0 auto 20px auto; max-width: 90%; }
    .text-content-block p { text-align: center; }
    .signature-wrapper { justify-content: center; }
    .india-trusted-section { margin-top: 0; padding-top: 20px; }
}

/* ============================================== 
   10. VIDEO SECTION STYLES
   ============================================== */
.video-section {
    max-width: 100%;
    padding: 0 20px 60px 20px;
    background-color: #fff; 
    text-align: center;
    overflow: hidden; 
}

/* Header Image */
.video-header {
    text-align: center;
    margin-bottom: 30px; 
    margin-top: 10px;
}

.video-header img {
    max-width: 100%;
    height: auto;
    width: 700px; 
    display: inline-block;
}

/* Slider Container */
.slider-container {
    max-width: 1250px; 
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0 20px 0; 
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

/* Video Card Styling */
.video-card {
    /* 3 Cards per view on desktop */
    flex: 0 0 calc(33.333% - 14px); 
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
}

/* IMPORTANT: Make Iframe fill the card */
.video-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .video-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards on tablet */
    }
}

@media (max-width: 600px) {
    .video-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .video-header img {
        width: 90%; 
    }
}

/* ============================================== 
   14. TESTIMONIALS SECTION (FULL UPDATED SECTION)
   ============================================== */

.testimonial-section-modern {
    position: relative;
    /* REDUCED GAP: Tightened top padding to blend with section above */
    padding: 10px 0 40px 0; 
    margin-top: -10px;
    background-color: #f4f7fc; 
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    z-index: 1; 
}

/* --- TOP GRADIENT FADE --- */
.testimonial-section-modern::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100px; 
    background: linear-gradient(to bottom, #ffffff 0%, rgba(244, 247, 252, 0) 100%);
    z-index: 2; 
    pointer-events: none; 
}

/* Background Pattern */
.bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#dce4f2 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1; 
    pointer-events: none;
}

/* --- Header Styles --- */
.header-wrapper {
    position: relative;
    z-index: 10; 
    text-align: center;
    max-width: 1200px;
    /* Pulled cards up closer to the title */
    margin: 0 auto 20px auto; 
    padding: 0 20px;
}

.sub-badge {
    display: inline-block;
    background-color: #fff;
    color: #0d3c75;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border: 1px solid #dce4f2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- PNG TITLE SIZE UPDATE --- */
.testimonial-title-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.testimonial-title-png {
    /* INCREASED SIZE: Now 800px to match previous large headers */
    width: 100%;
    max-width: 800px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Marquee Container --- */
.marquee-wrapper {
    position: relative;
    width: 100%;
    z-index: 5; 
    overflow: hidden; 
    padding: 5px 0; 
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px; 
    width: max-content;
    /* Animation: Wait & Go */
    animation: scroll-step 24s ease-in-out infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* --- Compact Card Design --- */
.testi-card-compact {
    width: 280px; 
    min-width: 280px; 
    height: 280px; 
    background: #ffffff;
    border-radius: 15px; 
    padding: 25px 20px; 
    box-shadow: 0 5px 20px rgba(13, 60, 117, 0.05);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border-bottom: 3px solid #0d3c75; 
}

.testi-card-compact:hover {
    transform: translateY(-5px);
    border-bottom-color: #f7941d;
}

.quote-bubble {
    width: 35px; 
    height: 35px;
    background: #f4f7fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #f7941d;
    font-size: 14px;
}

.card-body {
    flex-grow: 1; 
}

.quote-text {
    font-size: 13.5px; 
    line-height: 1.6;
    color: #555;
    font-style: italic;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 15px;
}

.author-name {
    font-size: 14px; 
    font-weight: 700;
    color: #0d3c75;
    margin-bottom: 0;
}

.author-role {
    font-size: 11px;
    color: #888;
    display: block;
    margin-bottom: 6px;
}

.school-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #eef2ff;
    color: #0d3c75;
    padding: 3px 8px;
    border-radius: 4px;
}

/* --- ANIMATIONS --- */
@keyframes scroll-step {
    0%, 12% { transform: translateX(0px); }
    16.66%, 28.66% { transform: translateX(-600px); }
    33.33%, 45.33% { transform: translateX(-1200px); }
    50%, 62% { transform: translateX(-1800px); }
    66.66%, 78.66% { transform: translateX(-2400px); }
    83.33%, 95.33% { transform: translateX(-3000px); }
    100% { transform: translateX(-3600px); }
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .testimonial-section-modern {
        padding: 20px 0 30px 0;
        margin-top: 0;
    }
    .testimonial-title-png {
        max-width: 95%; /* Fits better on smaller mobile screens */
    }
    .testi-card-compact {
        width: 260px;
        min-width: 260px;
    }
    .marquee-track {
        gap: 15px;
        animation: scroll-mobile 30s linear infinite; 
    }
}
@keyframes scroll-mobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================== 
   3. 5-COLUMN PARALLAX GALLERY (ALWAYS 5 COLUMNS)
   ============================================== */
.parallax-gallery {
    position: relative;
    width: 100%;
    height: 150vh; 
    background: #f4f7fc;
    overflow: hidden; 
    
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically to cover top/bottom edges */
    padding-top: 0; 
}

.gallery-wrapper {
    display: flex;
    gap: 10px; /* Reduced gap slightly so 5 columns fit better */
    
    /* Scale logic to cover corners (Edge-to-Edge) */
    transform: rotate(-15deg) scale(1.4); 
    transform-origin: center center;
    
    width: 160vw; /* Very wide to ensure it covers screen edges */
}

/* --- Columns --- */
.gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    
    /* Force 5 columns: 100% / 5 = 20% max width */
    min-width: 0; /* Important: prevents columns from forcing overflow */
    max-width: 20%; 

    /* Animation */
    animation: simpleFloat 8s ease-in-out infinite;
}

/* Even columns float in reverse */
.gallery-col:nth-child(even) {
    animation-direction: reverse;
    animation-duration: 10s;
}

/* --- Images --- */
.gallery-col img {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    background-color: #ddd;
    min-height: 120px; /* Slightly smaller min-height to fit */
}

/* --- Responsive Updates --- */
@media screen and (max-width: 768px) {
    .parallax-gallery {
        height: 100vh;
    }
    .gallery-wrapper {
        width: 250vw; /* Make wrapper huge on mobile to fit 5 cols properly */
        transform: rotate(-10deg) scale(1.6);
        gap: 8px;
    }
    
    /* I removed the code that hid columns 4 and 5 here. 
       Now all 5 columns will show on mobile too. */
       
    .gallery-col {
        /* Ensure they stay side-by-side */
        max-width: 20%; 
    }
}

/* --- Animation Keyframes --- */
@keyframes simpleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-40px); }
    100% { transform: translateY(0); }
}

/* ============================================== 
   11. JOIN THE MOVEMENT SECTION (LIGHT THEME)
   ============================================== */

/* =======================================================
   11. JOIN THE MOVEMENT - PREMIUM SPLIT FORM UPGRADE
   ======================================================= */

.join-movement-section {
    width: 100%;
    background-color: #f4f7fa; 
    padding: 40px 0;
    color: #333;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.join-container {
    max-width: 900px !important; 
    margin: 0 auto;
    padding: 0 20px;
}

/* THE PREMIUM FORM WRAPPER */
.form-wrapper {
    display: grid !important;
    grid-template-columns: 280px 40px 1fr !important; 
    align-items: center !important;
    background: #fff !important;
    padding: 10px 25px !important; 
    border-radius: 35px !important;
    box-shadow: 0 25px 60px rgba(0, 71, 147, 0.1) !important;
    max-width: 820px !important; 
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border: 1px solid #f0f4f8 !important;
}

/* EXPERT PROFILE CARD */
.form-info-card {
    text-align: center;
    padding: 10px !important;
    background: #fcfdfe;
    border-radius: 25px;
    border: 1px solid #eef2f6;
    position: relative;
}

.form-badge {
    background: #eef9ff; color: #0077b6; padding: 6px 15px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; margin-bottom: 15px; display: inline-block;
}

.profile-img-container { 
    width: 90px; height: 90px; margin: 0 auto 10px; 
    border-radius: 50%; border: 4px solid #ff6b6b; padding: 3px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}
.profile-img-container img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.profile-name { color: #003d71; font-size: 22px; font-weight: 800; margin: 5px 0; }
.profile-designation { color: #ff6b6b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.profile-bio { color: #666; font-size: 13px; margin: 10px 0 15px; line-height: 1.4; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.btn-main-call, .btn-secondary-wa { 
    padding: 12px 5px; border-radius: 12px; font-weight: 700; font-size: 0.8rem;
    text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: 0.3s;
}
.btn-main-call { background: #2ecc71; color: #fff; }
.btn-main-call:hover { background: #27ae60; transform: translateY(-2px); }
.btn-secondary-wa { border: 2px solid #003d71; color: #003d71; }
.btn-secondary-wa:hover { background: #003d71; color: #fff; transform: translateY(-2px); }

.secondary-contact { color: #888; font-size: 13px; margin-top: 10px; }
.secondary-contact strong { color: #333; }

/* Animated Maker Club Button */
.btn-insta-animated {
    text-decoration: none; 
    color: #E1306C; 
    font-weight: 700; 
    font-size: 13px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: #fff0f5; 
    padding: 10px 20px; 
    border-radius: 25px; 
    border: 1px solid #f8d7e3; 
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.15);
}

.btn-insta-animated:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.25);
    background: #ffe4ed;
}

.btn-insta-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: slide-shine 3s infinite;
}

@keyframes slide-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* THE "OR" DIVIDER */
.ux-divider { display: flex; flex-direction: column; align-items: center; height: 100%; min-height: 200px; }
.divider-line { width: 1px; flex-grow: 1; background: #eef2f6; }
.divider-text { 
    width: 38px; height: 38px; background: #fff; border: 1px solid #eef2f6;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #003d71; font-size: 0.75rem; margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* FORM BOX */
.form-box { 
    padding: 0 10px 0 20px !important; 
    width: 100%; 
    box-sizing: border-box; 
}
.form-header { text-align: left; margin-bottom: 15px; }
.form-header h3 { font-size: 1.6rem !important; color: #003d71 !important; margin-bottom: 5px !important; font-weight: 800 !important;}
.form-header p { font-size: 0.85rem !important; color: #777 !important; margin-top: 0 !important; }

.input-group { margin-bottom: 8px; width: 100%; }
.input-group label { display: block; font-weight: 700; margin-bottom: 4px; color: #444; font-size: 0.8rem; }

.input-field { 
    position: relative; 
    width: 100%; 
    display: block;
}

.icon-fix { 
    position: absolute; 
    left: 15px; 
    top: 50%;
    transform: translateY(-50%);
    color: #0077b6; 
    z-index: 10; 
    pointer-events: none;
    font-size: 14px;
    margin: 0 !important;
}

.input-field input {
    font-family: 'Poppins', sans-serif !important;
    width: 100% !important; 
    padding: 8px 15px 8px 45px !important; 
    border: 2px solid #f0f4f8 !important; 
    border-radius: 10px !important; 
    font-size: 0.9rem !important; 
    background: #fcfdfe !important; 
    outline: none !important; 
    box-sizing: border-box !important;
    margin: 0 !important;
    height: 38px !important;
    transition: 0.3s;
}
.input-field input:focus { border-color: #0077b6 !important; background: #fff; box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.05); }

.btn-submit {
    font-family: 'Poppins', sans-serif;
    width: 100%; padding: 10px; border: none; border-radius: 10px;
    font-size: 0.95rem; font-weight: 800; cursor: pointer;
    background: #ff6b6b; color: #fff; display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 15px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}
.btn-submit:hover { background: #fa5252; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4); }
.btn-submit:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 900px) {
    .form-wrapper { 
        grid-template-columns: 1fr; 
        padding: 30px 20px;
        max-width: 500px;
    }
    .ux-divider { flex-direction: row; margin: 30px 0; min-height: auto; }
    .divider-line { height: 1px; width: 100%; }
    .divider-text { margin: 0 15px; }
    .form-box { padding: 0; }
    .join-movement-section { padding: 50px 15px; }
}

/* Testimonial School Section*/
    :root {
    --primary-color: #2D31FA; /* Modern Blue */
    --text-dark: #1e1e1e;
    --bg-light: #ffffff;
}

.school-trust-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.trust-container {
    width: 100%;
    margin: 0 auto;
}

/* Heading Styling */
.trust-title {
    text-align: center;
    font-size: clamp(24px, 4vw, 42px); /* Responsive size */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.trust-title .highlight {
    color: var(--primary-color);
    background: linear-gradient(120deg, rgba(45, 49, 250, 0.1) 0%, rgba(45, 49, 250, 0.1) 100%);
    padding: 0 10px;
    border-radius: 5px;
}

/* Slider Masking for Premium Fade Effect */
.slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content; /* Critical for seamless loop */
    gap: 80px; /* Space between logos */
    animation: scroll 40s linear infinite;
}

/* Pause on hover for better UX */
.logo-track:hover {
    animation-play-state: paused;
}

/* Individual Logo Styling */
.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 70px; /* Adjust height based on your preference */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Subtle hover effect */
.logo-item img:hover {
    transform: scale(1.1);
}

/* Animation Keyframes */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* JS will duplicate track to make this work */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .trust-title { padding: 0 20px; margin-bottom: 40px; }
    .logo-item img { height: 50px; }
    .logo-track { gap: 40px; }
}

/* ============================================== 
   13. FOOTER SECTION 
   ============================================== */

.site-footer {
    background-color: #0d3c75; /* Brand Dark Blue */
    color: #ffffff;
    padding: 70px 0 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

/* --- Brand Column --- */
.brand-col {
    flex: 1.2; /* Slightly wider */
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-desc {
    font-size: 14px;
    color: #dbeafe; /* Light Blue-White */
    line-height: 1.7;
    margin-bottom: 25px;
    padding-right: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #f7941d; /* Brand Orange */
    transform: translateY(-3px);
}

/* --- Headings & Links --- */
.footer-heading {
    color: #f7941d; /* Brand Orange */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Small underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 10px;
    color: #f7941d;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px; /* Subtle slide effect */
}

/* --- Contact & Offices --- */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #fff;
}

.contact-item i {
    color: #f7941d;
    font-size: 16px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Office Locations Styling */
.office-locations {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.office-block h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    border-left: 3px solid #f7941d; /* Orange accent line */
    padding-left: 8px;
}

.office-block p {
    font-size: 12px;
    color: #dbeafe;
    line-height: 1.5;
    padding-left: 11px; /* Align with text above */
}

/* --- Footer Bottom --- */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #f7941d;
}

.legal-links span {
    margin: 0 10px;
}

/* --- Responsive for Footer --- */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 20px;
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}