/* ------------------- Global/Reset Styles ------------------- */
  /* body{
    overflow-x: hidden;
  } */
        :root {
            /* New Color Palette */
            --color-background-light: #F4F4F4; /* Light Gray */
            --color-border: #D9D9D9;           /* Medium Gray */
            --color-text-body: #3A3A3A;        /* Dark Gray - Body Text */
            --color-text-primary: #0A0A0A;     /* Black - Headings, Highlights */
            --color-accent: #007bff;           /* A touch of blue for primary CTAs */
            --color-marquee-bg: #8c9e99;       /* Dark Green/Grey Background Color for new section */
            --color-marquee-text: #2f3833;     /* Darker text for marquee */
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
            /* Smooth transitions for general interaction */
            transition: color 0.2s, background-color 0.2s, transform 0.3s;
        }
        
        h1, h2, h3 {
            font-family: 'Montserrat', sans-serif; /* Heading font */
        }

        a {
            text-decoration: none;
            color: var(--color-text-body);
        }

        a:hover {
            color: var(--color-text-primary);
        }
        
        /* ------------------- Scroll Reveal Utility Classes ------------------- */
        .reveal-hidden {
            opacity: 0;
            transform: translateY(30px);
        }

        .reveal-visible {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* ------------------- Infrastructure Showcase Section Styling ------------------- */
        .showcase-section {
            background-color: var(--color-marquee-bg); /* Dark green/grey background */
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
            margin-bottom: 15px; /* Important for containing the moving marquee text */
        }
        
        .showcase-content-wrapper {
            position: relative;
            max-width: 1200px; /* Constrain content width */
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* --- Marquee Text (Modified for multi-line) --- */
        .dynamic-marquee {
            position: absolute;
            left: 0;
            white-space: nowrap;
            color: var(--color-marquee-text);
            font-size: 8vh; /* Reduced size to allow multiple lines */
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            opacity: 0.1; /* Lower opacity for background effect */
            z-index: 1; /* Below the main card */
            pointer-events: none; /* Allows clicks through to the background */
            line-height: 1.2;
            padding: 0 1rem; /* Padding to prevent text from touching screen edge */
        }

        /* --- Main Content Overlay (The light card) --- */
        .image-gallery-overlay {
            position: relative;
            z-index: 10; /* Above the marquee text */
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .overlay-title {
            font-size: 3rem;
            font-weight: 800;
            color: var(--color-text-primary);
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .overlay-text {
            font-size: 1.1rem;
            line-height: 1.6;
            color: var(--color-text-body);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .overlay-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .gallery-item {
            position: relative;
            height: 279px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            font-weight: 600;
            text-align: center;
        }
        
        .overlay-cta {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color: var(--color-accent);
            color: white;
            font-weight: 600;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .overlay-cta:hover {
            background-color: #0056b3;
        }

        
        /* About Us Section Styling */
        .about-us-section {
            /* max-width: 1200px; */
            margin: 6rem auto; 
            padding: 0 2rem;
            display: flex;
            flex-direction: column; 
            gap: 3rem;
            align-items: center;
        }
        
        .about-us-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            color: var(--color-text-primary);
            margin-bottom: 1.5rem;
        }

        .about-us-section p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: var(--color-text-body);
            margin-bottom: 1.5rem;
        }

        .about-us-section strong {
            font-weight: 600;
            color: var(--color-text-primary);
        }

        .about-content {
            flex: 1;
            max-width: 60%;
            text-align: left;
        }

        .about-image-container {
            flex: 1;
            max-width: 40%;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            position: relative;
        }
        
        .about-image-container:hover img {
            transform: scale(1.05);
        }

        .about-image-container img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .about-button {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color: var(--color-text-primary);
            color: white;
            font-weight: 600;
            border-radius: 4px;
            transition: background-color 0.3s;
            border: 2px solid var(--color-text-primary);
        }

        .about-button:hover {
            background-color: transparent;
            color: var(--color-text-primary);
        }

        /* Product Section Styling */
        .product-section {
            /* max-width: 1200px; */
            /* margin: 4rem auto 6rem auto; */
            padding: 0 2rem;
        }

        .product-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            position: relative;
        }

        .section-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--color-text-primary);
        }

        .product-nav-arrows {
            display: flex;
            gap: 1rem;
        }

        .product-arrow {
            background: none;
            border: 1px solid var(--color-border);
            color: var(--color-text-primary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .product-arrow:hover {
            background-color: var(--color-text-primary);
            color: var(--color-background-light);
            border-color: var(--color-text-primary);
        }
        
        .product-arrow svg {
            width: 18px;
            height: 18px;
            stroke-width: 3;
        }

        .product-carousel {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .product-carousel::-webkit-scrollbar {
            display: none;
        }

        .product-card {
            flex: 0 0 25%;
            min-width: 400px; 
            padding: 1rem;
            margin-right: 1.5rem;
            text-align: center;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s, background-color 0.2s; 
        }
        
        .product-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }

        .product-card-image-container {
            width: 100%;
            height: 295px;
            /* background-color: var(--color-text-primary); */
            margin-bottom: 1rem;
            border-radius: 6px;
            overflow: hidden;
            position: relative;
        }
        
        .product-card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8; 
        }

        .product-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--color-text-primary);
            margin-bottom: 0.5rem;
        }
        
/* 📱 Mobile Responsiveness for Product Carousel (Max width 768px for tablets/mobiles) */
@media (max-width: 768px) {
    /* Adjust padding for product-section on smaller screens */
    .product-section {
        padding: 0 1rem;
    }

    /* Stack header elements and center the title for better mobile display */
    .product-header {
        flex-direction: column;
        align-items: flex-start; /* Align title left */
        margin-bottom: 1.5rem;
    }

    /* Reduce font size of the section title */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem; /* Space between title and navigation arrows */
    }

    /* Move navigation arrows to be visually associated with the title */
    .product-nav-arrows {
        /* If you prefer to hide the arrows on mobile if JS carousel isn't adjusted to swipe, uncomment the next line: */
        /* display: none; */ 
        align-self: flex-end; /* Or align-self: flex-start; depending on desired layout */
    }

    /* For the product cards in the carousel */
    .product-card {
        /* Force the card to take up a larger portion of the viewport for a comfortable swipe */
        flex: 0 0 90%; /* Take up 90% of the viewport width */
        min-width: 90vw; /* Ensure minimum width is 90% of viewport width */
        /* Adjust margin to create space between swipable cards */
        margin-right: 1rem;
        padding: 0.75rem;
    }
    
    /* Ensure the last product card doesn't have a huge margin on the right */
    .product-carousel .product-card:last-child {
        margin-right: 1rem; /* Keep a consistent margin */
    }

    /* Adjust image container height for proportionality on mobile */
    .product-card-image-container {
        height: 200px; /* Reduced height for mobile screens */
    }

    /* Slightly reduce the product card title size */
    .product-card h3 {
        font-size: 1rem;
    }
}

/* Optional: Slightly larger screens (e.g., tablets in landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        /* Show two cards at a time for tablets */
        flex: 0 0 45%; 
        min-width: 45%; 
        margin-right: 1.5rem;
    }
}
        /* ------------------- MOBILE RESPONSIVENESS (< 768px) ------------------- */
        
        @media (max-width: 768px) {
            
            /* --- TOP HEADER (Utility Bar) --- */
            .top-header {
                padding: 1rem;
                flex-wrap: wrap; /* Allow wrapping on small screens */
            }
            
            /* Hide contact info to save space on mobile */
            .contact-info {
                display: none;
            }
            
            .logo-section {
                /* On smaller screens, logo should take full width to center it */
                flex-grow: 1;
                text-align: left;
                margin-right: 1rem; 
            }
            
            /* Ensure icons remain on the right */
            .cta-icons {
                flex-grow: 0;
            }

            /* --- MAIN NAVIGATION (Hamburger Menu Activation) --- */
            .main-header {
                padding: 0 1rem;
            }

            .hamburger-menu {
                display: flex; /* Show the hamburger */
            }

            .nav-container {
                display: none; /* Hide the entire nav container by default */
                position: absolute;
                top: 100%; /* Position right below the header */
                left: 0;
                width: 100%;
                background-color: white;
                box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
                flex-direction: column; /* Stack items vertically */
                z-index: 999;
                /* Add a smooth slide-down effect */
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease-out;
            }
            
            /* Class toggled by JavaScript to open the menu */
            .nav-container.mobile-open {
                display: flex;
                max-height: 500px; /* Use a fixed height greater than content for transition */
            }

            .nav-item {
                padding: 0;
                width: 100%;
                border-bottom: 1px solid var(--color-border);
            }

            .nav-link {
                padding: 1rem 1rem; /* Full-width padding for touch targets */
                width: 100%;
                justify-content: space-between;
            }
            
            /* Mobile Dropdowns */
            .dropdown-menu {
                position: static; /* Dropdowns flow vertically in the document */
                border: none;
                box-shadow: none;
                margin: 0;
                min-width: unset;
                border-radius: 0;
                background-color: var(--color-background-light); /* Slight background for sub-items */
                /* Collapse the dropdown menu until activated */
                max-height: 0;
                transition: max-height 0.3s ease-in-out;
            }
            
            /* When the nav-item is active (tapped), show the dropdown */
            .nav-item.active .dropdown-menu {
                display: flex;
                flex-direction: column;
                max-height: 300px; /* Adjust height based on content */
            }
            
            .dropdown-menu a {
                padding: 0.75rem 2rem;
                border-top: 1px solid #e0e0e0;
            }


            /* --- Content Adjustments --- */
            
            .about-us-section {
                padding: 0 1rem;
            }
            
            .about-content, .about-image-container {
                max-width: 100%;
                text-align: center;
            }
            
            .about-us-section h2 {
                font-size: 2.5rem;
            }
            .about-image-container {
                height: 300px; 
                width: 100%;
            }

            .product-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            
            .dynamic-marquee {
                font-size: 10vh; 
            }
            
            .overlay-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 769px) {
            .about-us-section {
                flex-direction: row;
                justify-content: space-between;
            }
            /* Ensure desktop dropdowns are hidden on desktop when not hovered */
            .nav-item.active .dropdown-menu {
                 max-height: unset;
                 display: none;
            }
            /* Ensure hamburger menu is hidden on desktop */
            .hamburger-menu {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .logo-section {
                width: auto;
                margin-bottom: 0;
            }
            
            .cta-icons {
                width: auto;
                justify-content: flex-end; 
                order: 3; 
            }
            
            .top-header {
                /* Stack elements vertically for very small screens */
                flex-direction: row;
                justify-content: space-between; 
            }

            .slide {
                height: calc(100vh - 9rem);
            }
            
            .product-card {
                flex: 0 0 80%; 
                min-width: 60%;
            }
            
            .overlay-gallery {
                grid-template-columns: 1fr;
            }
        }

         /* Base Configuration */
        :root {
            /* New Light Palette */
            --color-background-light: #F4F4F4;
            --color-border: #D9D9D9;
            --color-text-body: #3A3A3A;
            --color-text-primary: #0A0A0A;
            
            /* CHANGED: Replaced blue with grey/black shades */
            --color-accent: #4A4A4A;
            --color-accent-dark: #1A1A1A; 
            
            --color-marquee-bg: #8c9e99;
            --color-marquee-text: #2f3833;
        }
        /* --- Dynamic Animation Styles (FASTER) --- */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px); /* Reduced movement for less distraction */
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .animate-fadeInUp {
            /* Reduced duration from 0.6s to 0.4s for quicker appearance */
            animation: fadeInUp 0.4s ease-out forwards; 
        }
        .animate-on-scroll {
            opacity: 0;
        }