/* CSS Document */
/* Color Variables for easy management */
:root {
    --color-yellow: #FACB37;
    --color-black: #000000;
    --color-olive: #687763;
    --color-white: #ffffff;
    --color-gray-light: #f4f4f4;
}


#staging-alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e74c3c;
    color: #ffffff;
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 99999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


/* Base Styles and Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: bold;
}

h1 { font-size: 3em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

section {
    padding: 60px 0;
}
section.page-content-wrapper {    padding: 33px 0 60px 0;}
.breadcrumb a {color:black;}
/* 1. Header & Navigation */
.main-nav {
    display: flex; /* Display navigation links horizontally */
    gap: 25px;
}

/* Hide hamburger menu by default */
.hamburger {
    display: none; 
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-white); /* White bars */
    transition: all 0.3s ease-in-out;
}
.main-header {
    background: var(--color-black);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
	padding-top: 4px;}
.logo img {
    max-width: 304px;
    border: 3px solid #facb37;
    border-radius: 4px;
}
.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-yellow);
}



.hatch-pattern-bg {
    background-color: #ECECEC;
    background-image: linear-gradient(
        -45deg,
        #B0B0B0 1px,        /* The starting dark gray line */
        transparent 1px,
        transparent 5px,    /* The width of the light gray gap */
        #B0B0B0 2px,        /* The next dark gray line */
        #ECECEC 7px        /* The length of the repeating tile */
    );
    background-size: 10px 10px;
}


/* --- PRODUCT GALLERY STYLES (Existing) --- */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 10px;
    margin-top: 30px;
}

.product-gallery .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 3px;
    transition: transform 0.2s;
}

.product-gallery .gallery-img:hover {
    transform: scale(1.03);
}

/* --- LIGHTBOX MODAL STYLES (New) --- */
#image-lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 200000; /* Higher than the video modal and staging banner */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Nearly black backdrop */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

#image-lightbox-modal.is-visible {
    display: flex; /* Display when active */
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    padding: 0;
}

#lightbox-full-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100vh; /* Ensure it doesn't exceed viewport height */
    object-fit: contain; /* Scale down but show the whole image */
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Mobile Adjustments for Gallery Grid */
@media (max-width: 600px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
}
/* CTA Buttons */
.cta-button {
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
	/*border:2px solid var(--color-yellow);*/
}

.nav-cta {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

.nav-cta:hover {
    background-color: #e0b430; /* Darker yellow on hover */
}


/* 2. Hero Section (Updated with Chevron Design) */

.hero-section {
    height: 55vh; 
		 background: url("../img/bg-hero-1900-01.webp") center/cover no-repeat; 
    background-color: var(--color-olive); /* Fallback */ 
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; 
}





/* The Black Overlay is created using the ::before pseudo-element */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 91%;
    height: 100%;
    background-color: #000000e8;
    clip-path: polygon(0 0, 71% 0, 83% 50%, 70% 100%, 0 100%);
    opacity: 0.95;
    z-index: 1;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000d9;
    opacity: 0.5;
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 70% 100%, 83% 50%);
    z-index: 1;
}
/* The Content Container (Text and CTAs) */
.hero-overlay {
    background-color: transparent; 
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* Needs a higher z-index to sit above BOTH pseudo-elements */
    z-index: 3; 
}

/* No change needed here, but keeping for context */
.hero-section h1,
.hero-section .tagline,
.hero-section .hero-ctas {
    /* Ensure text is readable and contained within the dark area */
    max-width: 65%; /* Constrains text to the black area */
    position: relative; /* Essential to render content above the pseudo-element */
    color: var(--color-white);
}
.hero-section .tagline {    padding-bottom: 1em;}
.tagline {
	color: var(--color-gray-light);
}

.primary-cta {
    background-color: var(--color-yellow);
    color: var(--color-black);
    margin-right: 15px;
	/*border:2px solid var(--color-yellow);*/
}
body section .primary-cta:hover,body section .cta-button:hover {
    background-color:var(--color-black) ;
    color: var(--color-yellow);
}
.secondary-cta {
    background-color: transparent;
    border: 2px solid var(--color-yellow);
    color: var(--color-yellow);
}

.secondary-cta:hover {
    background-color: var(--color-yellow) !important;
    color: var(--color-black) !important;
}

/* 3. Core Capabilities Snapshot */
.capabilities-snapshot {
    display: flex;
    text-align: center;
}

.capability-card {
    flex: 1;
    padding: 60px 30px;
    color: var(--color-white);
}
	.capability-card p{	
	    max-width: 80%;
		margin: 16px auto; }
.capability-card h2 {
    color: var(--color-yellow);
    margin-bottom: 15px;
}

.capability-card p {
    margin-bottom: 25px;
}

.olive-bg {
    background-color: var(--color-olive);
background-image: radial-gradient(circle, #576553 0%, /* Starting color (lighter black/dark gray) at the center */ #687763 80% /* Ending color (true black) starting around 80% */);
	

	
}

.black-bg {
    background-color: var(--color-black);
}

.capability-card .cta-button {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

/* 4. Technical Expertise (Trust Builder) */
.expertise-section {
    background-color: var(--color-gray-light);
    text-align: center;
}

.trust-points {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.trust-points div {
    flex: 1;
    padding: 20px;
    border-left: 3px solid var(--color-olive);
    text-align: left;
}

.trust-points h4 {
    color: var(--color-olive);
    margin-bottom: 5px;
}

/* 5. Product Feature Showcase */
.product-feature-showcase {
    text-align: center;
    padding-top: .2em;
}
.product-cards-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    flex: 1;
    border: 1px solid var(--color-gray-light);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
 background-color: var(--color-gray-light);
    height: 150px; /* Keep this height for consistent card appearance */
    margin-bottom: 15px;
    
    /* NEW RULES: Use Flexbox to center the image horizontally and vertically */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    
    /* Important for managing image overflow */
    overflow: hidden;
}
.product-feature-img {
   width: 100%;
    height: 100%; 
    object-fit: cover; 
    display: block;
}
.product-card h4 {
    color: var(--color-black);
}

.cta-link {
    color: var(--color-yellow);
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-top: 15px;
}

/* 6. Services Overview (Deep Dive) */
.services-overview {
    background-color: var(--color-olive);
    color: var(--color-white);
    text-align: center;
}

.services-overview h2 {
    color: var(--color-yellow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 40px 0;
    text-align: left;
}

.services-grid div {
    background: rgba(0, 0, 0, 0.2); /* Slight overlay on Olive */
    padding: 25px;
    border-radius: 5px;    transition: transform 0.3s;
}
.services-grid div:hover  { transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);}

.services-grid h4 {
    color: var(--color-yellow);
    margin-bottom: 10px;
}

.services-grid ul {
    list-style: none;
    padding-left: 0;
}

.services-grid ul li {
    padding: 5px 0;
}

.services-overview .primary-cta {
    background-color: var(--color-black);
    color: var(--color-yellow);
}

.services-overview .primary-cta:hover {
    background-color: #333;
}


/* 7. Final Call to Action */
.final-cta {
    background-color: var(--color-yellow);
    text-align: center;
    padding: 40px 0;
}

.final-cta h3, .final-cta p {
    color: var(--color-black);
    margin: 0;
}

.final-cta h3 {
    margin-bottom: 10px;
}

.final-cta .nav-cta {
    background-color: var(--color-black);
    color: var(--color-yellow);
    margin-top: 20px;
}

.final-cta .nav-cta:hover {
    background-color: #333;
}

/* 8. Footer */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-gray-light);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer a {
    color: var(--color-gray-light);
    text-decoration: none;
    margin: 0 10px;
}

.main-footer a:hover {
    color: var(--color-yellow);
}

/* Ad hoc code */

.services-grid li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #facb37;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.black-vignette-bg {
    background-color: #000000;
    background-image: radial-gradient(circle, /* Shape of the fade (can also use ellipse) */ #4b4545 0%, /* Starting color (lighter black/dark gray) at the center */ #000000 80% /* Ending color (true black) starting around 80% */);
    color: #ffffff;
    padding: 60px 0;
}

/* Paragraph Separation */
p {

    margin-bottom: 1em; 
}

p:last-child {
    margin-bottom: 0;
}

p:not(:last-child) {
    margin-bottom: 1em;
}

/* --- DHG Testimonial Styling --- */

.testimonials-section .testimonial-heading {
    padding-top: 1rem;
    margin-bottom: 1.2rem;
    border-top: 1px solid #ccc;
    color: var(--color-olive);
}

.testimonial-grid {
    /* Responsive Grid for 3 Columns */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Color accent for Island City Engineering's olive green (#7D9F35) */
    border-left: 4px solid var(--color-olive, #7D9F35); 
}

.testimonial-quote {
    font-style: italic; 
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: bold; 
    margin: 0;
}

.testimonial-title {
    font-size: 0.9em; 
    color: #555;
    margin-top: 5px;
}

/* Mobile Adjustments (Optional, but good practice) */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr; /* Stack testimonials on small screens */
    }
}
/* ABOUT PAGE*/
.about-image img {
	margin-top:2em;
    /* Apply the inner yellow border */
    border: 7px solid #FACB37; /* Your Yellow, 4px width */
    
    /* Apply the outer black border using 'outline' */
    /* Outline doesn't affect the box model, so it sits outside the border */
    outline: 7px solid #000000; /* Your Black, 4px width */
    
    /* Add a small gap between the border and outline if desired (optional) */
    /* outline-offset: 2px; */ 

    /* Ensure the image scales and fits correctly within its container */
    max-width: 100%; 
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below the image */
}
/* Location Section Styling */
.location-section {
    padding: 40px 0;
}

.location-details {
    /* Use Flexbox for two columns */
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Space between the two columns */
    align-items: flex-start; /* Aligns content to the top */
}

.address-info {
    /* Set the address column to take up slightly less space */
    flex: 0 0 35%; 
}

.map-placeholder {
    /* Set the map column to take up the rest of the space */
    flex: 1 1 60%;
    /* Ensure the iframe (map) maintains its responsiveness */
    min-height: 300px;
}


/* --- -------------------------------
---------------------------------------------------Contact Page Styling --- */

/* Wrapper for the Intro Text and Form */
.contact-grid-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px; /* Space between the two columns */
    margin-top: 30px;
}

/* Intro Text Column */
.contact-intro {
    flex: 1 1 50%;
}

/* Form Container Column */
.contact-form-container {
    flex: 1 1 50%;
    /* Added a light background to visually frame the form */
    background-color: var(--color-gray-light); 
    padding: 30px;
    border-radius: 5px;
}

/* Basic Form Element Styling */
.simple-contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

.simple-contact-form input[type="text"],
.simple-contact-form input[type="tel"],
.simple-contact-form input[type="email"],
.simple-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
}

.simple-contact-form textarea {
    resize: vertical; /* Allows resizing only vertically */
}

/* Style the Submit Button */
.simple-contact-form button[type="submit"] {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    /* Uses existing .cta-button and .primary-cta styling */
}








/*----------------------------------
       VIDEO POPUP
------------------------------------*/
.vid-modal-container {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 100000; /* Ensure it is above the staging banner and Divi header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

.vid-modal-visible {
    display: flex; /* Show the modal */
}

.vid-modal-content {
    position: relative;
    padding: 20px;
    margin: auto;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.vid-modal-close {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: -21px;
    right: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vid-modal-close:hover,
.vid-modal-close:focus {
    opacity: 1;
}

/* 16:9 Aspect Ratio for Video */
.vid-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.vid-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vid-video-cta {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--color-yellow);
    text-decoration: none;
	    text-align: center;
}














/* --------------------------------------
--------------------------------------------Products & Services Page Specific Styles --- */

/* Product Intro Text */
.product-intro-text,
.service-intro-text {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Centered heading for the black-vignette section */
.centered-heading {
    text-align: center;
    color: var(--color-white);
    margin-bottom: 40px;
}

/* 3-Column Summary Grid */
.product-summary-grid,
.service-summary-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}
/* --- Updated 3-Column Summary Card Styling (Yellow Background) --- */

.product-summary-card,
.service-summary-card {
    flex: 1 1 30%;
    background-color: var(--color-yellow);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-summary-card:hover,
.service-summary-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
    transform: translateY(-5px);
}

.product-summary-card h4,
.product-summary-card p,
.service-summary-card h4,
.service-summary-card p {
    color: var(--color-black); 
}

.product-summary-card .cta-link,
.service-summary-card .cta-link {
    color: var(--color-black);
}

.product-summary-card .cta-link:hover, .service-summary-card .cta-link:hover {
    color: #4f4e4d;
}

.product-summary-card .card-image-placeholder,
.service-summary-card .card-image-placeholder {
    height: 120px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-gray-light); 
    border-radius: 3px;
}
/* --- Detailed Product Sections --- */

.product-detail-section {
    padding: 80px 0;
}

.dark-bg-section {
    background-color: var(--color-black);
    color: var(--color-white);
}

.product-detail-section h2 {
    margin-bottom: 20px;
}

.product-detail-section h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.product-detail-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

/* Two-column layout for Details (3/4) and Downloads (1/4) */
.product-detail-row,
.service-detail-row {
    display: flex;
    gap: 50px;
}
/* 3/4 Details Column */
.product-specs-content,
.service-specs-content {
    flex: 3; 
}

/* 1/4 Sidebar/Downloads Column */
.product-downloads-sidebar {
    flex: 1; 
	background-color: rgb(8 7 7 / 89%);
   
    padding: 20px;
    border-radius: 5px;
    border: 1px solid rgba(250, 203, 55, 0.5); 
}
 .service-sidebar {
    flex: 1;
     background-color: rgba(255, 255, 255, 0.1); 
    padding: 20px;
    border-radius: 5px;
    border: 1px solid rgba(250, 203, 55, 0.5);
}
/* Dark background adjustment for sidebar */
.dark-bg-section .product-downloads-sidebar,
.dark-bg-section .service-sidebar {
    background-color: #1a1a1a;
    color: var(--color-white);
}

.product-downloads-sidebar h4 {
    color: var(--color-yellow);
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    border-left: 3px solid var(--color-yellow);
    border-right: 3px solid var(--color-yellow);
}

.product-downloads-sidebar .cta-button,
.product-downloads-sidebar .cta-link {
    width: 100%;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.product-detail-img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border: 3px solid var(--color-olive);
}

/* Color Overrides */
.olive-text {
    color: var(--color-olive);
}
.yellow-text {
    color: var(--color-yellow);
}
/* --- New CSS for Yellow Square Bullets in Product Specs --- */
.product-detail-section ul,
.service-detail-section ul{
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.product-detail-section ul li,
.service-detail-section ul li{
    position: relative;
    padding-left: 15px; /* Space for the custom bullet */
    margin-bottom: 5px;
}

.product-detail-section ul li::before,
.service-detail-section ul li::before{
    content: "";
    display: block;
    width: 7px; /* Size of the square */
    height: 7px;
    background-color: var(--color-yellow); /* Yellow color */
    position: absolute;
    left: 0;
    top: 0.6em; /* Adjust to vertically align with text */
    transform: translateY(-50%);
}

/* Ensure white text uses the same bullets in dark sections */
.dark-bg-section .product-detail-section ul li::before {
    background-color: var(--color-yellow);
}



/* --- Gallery Layout for Product Details --- */
.product-gallery {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Small space between images */
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc; /* Separator line above gallery */
}

/* Style for individual images in the gallery */
/*.gallery-img {
    width: 25%; 
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--color-gray-light);
    border-radius: 3px;
    transition: transform 0.3s;
}*/

.gallery-img:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 550px) {
    .product-gallery {
        /* On small mobile screens, switch to two columns */
        flex-wrap: wrap;
        gap: 8px;
    }
    .gallery-img {
        width: 48%; /* Each image takes slightly less than half the width */
    }
}









/* Ensure responsiveness for mobile devices */
@media (max-width: 968px) {
.main-nav {
    gap: 12px;
}
	.main-nav a {

    margin-left: 6px;

}
    .location-details {
        /* Stack columns vertically on smaller screens */
        flex-direction: column;
    }
    
    .address-info,
    .map-placeholder {
        /* Allow both elements to take full width */
        flex: 1 1 100%;
        width: 100%;
    }
	
	.product-detail-row,
    .service-detail-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-downloads-sidebar,
    .service-sidebar {
        flex: 1 1 100%;
        order: -1; 
    }
	
.product-summary-grid,
    .service-summary-grid {
        flex-direction: column;
        gap: 30px;
    }	
	
	
	
/* --------------------------------------- max 968 */}



/* Basic Responsiveness (for demonstration) */
@media (max-width: 768px) {
	
	
	
	
    .contact-grid-wrapper {
        /* Stack columns vertically on smaller screens */
        flex-direction: column;
        gap: 20px;
    }
	.logo img {    max-width: 260px;}
    .header-content {        flex-direction: column;    }
.primary-cta {
    margin-right: 0;
    /* border: 2px solid var(--color-yellow); */
}
/* Show hamburger menu */
    .hamburger {
        display: block;
        z-index: 1001; /* Ensure button is above everything */
    }

    /* Hide desktop navigation links by default */
    .main-nav {
        display: none;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--color-black); 
        flex-direction: column; /* Stack links vertically */
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Class added by JavaScript to show the menu */
    .main-nav.open {
        display: flex; 
    }

    /* Style for links inside the mobile menu */
    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid #333;
        font-size: 1.1em;
        width: 100%;
    }
    
    /* Remove bottom border from the last link */
    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Hamburger Animation (Optional but nice) */
    .hamburger.is-active .bar:nth-child(2) {
        opacity: 0; /* Middle bar disappears */
    }
    .hamburger.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Top bar rotates to form 'X' */
    }
    .hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Bottom bar rotates to form 'X' */
    }
    
    /* Move the CTA button so it stacks nicely or disappears */
    .nav-cta {
        display: none; /* Often hidden on mobile menu to keep header clean */
    }
    
    /* Ensure header content aligns properly */
    .header-content {
        justify-content: space-between; /* Pushes logo and hamburger apart */
    }
    .main-nav {
        margin: 15px 0;
    }
.hero-section {
        height: auto;
        /* Updated min-height to match the overall height reduction */
        min-height: 40vh; 
        padding: 40px 0;
    }
.hero-section::before {
        /* On small screens, make the black area full width for text readability */
        clip-path: none;
        width: 100%;
        opacity: 0.85; /* Increase visibility over the image */
    }
    .hero-section h1,
    .hero-section .tagline,
    .hero-section .hero-ctas {
        max-width: 100%; /* Allow content to use full width */
        text-align: center;
    }
    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .capabilities-snapshot, .product-cards-grid, .trust-points, .services-grid {
        flex-direction: column;
        gap: 20px;
    }
    .capability-card {
        padding: 40px 20px;
    }
		.capability-card p{	
	    max-width: 90%;
		margin: 16px auto; }

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

@media (max-width: 480px) {
	.logo img {
    max-width: 230px;

}
.main-nav {
    margin: 9px 0;
}
.main-nav a { 
    margin-left: 10px;
    font-size: 15px;
}
	
}

@media (max-width: 380px) {.main-nav a {    margin-left: 5px;    font-size: 15px;}

}
