/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

/* ==========================================================================
   Preloader Screen Styles
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1b3d; /* Riveric Deep Navy */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000000; /* Above everything */
    transition: opacity 0.8s ease, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 90%;
    max-width: 400px;
    z-index: 2;
}

.preloader-logo {
    margin-bottom: 40px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-logo img {
    height: 100px;
    width: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 0 15px rgba(0, 168, 204, 0.3));
}

.preloader-brand {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: lowercase;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

/* Bubbles Animation */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bubble:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-duration: 8s; }
.bubble:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(3) { left: 35%; width: 50px; height: 50px; animation-duration: 7s; animation-delay: 2s; }
.bubble:nth-child(4) { left: 50%; width: 30px; height: 30px; animation-duration: 11s; animation-delay: 0.5s; }
.bubble:nth-child(5) { left: 65%; width: 60px; height: 60px; animation-duration: 9s; animation-delay: 3s; }
.bubble:nth-child(6) { left: 80%; width: 25px; height: 25px; animation-duration: 13s; animation-delay: 1.5s; }
.bubble:nth-child(7) { left: 15%; width: 45px; height: 45px; animation-duration: 10s; animation-delay: 4s; }
.bubble:nth-child(8) { left: 45%; width: 15px; height: 15px; animation-duration: 14s; animation-delay: 5s; }
.bubble:nth-child(9) { left: 70%; width: 35px; height: 35px; animation-duration: 8s; animation-delay: 2.5s; }
.bubble:nth-child(10) { left: 90%; width: 55px; height: 55px; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(11) { left: 25%; width: 20px; height: 20px; animation-duration: 9s; animation-delay: 6s; }
.bubble:nth-child(12) { left: 55%; width: 40px; height: 40px; animation-duration: 11s; animation-delay: 3.5s; }

@keyframes rise {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

.preloader-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

#preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00A8CC, #fff, #00A8CC);
    background-size: 200% 100%;
    animation: barGlow 2s linear infinite;
    transition: width 0.4s cubic-bezier(0.1, 0.5, 0.5, 1);
}

.preloader-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#preloader-perc {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
}

.preloader-status {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: textPulse 2s infinite ease-in-out;
    margin: 0;
}

@keyframes barGlow {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

:root {
    --primary-color: #00A8CC;
    --primary-hover: #008ba8;
    --dark-bg: #0B1B3D;
    --light-bg: #f4f9fd;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #777777;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    background-color: var(--white); /* Restore white for the rest of the page */
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white); /* Restore white for the rest of the page */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal sliding */
    width: 100%; /* Ensure it fills the screen */
    min-width: 1200px; /* Force desktop width on all devices */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

h1 .highlight {
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.products-section {
    background: linear-gradient(rgba(240, 249, 255, 0.6), rgba(240, 249, 255, 0.6)), url('glacier.jpeg') center/cover fixed;
    position: relative;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.4);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px; /* Fixed width to match desktop size */
    z-index: 99999;
    transition: var(--transition);
    padding: 5px 30px;
    border-radius: 50px;
    background: transparent !important; /* Ensure transparent by default */
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8) !important; /* Slightly more opaque for better legibility */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 5px 30px;
    top: 15px;
    width: 1200px;
    border: none;
    box-shadow: none;
}

header.scrolled .logo span,
header.scrolled .nav-menu a {
    color: var(--dark-bg);
}

header.scrolled .mobile-toggle {
    color: var(--dark-bg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 1100px; /* Prevent squashing of nav items */
    gap: 30px;
    /* Add gap since width is tightly wrapped */
    margin: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo img {
    height: 35px;
    /* Smaller logo for a slimmer header */
    width: 35px;
    object-fit: cover;
    border-radius: 50%;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.certifications {
    display: flex;
    gap: 10px;
}

.cert-icon {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section (Scroll Animated Canvas)
   ========================================================================== */
.hero-scroll-container {
    height: 400vh;
    /* Adjust height to control scroll speed. 400vh gives plenty of scroll room */
    position: relative;
    background-color: #000000; /* Changed from var(--dark-bg) to black to match canvas */
}

.hero-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero_fallback.jpeg') center/cover no-repeat; /* Fallback image while canvas loads */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
    /* Hardware Acceleration */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Visual Enhancement */
    filter: contrast(1.15) saturate(1.4) brightness(1.08);
    image-rendering: high-quality;
}

/* --- Hero Floating Image Cards --- */
.hero-images-panel {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

.hero-img-card {
    position: relative;
    width: 160px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.35s ease,
        width 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 2px;
    /* Space for the rotating border */
    background: rgba(255, 255, 255, 0.1);
}

/* Rotating border effect */
.hero-img-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            var(--primary-color),
            transparent 30%);
    animation: rotateBorder 4s linear infinite;
    z-index: 0;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    transition: transform 0.35s ease;
    filter: brightness(0.85);
}

.hero-img-card:hover {
    transform: scale(1.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.hero-img-card:hover::before {
    animation-duration: 2s;
    background: conic-gradient(transparent,
            var(--primary-color),
            #fff,
            var(--primary-color),
            transparent 40%);
}

.hero-img-card:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

.hero-img-expand-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* Safari */
}

.hero-img-card:hover .hero-img-expand-icon {
    opacity: 1;
}

/* --- Hero Lightbox --- */
.hero-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100001;
    /* Higher than header and all other floating elements */
    align-items: center;
    justify-content: center;
}

.hero-lightbox.active {
    display: flex;
}

.hero-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    animation: lightboxFadeIn 0.3s ease;
}

.hero-lightbox img {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    animation: lightboxZoomIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* Safari */
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}





.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    color: var(--white);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 3px 6px 15px rgba(0, 0, 0, 0.9), 0 10px 40px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.staggered-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.staggered-title .align-left,
.staggered-title .align-right {
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    /* Both parts white as requested previously */
    will-change: transform;
    transition: transform 0.1s ease-out;
}



#hero-btn {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 320px;
    height: 55px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 50px;
    will-change: width, transform, opacity, color;
}

.hero-subtitle-parallax {
    position: absolute;
    top: 25%;
    left: 8%;
    text-align: left;
    font-size: 1.6rem;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    max-width: 450px;
    color: var(--white);
    opacity: 0;
    z-index: 10;
    will-change: opacity, transform;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.9);
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin-top: 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ==========================================================================
   General Layouts
   ========================================================================== */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-section {
    background: linear-gradient(180deg, #f0f7ff 0%, #f4f9fd 100%);
}

.split-layout>div {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.floating-image {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.auto-slider {
    position: relative;
    width: 100%;
}

.auto-slider .slide-img {
    width: 100%;
    display: block;
    border-radius: 20px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.auto-slider .slide-img.active {
    opacity: 1;
    z-index: 2;
}

.auto-slider .slide-img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Features (Why riveric)
   ========================================================================== */
.features-split-layout {
    display: flex;
    align-items: flex-start;
    /* Align top with content */
    gap: 60px;
    margin-top: 15px;
    /* Reduced as requested */
}

.features-grid-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ambassador-side {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: -100px;
    /* Pull up to align with the heading's starting position */
    position: relative;
    z-index: 5;
}

.ambassador-card {
    position: relative;
    max-width: 475px;
    /* Increased by 35% for better impact */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 168, 204, 0.2);
    border: 4px solid #fff;
    transform: rotate(2deg);
    transition: var(--transition);
}

.ambassador-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.ambassador-img {
    width: 100%;
    height: auto;
    display: block;
}

.ambassador-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.35);
    /* Frosted Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 20px;
    /* More rounded for glass look */
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    /* Removed "overlight" background */
    color: var(--primary-color);
    border: 1px solid rgba(0, 168, 204, 0.2);
    /* Subtle frame */
    border-radius: 12px;
    /* Matching card radius */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    border-color: var(--primary-color);
    background: rgba(0, 168, 204, 0.05);
    transform: scale(1.1);
}

/* ==========================================================================
   Presence Section (Map)
   ========================================================================== */
.presence-section {
    background: linear-gradient(rgba(11, 27, 61, 0.7), rgba(11, 27, 61, 0.7)), url('outside pic factory.jpeg') center/cover fixed;
    color: #ffffff;
    /* Pure white for visibility */
}

.presence-section .section-title {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.presence-section .stat-box {
    color: #0B1B3D;
    /* Keep card text dark for readability */
}

.presence-layout {
    display: flex;
    gap: 40px;
    margin-top: 80px;
    /* Increased for better scroll spacing */
    align-items: center;
}

.presence-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: #ffffff;
    /* Perfectly opaque and clear */
    padding: 0;
    /* Remove padding to allow image to bleed */
    border-radius: 18px;
    border-bottom: 4px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Clip the image corners to the card's radius */
    display: flex;
    flex-direction: column;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon-img {
    width: 100%;
    height: 180px;
    /* Increased slightly for better framing */
    object-fit: cover;
    object-position: top;
    /* Prioritize the top of the image to avoid cutting faces */
    display: block;
}

.stat-box-content {
    padding: 20px;
}

.stat-box h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stat-box i {
    color: var(--primary-color);
}

.presence-map {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container {
    position: relative;
    width: 100%;
}

.india-map {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: red;
    cursor: pointer;
    transition: var(--transition);
    transform: translate(-50%, -100%);
}

.map-pin i {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.map-pin span {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    background: var(--dark-bg);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 1;
    /* Made visible by default so it's obvious */
    transition: var(--transition);
    white-space: nowrap;
}

/* Approximate positions on an India map SVG */
.pin-delhi {
    top: 31%;
    left: 32%;
}

.pin-varanasi {
    top: 41.5%;
    left: 50.5%;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products-section .section-subtitle {
    color: var(--dark-bg);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 1;
    /* Ensure it's not too faint */
}

.case-info {
    color: #444 !important;
    /* High-contrast dark grey */
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.3);
    /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    /* Fix: stop overlay blocking button clicks */
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img {
    height: 250px;
    object-fit: contain;
    margin: 0 auto 20px;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   Section Background Resets (Ensuring Legibility)
   ========================================================================== */
.presence-section {
    background: linear-gradient(rgba(11, 27, 61, 0.85), rgba(11, 27, 61, 0.85)), url('factory_outside.jpeg') center/cover fixed !important;
    color: var(--white) !important;
}

.about-section,
.available-on-section,
.clients-section,
.faq-section {
    background-color: var(--white) !important;
    color: var(--text-color);
}

.gallery-section.action-bg {
    background-color: #f8fafc !important; /* Slightly off-white for action section */
}

/* Ensure titles in these sections are dark */
.about-section .section-title,
.available-on-section .section-title,
.clients-section .section-title,
.presence-section .section-title,
.faq-section .section-title {
    color: inherit;
}

.presence-section .section-title {
    color: var(--white) !important;
}

/* ==========================================================================
   Gallery Section (Animated Banner)
   ========================================================================== */
.gallery-marquee {
    /* Override base marquee-content animation to use the correct 50% shift for doubled content */
    animation: scrolling 40s linear infinite !important;
    display: flex;
    flex-shrink: 0;
    will-change: transform;
}

/* Pause animation on hover ONLY for the gallery marquee */
.marquee-wrapper:hover .gallery-marquee {
    animation-play-state: paused !important;
}

.gallery-item {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    margin: 0 10px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.available-on-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.availability-wrapper {
    margin-top: 40px;
    max-width: 675px; /* Compact size for retail logos */
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.availability-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Clients Marquee
   ========================================================================== */
.action-bg {
    background: linear-gradient(rgba(11, 27, 61, 0.6), rgba(11, 27, 61, 0.6)), url('up_bright.jpeg') center/cover fixed;
    color: var(--white);
}

.action-bg .section-title {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.action-bg .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.marquee-wrapper {
    overflow: hidden;
    margin-top: 40px;
    background: var(--light-bg);
    padding: 16px 0;
    border-radius: var(--border-radius);
    /* Fade edges for a premium seamless look */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    /* Use translate3d for GPU acceleration — eliminates jank/lag completely */
    will-change: transform;
    animation: clients-scroll 25s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    /* Increased for logos */
    height: 80px;
    /* Increased for logos */
    display: flex;
    flex-direction: column;
    /* Stack logo and name */
    align-items: center;
    justify-content: center;
    background: var(--white);
    margin: 0 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 10px;
    gap: 8px;
}

.client-logo img,
.client-logo i {
    max-height: 40px;
    font-size: 32px;
    /* For icons */
    color: var(--primary-color);
    width: auto;
    object-fit: contain;
}

.client-logo h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

@keyframes scrolling {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Seamless GPU-accelerated clients marquee — moves exactly 1/3 since content is tripled */
@keyframes clients-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.333%, 0, 0);
    }
}

/* ==========================================================================
   Distributor Section (Form)
   ========================================================================== */
.benefits-list {
    margin-top: 30px;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.distributor-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.glass-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.glass-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.glass-form label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: var(--transition);
}

.glass-form input:focus~label,
.glass-form input:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.8rem;
    background: var(--dark-bg);
    padding: 0 5px;
    color: var(--primary-color);
}

/* ==========================================================================
   Testimonials Section (3D Carousel)
   ========================================================================== */
.testimonials-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--primary-color) 60%, #ffffff 100%);
    overflow: hidden;
    padding: 100px 0;
    /* Increased for better gradient spread */
}

.testimonials-section .section-title {
    color: var(--white);
    opacity: 1;
    margin-bottom: 40px;
}

.testimonial-carousel-wrapper {
    position: relative;
    padding: 120px 0 20px;
    /* Further increased top padding to prevent title overlap */
    margin: 0 auto;
    max-width: 1000px;
}

.testimonial-carousel {
    position: relative;
    height: 260px;
    /* Reduced height */
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    width: 280px;
    padding: 25px;
    background: #000000;
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
    pointer-events: none;
    transform: translateX(0) translateY(30px) scale(0.8);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Anti-flicker fixes */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.testimonial-card.active:hover {
    transform: translateX(0) translateY(-45px) scale(1.06); /* Stable hover */
}

/* Front/Active card - Light grayish */
.testimonial-card.active {
    background: #fdfdfd;
    /* Light grayish/white as requested */
    color: #111;
    z-index: 20;
    pointer-events: auto;
    transform: translateX(0) translateY(-40px) scale(1.05);
    clip-path: polygon(0% 0%, 85% 0%, 100% 15%, 100% 100%, 0% 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
    border: none;
}

.testimonial-card.prev {
    z-index: 10;
    transform: translateX(-180px) translateY(10px) scale(0.8);
}

.testimonial-card.next {
    z-index: 10;
    transform: translateX(180px) translateY(10px) scale(0.8);
}

.testimonial-card.far-prev {
    z-index: 5;
    transform: translateX(-340px) translateY(30px) scale(0.65);
}

.testimonial-card.far-next {
    z-index: 5;
    transform: translateX(340px) translateY(30px) scale(0.65);
}

.testimonial-card.hidden {
    opacity: 0;
    /* Only truly hidden cards have no opacity to keep the loop clean */
    transform: scale(0.5) translateY(100px);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-content p {
    font-size: 1.05rem;
    /* Reduced font size */
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 20px;
    color: inherit;
    font-family: var(--font-family);
}

.testimonial-footer h5 {
    font-size: 0.95rem;
    /* Reduced font size */
    margin-bottom: 2px;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-footer span {
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    background: #ffffff;
}

.faq-split-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.faq-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-bottle-img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    animation: faqFloat 6s ease-in-out infinite;
}

@keyframes faqFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.faq-accordion {
    flex: 1.5;
    margin-top: 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(0, 168, 204, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question i {
    color: #cbd5e0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.6;
}



/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Strategic Focus Section (Enhanced Mission)
   ========================================================================== */
.mission-section {
    background: #0B1B3D;
    /* Deep Blue Background */
    color: #ffffff;
}

.strategic-focus-container {
    background: transparent;
    /* Removed outer box */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    box-shadow: none;
}

.strategic-header {
    text-align: left;
    /* Align to the content start */
    margin-bottom: 50px;
    padding-left: 20px;
}

.strategic-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #87CEEB;
    /* Sky Blue */
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.strategic-subtitle {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
}

.strategic-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* Left Side */
.strategic-left {
    flex: 1;
    max-width: 350px;
}

.product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.floating-bottle {
    width: 160%;
    /* Even bigger */
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    animation:
        popIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        floatBottle 6s ease-in-out infinite 1.2s;
    /* Starts after popIn */
    transform-origin: center;
    z-index: 5;
    opacity: 0;
    /* Start hidden for popIn */
}

.bottle-shadow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(20px);
    border-radius: 50%;
    z-index: 1;
    animation: shadowPulse 6s ease-in-out infinite 1.2s;
    opacity: 0;
    /* Start hidden */
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scale(1.3);
        opacity: 0.3;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatBottle {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-25px) rotate(1deg);
    }
}

/* Middle Curve */
.strategic-middle {
    width: 120px;
    position: relative;
    align-self: stretch;
    height: 600px;
    /* Match SVG viewBox */
}

.curve-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.base-track {
    stroke: rgba(255, 255, 255, 0.1);
}

.flowing-light {
    stroke: #87CEEB;
    /* Sky Blue */
    stroke-dasharray: 150 800;
    /* Long gap to ensure only one light segment flows at a time */
    stroke-dashoffset: 950;
    /* Start offset (150+800) */
    filter: drop-shadow(0 0 10px #ffffff);
    /* White glow */
    animation: lightFlow 6s linear infinite;
    /* Slower, more elegant speed */
    stroke-linecap: round;
}

.glow-dot {
    fill: #87CEEB;
    filter: drop-shadow(0 0 6px #ffffff);
}

@keyframes lightFlow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Right Side */
.strategic-right {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Spread items to align with dots */
    height: 600px;
    /* Match middle curve height */
    padding: 10px 0;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    height: 80px;
    /* Fixed height for perfect alignment with dots */
}

.goal-info {
    flex: 1;
}

.goal-info h4 {
    font-size: 1.2rem;
    /* Even smaller for better fit */
    font-weight: 700;
    margin-bottom: 2px;
    color: #87CEEB;
}

.goal-info p {
    font-size: 0.78rem;
    /* Ultra-compact */
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}

.goal-icon {
    font-size: 1.1rem;
    color: #ffffff;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    /* Transparent box */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .strategic-content {
        flex-direction: column;
        align-items: center;
    }

    .strategic-middle {
        display: none;
    }

    .strategic-left {
        max-width: 100%;
        margin-bottom: 40px;
    }
}



.mission-item:hover .mission-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 168, 204, 0.4);
}

.mission-item h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.mission-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================================================
   Core Values Section
   ========================================================================== */
.core-values-section {
    background: linear-gradient(rgba(244, 249, 253, 0.8), rgba(244, 249, 253, 0.8)), url('bg core.jpeg') center/cover fixed;
    position: relative;
}

.core-values-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}

.core-values-title {
    font-size: 2.6rem;
    color: var(--dark-bg);
    margin-top: 12px;
    margin-bottom: 30px;
}

.core-banner-wrapper {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 168, 204, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.core-banner-wrapper:hover {
    transform: translateY(-5px);
}

.core-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.core-values-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.core-value-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.15);
    /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.core-value-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(12px) scale(1.02);
    border-color: var(--primary-color);
}

.core-value-num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.core-value-item:hover .core-value-num {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
}

.core-value-item h4 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 5px;
    font-weight: 700;
}

.core-value-item p {
    color: rgba(11, 27, 61, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Vision & Mission Cards Section
   ========================================================================== */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.vision-card {
    background: #f4f6f9;
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.vision-card--wide {
    grid-column: 1 / -1;
}

.vision-icon-circle {
    width: 54px;
    height: 54px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.vision-card h4 {
    font-size: 1.1rem;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.vision-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Animations & Reveal Effects
   ========================================================================== */
.reveal {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.slide-up {
    transform: translateY(30px);
}

.slide-right {
    transform: translateX(-30px);
}

.slide-left {
    transform: translateX(30px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .section-title::after {
    }

    .footer-contact p {
        justify-content: center;
    }
}



/* --- WhatsApp Button --- */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 15px;
}

.water-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(rgba(244, 249, 253, 0.8), rgba(244, 249, 253, 0.8)), url('bg core.jpeg') center/cover fixed;
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    /* Taller for better animation */
    margin-bottom: -7px;
    /* Fix for safari gap */
    min-height: 100px;
    max-height: 150px;
}

/* Wave Animation */
.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Purification Section with Bubbles */
.purification-section {
    background: linear-gradient(180deg, #e0f2fe 0%, #7dd3fc 50%, #0284c7 100%);
    /* More vibrant, clear blues */
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
    /* Space for transition */
}

/* The "100 to 0" Fade into the next section */


.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* Bring to front, above the fade */
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -60px;
    /* Start slightly below to hide emergence */
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    /* Start invisible */
    animation: bubbleRise 20s infinite linear;
    /* Slower and linear for constant speed */
}

/* Individual bubble styling with slower, varied speeds and no glitches */
.bubble:nth-child(1) {
    left: 5%;
    width: 40px;
    height: 40px;
    animation-duration: 22s;
    animation-delay: 1s;
}

.bubble:nth-child(2) {
    left: 15%;
    width: 20px;
    height: 20px;
    animation-duration: 18s;
    animation-delay: 3s;
}

.bubble:nth-child(3) {
    left: 25%;
    width: 50px;
    height: 50px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.bubble:nth-child(4) {
    left: 35%;
    width: 30px;
    height: 30px;
    animation-duration: 20s;
    animation-delay: 5s;
}

.bubble:nth-child(5) {
    left: 45%;
    width: 60px;
    height: 60px;
    animation-duration: 28s;
    animation-delay: 2s;
}

.bubble:nth-child(6) {
    left: 55%;
    width: 25px;
    height: 25px;
    animation-duration: 21s;
    animation-delay: 4s;
}

.bubble:nth-child(7) {
    left: 65%;
    width: 45px;
    height: 45px;
    animation-duration: 23s;
    animation-delay: 6s;
}

.bubble:nth-child(8) {
    left: 75%;
    width: 35px;
    height: 35px;
    animation-duration: 19s;
    animation-delay: 1s;
}

.bubble:nth-child(9) {
    left: 85%;
    width: 20px;
    height: 20px;
    animation-duration: 24s;
    animation-delay: 2s;
}

.bubble:nth-child(10) {
    left: 95%;
    width: 55px;
    height: 55px;
    animation-duration: 26s;
    animation-delay: 4s;
}

.bubble:nth-child(11) {
    left: 10%;
    width: 25px;
    height: 25px;
    animation-duration: 21s;
    animation-delay: 7s;
}

.bubble:nth-child(12) {
    left: 20%;
    width: 45px;
    height: 45px;
    animation-duration: 22s;
    animation-delay: 2s;
}

.bubble:nth-child(13) {
    left: 30%;
    width: 15px;
    height: 15px;
    animation-duration: 27s;
    animation-delay: 1s;
}

.bubble:nth-child(14) {
    left: 40%;
    width: 50px;
    height: 50px;
    animation-duration: 18s;
    animation-delay: 5s;
}

.bubble:nth-child(15) {
    left: 50%;
    width: 30px;
    height: 30px;
    animation-duration: 24s;
    animation-delay: 3s;
}

.bubble:nth-child(16) {
    left: 60%;
    width: 65px;
    height: 65px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.bubble:nth-child(17) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-duration: 23s;
    animation-delay: 4s;
}

.bubble:nth-child(18) {
    left: 80%;
    width: 40px;
    height: 40px;
    animation-duration: 20s;
    animation-delay: 6s;
}

.bubble:nth-child(19) {
    left: 90%;
    width: 25px;
    height: 25px;
    animation-duration: 22s;
    animation-delay: 2s;
}

.bubble:nth-child(20) {
    left: 18%;
    width: 35px;
    height: 35px;
    animation-duration: 19s;
    animation-delay: 5s;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-1200px) translateX(60px);
        opacity: 0;
    }
}

.purification-main-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    /* Increased for underline space */
    background: linear-gradient(to right, #0077b6, #00b4d8, #90e0ef);
    -webkit-background-clip: text;
    background-clip: text;
    /* Modern browsers */
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 168, 204, 0.1);
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    /* Required for centered underline */
}

.purification-main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20%;
    right: 20%;
    height: 4px;
    background: linear-gradient(to right, transparent, #00b4d8, transparent);
    border-radius: 2px;
}

.purification-subtitle {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 50px;
    font-weight: 500;
}

.purification-timeline {
    position: relative;
    max-width: 900px;
    /* Narrower container */
    margin: 0 auto;
}

/* Staggered Node Layout */
.purification-path-bottle {
    position: absolute;
    width: 180px;
    /* High-impact size */
    z-index: 1;
    /* Move behind text cards but in front of bubbles */
    pointer-events: none;
    transition: transform 0.4s ease-out;
    display: none;
    filter: drop-shadow(0 20px 40px rgba(0, 168, 204, 0.3));
    opacity: 0.9;
}

.purification-path-bottle img {
    width: 100%;
    height: auto;
    animation: bottleMiniFloat 3s ease-in-out infinite;
}

@keyframes bottleMiniFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@media (min-width: 769px) {
    .purification-path-bottle {
        display: block;
        /* Only show on desktop for better precision */
    }
}

.purification-node {
    display: flex;
    margin-bottom: 20px;
    /* Half the margin */
    width: 100%;
}

.purification-node.left {
    justify-content: flex-start;
}

.purification-node.right {
    justify-content: flex-end;
}

.node-card {
    background: #ffffff;
    width: 42%;
    /* Slightly smaller width */
    padding: 15px 20px;
    /* Much smaller padding */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
    /* Ensure text is in front of the bottle */
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 168, 204, 0.08);
}

.node-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 204, 0.08);
}

.node-number {
    font-size: 3.5rem;
    /* Large and bold */
    font-weight: 900;
    color: rgba(0, 168, 204, 0.15);
    /* More visible but still subtle */
    position: absolute;
    top: -5px;
    right: 15px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
    -webkit-text-stroke: 1px rgba(0, 168, 204, 0.1);
    /* Hollow effect for extra "cool" factor */
}

.node-icon {
    width: 44px;
    /* Smaller icon box */
    height: 44px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.node-content {
    position: relative;
    z-index: 1;
}

.node-content h4 {
    font-size: 1.05rem;
    /* Smaller heading */
    color: var(--dark-bg);
    margin-bottom: 2px;
    font-weight: 700;
}

.node-content p {
    font-size: 0.8rem;
    /* Smaller text */
    color: #64748b;
    line-height: 1.4;
}



/* ==========================================================================
   Leadership Team Section
   ========================================================================== */
.leadership-section {
    background: linear-gradient(135deg, #0B1B3D 0%, #004e92 100%);
    /* Deep Blue to Lighter Shade */
    position: relative;
    padding: 30px 0;
}

.leadership-title {
    font-family: var(--font-family);
    font-size: 2.2rem;
    /* Even smaller font size */
    color: #ffffff;
    margin-top: 5px;
    font-weight: 800;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Very small boxes */
    gap: 25px;
    align-items: stretch;
}

.leadership-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    /* Smaller radius */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1.5px solid #D4AF37;
}

.leadership-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 8px;
    /* Tighter padding */
}

.leadership-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    /* Matching card radius */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.leadership-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    /* Solid white background as requested */
    color: #111;
    /* Dark text for contrast */
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
    pointer-events: none;
}

.leadership-overlay p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
}

.leadership-card:hover .leadership-overlay {
    opacity: 1;
}

.leadership-card:hover .leadership-img-wrapper img {
    transform: scale(1.1);
}

.leadership-info {
    padding: 12px 20px 20px;
}

.leadership-info h3 {
    font-size: 1.2rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: 800;
    color: #222;
}

.leadership-info p {
    color: #777;
    font-size: 0.95rem;
    font-weight: 500;
}

.leadership-info-text {
    padding: 60px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
