/* =====================================================
   KHURANA OLEO CHEMICALS - Modern Website Redesign
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Crimson+Pro:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
    --primary: #2d5a27;
    --primary-dark: #1e3d1a;
    --primary-light: #3d7a35;
    --secondary: #1e293b;
    --accent: #eeb31a;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gradient-primary: linear-gradient(135deg, #2d5a27 0%, #1e3d1a 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(45, 90, 39, 0.3);
    --pastel-green: #f1f8f1;
    --pastel-gold: #fff9e6;
    --pastel-blue: #f0f4f8;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--light);
}

/* Clip horizontal overflow on main content only so the fixed header is never clipped */
.page-main {
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-hero {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

/* Section Styles */
.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-subtitle::before {
    right: calc(100% + 15px);
}

.section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 1000;
    padding: 15px 0;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: auto;
    display: flex;
    align-items: center;
    overflow: visible;
}

.header.scrolled {
    background: white;
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    height: 80px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

.logo img {
    height: 60px;
    /* Adjust height to match image */
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-split {
    position: relative;
    display: inline-block;
    height: 60px;
}

.logo-split__base {
    height: 60px;
    width: auto;
    opacity: 0;
}

.logo-split__layer {
    position: absolute;
    inset: 0;
    height: 60px;
    width: auto;
    will-change: transform, opacity;
}

.logo-split__leaf {
    clip-path: inset(0 0 55% 0);
}

.logo-split__text {
    clip-path: inset(45% 0 0 0);
}

@keyframes logoLeafDrop {
    from {
        transform: translateY(-26px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoTextRise {
    from {
        transform: translateY(26px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo--animated .logo-split__leaf {
    opacity: 0;
    animation: logoLeafDrop 1000ms cubic-bezier(0.16, 1, 0.3, 1) 160ms forwards;
}

.logo--animated .logo-split__text {
    opacity: 0;
    animation: logoTextRise 1000ms cubic-bezier(0.16, 1, 0.3, 1) 260ms forwards;
}

@media (prefers-reduced-motion: reduce) {

    .logo--animated .logo-split__leaf,
    .logo--animated .logo-split__text {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.footer .logo-text {
    color: var(--secondary);
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 30px;
}

.nav-link {
    padding: 10px 20px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
/* =====================================================
   HERO SECTION (SLIDER)
   ===================================================== */
.hero {
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: flex-start;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hwb(104 12% 68% / 0.956);
    /* Dark green overlay like in image */
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease;
}

.hero-slide.active .hero-bg img {
    transform: scale(1.1);
}

.hero .container {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 0;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 100px;
    /* Above scroll indicator */
    left: 50%;
    transform: translateX(-50%);
    /**display: flex;**/
    display: none;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Hero Company Tabs - inside hero-content; desktop: pinned to bottom of hero, mobile: in flow */
.hero-content .hero-company-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}

.hero-tab-btn {
    font-size: 1.1rem;
    padding: 14px 28px;
}

.hero-tab-btn i {
    margin-right: 8px;
    font-size: 1.15rem;
    vertical-align: middle;
}

@media (min-width: 769px) {
    .hero-content {
        justify-content: flex-start;
    }

    .hero-content .hero-company-tabs {
        margin-top: 48px;
        padding-bottom: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .hero-content .hero-company-tabs {
        flex-direction: column;
        margin-top: 32px;
        padding: 0 16px;
        gap: 14px;
    }

    .hero-tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px 20px;
    }

    .hero-tab-btn i {
        margin-right: 8px;
    }
}


/* Common Content Styles - Animated */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding-top: calc(var(--header-height, 90px) + 24px);
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slide .hero-badge,
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .hero-buttons,
.hero-slide .hero-stats {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-slide.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.hero-slide.active .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

.hero-logo-container {
    background: white;
    padding: 15px;
    display: inline-block;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-logo-img {
    height: 80px;
    width: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-subtitle-1 {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-motto {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-subtitle-2 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Shapes should be outside slides to persist, or inside to move. Moving nicely. */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(13, 148, 136, 0.2);
    top: -200px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -100px;
    left: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(13, 148, 136, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.25;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* =====================================================
   MARQUEE SECTION
   ===================================================== */
.marquee-section {
    background: var(--primary);
    padding: 15px 0;
    overflow: hidden;
    position: sticky;
    top: var(--header-height, 90px);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: top 0.4s ease;
}

/* Adjust sticky top when header shrinks on scroll */
.header.scrolled~.marquee-section {
    top: 80px;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-item i {
    color: var(--accent);
    font-size: 1.4rem;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* =====================================================
   EXPERTISE SECTION
   ===================================================== */
.expertise {
    background: white;
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--gray-100), transparent);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.expertise-image {
    position: relative;
}

.expertise-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.expertise-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-img-main:hover img {
    transform: scale(1.05);
}

.expertise-card {
    position: absolute;
    background: white;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
}

.expertise-card-1 {
    top: -30px;
    left: -30px;
}

.expertise-card-2 {
    bottom: -30px;
    right: -30px;
}

.expertise-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.expertise-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.expertise-card-number span {
    color: var(--primary);
}

.expertise-card-text {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.expertise-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.expertise-content h2 .highlight {
    color: var(--primary);
}

.expertise-content>p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.expertise-features {
    margin-bottom: 35px;
}

.expertise-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.expertise-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.expertise-feature p {
    color: var(--gray-600);
}

.expertise-feature p strong {
    color: var(--secondary);
}

/* =====================================================
   JOURNEY / TIMELINE SECTION - SCALABLE DESIGN
   ===================================================== */
.journey {
    background: var(--pastel-blue);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(45, 90, 39, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(238, 179, 26, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating particles */
.journey::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 100px 50px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(13, 148, 136, 0.5), transparent),
        radial-gradient(1px 1px at 300px 250px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 400px 100px, rgba(245, 158, 11, 0.4), transparent),
        radial-gradient(1px 1px at 500px 200px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 600px 300px, rgba(13, 148, 136, 0.4), transparent),
        radial-gradient(1px 1px at 700px 50px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 800px 180px, rgba(245, 158, 11, 0.3), transparent),
        radial-gradient(1px 1px at 900px 280px, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 1000px 100px, rgba(13, 148, 136, 0.35), transparent);
    animation: sparkle 20s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-20px);
    }
}

.journey .section-header {
    position: relative;
    z-index: 2;
}

.journey .section-subtitle {
    color: var(--primary-light);
}

.journey .section-title {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
    background: none;
}

.journey .section-desc {
    color: var(--gray-600);
}

/* Timeline Wrapper - Enables horizontal scroll */
/* Timeline Outer Container - Holds wrapper and nav buttons */
.timeline-outer {
    position: relative;
    z-index: 2;
    margin: 60px 0 40px;
}

/* Timeline Wrapper - Enables horizontal scroll */
.timeline-wrapper {
    position: relative;
    z-index: 1;
    padding: 0 60px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.timeline-wrapper::-webkit-scrollbar {
    display: none;
}

/* Timeline Navigation Buttons */
.timeline-nav {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.timeline-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.5);
}

.timeline-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.timeline-nav-left {
    left: -20px;
}

.timeline-nav-right {
    right: -60px;
}

.timeline-nav i {
    line-height: 1;
}

/* Timeline Track - The horizontal rail */
.timeline-track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-width: max-content;
    padding: 60px 40px 20px;
    gap: 20px;
}

/* Animated Progress Line */
.timeline-progress-line {
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.timeline-progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 80px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-80px);
    }

    100% {
        transform: translateX(calc(100vw + 80px));
    }
}

/* Timeline Node - Each milestone point */
.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
}

/* Node Badge - Shows on hover/active */
.node-badge {
    position: absolute;
    top: -40px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.timeline-node:hover .node-badge,
.timeline-node.active .node-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Node Circle - The clickable year indicator */
.node-circle {
    width: 95px;
    height: 95px;
    background: white;
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

/* Rotating border effect */
.node-circle::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--primary) 25%, var(--primary-light) 50%, var(--primary) 75%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 3s linear infinite paused;
    z-index: -1;
}

.node-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.timeline-node:hover .node-circle::before,
.timeline-node.active .node-circle::before {
    opacity: 1;
    animation-play-state: running;
}

.timeline-node:hover .node-circle::after,
.timeline-node.active .node-circle::after {
    background: transparent;
}

/* Active/Hover state for node circle */
.node-circle.active,
.timeline-node:hover .node-circle {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.12) translateY(-8px);
    box-shadow:
        0 20px 50px rgba(45, 90, 39, 0.5),
        0 0 80px rgba(45, 90, 39, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
}

/* Icon inside node */
.node-circle i {
    font-size: 1.8rem;
    margin-bottom: 4px;
    transition: all 0.4s ease;
    opacity: 1;
}

.node-circle.active i,
.timeline-node:hover .node-circle i {
    opacity: 1;
    transform: scale(1.15);
}

/* Year text inside node */
.node-year {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Content Card - Shows below timeline */
.timeline-content-card {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(38, 25, 25, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInCard 0.6s ease forwards;
}

@keyframes fadeInCard {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Arrow pointing up to selected node */
.content-arrow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: left 0.4s ease;
}

.content-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-description {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Progress Dots */
.timeline-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}

.timeline-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(26, 16, 16, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-dots .dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}

.timeline-dots .dot:hover,
.timeline-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--primary);
}

.timeline-dots .dot.active::before {
    border-color: rgba(13, 148, 136, 0.4);
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */
.why-us {
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--gray-100);
    padding: 45px 35px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover {
    background: white;
    border-color: var(--gray-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
}

.why-card:hover .why-card-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
    box-shadow: var(--shadow-glow);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products {
    background: #f0f3f4;
    padding: 120px 0;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></svg>');
    background-size: 200px;
    pointer-events: none;
}

.products .section-title,
.products .section-desc {
    color: #000;
    -webkit-text-fill-color: #000;
}

.products .section-subtitle {
    color: var(--primary-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.products .section-title {
    -webkit-text-fill-color: var(--secondary);
    color: var(--secondary);
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.product-card:hover {
    background: white;
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.product-card h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* =====================================================
   SUSTAINABILITY SECTION
   ===================================================== */
.sustainability {
    background: var(--pastel-green);
    overflow: hidden;
}

.sust-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.sust-left {
    position: sticky;
    top: 120px;
}

.sust-intro-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.sust-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.sust-intro-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.sust-intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.sust-intro-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

.sust-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.sust-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sust-image-wrapper:hover img {
    transform: scale(1.05);
}

.sust-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.sust-image-overlay span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    display: block;
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 5px;
    /* Prevent shadow cutout */
}

.accordion-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.accordion-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: scale(1.01);
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(to right, rgba(13, 148, 136, 0.05), transparent);
}

.acc-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.acc-title i {
    font-size: 1.4rem;
    color: var(--primary);
    width: 30px;
    display: flex;
    justify-content: center;
}

.acc-title h4 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--secondary);
    font-weight: 600;
}

.acc-toggle {
    font-size: 1.2rem;
    color: var(--gray-400);
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.active .acc-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
    opacity: 0;
    background: white;
}

.accordion-item.active .accordion-body {
    max-height: 300px;
    opacity: 1;
}

.accordion-body p {
    padding: 0 25px 25px 70px;
    margin: 0;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Responsive Sustainability */
@media (max-width: 992px) {
    .sust-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sust-left {
        position: static;
    }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--pastel-blue);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    background: #2e5320;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
}

.contact-info>p {
    color: var(--gray-400);
    margin-bottom: 40px;
    position: relative;
}

.contact-details {
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 148, 136, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item-text p,
.contact-item-text a {
    color: #e7e7e7;
    font-size: 0.95rem;
}

.contact-item-text a:hover {
    color: var(--primary-light);
}

.contact-social {
    margin-top: 50px;
    position: relative;
}

.contact-social h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    padding: 60px 50px;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
    background: #2e5320;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.cta-text h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.cta-text p {
    color: #eeb31a;
    font-size: 1.1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--pastel-blue);
    padding-top: 80px;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--gray-600);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .social-link {
    background: rgba(0, 0, 0, 0.05);
    color: var(--secondary);
}

.footer .social-link:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        margin-left: calc(-1 * max(24px, env(safe-area-inset-left)));
        margin-right: calc(-1 * max(24px, env(safe-area-inset-right)));
        border-top: 1px solid var(--gray-200);
        z-index: 1001;
        gap: 0;
    }

    .header.nav-open .nav-menu {
        display: flex !important;
    }

    .nav-menu .nav-link {
        padding: 14px 20px;
        border-radius: 8px;
        display: block;
    }

    .nav-menu .nav-link:hover {
        background: var(--pastel-green);
    }

    .nav-item-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 0;
        margin-left: 0;
        padding-left: 20px;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary);
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown.nav-dropdown-open .dropdown-menu {
        display: block;
    }

    .nav-item-dropdown::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .expertise-image {
        order: -1;
    }

    .expertise-features {
        grid-template-columns: 1fr !important;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 40px;
    }

    /* Timeline responsive - horizontal scroll */
    .timeline-wrapper {
        padding: 0 50px;
    }

    .timeline-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-nav-left {
        left: 5px;
    }

    .timeline-nav-right {
        right: 5px;
    }

    .timeline-track {
        justify-content: flex-start;
        padding: 50px 30px 20px;
        gap: 15px;
    }

    .node-circle {
        width: 80px;
        height: 80px;
    }

    .node-circle i {
        font-size: 1.5rem;
    }

    .node-year {
        font-size: 0.8rem;
    }

    .node-badge {
        top: -35px;
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .timeline-content-card {
        max-width: 90%;
        padding: 25px 30px;
    }

    .content-title {
        font-size: 1.2rem;
    }

    .content-description {
        font-size: 0.95rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .partnership-content .expertise-features {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-desc {
        font-size: 1rem;
    }

    .hero {
        height: 85vh;
        min-height: 500px;
        max-height: none;
    }

    .hero-content {
        padding-top: calc(var(--header-height, 80px) + 20px);
        padding-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 18px;
    }

    .hero-motto {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .marquee-section {
        top: var(--header-height, 80px);
    }

    .marquee-item {
        font-size: 0.9rem;
    }

    .expertise-content h2 {
        font-size: 1.75rem;
    }

    .expertise-img-main img {
        height: 280px;
    }

    .expertise-card {
        position: static;
        margin-top: 20px;
        justify-content: center;
        padding: 20px 24px;
    }

    .expertise-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .expertise-card-number {
        font-size: 2rem;
    }

    .journey {
        padding: 60px 0;
    }

    .timeline-outer {
        margin: 40px 0 30px;
    }

    .timeline-wrapper {
        padding: 0 40px;
    }

    .why-card {
        padding: 24px 20px;
    }

    .why-card h3 {
        font-size: 1.2rem;
    }

    .partnerships.section {
        padding: 50px 0;
    }

    .partnership-content h3 {
        font-size: 1.35rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 28px 24px;
    }

    .cta-banner {
        padding: 50px 0;
    }

    .cta-text h3 {
        font-size: 1.35rem;
    }

    .cta-content .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 40px 24px;
    }

    .contact-info h3,
    .contact-form-wrapper h3 {
        font-size: 1.5rem;
    }

    .contact-item-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .header .nav-menu {
        margin-left: calc(-1 * max(16px, env(safe-area-inset-left)));
        margin-right: calc(-1 * max(16px, env(safe-area-inset-right)));
    }

    .logo img,
    .logo-split,
    .logo-split__base,
    .logo-split__layer {
        height: 44px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle-1 {
        font-size: 0.95rem;
    }

    .hero-motto {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .header-cta .btn {
        display: none;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        width: 18px;
    }

    .expertise-content h2 {
        font-size: 1.5rem;
    }

    .expertise-feature p {
        font-size: 0.9rem;
    }

    .node-circle {
        width: 65px;
        height: 65px;
    }

    .node-year {
        font-size: 0.7rem;
    }

    .cta-text h3 {
        font-size: 1.2rem;
    }

    .cta-text p {
        font-size: 0.95rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .hero-content .hero-company-tabs {
        gap: 12px;
        margin-top: 24px;
    }

    .hero-tab-btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.mb-0 {
    margin-bottom: 0;
}

/* =====================================================
   PRODUCTS PAGE SPECIFIC STYLES
   ===================================================== */

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
    margin-top: 0;
    padding-top: calc(var(--header-height, 90px) + 24px);
    padding-bottom: 24px;
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px);
    /* Blurred effect */
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
}

.page-title .highlight {
    color: #edffea;
}

.page-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

/* Company Tabs */
.company-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.company-tab {
    background: transparent;
    border: 2px solid var(--gray-200);
    padding: 12px 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.company-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.company-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.25);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 80px;
    padding-bottom: 20px;
}

.cat-tab {
    background: none;
    border: 1px solid transparent;
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-tab:hover {
    color: var(--primary);
}

.cat-tab.active {
    border-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
}

/* Product Item Block - Modern Grid */
.products-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.modern-product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.2);
}

.mpc-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mpc-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mpc-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.mpc-title {
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 25px;
    padding-right: 60px;
    /* Space for badge */
}

/* Specs - Vertical Stack */
.mpc-specs {
    background: var(--gray-100);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--gray-500);
    font-weight: 500;
}

.spec-value {
    color: var(--secondary);
    font-weight: 600;
}

.mpc-divider {
    height: 1px;
    background: var(--gray-200);
    margin-bottom: 25px;
    width: 100%;
}

.mpc-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #214b11;
}

.action-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.action-btn i {
    font-size: 1.1rem;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .products-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Download full catalog CTA */
.download-catalog-cta {
    background: #2b5525;
    border-radius: 4px;
    /* More square per clean design */
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.download-catalog-cta p {
    font-size: 1.4rem;
    font-weight: 600;
    z-index: 10;
    color: white;
}

/* Animated Background */
.product-list-section {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.product-list-section .container {
    position: relative;
    z-index: 1;
}

.blob {
    position: absolute;
    filter: blur(60px);
    /* Reduced blur slightly for more definition */
    border-radius: 50%;
    opacity: 0.6;
    /* Increased opacity */
    animation: float 15s infinite ease-in-out;
    /* Faster animation */
}

.blob-1 {
    width: 600px;
    /* Larger */
    height: 600px;
    background: rgba(13, 148, 136, 0.25);
    /* More vibrant */
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.2);
    bottom: 0;
    /* Moved completely into view */
    right: 0;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: rgba(30, 41, 59, 0.15);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
}

/* Add a 4th blob for more coverage */
.blob-4 {
    width: 350px;
    height: 350px;
    background: rgba(13, 148, 136, 0.15);
    bottom: 20%;
    left: 10%;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Search Filter */
.product-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: var(--secondary);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 25px rgba(13, 148, 136, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray-400);
}

/* =====================================================
   LOCATIONS SECTION (Tabbed Layout)
   ===================================================== */
.locations {
    background: white;
    padding: 80px 0;
    position: relative;
}

.locations-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Tabs Navigation */
.loc-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.loc-tab {
    background: white;
    border: 1px solid var(--gray-200);
    padding: 12px 30px;
    /* Pill shape */
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.loc-tab i {
    color: var(--gray-400);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.loc-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.loc-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

.loc-tab.active i {
    color: white;
}

/* Content Area */
.loc-content-wrapper {
    position: relative;
    min-height: 400px;
    /* Prevent layout shift */
}

.loc-panel {
    display: none;
    /* Hidden by default */
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    /* Seamless look */
    background: white;
    border-radius: 24px;
    overflow: hidden;
    /* For global border radius */
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.loc-panel.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInPanel 0.5s ease forwards;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Side: Info Card */
.loc-details {
    background: var(--gray-100);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loc-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.loc-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

.loc-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.loc-contact-row:last-child {
    margin-bottom: 0;
}

.loc-contact-row i {
    font-size: 1.4rem;
    color: var(--primary-light);
    background: rgba(13, 148, 136, 0.1);
    padding: 10px;
    border-radius: 50%;
    /* Circular icon bg */
}

.loc-contact-row p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    padding-top: 5px;
    /* Align with icon center visual */
}

/* Right Side: Large Map */
.loc-map-large {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.loc-map-large iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 900px) {
    .loc-panel {
        grid-template-columns: 1fr;
    }

    .loc-details {
        padding: 40px 30px;
    }

    .loc-map-large {
        height: 300px;
        min-height: 300px;
    }
}

/* ==================== ABOUT PAGE STYLES ==================== */
/* ==================== NEW MODERN ABOUT PAGE STYLES ==================== */

/* Modern Hero - Split Design */
.about-hero-wrapper {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1555431189-0fabf2667795?w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark) 0%, rgba(15, 23, 42, 0.8) 50%, transparent 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding-left: 10%;
    color: white;
}

.about-hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-hero-title span {
    color: var(--primary);
    font-style: italic;
}

/* Statement Section */
.statement-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.statement-text {
    font-size: 2rem;
    font-family: 'Crimson Pro', serif;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.statement-text span {
    color: var(--primary);
    font-weight: 600;
}

/* Checkerboard Layout for Narrative */
.checker-section {
    padding: 0;
}

.checker-row {
    display: flex;
    flex-wrap: wrap;
}

.checker-col {
    flex: 1;
    min-width: 300px;
}

.checker-text {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light);
}

.checker-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.checker-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.checker-img {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Founder Dark Section */
.founder-dark {
    background: var(--dark);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.founder-dark::before {
    content: 'VISIONARY';
    position: absolute;
    top: 0;
    right: -50px;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.founder-img-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.founder-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
}

.founder-role {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: block;
}

.founder-bio {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

/* Modern Grid for Values */
.values-modern-section {
    padding: 100px 0;
    background: white;
}

.values-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-modern-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.value-modern-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.value-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(13, 148, 136, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.value-icon-small {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    font-size: 1.5rem;
}

.value-modern-card:hover .value-icon-small {
    background: var(--primary);
    color: white;
}

.value-modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

@media (max-width: 968px) {
    .about-hero-bg {
        width: 100%;
        opacity: 0.4;
    }

    .about-hero-bg::after {
        background: linear-gradient(0deg, var(--dark) 0%, rgba(15, 23, 42, 0.6) 100%);
    }

    .about-hero-content {
        width: 100%;
        padding: 0 24px;
        text-align: center;
    }

    .checker-row {
        flex-direction: column;
    }

    .checker-row.reverse {
        flex-direction: column-reverse;
    }

    .checker-img {
        height: 300px;
        min-height: 300px;
    }

    .checker-text {
        padding: 40px 24px;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .founder-bio {
        border-left: none;
        border-top: 3px solid var(--primary);
        padding-left: 0;
        padding-top: 20px;
    }

    .values-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== COMPANY MODAL ==================== */
body.latest-news-modal-open {
    overflow: hidden;
}

.company-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.company-modal.active {
    visibility: visible;
    opacity: 1;
}

.company-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.company-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 900px;
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    overflow: hidden;
}

.latest-news-modal .company-modal-content {
    max-width: 720px;
    padding: 50px 40px;
}

.latest-news-image {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 18px;
    margin: 22px auto 18px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
}

.company-modal.active .company-modal-content {
    transform: translateY(0);
}

.company-modal-header {
    margin-bottom: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}



.modal-logo {
    height: 70px;
    margin-bottom: 25px;
}

.modal-title {
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-subtitle {
    color: #666;
    font-size: 1.15rem;
    font-weight: 400;
}

.company-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.company-card {
    background: #fdfdfd;
    padding: 50px 35px;
    border-radius: 24px;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.company-card:hover {
    background: #fff;
    border-color: #2d5a27;
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -15px rgba(45, 90, 39, 0.25);
}

.company-icon {
    width: 90px;
    height: 90px;
    background: rgba(45, 90, 39, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.company-icon i {
    font-size: 44px;
    color: #2d5a27;
}

.company-card:hover .company-icon {
    background: #2d5a27;
    transform: rotate(10deg);
}

.company-card:hover .company-icon i {
    color: white;
}

.company-card h3 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.company-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 35px;
}

.company-card .btn {
    width: 100%;
    pointer-events: none;
    /* Let the card click handle it */
}

@media (max-width: 768px) {
    .company-modal-content {
        padding: 45px 25px;
        width: 95%;
        max-width: min(95vw, 480px);
        max-height: 85dvh;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: auto;
    }

    .latest-news-modal .company-modal-content {
        padding: 35px 25px;
        padding-top: max(28px, env(safe-area-inset-top));
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-subtitle {
        font-size: 1rem;
    }

    .latest-news-image {
        max-height: 220px;
    }

    .company-options {
        grid-template-columns: 1fr;
    }

    .company-card {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .company-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .latest-news-modal .company-modal-content {
        padding: 28px 18px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-close {
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
    }

    .latest-news-modal .company-modal-content {
        padding-top: max(24px, env(safe-area-inset-top));
    }

    .latest-news-image {
        max-height: 180px;
    }
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1001;
    border: 1px solid var(--gray-200);
    margin-top: 15px;
    /* Spacing from link */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Arrow for the dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
}

/* Invisible bridge to prevent menu from closing when moving mouse from link to menu */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--pastel-green);
    color: var(--primary);
    padding-left: 25px;
    /* Slight slide effect */
}
