  /* CSS Variables for consistent theming */
        :root {
            /* Colors */
            --color-primary: #1a365d; /* Deep indigo */
            --color-secondary: #2d3748; /* Charcoal */
            --color-accent-start: #319795; /* Teal */
            --color-accent-end: #38B2AC; /* Cyan */
            --color-cta: #ED8936; /* Warm orange */
            --color-cta-hover: #F6AD55; /* Lighter orange */
            --color-background: #f7fafc;
            --color-card-bg: rgba(255, 255, 255, 0.85);
            --color-text: #2d3748;
            --color-text-light: #718096;
            --color-section-bg: #ffffff;
            --color-section-alt: #f8fafc;
            
            /* Spacing */
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2.5rem;
            --spacing-xl: 4rem;
            --spacing-xxl: 6rem;
            
            /* Border radius */
            --border-radius: 12px;
            --border-radius-lg: 20px;
            
            /* Shadows */
            --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
            
            /* Transitions */
            --transition-base: all 0.3s ease;
            --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            
            /* Card dimensions */
            --card-height: 480px;
            --card-width: 360px;
        }

        /* Base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--color-background);
            color: var(--color-text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Container for centering content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-md);
            width: 100%;
        }

        /* Header styles */


       
        /* Hero section */
       .hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* full screen hero */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    color: white; /* ensures text is readable on video */
}


        /* .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2338b2ac' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .hero-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        } */

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: var(--spacing-md);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease forwards;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--color-text-light);
            margin-bottom: var(--spacing-lg);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease 0.3s forwards;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            color: white;
            font-weight: 600;
            text-decoration: none;
            padding: var(--spacing-sm) var(--spacing-lg);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
            box-shadow: var(--shadow-md);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease 0.6s forwards;
        }

        .hero-cta:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* Section heading styles */
        .section-header {
            text-align: center;
            margin-bottom: var(--spacing-xl);
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: var(--spacing-md);
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.125rem;
            color: var(--color-text-light);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Services section */
        .services-section {
            padding: var(--spacing-xl) 0;
            background-color: var(--color-section-bg);
        }

        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--spacing-lg);
            justify-content: center;
        }

        /* Process sections */
        .process-section {
            padding: var(--spacing-xl) 0;
            position: relative;
            overflow: hidden;
        }

        .process-section:nth-child(even) {
            background-color: var(--color-section-alt);
        }

        .process-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .process-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--spacing-lg);
            align-items: center;
        }

        .process-image {
            position: relative;
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transform: perspective(1000px) rotateY(5deg);
            transition: var(--transition-smooth);
            opacity: 0;
        }

        .process-image.visible {
            opacity: 1;
            transform: perspective(1000px) rotateY(0);
        }

        .process-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition-smooth);
        }

        .process-image:hover img {
            transform: scale(1.05);
        }

        .process-details {
            opacity: 0;
            transform: translateX(-30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .process-details.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .process-step {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-accent-start);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: var(--spacing-sm);
        }

        .process-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: var(--spacing-md);
        }

        .process-description {
            color: var(--color-text-light);
            margin-bottom: var(--spacing-md);
            line-height: 1.7;
        }

        .process-features {
            margin: var(--spacing-md) 0;
        }

        .process-feature {
            display: flex;
            align-items: center;
            margin-bottom: var(--spacing-sm);
        }

        .process-feature-icon {
            width: 24px;
            height: 24px;
            margin-right: var(--spacing-sm);
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .process-feature-icon svg {
            width: 14px;
            height: 14px;
            fill: white;
        }

        .process-feature-text {
            font-size: 1rem;
            color: var(--color-text);
        }

        /* CTA section */
        .cta-section {
            padding: var(--spacing-xxl) 0;
            background: linear-gradient(135deg, rgba(49, 151, 149, 0.1) 0%, rgba(56, 178, 172, 0.1) 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2338b2ac' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: var(--spacing-md);
        }

        .cta-text {
            font-size: 1.125rem;
            color: var(--color-text-light);
            margin-bottom: var(--spacing-lg);
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            color: white;
            font-weight: 600;
            text-decoration: none;
            padding: var(--spacing-sm) var(--spacing-lg);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
            box-shadow: var(--shadow-md);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* Footer */
      
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* Service card styles (from previous implementation) */
        .service-card {
            background: var(--color-card-bg);
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition-base);
            height: auto;
            min-height: var(--card-height);
            max-width: var(--card-width);
            margin: 0 auto;
            position: relative;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            transform-style: preserve-3d;
            perspective: 1000px;
            opacity: 0;
            transform: translateY(30px) rotateY(5deg);
            transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
        }

        .service-card.visible {
            opacity: 1;
            transform: translateY(0) rotateY(0);
        }

        .service-card:hover {
            box-shadow: var(--shadow-glass);
            transform: translateY(-10px) scale(1.02);
        }

        .card-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-smooth);
            filter: brightness(0.9);
        }

        .service-card:hover .card-image img {
            transform: scale(1.1);
            filter: brightness(1);
        }

        .image-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .card-content {
            padding: var(--spacing-md);
            position: relative;
        }

        .service-icon {
            position: absolute;
            top: -30px;
            right: var(--spacing-md);
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            z-index: 2;
        }

        .service-icon svg {
            width: 30px;
            height: 30px;
            fill: white;
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: var(--spacing-sm);
            position: relative;
            display: inline-block;
            padding-right: 70px;
        }

        .service-title::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
            transition: var(--transition-base);
        }

        .service-card:hover .service-title::after {
            width: 100%;
        }

        .service-description {
            color: var(--color-text-light);
            margin-bottom: var(--spacing-md);
            line-height: 1.7;
        }

        .service-features {
            margin: var(--spacing-md) 0;
        }

        .feature {
            display: flex;
            align-items: center;
            margin-bottom: var(--spacing-sm);
            opacity: 0;
            transform: translateX(-10px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .service-card.visible .feature {
            opacity: 1;
            transform: translateX(0);
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            margin-right: var(--spacing-sm);
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-icon svg {
            width: 14px;
            height: 14px;
            fill: white;
        }

        .feature-text {
            font-size: 0.95rem;
            color: var(--color-text);
        }

        /* Process timeline for manufacturing card */
        .process-timeline {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin: var(--spacing-md) 0;
            padding: var(--spacing-sm) 0;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                        var(--color-accent-start) 0%, 
                        var(--color-accent-end) 100%);
            transform: translateY(-50%);
            z-index: 1;
        }

        .process-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .service-card.visible .process-step {
            opacity: 1;
            transform: translateY(0);
        }

        .step-icon {
            width: 36px;
            height: 36px;
            background: var(--color-card-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--spacing-xs);
            box-shadow: var(--shadow-sm);
            font-size: 1.2rem;
            transition: var(--transition-base);
        }

        .process-step:hover .step-icon {
            transform: scale(1.2) translateY(-5px);
            background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
            color: white;
        }

        .step-name {
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--color-primary);
            text-align: center;
            transition: var(--transition-base);
        }

        .process-step:hover .step-name {
            color: var(--color-accent-start);
            font-weight: 600;
        }

        /* CTA button styles */
        .card-cta {
            display: inline-flex;
            align-items: center;
            color: var(--color-cta);
            font-weight: 500;
            text-decoration: none;
            margin-top: var(--spacing-sm);
            padding: var(--spacing-xs) var(--spacing-sm);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
            background: rgba(237, 137, 54, 0.1);
            border: 1px solid transparent;
        }

        .card-cta:hover {
            transform: translateX(4px);
            background: rgba(237, 137, 54, 0.2);
            border-color: var(--color-cta);
            color: var(--color-cta);
        }

        .cta-arrow {
            margin-left: var(--spacing-xs);
            transition: var(--transition-base);
        }

        .card-cta:hover .cta-arrow {
            transform: translateX(4px);
        }

        /* Detailed content expander */
        .detail-expander {
            margin-top: var(--spacing-md);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding-top: var(--spacing-md);
        }

        .detail-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-weight: 500;
            color: var(--color-accent-start);
        }

        .detail-trigger svg {
            transition: var(--transition-base);
        }

        .detail-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }

        .detail-content-inner {
            padding: var(--spacing-sm) 0;
        }

        .detail-content.visible {
            max-height: 500px;
        }

        .detail-trigger.active svg {
            transform: rotate(180deg);
        }

        /* Responsive breakpoints */
        @media (min-width: 480px) {
            :root {
                --card-width: 400px;
            }
            
            .hero-title {
                font-size: 3.5rem;
            }
            
            .section-title {
                font-size: 2.75rem;
            }
        }

        @media (min-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .service-card {
                max-width: 100%;
            }
            
            .process-content {
                grid-template-columns: 1fr 1fr;
            }
            
            .process-content.reverse {
                direction: rtl;
            }
            
            .process-content.reverse > * {
                direction: ltr;
            }
            
         
        }

        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: var(--spacing-md);
            }
            
            .hero-title {
                font-size: 4rem;
            }
            
            .section-title {
                font-size: 3rem;
            }
            
            .process-content {
                gap: var(--spacing-xl);
            }
        }

        @media (min-width: 1440px) {
            .container {
                padding: 0;
            }
            
            .services-grid {
                gap: var(--spacing-lg);
            }
        }

        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            .service-card,
            .services-heading,
            .services-intro,
            .feature,
            .process-step,
            .process-image,
            .process-details {
                opacity: 1;
                transform: none;
            }
        }