/* Hero Banner Section - No Gap Version */
.hero-full-banner {
    width: 100%;
    position: relative;
    line-height: 0;
    /* REDUCE this number until the gap disappears. 
       Usually, headers are between 70px and 85px */
    margin-top: 70px; 
    padding: 0;
}

.banner-wrapper {
    width: 100%;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.responsive-banner {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* Gradient Fade at the bottom of the banner */
.banner-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Subtle fade */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    pointer-events: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-full-banner {
        margin-top: 70px; /* Adjust for mobile menu height */
    }
}


            /* --- GLOBAL VARIABLES & RESET --- Section 3*/
        :root {
            --primary-accent: #ff6f00; /* ScienceUtsav Orange */
            --dark-blue: #0f172a;      /* Deep Tech Blue */
            --card-surface: #ffffff;
            --soft-gray: #f8fafc;
            --gradient-tech: linear-gradient(135deg, #ff6f00 0%, #ffca28 100%);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f1f5f9;
            color: #334155;
            margin: 0;
            overflow-x: hidden;
        }

        /* --- SEO HIDDEN CLASS (Crucial for your requirement) --- */
        .seo-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* --- SECTION HEADER STYLE --- */
        .section-header {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
        }

        .title-png {
            max-width: 100%;
            width: 750px;
            height: auto;
            /* Subtle breathing animation for uniqueness */
            animation: breathe 3s ease-in-out infinite;
        }

        @keyframes breathe {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }




        /* Section 5*/
/* CRITICAL FIX: Sticky behavior only works if all parents are overflow:visible */
.stem-education-programs-for-schools, 
.stem-ecosystem-section {
    overflow: visible !important;
}

.stem-ecosystem-section {
    background-color: #fdfdfd; 
    padding: 60px 0 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rd-header-container {
    text-align: center;
    margin-bottom: 10px; /* 10px gap as requested */
    position: relative;
    z-index: 100;
}

.header-png {
    width: 100%;
    max-width: 750px; /* Fixed Size 750px */
    height: auto;
    display: block;
    margin: 0 auto;
}

.stack-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.stack-card {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* The point where cards stop and stack */
    margin-bottom: 12vh; 
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    overflow: hidden;
    transition: transform 0.4s ease-out, filter 0.4s ease-out;
    min-height: 450px;
    will-change: transform, filter;
}

/* Correct Z-Index Stacking: Later cards must go OVER earlier ones */
.stack-card:nth-child(1) { z-index: 1; }
.stack-card:nth-child(2) { z-index: 2; }
.stack-card:nth-child(3) { z-index: 3; }
.stack-card:nth-child(4) { z-index: 4; }
.stack-card:nth-child(5) { z-index: 5; }
.stack-card:nth-child(6) { z-index: 6; }

.card-visual {
    flex: 1;
    position: relative;
    background: #f8f9fa;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-text {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text h3 {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    font-weight: 800;
}

.card-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.feature-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✔";
    color: #f37021;
    margin-right: 12px;
    font-weight: 900;
}

.result-box {
    margin-top: 20px;
    padding: 15px 20px;
    background: #fff5ef;
    border-left: 5px solid #f37021;
    border-radius: 8px;
    color: #f37021;
    font-weight: 700;
}

@media (max-width: 992px) {
    .stack-card { flex-direction: column; top: 80px; min-height: auto; }
    .card-visual { height: 250px; }
    .card-text { padding: 30px; }
}

/*Section 6*/
/* 1. Reduce bottom padding of the Stacking Cards section */
.stem-ecosystem-section {
    padding-bottom: 10px !important; /* Was 80px or 100px */
}

/* 2. Remove bottom margin from the very last card so it doesn't push the next section down */
.stack-wrapper .stack-card:last-child {
    margin-bottom: 20px !important; 
}

/* 3. Reduce top padding of the Trusted Schools section */
.school-trust-section {
    padding-top: 0 !important; /* Remove top padding entirely */
    margin-top: -20px; /* Optional: Slight negative margin to pull it even closer */
}

/* 4. Ensure the PNG header wrap doesn't have extra top margin */
.su-trust-header-wrap {
    margin-top: 0 !important;
}
.school-trust-section {
    padding: 0px 0;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Header PNG Styling */
.su-trust-header-wrap {
    text-align: center;
    margin-bottom: 20px; /* 10px to 20px tight gap */
}

.trust-header-png {
    width: 100%;
    max-width: 750px; /* Fixed 750px */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Slider Masking for Premium Fade Effect */
.slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
    /* Soft fade on left and right edges */
    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;
    gap: 80px; 
    animation: scrollLogos 40s linear infinite;
}

/* Pause on hover */
.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
}

.logo-item img {
    height: 75px; /* Size of the school logos */
    width: auto;
    object-fit: contain;
    filter: none; /* REMOVED GRAYSCALE - NOW FULL COLOR */
    opacity: 1;    /* FULL VIBRANCY */
    transition: transform 0.3s ease;
}

/* Interaction: Slight zoom when hovering over a specific logo */
.logo-item img:hover {
    transform: scale(1.15);
}

/* Seamless Loop Animation */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .trust-header-png { width: 90%; }
    .logo-item img { height: 50px; }
    .logo-track { gap: 40px; }
}

/*Section 7*/
.contact-form-section {
    padding: 50px 0;
    background: #f8fbff;
    font-family: 'Poppins', sans-serif;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 320px 60px 1fr; 
    align-items: center;
    background: #fff;
    padding: 30px; 
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 71, 147, 0.05);
    max-width: 900px; 
    margin: 0 auto;
    box-sizing: border-box;
}

/* 2. EXPERT CARD */
.form-info-card {
    text-align: center;
    padding: 20px;
    background: #fcfdfe;
    border-radius: 25px;
    border: 1px solid #eef2f6;
}

.form-badge {
    background: #eef9ff; color: #0077b6; padding: 5px 12px;
    border-radius: 50px; font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; margin-bottom: 20px; display: inline-block;
}

.profile-img-container { 
    width: 90px; height: 90px; margin: 0 auto 10px; 
    border-radius: 50%; border: 3px solid #ff6b6b; padding: 2px;
}
.profile-img-container img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.profile-name { color: #003d71; font-size: 20px; font-weight: 800; margin: 5px 0; }
.profile-designation { color: #ff6b6b; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.profile-bio { color: #666; font-size: 14px; margin: 10px 0 20px; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.btn-main-call, .btn-secondary-wa { 
    padding: 10px 5px; border-radius: 10px; font-weight: 700; font-size: 0.75rem;
    text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-main-call { background: #2ecc71; color: #fff; }
.btn-secondary-wa { border: 2px solid #003d71; color: #003d71; }

/* 3. THE "OR" DIVIDER */
.ux-divider { display: flex; flex-direction: column; align-items: center; height: 100%; }
.divider-line { width: 1px; flex-grow: 1; background: #eef2f6; }
.divider-text { 
    width: 32px; height: 32px; 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.7rem; margin: 10px 0;
}

/* 4. FORM & ICON OVERLAP FIX */
.form-box { 
    padding: 0 10px 0 20px; 
    width: 100%; 
    box-sizing: border-box; 
}
.form-header h3 { font-size: 1.3rem; color: #003d71; margin-bottom: 2px; font-weight: 800;}
.form-header p { font-size: 0.8rem; color: #888; margin-bottom: 20px; }

.input-group { margin-bottom: 15px; width: 100%; }
.input-group label { display: block; font-weight: 700; margin-bottom: 5px; color: #333; font-size: 0.8rem; }

/* THE FIX: Force display flex to contain the inputs securely */
.input-field { 
    position: relative; 
    width: 100%; 
    display: flex;
    align-items: center;
}

.icon-fix { 
    position: absolute; 
    left: 15px; /* Locked position */
    color: #0077b6; 
    z-index: 5; 
    pointer-events: none;
    font-size: 16px;
}

.input-field input {
    width: 100%; 
    /* Heavy padding forced with !important */
    padding: 12px 15px 12px 45px !important; 
    border: 2px solid #f0f4f8 !important; 
    border-radius: 12px !important; 
    font-size: 0.9rem; 
    background: #fcfdfe; 
    outline: none; 
    box-sizing: border-box !important; /* Stops the box from overflowing */
    margin: 0 !important; /* Stops WordPress from adding margin */
    height: 50px; /* Force consistent height */
}
.input-field input:focus { border-color: #0077b6 !important; background: #fff; }

.btn-submit {
    width: 100%; padding: 15px; border: none; border-radius: 12px;
    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: 10px;
}

/* ==========================================
   MOBILE RESPONSIVE FIXES
   ========================================== */
@media (max-width: 850px) {
    .form-wrapper { 
        grid-template-columns: 1fr; 
        padding: 25px 15px; /* Better padding for small screens */
    }
    .ux-divider { flex-direction: row; margin: 25px 0; }
    .divider-line { height: 1px; width: 100%; }
    
    .form-box { 
        padding: 0; /* Reset squished padding on mobile */
    }

    .input-field input {
        /* Force padding AGAIN for stubborn mobile browsers */
        padding-left: 45px !important; 
    }
}

/* =======================================================
   THE NUCLEAR FIX FOR MOBILE ICON OVERLAP (ALL PAGES)
   ======================================================= */
/* 1. Lock the container */
.contact-form-section .input-field,
.form-box .input-field {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

/* 2. Lock the icon to the left and center vertically */
.contact-form-section .input-field i.fas,
.contact-form-section .input-field .icon-fix,
.form-box .input-field i.fas {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #0077b6 !important;
    z-index: 10 !important;
    pointer-events: none !important;
    margin: 0 !important;
}

/* 3. OVERRIDE THE WORDPRESS MOBILE OVERLAP */
.contact-form-section .input-field input[type="text"],
.contact-form-section .input-field input[type="email"],
.contact-form-section .input-field input[type="tel"],
.form-box .input-field input[type="text"],
.form-box .input-field input[type="email"],
.form-box .input-field input[type="tel"] {
    width: 100% !important;
    padding-left: 50px !important; /* THIS IS THE MAGIC FIX */
    padding-right: 15px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    text-indent: 0px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-height: 48px !important; /* Prevents squishing */
}
    
/* --- SECTION STYLING --- */
    .section-summer {
        padding: 0px 0;
        background: #fff;
        position: relative;
        overflow: visible !important;
    }

    .section-header {
        text-align: center;
        margin-bottom: 10px; /* Reduced gap as requested */
    }

    .title-png {
        width: 100%;
        max-width: 750px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .summer-container {
        display: flex;
        align-items: center;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .summer-text {
        flex: 1.2;
    }

    .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 25px;
    }

    .feature-num {
        font-family: 'Segoe UI', sans-serif;
        font-size: 2.8rem;
        font-weight: 900;
        color: rgba(243, 112, 33, 0.15); /* ScienceUtsav Orange */
        line-height: 1;
    }

    .feature-desc h4 {
        margin: 0 0 5px 0;
        color: #1a1a1a;
        font-size: 18px;
        font-weight: 700;
    }
    
    .feature-desc p {
        margin: 0;
        font-size: 14px;
        color: #64748b;
        line-height: 1.5;
    }

    .cta-box {
        background: #fff6f0;
        padding: 20px 25px;
        border-radius: 12px;
        color: #f37021;
        font-weight: 700;
        border-left: 5px solid #f37021;
        margin-top: 30px;
        font-size: 0.95rem;
    }

    .summer-visual {
        flex: 1;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .portal-img {
        width: 420px;
        height: 420px;
        border-radius: 50%;
        object-fit: cover;
        border: 12px solid #fff;
        box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
        z-index: 2;
    }

    .float-badge {
        position: absolute;
        bottom: 30px;
        left: 0;
        background: #fff;
        padding: 15px 25px;
        border-radius: 15px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 15px;
        animation: floatAnim 4s ease-in-out infinite;
    }

    @keyframes floatAnim {
        0%, 100% { transform: translateY(0) rotate(0); }
        50% { transform: translateY(-15px) rotate(2deg); }
    }

    @media (max-width: 992px) {
        .summer-container { flex-direction: column-reverse; gap: 40px; text-align: center; }
        .feature-item { flex-direction: column; align-items: center; }
        .portal-img { width: 320px; height: 320px; }
        .title-png { width: 95%; }
    }

/* Popup Model for schools section */
        .su-button-center {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 20px 0;
        }

        /* --- ANIMATED TRIGGER BUTTON --- */
        .su-trigger-btn {
            background: #0d3c75;
            color: white;
            padding: 14px 24px;
            border-radius: 50px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 16px;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: inline-block;
            text-align: center;
            line-height: 1.5;
            box-shadow: 0 4px 15px rgba(13, 60, 117, 0.3);
            transition: all 0.3s ease;
            animation: suPulse 2s infinite;
            text-decoration: none;
            max-width: 90%;
        }

        /* UPDATED SPAN WITH #FFD100 BACKGROUND */
        .su-trigger-btn span {
            background: #FFD100; /* Your Requested Yellow */
            color: #0d3c75;      /* Dark Blue Text for contrast */
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 13px;
            text-transform: uppercase;
            font-weight: 700;
            display: inline-block;
            margin: 4px 2px;
            vertical-align: middle;
        }

        /* Shimmer Effect */
        .su-trigger-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20%;
            height: 200%;
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(30deg);
            animation: suShimmer 3s infinite;
        }

        .su-trigger-btn:hover {
            background: #f7941d;
            color: white;
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 25px rgba(247, 148, 29, 0.4);
            animation-play-state: paused;
        }

        /* Hover state for span color swap */
        .su-trigger-btn:hover span {
            background: white;
            color: #0d3c75;
        }

        @keyframes suPulse {
            0% { box-shadow: 0 0 0 0 rgba(13, 60, 117, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(13, 60, 117, 0); }
            100% { box-shadow: 0 0 0 0 rgba(13, 60, 117, 0); }
        }

        @keyframes suShimmer {
            0% { left: -60%; }
            20% { left: 120%; }
            100% { left: 120%; }
        }

        /* --- POPUP STYLES --- */
        .su-overlay, .su-container * { box-sizing: border-box; font-family: 'Poppins', sans-serif; }
        
        .su-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(13, 60, 117, 0.75); backdrop-filter: blur(8px);
            z-index: 99999; display: none; align-items: center; justify-content: center; padding: 10px;
        }

        .su-container {
            background: white; width: 870px; max-width: 95%; border-radius: 16px; 
            overflow: hidden; position: relative; box-shadow: 0 30px 50px rgba(0,0,0,0.3);
            animation: suFadeIn 0.4s ease-out; max-height: 95vh; display: flex; flex-direction: column;
        }

        .su-flex { display: flex; height: 100%; overflow: hidden; }
        .su-image-side { flex: 1.05; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-right: 1px solid #f0f0f0; }
        .su-image-side img { width: 100%; height: 100%; object-fit: cover; }
        .su-form-side { flex: 1; padding: 20px 30px; background: #ffffff; display: flex; flex-direction: column; justify-content: center; }
        .su-header { margin-bottom: 12px; }
        .su-header h2 { font-size: 20px; color: #0d3c75; margin: 0; font-weight: 700; line-height: 1.2; }
        .su-header h2 span { color: #f7941d; }
        .su-header p { font-size: 12px; color: #666; margin-top: 2px; }

        .su-input-box { margin-bottom: 8px; }
        .su-input-box label { display: block; font-size: 10px; font-weight: 700; color: #0d3c75; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
        .su-input-box input, .su-input-box select { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; background: #fcfcfc; transition: all 0.3s ease; }
        .su-input-box input:focus { border-color: #0d3c75; background: #fff; box-shadow: 0 0 0 3px rgba(13, 60, 117, 0.05); outline: none; }

        .su-row { display: flex; gap: 10px; }
        .flex-2 { flex: 1.3; } .flex-3 { flex: 1; }

        .su-feature-box { background: #f0f7ff; border: 1.5px dashed #165ab0; border-radius: 8px; padding: 8px 10px; margin: 10px 0; cursor: pointer; display: flex; align-items: flex-start; gap: 8px; transition: 0.2s; }
        .su-feature-box span { font-size: 11px; color: #333; line-height: 1.3; }
        .su-feature-box b { color: #0d3c75; font-weight: 600; }

        .su-btn-main { width: 100%; padding: 10px; background: #0d3c75; color: white; border: none; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .su-btn-main:hover { background: #f7941d; }

        .su-contact-info { text-align: center; margin-top: 10px; font-size: 12px; color: #666; }
        .su-contact-info a { color: #0d3c75; font-weight: 700; text-decoration: none; }
        .su-close { position: absolute; top: 12px; right: 15px; font-size: 24px; color: #bbb; cursor: pointer; z-index: 100; }

        /* --- SUCCESS SCREEN --- */
        .su-success { padding: 40px 20px; text-align: center; display: none; flex-direction: column; align-items: center; width: 100%; }
        .su-check-icon { width: 60px; height: 60px; background: #e8f5e9; color: #4caf50; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 20px; }
        .su-success h3 { color: #0d3c75; font-size: 24px; margin: 0 0 10px 0; font-weight: 700; }
        .su-success p { color: #666; font-size: 14px; margin-bottom: 30px; line-height: 1.5; }
        .su-cards-container { display: flex; gap: 20px; width: 100%; max-width: 650px; }
        .su-program-card { flex: 1; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 25px 15px; text-decoration: none; transition: 0.3s ease; display: flex; flex-direction: column; align-items: center; }
        .su-program-card:hover { border-color: #0d3c75; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transform: translateY(-5px); }
        .su-card-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 15px; }
        .icon-stem { background: #fff8e1; color: #ffa000; }
        .icon-robot { background: #e3f2fd; color: #1976d2; }
        .su-program-card h4 { margin: 0; color: #333; font-size: 17px; font-weight: 700; }
        .su-program-card span { margin-top: 5px; font-size: 13px; color: #f7941d; font-weight: 600; }
        .su-program-card .blue-text { color: #0d3c75; }
        .su-no-thanks { margin-top: 30px; color: #aaa; font-size: 13px; text-decoration: underline; cursor: pointer; }

        @keyframes suFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

        /* --- MOBILE RESPONSIVENESS --- */
        @media (max-width: 768px) {
            .su-trigger-btn { 
                font-size: 14px; 
                padding: 12px 18px; 
                border-radius: 15px; 
            }
            .su-trigger-btn span {
                font-size: 11px;
                padding: 3px 8px;
            }
            .su-image-side { display: none; }
            .su-form-side { padding: 25px 20px; }
            .su-cards-container { flex-direction: column; gap: 12px; }
            .su-container { width: 95%; }
            .su-program-card { padding: 15px; }
        }