/* Color & Font Variables for Glassmorphism with Posh Blue/Violet Palette - LIGHT MODE */
:root {
    --color-light-base: #F0F4F8; /* Soft Light Blue/Gray (New Posh Base) */
    --color-dark-text: #1A202C; /* Dark Charcoal/Navy for text contrast */
    --color-accent-primary: #3A86FF; /* Vivid, Trustworthy Blue (Accent kept) */
    --color-accent-secondary: #8338EC; /* Deep Violet/Indigo (Accent kept) */
    --color-glass-bg: rgba(255, 255, 255, 0.5); /* Semi-transparent white for light glass */
    --color-glass-border: rgba(0, 0, 0, 0.1); /* Darker border for definition */
    --color-footer-bg: #E2E8F0; /* Slightly darker base for footer */
    --header-height: 80px;
    --font-sans: 'Poppins', sans-serif;
}

/* Base Styles & Background - INVERTED */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-light-base); /* Light background */
    color: var(--color-dark-text); /* Dark text */
    line-height: 1.6;
    scroll-behavior: smooth;
    /* Subtle Blue/Violet background glows for sophistication (adjusted for light theme) */
    background-image: radial-gradient(circle at top right, rgba(58, 134, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at bottom left, rgba(131, 56, 236, 0.15) 0%, transparent 50%);
}

/* Typography - Adjusted to dark text */
h1, h2, h3 {
    color: var(--color-dark-text);
    font-weight: 800;
}
/* REDUCED GAP: Section title bottom margin reduced from 4rem to 3rem */
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
/* REDUCED PADDING: Section padding reduced from 6rem to 4rem */
.section-padding {
    padding: 1.5rem 10%;
}

/* The Glassmorphism Effect - ADJUSTED FOR LIGHT */
.glass-card {
    background: var(--color-glass-bg); /* Semi-transparent white */
    border-radius: 20px;
    border: 1px solid var(--color-glass-border); /* Light gray border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Lighter, subtle shadow */
    /* The core Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* ----------------------------------- */
/* HEADER & NAVIGATION (Light Adapted) */
/* ----------------------------------- */

#main-header {
    /* Desktop: Fixed, centered, floating bar */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto; /* Fits content */
    /* Adjust width to full screen on mobile, handled in media query */
}

.logo {
    display: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark-text); /* Dark logo text */
}

    .logo img {
        max-width: 10rem;
    }

/* NEW: Desktop Logo Style */
.logo-desktop {
    display: block; /* Show by default on desktop */
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent-primary);
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid var(--color-glass-border);
}

    .logo-desktop img {
        max-width: 11rem;
    }

.glass-nav {
    display: flex; /* Desktop: Horizontal row of links */
    padding: 15px 30px;
    background: var(--color-glass-bg); /* Light glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid var(--color-glass-border);
    align-items: center;
}

.nav-link {
    color: var(--color-dark-text); /* Dark link text */
    text-decoration: none;
    padding: 5px 15px;
    margin: 0 10px;
    border-radius: 30px;
    transition: background 0.3s, color 0.3s, background-color 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link.active {
        background: var(--color-accent-primary);
        color: var(--color-light-base); /* Light text on active accent */
    }

/* Mobile Menu Toggle (Hidden on Desktop) */
#menu-toggle {
    display: none;
}


/* CTA Buttons - Soft Glow (Blue/Violet) */
.cta-primary {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-light-base); /* Light text on gradient button */
    text-decoration: none;
    border-radius: 50px;
    margin-top: 30px;
    font-weight: 600;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.5);
}

    .cta-primary:hover {
        box-shadow: 0 0 25px rgba(131, 56, 236, 0.8);
        transform: scale(1.02);
    }

/* ----------------------------------- */
/* NEW: FLOATING LANGUAGE SWITCHER     */
/* ----------------------------------- */
/* Base styles for the selector containers */
.lang-selector-container {
    /* Common styles */
}

/* DESKTOP FLOATING VERSION */
#lang-selector-desktop-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 990; /* Below the main header */
    display: flex; /* Initially display for desktop */
    flex-direction: column;
    align-items: flex-end;
}

/* MOBILE VERSION (Hidden on desktop) */
#lang-selector-mobile-container {
    display: none;
}


/* The current language display button */
.lang-toggle-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-dark-text);
    /* Glass style (Default for Desktop) */
    background: var(--color-glass-bg);
    border-radius: 30px;
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, box-shadow 0.2s;
}

#lang-selector-desktop-container .lang-toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.lang-toggle-button .flag-icon {
    /* Ensure flags are large enough to display clearly */
    font-size: 1.5rem;
    margin-right: 8px;
    line-height: 1;
}

/* Style for the SVG flag container */
.flag-icon svg {
    /* This makes the SVG behave like the emoji it replaced */
    display: block;
    /* --- REDUCED SIZE --- */
    width: 20px;
    height: 20px;
}

.lang-toggle-button i.fa-angle-down {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.lang-toggle-button.open i.fa-angle-down {
    transform: rotate(180deg);
}

/* The dropdown menu */
.lang-options {
    position: absolute; /* Default: floating for desktop */
    top: 100%;
    right: 0;
    margin-top: 10px;
    /* --- INCREASED WIDTH TO ACCOMODATE LONGER TEXT --- */
    min-width: 260px;
    /* Glass style for menu */
    background: var(--color-glass-bg);
    border-radius: 12px;
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Start hidden and transition in/out */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: top;
}

    .lang-options.open {
        max-height: 500px;
        opacity: 1;
    }

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--color-dark-text);
    /* --- REDUCED FONT SIZE FURTHER --- */
    font-size: 0.8rem;
    /* -------------------------------------------------------------------- */
    transition: background-color 0.2s;
}

    .lang-option:hover {
        background-color: rgba(0, 0, 0, 0.05); /* Subtle hover on light glass */
    }

    .lang-option .flag-icon {
        /* --- REDUCED FLAG FONT SIZE --- */
        font-size: 1.2rem;
        margin-right: 12px;
    }
/* ----------------------------------- */
/* HERO SECTION & CAROUSEL SPECIFICS   */
/* ----------------------------------- */

#hero {
    /* Increased height for media content */
    min-height: 85vh;
    text-align: center;
    /* Desktop: Push content down below floating header and lang switcher */
    padding-top: 150px;
}

.hero-content {
    max-width: 1100px; /* Wider card to better hold media */
    height: 600px; /* Fixed height for consistent slide presentation */
    margin: 0 auto;
    padding: 0; /* Padding is now inside the slides */
}

/* CAROUSEL BASE STYLES */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    /* Default centering for all slides */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

/* Slide Content Styling */
.slide-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    text-shadow: 0 0 5px rgba(58, 134, 255, 0.3);
}

.slide-content p {
    font-size: 1.15rem;
    margin-top: 15px;
}
/* Shared half container for media rows */
.slide-content-half {
    flex: 1;
    min-width: 300px;
}

/* ------------------ */
/* Slide 1: Original Text */
/* ------------------ */
.slide-1 h1 {
    font-size: 4.5rem;
}

/* ------------------ */
/* Slide 2: Full Image Background with Readability Overlay (Index 1) */
/* ------------------ */
.slide-full-image {
    position: relative;
    padding: 0; /* Important: remove padding for full background coverage */
}

    .slide-full-image .slide-background-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* This is the key for full image fit */
        border-radius: 20px; /* Match hero card radius */
        z-index: 1; /* Place behind text */
    }

    /* Ensure text on this slide is readable over the dark background image */
    .slide-full-image .slide-content {
        position: relative;
        z-index: 2; /* Place text above image */
        /* ADDED: Semi-transparent black background for readability */
        background-color: rgba(0, 0, 0, 0.6); /* Black with 60% opacity */
        max-width: 700px; /* Constrain the width of the overlay box */
        margin: 0 auto; /* Center the overlay box */
        border-radius: 15px; /* Give the overlay rounded corners */

        color: var(--color-light-base); /* Force light text for visibility over dark image */
        /* Add padding back here since it was removed from the slide itself */
        padding: 40px;
        text-shadow: none; /* Shadow no longer needed with overlay */
    }

        .slide-full-image .slide-content h1,
        .slide-full-image .slide-content h2,
        .slide-full-image .slide-content h3,
        .slide-full-image .slide-content p {
            color: var(--color-light-base); /* Ensures H1/P are light */
            text-shadow: none;
        }


/* ------------------ */
/* Slide 3: Video (Full Player View) (Index 2) */
/* ------------------ */
.carousel-slide-video-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
}

/* THE FIX: Use padding hack to enforce a 16:9 aspect ratio */
.video-full-height-container {
    width: 90%; /* Responsive width */
    max-width: 900px; /* Max width for desktop viewing */
    /* Padding hack for 16:9 aspect ratio (9/16 = 56.25%) */
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Center it */
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

    /* Make the iframe fill the responsive container */
    .video-full-height-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ------------------ */
/* Slide 4: Animated Metrics */
/* ------------------ */
.slide-metrics .slide-content {
    width: 100%;
    max-width: 800px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}

.metric-number-animated, .metric-number-static {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-text {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--color-dark-text);
    opacity: 0.8;
}


/* CAROUSEL NAVIGATION & INDICATORS (Updated to Rectangular Bars) */

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-dot {
    /* DEFAULT (Light Mode - Visible on Slides 1, 3, 4) */
    width: 30px;
    height: 6px;
    background: var(--color-glass-border);
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

    .indicator-dot.active {
        background-color: var(--color-accent-primary);
        transform: scale(1.1);
        box-shadow: 0 0 8px var(--color-accent-primary);
    }

/* NEW: High-Contrast Style for Dark Slides (Applied via JS class 'indicators-dark-mode') */
.slide-indicators.indicators-dark-mode .indicator-dot {
    background: rgba(255, 255, 255, 0.4); /* Semi-transparent white background */
    border: 2px solid rgba(255, 255, 255, 0.8); /* Crisp white border */
}

    .slide-indicators.indicators-dark-mode .indicator-dot.active {
        background-color: var(--color-light-base); /* Pure white active background */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.9); /* Stronger white glow */
        border: 2px solid var(--color-light-base);
    }

/* --- MARQUEE/PARTNERS STYLING --- */

/* Keyframes for the continuous scrolling effect */
@keyframes scroll-logos {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%); /* Scroll exactly half the content width */
    }
}

#partners {
    /* FURTHER REDUCED: Thinner strip height */
    padding: 0.8rem 0;
    margin: 0;
    background-color: var(--color-footer-bg);
    overflow: hidden;
    white-space: nowrap;
    /* Highlight the strip with a subtle shadow/border */
    border-top: 1px solid rgba(131, 56, 236, 0.2);
    border-bottom: 1px solid rgba(58, 134, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) inset, 0 -5px 15px rgba(0, 0, 0, 0.05) inset;
}

.logo-marquee {
    display: flex;
    width: 200%;
    animation: scroll-logos 15s linear infinite; /* FASTER scroll speed (15s) */
}

.logo-item {
    flex-shrink: 0;
    width: auto;
    height: auto;
    max-height: 46px;
    margin: 0 12px; /* FURTHER REDUCED: Tighter horizontal gap */
    opacity: 0.6;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
    filter: grayscale(100%);
    cursor: pointer;
    /* Vertical centering using flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 12px;
    padding-left: 12px;
}

.logo-item img {
    max-height: 45px;
}

    .logo-item:hover {
        filter: none; /* Remove grayscale */
        opacity: 1;
        transform: scale(1.05); /* Subtle scale up on hover */
    }

    /* Base text/icon styles (grayscale state) */
    .logo-item p {
        font-size: 1.2rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--color-dark-text);
        display: flex;
        align-items: center;
        gap: 10px;
        transition: color 0.3s, text-shadow 0.3s;
    }

        .logo-item p i {
            font-size: 1.5rem;
            color: var(--color-dark-text);
            transition: color 0.3s, text-shadow 0.3s;
        }

/* Specific Brand Hover Colors (True Color Reveal) */
/* Google Multi-Color - Using dominant colors */
.logo-google:hover p {
    color: #34A853;
    text-shadow: 0 0 5px #34A853;
}
/* Green text */
.logo-google:hover i {
    color: #EA4335;
    text-shadow: 0 0 8px #EA4335;
}
/* Red icon */

/* Gemini (Using Accent Secondary - Deep Violet) */
.logo-gemini:hover p, .logo-gemini:hover i {
    color: #8338EC;
    text-shadow: 0 0 10px rgba(131, 56, 236, 0.8);
}

/* Gmail Red */
.logo-gmail:hover p, .logo-gmail:hover i {
    color: #DB4437;
    text-shadow: 0 0 8px #DB4437;
}

/* Azure Blue */
.logo-azure:hover p, .logo-azure:hover i {
    color: #0078D4;
    text-shadow: 0 0 8px #0078D4;
}

/* AWS Orange */
.logo-aws:hover p, .logo-aws:hover i {
    color: #FF9900;
    text-shadow: 0 0 8px #FF9900;
}

/* Oracle Red */
.logo-oracle:hover p, .logo-oracle:hover i {
    color: #F80000;
    text-shadow: 0 0 8px #F80000;
}


/* Pause animation on hover */
.logo-marquee:hover {
    animation-play-state: paused;
}


/* Vision Grid (6 Pillars - Now in 3x2 Layout) */
.vision-grid {
    display: grid;
    /* Desktop: 3 columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

    .vision-grid .glass-card {
        padding: 40px 25px;
        text-align: center;
    }

        .vision-grid .glass-card:hover {
            box-shadow: 0 0 20px rgba(131, 56, 236, 0.2); /* Softer shadow on hover */
            transform: translateY(-5px);
        }

    .vision-grid i {
        font-size: 2.5rem;
        background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
    }

    .vision-grid h3 {
        font-weight: 600;
    }

    .vision-grid p {
        color: var(--color-dark-text); /* Ensure paragraph text is dark */
        opacity: 0.8;
    }

/* Intelligence (Data/Metrics) Section */
.glow-text {
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Glowing Metric Badges */
.metric-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
}

.metric-badge {
    background-color: var(--color-footer-bg); /* Use slightly darker light background */
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--color-accent-secondary);
    box-shadow: 0 0 10px rgba(58, 134, 255, 0.2); /* Soft blue shadow */
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent-primary);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--color-dark-text); /* Dark label text */
    opacity: 0.7;
}

/* AI Flow within a Glass Card */
.flow-container {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ai-flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

    .ai-flow-steps span {
        padding: 10px 20px;
        border-radius: 5px;
        background-color: rgba(0, 0, 0, 0.05); 
        font-weight: 600;
        color: var(--color-dark-text);
    }

    .ai-flow-steps i {
        color: var(--color-accent-primary);
        font-size: 1.5rem;
        opacity: 0.5;
    }

    .ai-flow-steps .fa-arrow-down { 
        display: none; 
    }

.highlighted-step {
    background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-light-base); /* Light text on highlight */
    box-shadow: 0 0 10px var(--color-accent-primary);
}

/* Contact Form - Adjusted for light background */
.contact-card {
    max-width: 550px;
    margin: 0 auto;
    padding: 40px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
}

    #contact-form input, #contact-form textarea {
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.8); /* Near-white input fields */
        border: 1px solid var(--color-glass-border);
        border-radius: 8px;
        color: var(--color-dark-text); /* Dark text input */
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        #contact-form input::placeholder, #contact-form textarea::placeholder {
            color: var(--color-dark-text);
            opacity: 0.5;
        }

        #contact-form input:focus, #contact-form textarea:focus {
            border-color: var(--color-accent-primary);
            outline: none;
            box-shadow: 0 0 8px rgba(58, 134, 255, 0.5);
        }

    #contact-form textarea {
        min-height: 120px;
        resize: vertical;
    }

/* --- Submission Success Banner --- */
.submission-success-banner {
    position: fixed;
    top: -100px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 1rem 2rem;
    background-color: var(--color-accent-primary);
    color: var(--color-light-base);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(58, 134, 255, 0.7);
    opacity: 0;
    transition: top 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
    max-width: 90%;
    width: 450px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .submission-success-banner.visible {
        top: 110px;
        opacity: 1;
    }

    .submission-success-banner .icon {
        margin-right: 0.75rem;
        font-size: 1.5rem;
    }

/* ----------------------------------- */
/* NEW: FLOATING CONTACT WIDGET STYLES */
/* ----------------------------------- */

.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* NEW Back to Top Button Styles */
.back-to-top-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    margin-bottom: 15px; /* Spacing between it and the main button */
    text-decoration: none;
    /* Hide by default and transition in */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

    .back-to-top-button.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top-button:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: scale(1.05);
    }

/* The main circular button */
.contact-main-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-light-base);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .contact-main-button:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(131, 56, 236, 0.7);
    }

/* The expanded options menu */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Start hidden and transition in/out */
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}

    .contact-options.open {
        max-height: 300px; /* Large enough to show all links */
        margin-bottom: 20px;
    }

/* Individual contact links (bubbles) */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to the right of the button */
    gap: 10px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    /* Use the glass card style */
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-dark-text);
    transition: transform 0.2s, background-color 0.2s;
}

    .contact-link:hover {
        transform: translateX(-5px);
        background-color: rgba(255, 255, 255, 0.8);
    }

    .contact-link i {
        font-size: 1.5rem; /* Increased size (previously updated) */
        color: var(--color-accent-primary);
    }

    /* Specific icon coloring for branding */
    .contact-link.whatsapp i {
        color: #25D366;
    }

    .contact-link.messenger i {
        color: #0078FF;
    }

    .contact-link.email i {
        color: #D44638;
    }


/* --- FOOTER STYLING - Adjusted to light theme contrast --- */
#main-footer {
    background-color: var(--color-footer-bg); /* Slightly darker than base */
    color: var(--color-dark-text);
    padding: 4rem 10%;
    border-top: 1px solid var(--color-glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    /*flex: 1;*/
    min-width: 250px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

    .footer-logo img {
        max-width: 13rem;
    }

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-dark-text);
    opacity: 0.6;
}

    .footer-copyright p {
        margin: 5px 0;
    }

.footer-right {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

#main-footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-accent-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

    .footer-links a {
        color: var(--color-dark-text);
        text-decoration: none;
        font-size: 0.9rem;
        opacity: 0.7;
        transition: opacity 0.3s, color 0.3s;
    }

        .footer-links a:hover {
            opacity: 1;
            color: var(--color-accent-secondary);
        }

.footer-social {
    min-width: 150px;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 10px;
}

    .social-icons a {
        color: var(--color-dark-text);
        font-size: 1.5rem;
        transition: color 0.3s, transform 0.3s;
    }

        .social-icons a:hover {
            color: var(--color-accent-primary);
            transform: translateY(-2px);
        }

.cookie-consent {
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 9999;
}

.accept-cookie {
    background-color: var(--color-accent-primary);
    color: white;
    border: none;
    margin-left: 15px;
    padding: 5px 10px;
    cursor: pointer;
}

    .accept-cookie:hover {
        background-color: #45a049;
    }

.fs-xx-large{
    font-size: xx-large !important;
}

.content-container,
.policy-container {
    max-width: 900px;
    margin-top: 152px !important;
    margin: 120px auto 50px auto;
    padding: 40px;
    /* Glassmorphism styling */
    background: var(--color-glass-bg);
    border-radius: 20px;
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.policy-container a {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

    .policy-container a:hover {
        color: var(--color-accent-secondary);
        text-decoration: underline;
    }

/* List Styles */
.policy-container ul {
    list-style-type: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-container li {
    position: relative;
    margin-bottom: 10px;
}

.policy-container li::before {
    content: "\f058"; /* Font Awesome Checkmark - Replaces bullet */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--color-accent-primary);
    position: absolute;
    left: -20px;
    top: 2px;
    font-size: 0.8rem;
}

/* ----------------------------------- */
/* MOBILE RESPONSIVENESS (< 900px)     */
/* ----------------------------------- */
@media (max-width: 900px) {

    /* Global Adjustments */
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
    /* REDUCED MOBILE PADDING: Section padding reduced from 4rem to 3rem */
    .section-padding {
        padding: 1rem 5%;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .metric-row {
        flex-direction: column;
        gap: 20px;
    }

    /* HIDE DESKTOP LOGO ON MOBILE */
    .logo-desktop {
        display: none;
    }

    /* Header (Mobile) */
    #main-header {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(0);
        width: 100%;
        padding: 0 5%; /* Add side padding for logo and toggle */
        height: var(--header-height);
        background: rgba(240, 244, 248, 0.95);
        border-bottom: 1px solid var(--color-glass-border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide the floating desktop language selector on mobile */
    #lang-selector-desktop-container {
        display: none !important;
    }

    .logo {
        display: block;
        padding-left: 0; /* Padding is now on #main-header */
        color: var(--color-accent-primary);
        font-size: 1.8rem;
    }

    /* Menu Toggle Button */
    #menu-toggle {
        display: block;
        padding: 0; /* Padding is now on #main-header */
        font-size: 1.8rem;
        color: var(--color-accent-primary);
        cursor: pointer;
        z-index: 1001;
    }

    /* Navigation Menu (Collapsible) */
    .glass-nav {
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        right: 0;
        width: 100%;
        height: auto;
        /* THE FIX for the tiny gap: padding set to 0 when menu is closed */
        padding: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--color-glass-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

        .glass-nav.open {
            padding: 0;
            max-height: 400px; /* Increased height to accommodate links + language selector */
        }

    .nav-link {
        display: block;
        /* Vertical spacing is purely from link padding */
        margin: 0 auto;
        width: 80%;
        text-align: center;
        padding: 10px 0;
    }

    /* Mobile Language Selector Styles (Inside Nav) */
    #lang-selector-mobile-container {
        display: block; /* Show the container when menu is open */
        width: 80%; /* Match link width */
        margin: 10px auto; /* Center it */
        padding: 0 0 10px 0; /* Add bottom spacing */
        text-align: left;
    }

        /* Mobile Language Button Adjustments */
        #lang-selector-mobile-container .lang-toggle-button {
            width: 100%; /* Full width within its container */
            /* Custom styles for in-menu look */
            background: rgba(0, 0, 0, 0.05);
            border: none;
            box-shadow: none;
            border-radius: 8px;
            padding: 12px 15px;
            justify-content: space-between;
        }

        /* Mobile Dropdown Menu Adjustments */
        #lang-selector-mobile-container .lang-options {
            position: relative; /* CRITICAL: Stays in document flow (not floating) */
            top: 0;
            right: auto;
            margin-top: 5px;
            min-width: 100%;
            /* Simplifies the look inside the menu */
            border: none;
            box-shadow: none;
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        /* Individual option styling */
        #lang-selector-mobile-container .lang-option {
            padding: 8px 15px;
            border-radius: 6px;
            background-color: transparent;
        }

            #lang-selector-mobile-container .lang-option:hover {
                background-color: rgba(0, 0, 0, 0.08);
            }


    /* Content below header starts exactly at 80px */
    #hero {
        padding-top: var(--header-height);
        min-height: auto;
    }

    /* CAROUSEL MOBILE ADJUSTMENTS */
    .hero-content {
        height: 600px; /* Smaller fixed height on mobile */
        padding: 0; /* Ensures no extra padding pushes content down */
    }

    .carousel-slide {
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    /* Metrics Slide Mobile Adjustments */
    .metrics-grid {
        gap: 20px;
    }

    .metric-number-animated, .metric-number-static {
        font-size: 3rem;
    }

    .metric-text {
        font-size: 0.9rem;
    }

    /* FIX: Stack media and text on mobile for better flow */
    .carousel-slide-media-row {
        flex-direction: column;
        padding: 30px;
        height: 100%;
    }

    /* Mobile stacking issue (text above image) is restored as requested by previous update */
    .slide-media-half {
        flex: unset;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 20px;
        border-radius: 15px;
        height: 180px;
    }

    .slide-content-half {
        flex: unset;
        padding: 0;
        height: auto;
    }

    .slide-media-half img {
        border-radius: 15px;
    }

    /* FIX: Video adjustment for mobile stacking */
    .video-full-height-container {
        width: 95%; /* Wider on mobile */
        max-width: none;
        padding-bottom: 56.25%; /* Keep aspect ratio hack */
        margin: 20px auto; /* Reduced margin */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        border-radius: 15px;
    }

        /* Ensure iframe styling is consistent */
        .video-full-height-container iframe {
            border-radius: 15px;
        }

    /* New Slide 2 Mobile Adjustment: Ensure text is visible */
    .slide-full-image .slide-content {
        padding: 20px; /* Adjust padding for mobile overlay */
        max-width: 90%; /* Adjust max-width for mobile overlay */
    }


    /* Mobile Marquee Adjustment */
    .logo-marquee {
        animation-duration: 25s; /* Slower scroll on mobile (25s) */
    }

    .logo-item {
        width: auto;
        margin: 0 12px;
    }

    /* Footer adjustments for stacking */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        margin-bottom: 2rem;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-links, .footer-social {
        min-width: unset;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Mobile Banner Adjustment */
    .submission-success-banner.visible {
        /* Puts the banner just below the mobile fixed header */
        top: calc(var(--header-height) + 10px);
    }

    /* Floating Widget Mobile Adjustment */
    .floating-contact-widget {
        bottom: 20px;
        right: 20px;
    }

    .ai-flow-steps {
        flex-direction: column;
    }

        .ai-flow-steps span {
            width: 100%;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .ai-flow-steps .fa-arrow-right {
            display: none;
        }

        .ai-flow-steps .fa-arrow-down {
            display: inline-block;
        }

    .content-container,
    .policy-container {
        margin-top: 80px;
        padding: 25px;
    }
}
