/* ============================================== 
   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: 30px; 
}

.nav-link { 
    text-decoration: none; 
    color: #0d3c75; 
    font-weight: 600; 
    font-size: 15px; 
    transition: color 0.3s; 
    padding: 10px 0; 
}

.nav-link:hover { 
    color: #f7941d; 
}

.nav-link i { 
    font-size: 11px; 
    margin-left: 5px; 
}

/* 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; 
}

/* ============================================== 
   HEADER MOBILE UPDATES 
   ============================================== */

/* Hide Hamburger on Desktop */
.hamburger {
    display: none;
}

@media (max-width: 992px) {
    .site-header {
        padding: 0 20px;
    }

    /* Move Shop Button inside the menu or hide it on small screens */
    .header-btn {
        display: none; /* Hides the button from the main header row */
    }

    .hamburger {
        display: block; /* Show 3 lines */
        z-index: 1001;
    }

    /* Transform the nav-menu into a vertical sidebar */
    .nav-menu {
        position: fixed;
        right: -100%; /* Hidden by default */
        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: 20px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 18px;
        display: block;
        padding: 15px;
    }

    /* Handle Dropdowns on Mobile */
    .dropdown {
        position: static; /* Stack vertically instead of floating */
        width: 100%;
        box-shadow: none;
        border-top: none;
        background: #f9f9f9;
        display: none; /* Toggle via JS or keep hidden until click */
    }

    .nav-item:hover .dropdown {
        display: block; /* Shows dropdown on click/hover in mobile */
    }

    /* 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;
    }
}

/* ============================================== 
   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. INCREASE PNG TITLE SIZE */
    .nb-header {
        overflow: hidden; /* Prevents side-scrolling from the large image */
        margin-bottom: 10px !important;
    }

    .nb-header img {
        /* Force the image to be larger than the screen */
        width: 130% !important; 
        max-width: 130% !important;
        margin-left: -15% !important; 
        
        /* Zoom effect to make text clear */
        transform: scale(1.15); 
        height: auto;
        display: block;
    }

    /* 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;
    }

    .nb-image-col img {
        max-width: 90% !important; /* Don't make the secondary image too giant */
        border-radius: 15px;
    }

    .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;
    }

    .author-circle-img {
        width: 50px !important; /* Slightly smaller profile pic */
        height: 50px !important;
    }
}

/* ============================================== 
   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 
       to match your reference image style.
    */
    .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;
    background-size: cover;
    background-position: center;
    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;
}

.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 - FIXED MOBILE UI (NO CLIPPING)
   ============================================== */
@media (max-width: 768px) {

    /* 1. RESET SECTION */
    .stem-elastic-section {
        padding: 40px 0 !important;
        background: #fdfdfd !important; 
        background-image: none !important; /* Removes those lines */
    }

    /* 2. CENTERED & SCALED TITLE */
    .stem-header {
        text-align: center !important;
        padding: 0 15px !important;
        margin-bottom: 20px !important;
        display: block !important;
    }

    .stem-header-img {
        width: 100% !important;      /* Fits screen width */
        max-width: 400px !important; /* Prevents it from being too giant */
        height: auto !important;
        margin: 0 auto !important;   /* Centers it */
        display: block !important;
        transform: scale(1.2);       /* Makes it look big without cutting off */
    }

    .stem-header p {
        font-size: 14px !important;
        margin-top: 15px !important;
        line-height: 1.4 !important;
        color: #666;
    }

    /* 3. CLEAN CARD LIST (NO CLIPPING) */
    .stem-gallery-row {
        display: block !important; /* Stack them vertically */
        height: auto !important;
        padding: 0 15px !important;
    }

    .stem-card {
        display: block !important;
        width: 100% !important;
        height: auto !important;    /* Let content define height */
        min-height: 180px !important;
        margin-bottom: 20px !important;
        border-radius: 20px !important;
        position: relative !important;
        overflow: hidden !important;
        border: none !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    /* 4. SHOW THE MATTER CLEARLY */
    .stem-card-details {
        position: relative !important;
        padding: 25px !important;
        inset: 0 !important;
        background: rgba(13, 60, 117, 0.85); /* Dark blue overlay */
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .stem-icon-bubble {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 10px !important;
        background: #fff !important;
        color: #0d3c75 !important;
        font-size: 18px !important;
    }

    .stem-card-title {
        font-size: 18px !important;
        color: #ffd700 !important; /* Gold for premium feel */
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .stem-hidden-content {
        max-height: none !important; /* Show everything */
        opacity: 1 !important;
        display: block !important;
    }

    .stem-list li {
        font-size: 13px !important;
        color: #fff !important;
        margin-bottom: 5px !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .stem-overlay {
        display: none !important; /* We use the background in card-details instead */
    }
}

/* ============================================== 
   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)
   ============================================== */

.join-movement-section {
    width: 100%;
    /* CHANGED: Light background (Soft Gray-Blue) instead of Dark Blue */
    background-color: #f4f7fa; 
    padding: 80px 20px;
    color: #333; /* CHANGED: Dark text for readability */
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Background Pattern (Subtle decorative circle) */
.join-movement-section::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    /* CHANGED: Darker transparency so it shows on light bg */
    background: rgba(11, 61, 117, 0.05); 
    border-radius: 50%;
    z-index: 1;
}

.join-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.join-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* --- Left Column: Text --- */
.join-text-box {
    flex: 1;
    min-width: 300px;
}

.join-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0b3d75; /* CHANGED: Brand Blue */
}

.join-title span {
    color: #555; /* CHANGED: Dark Gray */
    font-size: 28px;
    font-weight: 400;
    display: block;
    margin-top: 10px;
}

.join-intro {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 1;
    color: #666; /* CHANGED: Dark Gray */
    font-style: italic;
    border-left: 4px solid #f5333f; /* Red Accent Line */
    padding-left: 15px;
}

.join-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* CHANGED: Icon style for Light Background */
.check-icon {
    background: #0b3d75; /* Brand Blue Background */
    color: #fff;         /* White Checkmark */
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.point-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #444; /* CHANGED: Dark Gray Text */
}

.point-item strong {
    color: #0b3d75; /* CHANGED: Brand Blue Highlight */
    font-weight: 600;
}

/* --- Right Column: Form --- */
.join-form-box {
    flex: 0.8;
    min-width: 320px;
    background: #fff; /* White Form Background */
    padding: 40px;
    border-radius: 20px;
    /* CHANGED: Softer shadow for light theme */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    border: 1px solid #eee; /* Subtle border */
    color: #333;
}

.form-header {
    font-size: 24px;
    color: #0b3d75;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.maker-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.input-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    background: #fdfdfd;
}

.input-group input:focus {
    outline: none;
    border-color: #0b3d75;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 61, 117, 0.1);
}

/* Button */
.submit-btn {
    margin-top: 10px;
    padding: 15px;
    background: linear-gradient(90deg, #0b3d75 0%, #0b3d75 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 33, 157, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    color: #28a745;
    font-weight: 600;
    margin-top: 10px;
    font-size: 14px;
}

/* ============================================== 
   11. JOIN THE MOVEMENT - MOBILE OPTIMIZATION
   ============================================== */
@media (max-width: 768px) {
    .join-movement-section {
        padding: 50px 15px !important; /* Reduced padding for mobile */
        background-color: #fdfdfd !important;
    }

    .join-container {
        padding: 0 !important;
    }

    .join-content-wrapper {
        flex-direction: column !important;
        gap: 35px !important;
    }

    /* 1. Title & Intro Styling */
    .join-text-box {
        text-align: center !important;
        width: 100%;
    }

    .join-title {
        font-size: 28px !important; /* Smaller for mobile screens */
        padding: 0 10px;
    }

    .join-title span {
        font-size: 20px !important;
        line-height: 1.3;
    }

    .join-intro {
        font-size: 16px !important;
        border-left: none !important; /* Remove side border on mobile */
        border-top: 3px solid #f5333f; /* Add top border for a "divider" look */
        padding: 15px 0 0 0 !important;
        margin: 20px auto !important;
        max-width: 90%;
    }

    /* 2. Point Items - Premium List Look */
    .join-points {
        text-align: left !important;
        display: inline-block !important; /* Center the list container */
        margin: 0 auto;
        width: 100%;
    }

    .point-item {
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        margin-bottom: 10px;
        border: 1px solid #f0f0f0;
        align-items: center !important; /* Vertically center icons */
    }

    .check-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
        background: #28a745 !important; /* Green for "Check" looks better on light theme */
    }

    .point-item p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* 3. The Form - App Style */
    .join-form-box {
        width: 100% !important;
        padding: 25px 20px !important;
        border-radius: 25px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
        border: none !important;
        background: #ffffff !important;
    }

    .form-header {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    .input-group label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .input-group input {
        padding: 14px !important; /* Larger touch target for thumbs */
        font-size: 16px !important; /* Prevents iOS auto-zoom on focus */
        border-radius: 10px !important;
    }

    .submit-btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 17px !important;
        border-radius: 10px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 5px !important;
    }
}

/* ============================================== 
   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;
    }
}