/* ============================================== 
   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 (FIXED)
   ============================================== */
.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;
}

/* ============================================== 
   HEADER MOBILE UPDATES 
   ============================================== */

@media (max-width: 992px) {
    .site-header {
        padding: 0 20px;
    }

    .header-btn {
        display: none; /* Hides the button from the main header row */
    }

    .hamburger {
        display: block; 
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        right: -100%; 
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 40px 0;
        gap: 10px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0; 
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 18px;
        display: flex;
        justify-content: center; /* Center Home icon and text on mobile */
        padding: 15px;
    }

    .dropdown {
        position: static; 
        width: 100%;
        box-shadow: none;
        border-top: none;
        background: #f9f9f9;
        display: none; 
    }

    .nav-item:hover .dropdown {
        display: block; 
    }

    /* Hamburger Animation to 'X' */
    .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);
    }
}



/* ============================================== 
   2. HERO SECTION - BULLETPROOF FIX
   ============================================== */
.hero-section { 
    width: 100%; 
    background: white; 
    position: relative; 
    z-index: 1; 
    overflow: hidden;
    /* Match your header height. Use padding instead of margin 
       to prevent "pushing" issues on some screens */
    padding-top: 70px; 
}

.hero-slider {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    position: relative;
    /* This ensures the container height matches the image height perfectly */
    height: auto;
}

.hero-slide {
    grid-area: 1 / 1; 
    width: 100%;
    height: auto;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
    position: relative;
    z-index: 1;
    /* Force browser to show top of image */
    display: flex;
    align-items: flex-start; 
}

.hero-slide.active {
    opacity: 1; 
    z-index: 2;
}

.hero-slide img { 
    width: 100%; 
    height: auto; 
    display: block; 
    /* Important: 'initial' prevents the browser from trying to crop or stretch */
    object-fit: initial; 
    /* Prevents any height limits that cause cropping */
    max-height: none !important; 
}

/* --- THE NEAT GRADIENT --- */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, 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.3);
    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: 20px;
    border-radius: 10px;
}

/* Fix for high-resolution screens or zoomed laptops */
@media screen and (max-width: 1400px) {
    .hero-section {
        padding-top: 65px; /* Slightly smaller gap for smaller laptops */
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding-top: 60px; /* Mobile header height */
    }
    .hero-overlay {
        height: 60px;
    }
}






/* ============================================== 
   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;
    }
}

/* New Unboxing */
:root { 
    --su-navy: #003366; 
    --su-orange: #f47b20; 
    --su-bg: #ffffff;
}

body { font-family: 'Outfit', sans-serif; background: var(--su-bg); margin: 0; overflow-x: hidden; }

.reveal-section { 
    padding: 60px 0; 
    background: var(--su-bg);
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px;
    transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-header {
    text-align: center;
    margin-bottom: 40px; 
}

.title-img {
    width: 750px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ALIGNMENT GRID */
.showcase-flex {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 60px;
}

/* LEFT SIDE: BOX & HINT */
.box-container {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* The Hint Text Logic */
.hover-hint {
    background: var(--su-orange);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0; /* Hidden by default */
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(244, 123, 32, 0.3);
}

/* Show hint and Shake box only on Hover */
.box-container:hover .hover-hint {
    opacity: 1;
    transform: translateY(0);
}

.box-wrapper { 
    width: 100%; 
    cursor: pointer; 
    position: relative; 
}

.box-container:hover .box-wrapper:not(.is-open) {
    animation: shake 0.5s infinite linear;
}

.box-img { 
    width: 100%; 
    height: auto; 
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); 
}

.box-opened { display: none; }
.is-open .box-closed { display: none; }
.is-open .box-opened { 
    display: block; 
    animation: openSpring 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Shake Animation */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-1.5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(1.5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes openSpring {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* RIGHT SIDE: TEXT CONTENT */
.content-area {
    flex: 1;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.description-box {
    max-width: 600px;
    transition: opacity 0.4s ease;
}

.stem-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stem-features li {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.stem-features li span {
    color: var(--su-orange);
    font-weight: 800;
    margin-right: 12px;
}

.final-tagline {
    font-size: 19px;
    font-weight: 700;
    color: var(--su-navy);
    margin-top: 25px;
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

/* THE PRODUCT GRID */
.product-grid {
    display: none;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 15px;
    width: 100%;
    opacity: 0;
}

.product-slot {
    aspect-ratio: 1/1;
    opacity: 0;
    transform: scale(0.4);
}

.product-item {
    width: 100%; height: 100%;
    background: white;
    border-radius: 12px;
    padding: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.product-item img { width: 100%; height: 100%; object-fit: contain; }

.blast-particle {
    position: fixed;
    width: 70px; height: 70px;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 992px) {
    .showcase-flex { flex-direction: column; text-align: left; gap: 30px; }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .box-container { width: 300px; }
    .title-img { width: 90%; }
}

    /*Circle Section */
        .hub-section {
        background-color: #ffffff;
        font-family: 'Poppins', sans-serif;
        position: relative;
    }

    .hub-sticky-wrapper {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .hub-bg-grid {
        position: absolute; inset: 0;
        background-image: radial-gradient(#0d3c75 0.5px, transparent 0.5px);
        background-size: 40px 40px;
        opacity: 0.05;
    }

    .hub-container {
        max-width: 1300px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        width: 100%;
        padding: 0 5%;
        z-index: 10;
    }

    /* LEFT TEXT STACK */
    .hub-pill {
        color: #f7941d;
        font-weight: 800;
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 25px;
        display: block;
    }

    .hub-text-stack { position: relative; height: 350px; }
    
    .h-step-content {
        position: absolute; top: 0; left: 0;
        opacity: 0; transform: translateY(30px);
        transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        pointer-events: none;
    }

    .h-step-content.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

    .h-step-content h2 { font-size: 4rem; color: #0d3c75; font-weight: 900; line-height: 1; margin-bottom: 20px; }
    .h-step-content h2 span { color: #f7941d; }
    .h-step-content p { font-size: 1.2rem; color: #556; line-height: 1.7; max-width: 450px; }

    /* RIGHT ENGINE CORE */
    .hub-visual-panel { display: flex; justify-content: center; align-items: center; }

    .hub-engine-core {
        position: relative;
        width: 550px; height: 550px;
    }

    .core-center {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 120px; height: 120px;
        background: #0d3c75;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 40px; z-index: 20;
        box-shadow: 0 0 50px rgba(13, 60, 117, 0.2);
    }

    .core-pulse {
        position: absolute;
        inset: -10px; border: 2px solid #f7941d;
        border-radius: 50%;
        animation: corePulse 2s infinite;
    }

    @keyframes corePulse {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(1.4); opacity: 0; }
    }

    /* ORBITAL STEPS */
    .orbital-ring {
        position: absolute; inset: 0;
        transform-style: preserve-3d;
    }

    .step-node {
        position: absolute;
        top: 50%; left: 50%;
        width: 60px; height: 60px;
        background: #fff;
        border: 2px solid #eef2f7;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800; color: #0d3c75;
        z-index: 15;
        /* Positioned via JS or custom CSS logic */
        transform: translate(-50%, -50%) rotate(calc(var(--i) * (360deg / 8))) translate(250px) rotate(calc(var(--i) * (-360deg / 8)));
        transition: 0.4s;
    }

    .step-node.active {
        background: #0d3c75;
        border-color: #f7941d;
        color: #fff;
        transform: translate(-50%, -50%) rotate(calc(var(--i) * (360deg / 8))) translate(250px) rotate(calc(var(--i) * (-360deg / 8))) scale(1.3);
        box-shadow: 0 10px 30px rgba(13, 60, 117, 0.2);
    }

    /* SVG PROGRESS TRACK */
    .engine-svg {
        position: absolute; inset: 0;
        width: 100%; height: 100%;
        transform: rotate(-90deg);
    }

    .svg-track { fill: none; stroke: #f0f4f8; stroke-width: 4; }
    .svg-progress {
        fill: none; stroke: #f7941d; stroke-width: 4;
        stroke-dasharray: 1570; /* Approximation of circle circum */
        stroke-dashoffset: 1570; /* Hidden initially */
        stroke-linecap: round;
        transition: stroke-dashoffset 0.1s linear;
    }

    /* MOBILE */
    @media (max-width: 992px) {
        .hub-container { grid-template-columns: 1fr; text-align: center; }
        .hub-text-stack { height: 250px; }
        .h-step-content p { margin: 0 auto; }
        .hub-engine-core { width: 350px; height: 350px; }
        .step-node { transform: translate(-50%, -50%) rotate(calc(var(--i) * (360deg / 8))) translate(150px) rotate(calc(var(--i) * (-360deg / 8))); }
    }

/* Logic Section*/
:root {
    --navy: #003366;
    --orange: #f47b20;
    --green: #28a745; /* FIXED: Added missing green variable */
    --light-bg: #f8fafc;
    --white: #ffffff;
}

/* General Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-compare-section { padding: 80px 0; background: var(--light-bg); }

/* UPDATED HEADER STYLES */
.premium-header { 
    text-align: center; 
    margin: 0 auto 50px; 
}

.header-png-title {
    width: 100%;
    max-width: 750px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Pricing Wrapper */
.pricing-wrapper { 
    display: flex; 
    justify-content: center; 
    align-items: stretch;
    gap: 20px; 
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    flex: 1; 
    min-width: 300px; 
    max-width: 360px; 
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.highlighted { 
    border: 2px solid var(--orange); 
    transform: scale(1.05); 
    z-index: 2;
}

/* Before/After Shutter Effect */
.ba-visual { position: relative; height: 220px; overflow: hidden; flex-shrink: 0; }
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-img.before { width: 100%; transition: 0.7s ease-in-out; z-index: 2; border-right: 2px solid #fff; }
.ba-visual:hover .ba-img.before { width: 0%; }
.ba-overlay { 
    position: absolute; bottom: 15px; left: 15px; z-index: 5;
    background: rgba(0,0,0,0.5); color: #fff; padding: 4px 12px; 
    font-size: 11px; border-radius: 50px; backdrop-filter: blur(4px);
}

.pricing-body { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.pricing-body h3 { font-size: 24px; color: var(--navy); margin-bottom: 5px; }
.price { font-size: 20px; font-weight: 700; color: var(--orange); margin-bottom: 20px; }
.price span { color: #999; font-weight: 400; font-size: 16px; }

.feature-list { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; flex-grow: 1; }
.feature-list li { padding: 8px 0; font-size: 14px; color: #555; display: flex; align-items: center; gap: 10px; }
.fa-check { color: #28a745; }
.fa-xmark { color: #ccc; }

.cta-expert {
    width: 100%; padding: 15px; background: var(--navy); color: #fff;
    border: none; border-radius: 15px; font-weight: 700; cursor: pointer; transition: 0.3s;
    margin-top: auto;
}
.cta-expert:hover { background: var(--orange); transform: translateY(-3px); }

.popular-tag {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: var(--orange); color: #fff; padding: 5px 20px;
    font-size: 12px; font-weight: 700; border-radius: 0 0 15px 15px;
    z-index: 10;
}

/* --- POPUP UI --- */
.modal-overlay-new {
    position: fixed; 
    inset: 0; 
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(8px); 
    display: none; /* Logic: Hidden by default */
    justify-content: center; 
    align-items: center; 
    z-index: 999999; 
    padding: 20px;
}

/* FIXED: Class to show the modal via JS */
.modal-overlay-new.active {
    display: flex;
}

.modal-box-new {
    background: #fff; 
    width: 100%; 
    max-width: 480px; 
    border-radius: 25px; 
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3); 
    overflow: hidden; 
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop { 
    from { opacity: 0; transform: translateY(20px) scale(0.98); } 
    to { opacity: 1; transform: translateY(0) scale(1); } 
}

.modal-close { 
    position: absolute; top: 15px; right: 15px; font-size: 20px; 
    border: none; background: #f1f5f9; width: 35px; height: 35px; 
    border-radius: 50%; cursor: pointer; color: #64748b; z-index: 10;
    display: flex; align-items: center; justify-content: center;
}

.modal-flex { display: flex; align-items: stretch; }

/* FIXED: Image Crop focus on head */
.modal-img-side { width: 35%; background: #f8fafc; min-height: 220px; }
.modal-img-side img { 
    width: 100%; height: 100%; object-fit: cover; 
    object-position: 50% 15%; /* Ensures face is visible */
    display: block; 
}

.modal-info-side { width: 65%; padding: 25px; display: flex; flex-direction: column; justify-content: center; }
.desig-label { color: var(--orange); font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 5px; }
.modal-info-side h2 { color: var(--navy); font-size: 26px; margin: 0 0 10px 0; font-weight: 800; }
.modal-info-side p { color: #64748b; font-size: 14px; line-height: 1.5; margin: 0 0 20px 0; }

/* --- BUTTONS SECTION FIXED --- */
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.call-btn-main { 
    background-color: var(--green) !important; /* FIXED: Now uses the green variable */
    color: #ffffff !important; 
    text-decoration: none; 
    padding: 10px 20px; 
    border-radius: 10px; 
    font-weight: 700; 
    font-size: 15px; 
    text-align: center; 
    width: fit-content; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3); 
    transition: 0.3s;
    border: none;
}

.call-btn-main:hover { 
    background-color: #218838 !important; 
    transform: translateY(-2px); 
}

.call-btn-alt { 
    color: var(--navy); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 13px; 
    opacity: 0.7; 
    transition: 0.2s;
}

.call-btn-alt:hover { opacity: 1; color: var(--orange); }

@media (max-width: 600px) {
    .modal-flex { flex-direction: column; }
    .modal-img-side { width: 100%; height: 180px; min-height: auto; }
    .modal-info-side { width: 100%; text-align: center; align-items: center; padding: 20px; }
    .call-btn-main { width: 100%; }
}
    /* What We Offer Section*/
    .stem-services {
        padding: 40px 20px; /* Reduced section padding */
        background-color: #ffffff;
        font-family: 'Outfit', sans-serif;
    }

    .stem-container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .stem-header {
        text-align: center;
        margin-bottom: 30px; /* Reduced margin */
    }

    .stem-title-img {
        max-width: 750px; /* Slightly smaller title */
        width: 100%;
        height: auto;
    }

    .stem-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px; /* Reduced gap between cards */
    }

    .stem-card {
        position: relative;
        transition: transform 0.3s ease;
    }

    .stem-card-inner {
        background: #ffffff;
        padding: 25px 20px; /* SIGNIFICANTLY REDUCED PADDING to shrink height */
        height: 100%;
        border-radius: 50px 15px 50px 15px;
        border: 2px solid #f0f0f0;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centers content vertically */
    }

    .stem-icon {
        font-size: 32px; /* Smaller icon */
        margin-bottom: 12px; /* Reduced spacing */
        color: var(--accent);
    }

    .stem-card-inner h3 {
        font-size: 19px; /* Smaller heading */
        margin: 0 0 10px 0;
        color: #003366;
        font-weight: 800;
    }

    .main-desc {
        font-size: 14px;
        color: #333;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 10px; /* Reduced spacing */
    }

    .sub-desc {
        font-size: 12.5px;
        color: #666;
        line-height: 1.4;
        border-top: 1px solid #eee;
        padding-top: 10px; /* Reduced spacing */
    }

    /* Colors */
    .s-orange { --accent: #f47b20; }
    .s-blue { --accent: #00a8ff; }
    .s-navy { --accent: #003366; }
    .s-purple { --accent: #a55eea; }

    /* Hover State */
    .stem-card:hover .stem-card-inner {
        border-color: var(--accent);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    @media (max-width: 768px) {
        .stem-grid { grid-template-columns: 1fr; }
        .stem-card-inner { padding: 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%; 
    }
}

/* STEM STREAM SECTION */
.stem-stream-section {
    padding: 10px 0; /* REDUCED: Was 20px, now 10px to tighten space with above section */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Heading Container */
.section-intro {
    text-align: center;
    margin-bottom: 5px; /* REDUCED: Minimum gap before the content below starts */
}

/* PNG Heading Size & Alignment */
.heading-png {
    max-width: 750px; /* Scaling the title to a standard desktop heading size */
    width: 100%;       /* Responsive: shrinks on mobile */
    height: auto;
    display: block;
    margin: 0 auto;   /* Centers the image */
}

/* Title Line (The yellow line) */
.title-line {
    width: 50px;
    height: 3px;
    background-color: #ffcc00;
    margin: 8px auto 0; /* REDUCED: Very small gap (8px) between PNG and line */
}

/* Optional: Science Grid Pattern */
.stem-stream-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#e1e8ed 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.stream-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
}

.stream-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    /* Softly fades the edges into the white background */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.stream-track {
    display: flex;
    gap: 15px;
    width: max-content;
}

.stream-track img {
    height: 220px;
    width: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    background: #f8fafc;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Animation Speeds */
.stream-left .stream-track {
    animation: scrollLeftInfinite 45s linear infinite;
}

.stream-right .stream-track {
    animation: scrollRightInfinite 45s linear infinite;
}

/* Hover: Pause & Highlight */
.stream-row:hover .stream-track {
    animation-play-state: paused;
}

.stream-track img:hover {
    transform: scale(1.05) translateY(-5px);
    border: 3px solid #003d71; /* Science Utsav Royal Blue */
    box-shadow: 0 15px 30px rgba(0, 61, 113, 0.15);
    z-index: 10;
}

/* Keyframes for Smooth Looping */
@keyframes scrollLeftInfinite {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / 2)); }
}

@keyframes scrollRightInfinite {
    from { transform: translateX(calc(-100% / 2)); }
    to { transform: translateX(0); }
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .stream-track img {
        height: 140px;
        width: 200px;
    }
    .stream-row {
        mask-image: none; /* Clearer on mobile */
    }
}

/* FAq Section */
.su-faq-section {
    background-color: #ffffff; /* White background as requested */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.su-container {
    max-width: 800px; /* Reduced width for better focus */
    margin: 0 auto;
}

/* Title Image */
.su-title-box {
    text-align: center;
    margin-bottom: 40px;
}

.su-png-title {
    width: 100%;
    max-width: 750px;
    height: auto;
}

/* Compact Card Styling */
.su-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Small gap between items */
}

.su-faq-item {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Very subtle shadow */
}

.su-faq-header {
    padding: 15px 20px; /* Slim padding */
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.su-q-num {
    font-size: 14px;
    font-weight: 600;
    color: #007bff; /* Blue */
    margin-right: 15px;
    opacity: 0.6;
}

.su-q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Slim Plus Icon */
.su-plus-icon {
    width: 12px;
    height: 12px;
    position: relative;
}

.su-plus-icon::before, .su-plus-icon::after {
    content: '';
    position: absolute;
    background: #ff6600; /* Orange */
    transition: transform 0.3s ease;
}

/* Horizontal line */
.su-plus-icon::before {
    width: 100%; height: 2px; top: 5px; left: 0;
}
/* Vertical line */
.su-plus-icon::after {
    width: 2px; height: 100%; top: 0; left: 5px;
}

/* Active State Styles */
.su-faq-item.active {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.su-faq-item.active .su-plus-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.su-faq-item.active .su-q-text {
    color: #007bff;
}

/* Content Area */
.su-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9; /* Slight contrast for content area */
}

.su-faq-body p {
    padding: 15px 20px 15px 50px; /* Aligned text */
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Hover Effect */
.su-faq-item:hover {
    border-color: #ff6600;
}