/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

   *,
   *::before,
   *::after {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   html {
       scroll-behavior: smooth;
       scroll-padding-top: 80px; /* Offset for fixed header */
   }
   
   body {
       font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       font-size: 16px;
       line-height: 1.6;
       color: #2d3748;
       background-color: #ffffff;
       overflow-x: hidden;
       -webkit-font-smoothing: antialiased;
       -moz-osx-font-smoothing: grayscale;
   }
   
   @media (prefers-reduced-motion: reduce) {
       html {
           scroll-behavior: auto;
       }
   }
   
   /* ==========================================================================
      CSS Custom Properties (Design System)
      ========================================================================== */
   
   :root {
       /* Color Palette */
       --color-primary: #1a365d;
       --color-primary-light: #2d3748;
       --color-secondary: #2c7a7b;
       --color-accent: #ff6b35;
       --color-accent-light: #ff8c5a;
       
       /* Neutral Colors */
       --color-white: #ffffff;
       --color-gray-50: #f7fafc;
       --color-gray-100: #edf2f7;
       --color-gray-200: #e2e8f0;
       --color-gray-300: #cbd5e0;
       --color-gray-400: #a0aec0;
       --color-gray-500: #718096;
       --color-gray-600: #4a5568;
       --color-gray-700: #2d3748;
       --color-gray-800: #1a202c;
       --color-gray-900: #171923;
       --color-black: #000000;
       
       /* Section Backgrounds */
       --section-bg-light: #c9c9c9;
       --section-bg-lighter: #d6d6d6;
       
       /* Typography */
       --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       
       /* Font Weights */
       --font-light: 300;
       --font-regular: 400;
       --font-medium: 500;
       --font-semibold: 600;
       --font-bold: 700;
       --font-extrabold: 800;
       
       /* Spacing Scale (8px base unit) */
       --space-unit: 8px;
       --space-xxs: calc(var(--space-unit) * 0.5);  /* 4px */
       --space-xs: calc(var(--space-unit) * 1);     /* 8px */
       --space-sm: calc(var(--space-unit) * 1.5);   /* 12px */
       --space-md: calc(var(--space-unit) * 2);     /* 16px */
       --space-lg: calc(var(--space-unit) * 3);     /* 24px */
       --space-xl: calc(var(--space-unit) * 4);     /* 32px */
       --space-xxl: calc(var(--space-unit) * 6);    /* 48px */
       --space-xxxl: calc(var(--space-unit) * 8);   /* 64px */
       
       /* Breakpoints */
       --breakpoint-mobile: 320px;
       --breakpoint-tablet: 768px;
       --breakpoint-desktop: 1024px;
       
       /* Transitions */
       --transition-fast: 150ms ease;
       --transition-base: 250ms ease;
       --transition-slow: 350ms ease;
       
       /* Shadows */
       --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
       --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
       --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
       --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
       --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
       
       /* Border Radius */
       --radius-sm: 4px;
       --radius-base: 8px;
       --radius-lg: 12px;
       --radius-xl: 16px;
       --radius-full: 9999px;
       
       /* Container Widths */
       --container-max-width: 1200px;
       --container-padding: var(--space-md);
   }
   
   /* ==========================================================================
      Typography
      ========================================================================== */
   
   h1, h2, h3, h4, h5, h6 {
       font-family: var(--font-heading);
       font-weight: var(--font-bold);
       line-height: 1.2;
       margin-bottom: var(--space-md);
       color: var(--color-primary);
   }
   
   h1 {
       font-size: clamp(2rem, 5vw, 3.5rem);
       font-weight: var(--font-extrabold);
   }
   
   h2 {
       font-size: clamp(1.75rem, 4vw, 2.5rem);
   }
   
   h3 {
       font-size: clamp(1.5rem, 3vw, 2rem);
   }
   
   h4 {
       font-size: 1.25rem;
       font-weight: var(--font-semibold);
   }
   
   p {
       margin-bottom: var(--space-md);
       max-width: 65ch;
   }
   
   a {
       color: var(--color-secondary);
       text-decoration: none;
       transition: color var(--transition-fast);
   }
   
   a:hover {
       color: var(--color-accent);
   }
   
   /* ==========================================================================
      Layout & Utilities
      ========================================================================== */
   
   .container {
       width: 100%;
       max-width: var(--container-max-width);
       margin: 0 auto;
       padding: 0 var(--container-padding);
   }
   
   .section {
       padding: var(--space-xxxl) 0;
   }
   
   /* Alternate section backgrounds */
   .section:nth-child(even) {
       background-color: var(--section-bg-light);
   }
   
   .section:nth-child(odd) {
       background-color: var(--section-bg-lighter);
   }
   
   .section-header {
       text-align: center;
       margin-bottom: var(--space-xxl);
   }
   
   .section-title {
       position: relative;
       display: inline-block;
       margin-bottom: var(--space-sm);
   }
   
   .section-title::after {
       content: '';
       position: absolute;
       bottom: -12px;
       left: 50%;
       transform: translateX(-50%);
       width: 60px;
       height: 4px;
       background-color: var(--color-accent);
       border-radius: var(--radius-full);
   }
   
   .section-subtitle {
       display: block;
       font-size: 0.875rem;
       font-weight: var(--font-medium);
       text-transform: uppercase;
       letter-spacing: 2px;
       color: var(--color-accent);
       margin-bottom: var(--space-sm);
   }
   
   .section-cta {
       text-align: center;
       margin-top: var(--space-xxl);
   }
   
   /* ==========================================================================
      Preloader
      ========================================================================== */
   
   .preloader {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: var(--color-white);
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       z-index: 9999;
       opacity: 1;
       visibility: visible;
       transition: opacity var(--transition-slow), visibility var(--transition-slow);
   }
   
   .preloader.hidden {
       opacity: 0;
       visibility: hidden;
       pointer-events: none;
   }
   
   .preloader lottie-player {
       width: 120px;
       height: 120px;
   }
   
  /* ==========================================================================
   Header - Always Transparent with Dual Logo System
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    background-color: transparent;
    transition: all var(--transition-base);
}

/* Remove all background effects on scroll */
.main-header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: var(--space-md) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Container */
.logo {
    position: absolute;
    left: var(--container-padding);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.logo a {
    display: inline-block;
    transition: transform var(--transition-base);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 90px;  
    width: 120px;
    display: block;
    margin-top: 25px;  
}

/* Hero Logo (logo2) */
.logo-hero {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logo-hero-img {
    filter: brightness(1.2); /* Make logo2 slightly brighter for dark hero backgrounds */
}

/* Main Logo (logo) */
.logo-main {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

/* When NOT in hero section, show main logo, hide hero logo */
.main-header:not(.in-hero) .logo-hero {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.main-header:not(.in-hero) .logo-main {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
        gap: var(--space-xl);
        list-style: none;
    }
    
    .nav-link {
        font-weight: var(--font-medium);
        color: var(--color-white);
        position: relative;
        padding: var(--space-xs) 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    /* Navigation link color remains white since header is always transparent */
    .main-header.scrolled .nav-link {
        color: var(--color-white); /* Keep white for all sections */
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-accent);
        transition: width var(--transition-base);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .nav-link.active {
        color: var(--color-accent);
    }
}

/* ==========================================================================
   Mobile Navigation - Fixed
   ========================================================================== */

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002; /* Increased to be above mobile nav */
    margin-left: auto;
}

@media (min-width: 1024px) {
    .mobile-nav-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Keep hamburger lines white for all sections in header */
.main-header.scrolled .hamburger-line,
.main-header:not(.in-hero) .hamburger-line {
    background-color: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* When mobile nav is open, hamburger lines should be dark for visibility */
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line {
    background-color: var(--color-primary) !important; /* Force dark color when menu is open */
    box-shadow: none; /* Remove shadow for cleaner look */
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #c9c9c9;
    z-index: 1001;
    padding: var(--space-xxxl) var(--space-xl);
    transition: right var(--transition-base);
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    margin-top: var(--space-xxxl);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1.25rem;
    font-weight: var(--font-medium);
    color: var(--color-primary); /* Dark color for mobile nav links */
    border-bottom: 1px solid var(--color-gray-200);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-accent);
}

.mobile-nav-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 1003;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color var(--transition-base);
}

.mobile-nav-close:hover {
    background-color: var(--color-gray-100);
}

/* Ensure header logo is visible over mobile nav */
.main-header .logo {
    z-index: 1003; /* Higher than mobile nav */
}

/* Mobile nav overlay for better visibility */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--radius-base) 0;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}
   
   /* ==========================================================================
      Hero Carousel
      ========================================================================== */
   
   .hero {
       height: 100vh;
       min-height: 600px;
       position: relative;
       overflow: hidden;
   }
   
   .carousel-container {
       position: relative;
       width: 100%;
       height: 100%;
   }
   
   .carousel-track {
       position: relative;
       width: 100%;
       height: 100%;
   }
   
   .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    background-color: var(--color-primary); /* Match this to your slide backgrounds */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Add this to ensure smooth stacking */
.carousel-slide.prev-active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide.next-active {
    opacity: 0;
    z-index: 1;
}
   
   /* Background images will be set via JavaScript */
   .carousel-slide:nth-child(1) {
       background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                   url('./assets/images/hero/slide1.jpg') center/cover;
   }
   
   .carousel-slide:nth-child(2) {
       background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                   url('./assets/images/hero/slide2.jpg') center/cover;
   }
   
   .carousel-slide:nth-child(3) {
       background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                   url('./assets/images/hero/slide3-mobile.jpg') center/cover;
   }
   
   @media (min-width: 768px) {
       .carousel-slide:nth-child(1) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide1.jpg') center/cover;
       }
       
       .carousel-slide:nth-child(2) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide2.jpg') center/cover;
       }
       
       .carousel-slide:nth-child(3) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide3.jpg') center/cover;
       }
   }
   
   @media (min-width: 1024px) {
       .carousel-slide:nth-child(1) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide1.jpg') center/cover;
       }
       
       .carousel-slide:nth-child(2) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide2.jpg') center/cover;
       }
       
       .carousel-slide:nth-child(3) {
           background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                       url('./assets/images/hero/slide3.jpg') center/cover;
       }
   }
   
   .slide-content {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       text-align: center;
       color: var(--color-white);
       z-index: 2;
       width: 90%;
       max-width: 800px;
       padding: var(--space-xl);
   }
   
   .slide-title {
       font-size: clamp(2rem, 6vw, 3.5rem);
       color: var(--color-white);
       margin-bottom: var(--space-lg);
       text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
   }
   
   .slide-description {
       font-size: clamp(1rem, 3vw, 1.25rem);
       color: var(--color-gray-200);
       margin-bottom: var(--space-xl);
       text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
   }
   
   /* Carousel Controls */
   .carousel-control {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       background: rgba(255, 255, 255, 0.2);
       backdrop-filter: blur(5px);
       border: none;
       width: 50px;
       height: 50px;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       cursor: pointer;
       z-index: 10;
       transition: all var(--transition-base);
       color: var(--color-white);
   }
   
   .carousel-control:hover {
       background: rgba(255, 255, 255, 0.3);
       transform: translateY(-50%) scale(1.1);
   }
   
   .carousel-control.prev {
       left: var(--space-lg);
   }
   
   .carousel-control.next {
       right: var(--space-lg);
   }
   
   .carousel-control svg {
       width: 24px;
       height: 24px;
   }
   
   /* Carousel Dots */
   .carousel-dots {
       position: absolute;
       bottom: var(--space-xxl);
       left: 50%;
       transform: translateX(-50%);
       display: flex;
       gap: var(--space-sm);
       z-index: 10;
   }
   
   .carousel-dot {
       width: 12px;
       height: 12px;
       border-radius: 50%;
       border: 2px solid var(--color-white);
       background: transparent;
       cursor: pointer;
       padding: 0;
       transition: all var(--transition-base);
   }
   
   .carousel-dot.active {
       background-color: var(--color-white);
       transform: scale(1.2);
   }
   
   .carousel-dot:hover {
       transform: scale(1.1);
   }
   
   /* Carousel Play/Pause */
   .carousel-play {
       position: absolute;
       bottom: var(--space-xxl);
       right: var(--space-lg);
       background: rgba(255, 255, 255, 0.2);
       backdrop-filter: blur(5px);
       border: none;
       width: 40px;
       height: 40px;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       cursor: pointer;
       z-index: 10;
       transition: all var(--transition-base);
       color: var(--color-white);
   }
   
   .carousel-play:hover {
       background: rgba(255, 255, 255, 0.3);
       transform: scale(1.1);
   }
   
   .carousel-play svg {
       width: 20px;
       height: 20px;
   }
   
   /* ==========================================================================
      About Section
      ========================================================================== */
   
   .about-content {
       display: grid;
       gap: var(--space-xxl);
   }
   
   @media (min-width: 768px) {
       .about-content {
           grid-template-columns: 1fr 1fr;
           align-items: center;
           gap: var(--space-xxxl);
       }
   }
   
   .about-text h3 {
       color: var(--color-secondary);
       margin-top: var(--space-xl);
       margin-bottom: var(--space-sm);
   }
   
   .values-grid {
       display: grid;
       gap: var(--space-lg);
       margin-top: var(--space-xl);
   }
   
   @media (min-width: 768px) {
       .values-grid {
           grid-template-columns: repeat(3, 1fr);
       }
   }
   
   .value-card {
       text-align: center;
       padding: var(--space-lg);
       background: var(--color-white);
       border-radius: var(--radius-lg);
       box-shadow: var(--shadow-sm);
       transition: transform var(--transition-base), box-shadow var(--transition-base);
   }
   
   .value-card:hover {
       transform: translateY(-5px);
       box-shadow: var(--shadow-md);
   }
   
   .value-icon {
       font-size: 2.5rem;
       margin-bottom: var(--space-md);
   }
   
   .value-card h4 {
       color: var(--color-primary);
       margin-bottom: var(--space-xs);
   }
   
   .value-card p {
       font-size: 0.875rem;
       color: var(--color-gray-600);
       margin-bottom: 0;
   }
   
   .about-animation {
       position: relative;
       height: 400px;
       border-radius: var(--radius-xl);
       overflow: hidden;
       background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
   }
   
   .about-animation lottie-player {
       width: 100%;
       height: 100%;
   }
   
   .animation-fallback {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
   }
   
   .animation-fallback .fallback-placeholder {
       text-align: center;
   }
   
   .animation-fallback svg {
       width: 200px;
       height: 200px;
       margin-bottom: var(--space-md);
   }
   
   .animation-fallback p {
       color: var(--color-gray-600);
       font-weight: var(--font-medium);
   }
   
   /* ==========================================================================
      Products Section
      ========================================================================== */
   
   .products-grid {
       display: grid;
       gap: var(--space-xl);
       margin-bottom: var(--space-xxl);
   }
   
   @media (min-width: 768px) {
       .products-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   }
   
   @media (min-width: 1024px) {
       .products-grid {
           grid-template-columns: repeat(3, 1fr);
       }
   }
   
   .product-card {
       background: var(--color-white);
       padding: var(--space-xl);
       border-radius: var(--radius-lg);
       box-shadow: var(--shadow-sm);
       transition: all var(--transition-base);
       height: 100%;
       display: flex;
       flex-direction: column;
   }
   
   .product-card:hover {
       transform: translateY(-8px);
       box-shadow: var(--shadow-lg);
   }
   
   .product-icon {
       font-size: 3rem;
       margin-bottom: var(--space-lg);
   }
   
   .product-title {
       font-size: 1.25rem;
       margin-bottom: var(--space-sm);
       color: var(--color-primary);
   }
   
   .product-description {
       color: var(--color-gray-600);
       margin-bottom: var(--space-lg);
       flex-grow: 1;
   }
   
   .product-link {
       display: inline-flex;
       align-items: center;
       gap: var(--space-xs);
       font-weight: var(--font-medium);
       color: var(--color-secondary);
       margin-top: auto;
   }
   
   .product-link:hover {
       color: var(--color-accent);
       gap: var(--space-sm);
   }
   
   .product-link::after {
       content: '→';
       transition: transform var(--transition-base);
   }
   
   .product-link:hover::after {
       transform: translateX(5px);
   }
   
  /* ==========================================================================
   Process Section (How We Work) - FIXED
   ========================================================================== */

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-accent));
}

@media (min-width: 768px) {
    .process-steps::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.step {
    position: relative;
    margin-bottom: var(--space-xxl);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Desktop layout - Timeline with alternating sides */
@media (min-width: 768px) {
    .step {
        grid-template-columns: 1fr 80px 1fr;
        margin-bottom: var(--space-xxxl);
    }
    
    /* Odd steps (1, 3) - Content on left, number on right of center */
    .step:nth-child(odd) .step-number {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    
    .step:nth-child(odd) .step-content {
        grid-column: 1;
        grid-row: 1;
        text-align: right;
        padding-right: var(--space-xl);
    }
    
    /* Even steps (2, 4) - Number on left of center, content on right */
    .step:nth-child(even) .step-number {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    
    .step:nth-child(even) .step-content {
        grid-column: 3;
        grid-row: 1;
        text-align: left;
        padding-left: var(--space-xl);
    }
    
    /* Ensure the timeline line is behind step numbers */
    .step-number {
        position: relative;
        background: var(--color-white);
    }
    
    /* Add connecting lines from step content to center line */
    .step:nth-child(odd) .step-content::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: var(--space-xl);
        height: 2px;
        background: var(--color-accent);
        opacity: 0.5;
    }
    
    .step:nth-child(even) .step-content::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: var(--space-xl);
        height: 2px;
        background: var(--color-accent);
        opacity: 0.5;
    }
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    border: 4px solid var(--color-accent);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.step-content {
    padding-top: var(--space-sm);
    position: relative;
}

@media (min-width: 768px) {
    .step-content {
        padding-top: 0;
    }
}

.step-title {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.step-description {
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Additional improvements for better visual hierarchy */
@media (min-width: 768px) {
    .process-steps {
        padding: var(--space-xl) 0;
    }
    
    .step {
        min-height: 120px;
    }
    
    .step-content {
        background: rgba(255, 255, 255, 0.9);
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        transition: transform var(--transition-base), box-shadow var(--transition-base);
    }
    
    .step-content:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }
}
   
   /* ==========================================================================
      Features Section (Why Choose Us)
      ========================================================================== */
   
   .features-grid {
       display: grid;
       gap: var(--space-xl);
   }
   
   @media (min-width: 768px) {
       .features-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   }
   
   @media (min-width: 1024px) {
       .features-grid {
           grid-template-columns: repeat(3, 1fr);
       }
   }
   
   .feature {
       text-align: center;
       padding: var(--space-xl);
       background: var(--color-white);
       border-radius: var(--radius-lg);
       transition: all var(--transition-base);
   }
   
   .feature:hover {
       transform: translateY(-5px);
       box-shadow: var(--shadow-md);
   }
   
   .feature-icon {
       font-size: 3rem;
       margin-bottom: var(--space-lg);
   }
   
   .feature-title {
       font-size: 1.25rem;
       margin-bottom: var(--space-sm);
       color: var(--color-primary);
   }
   
   .feature-description {
       color: var(--color-gray-600);
       margin-bottom: 0;
   }
   
   /* ==========================================================================
      Team Section
      ========================================================================== */
   
   .team-grid {
       display: grid;
       gap: var(--space-xxl);
   }
   
   @media (min-width: 768px) {
       .team-grid {
           grid-template-columns: repeat(4, 1fr);
           gap: var(--space-xl);
       }
   }
   
   .team-member {
       background: var(--color-white);
       border-radius: var(--radius-lg);
       overflow: hidden;
       box-shadow: var(--shadow-sm);
       transition: all var(--transition-base);
   }
   
   .team-member:hover {
       transform: translateY(-5px);
       box-shadow: var(--shadow-md);
   }
   
   .member-image {
       height: 300px;
       overflow: hidden;
   }
   
    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;  
        display: block;
    }


   
   .member-info {
       padding: var(--space-xl);
   }
   
   .member-name {
       color: var(--color-primary);
       margin-bottom: var(--space-xs);
   }
   
   .member-role {
       color: var(--color-accent);
       font-weight: var(--font-medium);
       margin-bottom: var(--space-sm);
       font-size: 0.875rem;
   }
   
   .member-bio {
       color: var(--color-gray-600);
       margin-bottom: 0;
       font-size: 0.875rem;
   }
   
   /* ==========================================================================
      Testimonials Section
      ========================================================================== */
   
   .testimonials-grid {
       display: grid;
       gap: var(--space-xl);
   }
   
   @media (min-width: 768px) {
       .testimonials-grid {
           grid-template-columns: repeat(3, 1fr);
       }
   }
   
   .testimonial {
       background: var(--color-white);
       padding: var(--space-xl);
       border-radius: var(--radius-lg);
       box-shadow: var(--shadow-sm);
       transition: all var(--transition-base);
       height: 100%;
       display: flex;
       flex-direction: column;
   }
   
   .testimonial:hover {
       transform: translateY(-5px);
       box-shadow: var(--shadow-md);
   }
   
   .testimonial-content {
       flex-grow: 1;
       margin-bottom: var(--space-lg);
   }
   
   .testimonial-content p {
       font-style: italic;
       color: var(--color-gray-700);
       position: relative;
       padding-left: var(--space-lg);
   }
   
   .testimonial-content p::before {
       content: '"';
       position: absolute;
       left: 0;
       top: -10px;
       font-size: 3rem;
       color: var(--color-accent);
       font-family: Georgia, serif;
       line-height: 1;
   }
   
   .testimonial-author {
       display: flex;
       align-items: center;
       gap: var(--space-md);
   }
   
   .author-avatar .avatar-placeholder {
       width: 50px;
       height: 50px;
       background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
       border-radius: 50%;
   }
   
   .author-name {
       font-weight: var(--font-bold);
       color: var(--color-primary);
       font-style: normal;
   }
   
   .author-role {
       font-size: 0.875rem;
       color: var(--color-gray-500);
       margin-top: 2px;
   }
   
   /* ==========================================================================
   Footer - Updated with #c9c9c9 background
   ========================================================================== */

.main-footer {
    background: #c9c9c9; /* Changed from var(--color-primary) */
    color: var(--color-gray-800); /* Changed from var(--color-gray-200) for better contrast on light background */
    padding: var(--space-xxxl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-form {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-form {
        grid-column: auto;
    }
}

.footer-title {
    color: var(--color-primary); /* Changed from white to primary color */
    margin-bottom: var(--space-lg);
}

.footer-description {
    color: var(--color-gray-700); /* Changed for better contrast */
    margin-bottom: var(--space-lg);
    max-width: none;
}

.footer-contact h4,
.link-group h4 {
    color: var(--color-primary); /* Changed from white to primary color */
    margin-bottom: var(--space-lg);
}

.contact-info p {
    color: var(--color-gray-700); /* Changed for better contrast */
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.footer-social {
    margin-top: var(--space-xl);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(26, 54, 93, 0.1); /* Changed to primary color with transparency */
    border-radius: 50%;
    color: var(--color-primary); /* Changed from white to primary color */
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-white); /* White text on accent background */
    transform: translateY(-3px);
}

.link-list {
    list-style: none;
}

.footer-link {
    display: block;
    padding: var(--space-sm) 0;
    color: var(--color-gray-700); /* Changed for better contrast */
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(26, 54, 93, 0.1); /* Changed to primary color with transparency */
    padding-top: var(--space-xl);
    text-align: center;
}

.copyright {
    color: var(--color-gray-600); /* Changed for better contrast */
    font-size: 0.875rem;
}

/* Update form styles for light background */
.contact-form {
    background: rgba(255, 255, 255, 0.7); /* Lighter background for form */
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.form-label {
    color: var(--color-primary); /* Changed from white to primary color */
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-gray-300);
    color: var(--color-gray-800);
}

.form-input:focus,
.form-textarea:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-gray-500);
}
   
/* ==========================================================================
   Form Styles - Updated for Light Background
   ========================================================================== */

   .contact-form {
    background: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: var(--font-medium);
    color: var(--color-primary); /* Dark blue color - changed from white */
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-base);
    color: var(--color-gray-800);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-gray-500);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit; /* Ensure it inherits font */
    line-height: 1.5;
    white-space: pre-wrap; /* This allows spaces and line breaks */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Error states */
.error-message {
    color: #e53e3e; /* Red color for errors */
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: none;
}

.form-input.error,
.form-textarea.error {
    border-color: #e53e3e;
}

.form-input.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Success message */
.form-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid #48bb78;
    color: #22543d; /* Dark green for better contrast on light background */
    padding: var(--space-md);
    border-radius: var(--radius-base);
    margin-top: var(--space-lg);
    text-align: center;
}

/* Button styles for footer form */
.contact-form .btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
}

.contact-form .btn-primary:hover {
    background-color: var(--color-accent-light);
}
   
   /* ==========================================================================
      Button Styles
      ========================================================================== */
   
   .btn {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       padding: var(--space-md) var(--space-xl);
       font-family: var(--font-heading);
       font-weight: var(--font-semibold);
       font-size: 1rem;
       border: none;
       border-radius: var(--radius-base);
       cursor: pointer;
       transition: all var(--transition-base);
       text-decoration: none;
       line-height: 1;
       gap: var(--space-sm);
       position: relative;
       overflow: hidden;
   }
   
   .btn::after {
       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::after {
       left: 100%;
   }
   
   .btn-primary {
       background-color: var(--color-accent);
       color: var(--color-white);
   }
   
   .btn-primary:hover {
       background-color: var(--color-accent-light);
       transform: translateY(-2px);
       box-shadow: var(--shadow-md);
   }
   
   .btn-secondary {
       background-color: transparent;
       color: var(--color-accent);
       border: 2px solid var(--color-accent);
   }
   
   .btn-secondary:hover {
       background-color: var(--color-accent);
       color: var(--color-white);
       transform: translateY(-2px);
       box-shadow: var(--shadow-md);
   }
   
   /* ==========================================================================
      Utility Classes
      ========================================================================== */
   
   .sr-only {
       position: absolute;
       width: 1px;
       height: 1px;
       padding: 0;
       margin: -1px;
       overflow: hidden;
       clip: rect(0, 0, 0, 0);
       white-space: nowrap;
       border: 0;
   }
   
   .text-center {
       text-align: center;
   }
   
   .mt-0 { margin-top: 0 !important; }
   .mt-1 { margin-top: var(--space-xs) !important; }
   .mt-2 { margin-top: var(--space-sm) !important; }
   .mt-3 { margin-top: var(--space-md) !important; }
   .mt-4 { margin-top: var(--space-lg) !important; }
   .mt-5 { margin-top: var(--space-xl) !important; }
   
   .mb-0 { margin-bottom: 0 !important; }
   .mb-1 { margin-bottom: var(--space-xs) !important; }
   .mb-2 { margin-bottom: var(--space-sm) !important; }
   .mb-3 { margin-bottom: var(--space-md) !important; }
   .mb-4 { margin-bottom: var(--space-lg) !important; }
   .mb-5 { margin-bottom: var(--space-xl) !important; }
   
   /* ==========================================================================
      Print Styles
      ========================================================================== */
   
   @media print {
       .preloader,
       .mobile-nav-toggle,
       .carousel-control,
       .carousel-dots,
       .carousel-play,
       .btn::after {
           display: none !important;
       }
       
       body {
           font-size: 12pt;
           line-height: 1.5;
       }
       
       .section {
           padding: 1cm 0 !important;
           background: white !important;
       }
       
       .hero {
           height: auto;
           min-height: auto;
       }
       
       .carousel-slide {
           position: relative !important;
           opacity: 1 !important;
           visibility: visible !important;
           height: auto;
           background: none !important;
       }
       
       .carousel-slide:nth-child(2),
       .carousel-slide:nth-child(3) {
           display: none;
       }
       
       .slide-content {
           position: static;
           transform: none;
           color: black;
           text-shadow: none;
       }
       
       .slide-title {
           color: black;
       }
       
       .main-header {
           position: static;
           background: white !important;
           color: black;
       }
       
       .nav-link {
           color: black !important;
       }
       
       .footer {
           background: white !important;
           color: black;
       }
       
       .contact-form {
           background: white !important;
           border: 1px solid #ccc;
       }
       
       .form-input,
       .form-textarea {
           background: white !important;
           color: black !important;
           border: 1px solid #ccc !important;
       }
       
       .form-label {
           color: black !important;
       }
   }
   /* ==========================================================================
   Products Page Styles
   ========================================================================== */

.products-page {
    padding-top: 120px;
    min-height: 100vh;
    background-color: var(--section-bg-lighter);
}

.page-header {
    text-align: center;
    padding: var(--space-xxl) 0;
    background-color: var(--section-bg-light);
}

.products-catalogue {
    padding: var(--space-xxxl) 0;
}

.products-grid-catalogue {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.product-card-catalogue {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
}

.product-card-catalogue:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.product-card-catalogue:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--space-xl);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.product-name {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    flex: 1;
}

.product-sn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-gray-50);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-base);
    font-family: 'Courier New', monospace;
    font-weight: var(--font-semibold);
    color: var(--color-secondary);
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xxs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: var(--color-gray-100);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
    color: var(--color-gray-500);
}

.copy-btn.copied svg {
    color: var(--color-accent);
}

.product-description-full {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
    color: var(--color-accent);
    font-weight: var(--font-medium);
    transition: gap var(--transition-base);
}

.back-to-home:hover {
    gap: var(--space-sm);
    color: var(--color-accent-light);
}

.copy-feedback {
    position: fixed;
    top: 100px;
    right: var(--space-xl);
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1000;
}

.copy-feedback.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .products-grid-catalogue {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .copy-feedback {
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        right: auto;
        width: 90%;
        max-width: 300px;
    }
    
    .copy-feedback.show {
        transform: translateX(-50%) translateY(0);
    }
}