/* -------------------- */
/* 1. CSS VARIABLES & BASE STYLES */
/* -------------------- */

:root {
    /* --- Light Mode (Default) --- */
    --color-background: #FFFFFF; /* White */
    --color-text-primary: #121212; /* Deep Black */
    --color-text-secondary: #555555;
    --color-red-primary: #D32F2F; /* Strong Red Accent */
    --color-red-light: #FF5252;
    --color-section-bg: #F8F8F8; /* Light gray for section separation */
    --color-border: #EEEEEE; 

    --font-primary: 'Montserrat', sans-serif;
    --color-red-primary-rgb: 211, 47, 47; /* NEW: RGB format for use in rgba shadows */
    /* ... rest of variables ... */
}

/* --- Dark Mode Variables (Excellence) --- */
.dark-mode {
    --color-background: #121212; /* Deep Black */
    --color-text-primary: #FFFFFF; /* White */
    --color-text-secondary: #AAAAAA;
    --color-section-bg: #1A1A1A; /* Slightly lighter black for section separation */
    --color-border: #333333; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Prevent Image Dragging */
img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    -user-drag: none;
}
/* Disable Text Selection */
body, .content-section, .main-header, .main-nav {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standard syntax */
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    transition: background-color 0.4s, color 0.4s; /* Smooth transition for dark/light mode switch */
}
/* Target the logo when the body has the dark-mode class */
body.dark-mode #site-logo {
    /* CRITICAL: Inverts the color to make black elements appear white. 
       Adjust filter value (e.g., brightness, contrast) if needed. */
    filter: invert(1) brightness(2); 
}
/* Base Typography */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-red-primary); /* Red stays the accent color */
    text-align: center;
}

p {
    font-weight: 300;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* -------------------- */
/* 2. HEADER & NAVIGATION (Now with the toggle switch) */
/* -------------------- */

.main-header {
    background-color: var(--color-background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 5%;
    line-height: 1;
    border-bottom: 1px solid var(--color-border);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s, border-color 0.4s;
}

.logo {
    /* Existing styles remain, but we adjust the font size to ensure the area is correct */
    font-size: 1.5rem; 
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-red-primary);
    margin: 0; /* Ensures no vertical margin */
    padding: 0;
}

/* Style for the logo image */
.logo img {
    height: auto;
    width: auto;
    padding: 0;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
	width: 100%;
}

.main-nav {
    max-width: var(--max-width);
    margin: 0 auto; 
    padding: 5px 0 10px 0; 
}

.main-nav ul {
    list-style: none;
    padding: 8px;
    margin: 0;
    display: flex; 
    
    /* CRITICAL FIX: Center the links horizontally */
    justify-content: center; 
    
    gap: 25px; 
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    padding-bottom: 0.25rem;
    color: var(--color-text-primary);
}

/* Premium navigation hover effect */
.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-red-primary);
    border-bottom: 2px solid var(--color-red-primary);
}


/* -------------------- */
/* 3. SECTION STYLES */
/* -------------------- */

.content-section {
    padding: 3.2rem 5%;
    /*min-height: 60vh;*/
    text-align: center;
    transition: background-color 0.4s;
}

.about-us {
    padding-top: 2.4rem;
}

.content-section p {
    max-width: 800px;
    margin: 0.5rem auto 0.75rem;
     font-size: 17px;
    /*line-height: 35px;*/
}

/* Alternating section background for visual separation in light mode */
.content-section:nth-child(even) {
    background-color: var(--color-section-bg);
}

/* -------------------- */
/* 4. HERO SECTION (Revised CTA Styling) */
/* -------------------- */

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Decreased the black opacity significantly (0.5) for a much lighter, less heavy background
       that shows more of the underlying image. */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('gujarat-map.png') no-repeat center center/cover;
    background-blend-mode: multiply;
}

.hero-section h1, .hero-section p {
    color: var(--color-white); /* Ensure text is always white on the dark background */
}

/* ... (Hero H1 and P styles remain the same) ... */

/* Default CTA Button Style (Used in Dark Mode and as a base) */
.cta-button {
    background-color: var(--color-red-primary);
    color: var(--color-white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Reverting to the original solid block style */
    border: none; 
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-block;
    margin-top: 14px;
}

.cta-button:hover {
    background-color: var(--color-red-light);
    transform: translateY(-2px);
}
/* All body:not(.dark-mode) .hero-section .cta-button overrides are removed */

/* === LIGHT MODE SPECIFIC OVERRIDE === */
/* When the body *does not* have the .dark-mode class (i.e., Light Mode is active) */
body:not(.dark-mode) .hero-section .cta-button {
    /* Make the button background transparent/darker and use the red border */
    background-color: transparent;
    color: var(--color-white); /* White text to stand out on dark background */
    border-color: var(--color-red-primary);
}

body:not(.dark-mode) .hero-section .cta-button:hover {
    /* Hover effect fills the button with red */
    background-color: var(--color-red-primary);
    color: var(--color-white);
}
/* -------------------- */
/* 4.5. HERO MAP BACKGROUND STYLES */
/* -------------------- */

.hero-section {
    /* Set position to relative so the absolute map-background element is contained */
    position: relative;
    /* Ensure text content is above the map */
    z-index: 1; 
}

/* Base Hero Background (used only for the black overlay and truck image) 
.hero-section {
     Keep the overlay here, but remove the fixed image, which we move to .map-background 
     NOTE: If you are using an actual image of a truck, keep it here. For the map effect, 
       I assume we are layering the map over the existing dark background.}
*/

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('gujarat-map.png'); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Low opacity so the map is subtle and doesn't distract from text */
    z-index: -1; /* Place it behind the text content (h1, p, button) */
    transition: filter 0.4s ease;
}

/* --- LIGHT MODE MAP STYLING (Default: Black map outlines on dark overlay) --- */
/* The map image should be created with white lines on a transparent background. 
   We invert the colors to get black lines. */
.map-background {
    /* Invert colors to turn white lines (if image is white) into black lines */
    filter: invert(1) hue-rotate(180deg) opacity(1); 
    /* The opacity of the *element* is 0.15, the opacity filter is 1 (full opacity) */
}


/* --- DARK MODE MAP STYLING (Override: White map outlines on dark overlay) --- */
.dark-mode .map-background {
    /* In dark mode, we remove the invert filter, letting the white lines show */
    filter: none;

}

/* Optional: You can refine the existing .hero-section to remove the 
   duplicate background image reference if you only want the map. 
   If you want both the truck image and the map, keep the current .hero-section styles. */

/* -------------------- */
/* 5. FOOTER STYLES */
/* -------------------- */

.main-footer {
    background-color: var(--color-section-bg);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}

/* -------------------- */
/* 6. DARK/LIGHT MODE TOGGLE STYLES */
/* -------------------- */

.theme-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

/* Hide default HTML checkbox */
.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider track */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc; /* Light gray track for light mode */
    transition: 0.4s;
    border-radius: 34px;
}

/* Slider track color in dark mode */
input:checked + .slider {
    background-color: var(--color-text-primary); /* Dark mode track color (Black) */
}

/* The slider knob */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 0px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* Knob movement when checked (dark mode) */
input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--color-red-primary); /* Red knob when in dark mode */
}
/* -------------------- */
/* 7. OUR SERVICES STYLES */
/* -------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 4rem;
    text-align: left;
}

.service-card {
    background-color: var(--color-background); /* White in Light, Black in Dark */
    padding: 30px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Premium Hover Effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--color-red-primary); /* Red highlight on hover */
}

/* Ensuring the Red Accent is used consistently */
.red-accent {
    color: var(--color-red-primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Dark Mode specific shadow adjustment for premium feel */
.dark-mode .service-card {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}
.dark-mode .service-card:hover {
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}
/* -------------------- */
/* 7.1. SERVICE CARD LIST STYLES */
/* -------------------- */

.weight-list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin-top: 15px;
}

.weight-list li {
    font-size: 0.95rem;
    padding: 5px 0;
    border-bottom: 1px dashed var(--color-border); /* Subtle separator */
    color: var(--color-text-primary);
}

.weight-list li:last-child {
    border-bottom: none; /* No line under the last item */
}

/* Add a custom red icon/bullet point for a professional touch */
.weight-list li::before {
    content: "▸"; /* Unicode right triangle */
    color: var(--color-red-primary);
    font-weight: 700;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
/* -------------------- */
/* 8. MOBILE RESPONSIVENESS (MAX WIDTH: 768px) */
/* -------------------- */
@media (max-width: 768px) {
    
    /* 1. Header & Navigation Adjustments */
    .main-header {
        flex-direction: column; /* Stack logo and navigation vertically */
        padding: 1rem 5%;
    }

    .nav-container {
        width: 100%;
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
		    }
    
    .main-nav ul {
        flex-direction: column; /* Stack links vertically */
        align-items: center;
        margin-right: 0;
        width: 100%;
    }

    .main-nav li {
        margin: 5px 0; /* Vertical spacing between links */
        width: 100%;
        text-align: center;
    }

    .theme-switch {
        margin-top: 15px; /* Separate toggle switch from navigation links */
    }


    /* 2. Hero Section Adjustments */
    .hero-section h1 {
        font-size: 2.5rem; /* Smaller font for impact on small screens */
        letter-spacing: 2px;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.75rem 2rem;
    }


    /* 3. Section Padding and Typography */
    .content-section {
        17rem 5% !important; /* Less vertical padding on sections */
    }

    h2 {
        font-size: 2rem;
    }
    
    /* 4. Services Grid Adjustment */
    .services-grid {
        /* This is automatically responsive due to minmax, 
           but we ensure it stacks cleanly */
        grid-template-columns: 1fr; 
    }
}
/* -------------------- */
/* 9. OUR CLIENTS STYLES */
/* -------------------- */

/* Testimonial Block Styling */
.testimonial-block {
    max-width: 850px;
    margin: 3rem auto 5rem;
    padding: 2rem 3rem;
    background-color: var(--color-section-bg); /* Use slight background contrast */
    border-left: 5px solid var(--color-red-primary); /* Bold red accent line */
    text-align: center;
    border-radius: 4px;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-text-primary);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.client-source {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Logo Grid Styling */
.logo-showcase-grid {
    display: grid;
    /* 5 logos across on wide screens, highly responsive */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}
/* Assume .client-logo-item is the container (e.g., div or li) holding the logo image */
.client-logo-item {
    /* Set a fixed height for all logo containers */
    height: 80px; 
    /* Set a standard width (optional, but good for alignment) */
    width: 120px; 
    
    /* Center the contents of the container */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Optional: Add a subtle border or background for definition */
    border: 1px solid var(--color-border);
}
.logo-item {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Target the image element itself */
.client-logo-item img {
    /* Set the image to 100% of the container's width and height */
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Allows width to adjust based on aspect ratio */
    height: auto; /* Allows height to adjust based on aspect ratio */
    
    /* CRITICAL: Ensures the whole image is visible without cropping. */
    /* It preserves the image's aspect ratio and fits it inside the container. */
    object-fit: contain; 
}
.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Limits the vertical size of the logos */
    opacity: 0.8;
    transition: all 0.3s ease;
    
    /* Grayscale filter for premium, uniform look in Light Mode */
    filter: grayscale(100%); 
}

/* Hover and Dark Mode Adjustments */
.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%); /* Full color on hover */
    transform: scale(1.05);
}

/* Dark Mode: Invert logos to appear white/light gray */
.dark-mode .logo-item img {
    /* Invert the grayscale image to make it look like a white logo */
    filter: grayscale(100%) invert(1);
}

/* Dark Mode Hover: Remove invert filter and go to full color */
.dark-mode .logo-item img:hover {
    
    filter: grayscale(0%) invert(0);
}


/* -------------------- */
/* 10. MOBILE ADJUSTMENTS FOR CLIENTS (Add inside @media block) */
/* -------------------- */
/* Ensure you add this section inside the existing @media (max-width: 768px) { ... } block */

/* Add these styles to your existing @media (max-width: 768px) { ... } block */
/*
@media (max-width: 768px) {
    ... existing mobile styles ...

    .testimonial-block {
        padding: 1.5rem;
    }

    blockquote {
        font-size: 1.2rem;
    }

    .logo-showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    }
}
*/
/* -------------------- */
/* 11. CONTACT US (DIGITAL BUSINESS CARD) STYLES */
/* -------------------- */

.contact-us h2 {
    margin-bottom: 2rem;
}

.contact-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    
    /* Base for Floating Animation */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    transition: box-shadow 0.6s ease;
    
    /* Ensure text in the card respects the primary color scheme */
    color: var(--color-text-primary);
}
/* -------------------- */
/* KEYFRAMES FOR TRUCK MOTION */
/* -------------------- */

@keyframes move-and-flip {
    /* Start: Near Logo (0% width) */
    0% { transform: translateX(0) scaleX(1); }
    
    /* Move towards "About Us" (end of the track) */
    48% { transform: translateX(1010%) scaleX(1); }
    
    /* Pause at the end, then flip horizontally (1 -> -1) */
    50% { transform: translateX(1010%) scaleX(-1); } /* Flip to face left */
    
    /* Move back towards the logo */
    98% { transform: translateX(0) scaleX(-1); } 
    
    /* Pause at the start, then flip back */
    100% { transform: translateX(0) scaleX(1); } /* Flip to face right */
}
/* -------------------- */
/* Keyframe for the Subtle Floating Animation */
/* -------------------- */
@keyframes subtle-float {
    0% { 
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
    }
    50% { 
        /* Slightly raise the card and add a stronger, red-tinged shadow */
        box-shadow: 0 10px 30px rgba(var(--color-red-primary-rgb), 0.25); 
        transform: translateY(-3px); /* Move the card up 3px */
    }
    100% { 
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
    }
}

.contact-card {
    /* Apply the animation */
    animation: subtle-float 5s infinite alternate; 
}


/* CARD DETAILS (Left Half) */
.card-details {
    flex: 0.5;
    padding: 3rem;
    background-color: var(--color-red-primary);
    color: #FFFFFF;
    
    display: flex;
    flex-direction: column;
   
    /* Maintain vertical spacing for professionalism */
    justify-content: space-between; 
    
    /* Ensure all text within the column is centered */
    
}
.card-details p {
    color: #f0f0f0; /* Soft light gray for a richer look on red background */
    margin-bottom: 2rem;
}

.card-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.contact-info {
    list-style: none;
    padding: 0;
    width: centre;
    margin: 1rem auto;
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #f0f0f0; /* Soft light gray for the list text */
}

.contact-info i {
   
    margin-right: 0.3rem; /* Change from a larger value (e.g., 1rem) to a tight value (0.3rem) */
    width: 1rem;
    color: var(--color-white); /* Keep icon white for emphasis */
    font-size: 1.1rem;
}

.download-vcard-button {
    background-color: var(--color-white);
    color: var(--color-red-primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.download-vcard-button:hover {
    background-color: #f1f1f1;
}

/* CONTACT FORM (Right Half) */
.card-form-container {
    flex: 1.5;
    padding: 3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-primary);
    background-color: var(--color-section-bg);
    color: var(--color-text-primary);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-red-primary);
    outline: none;
}

.submit-button {
    width: 100%;
    /* Inherits styling from .cta-button, ensuring red color */
}

.contact-form-bottrap {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 1px;
    width: 1px;
    pointer-events: none;
}

.contact-form-status {
    margin-top: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 5px;
    font-size: 0.92rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: none;
}

.contact-form-status.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-form-status.success {
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #10b981;
}

.contact-form-status.error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #ef4444;
}

/* Dark Mode Adjustments for Card */
.dark-mode .contact-card {
    border-color: var(--color-border);
}
.dark-mode .card-form-container input,
.dark-mode .card-form-container textarea {
    background-color: var(--color-section-bg);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column; /* Stack details and form vertically */
    }
    
    .card-details {
        padding: 2rem;
    }

    .card-form-container {
        padding: 2rem;
    }
}
/* -------------------- */
/* 12. FOOTER STYLES */
/* -------------------- */

footer {
    /* Slightly contrasting background color */
    background-color: var(--color-section-bg); 
    padding: 3rem 5%;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Define column widths */
    gap: 40px;
    text-align: left;
}

.footer-col h4 {
    color: var(--color-red-primary); /* Use accent color for headers */
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Logo and Branding in Footer */
.footer-logo {
    
    display: flex;
    align-items: center;
    margin-bottom: 1.1rem;
}

.footer-logo .logo-wrapper img {
    width: 120px;
    max-width: 32vw;
    height: auto;
}

.hawk-icon-footer {
    height: 100px; /* Slightly smaller than header logo */
    filter: none; /* Keep icon colors true, or set to grayscale/white if preferred */
    margin-right: 5px;
    width: auto;
    
}

.brand-text-footer {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}
.tagline {
    margin-top: 0.2rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
}

.copyright-info{
    margin-top: 1rem;
    color: var(--color-text-secondary);
	text-align:Center;
	 font-size: 15px;
    font-weight: 500;
	line-height:35px;
	border-top:1px solid #e1e1e1;
}

/* Quick Links Styling */
.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links a {
    color: var(--color-text-primary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: var(--color-red-primary);
}

/* Social Links Styling */
.contact-social p {
    margin-bottom: 0.5rem;
	    font-size: 16px;
}

.social-links a {
    color: var(--color-text-primary);
    font-size: 1.5rem;
    margin-right: 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-red-primary);
}

/* -------------------- */
/* 13. MOBILE ADJUSTMENTS FOR FOOTER (Add inside @media block) */
/* -------------------- */
/* Add these styles to your existing @media (max-width: 768px) { ... } block */

@media (max-width: 768px) {
    /* ... existing mobile styles ... */
    
    .footer-container {
        grid-template-columns: 1fr; /* Stack all columns vertically */
        text-align: center;
    }

    .footer-col {
        margin-bottom: 1.5rem;
    }

    .footer-logo {
        justify-content: center; /* Center the logo in mobile view */
    }

    .footer-logo .logo-wrapper img {
        width: 100px;
        max-width: 45vw;
    }

    .quick-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .quick-links li {
        width: 50%; /* Two links per row */
    }
}
/* -------------------- */
/* 14. TRUCK ANIMATION STYLES */
/* -------------------- */

.main-header {
    /* Ensure there's space between the logo and navigation for the track */
    gap: 15px; /* Add a small gap between main elements */
}

.truck-animation-track {
    /* Crucial: Takes up all available space between logo and navigation */
    flex-grow: 1; 
    height: 35px; /* Match the logo height for alignment */
    position: relative; /* Container for absolute positioned trucks */
    /*overflow: hidden;&=*/ /* Hide the trucks when they go beyond the track */
    /* Optional: Small dashed line for a road feel */
    border-bottom: 2px dashed var(--color-border);
	width: 100%;
}

/* -------------------- */
/* 14. TRUCK ANIMATION STYLES (Updated for Font Awesome Icons) */
/* -------------------- */

.moving-vehicle {
    /* REMOVE all position, left, bottom, and animation properties */
    
    /* Keep styling and vertical centering of the icon within the wrapper */
    font-size: 2.5rem; 
    color: var(--color-red-primary); 
    line-height: 1; 
    
    /* Ensure the icon fits within the wrapper */
    display: block; 
}

/* Specific size adjustments remain here */
.truck-1 { font-size: 2rem; }
.truck-2 { font-size: 2.5rem; }
.truck-3 { font-size: 2.2rem; }
/* New Truck Size Definitions */
.truck-4 {font-size: 1.8rem; /* Very small/fast */
}

.truck-5 {
    font-size: 2.3rem; /* Mid-size/heavy feel */
}
/* New: Container for positioning and animating the icons */
.truck-wrapper {
    position: absolute; /* Allows movement within the track */
    
    /* Apply animation and movement to the wrapper */
    animation: move-and-flip 10s linear infinite;
    transform-origin: center bottom; /* Ensures rotation is correct */
    
    /* CRITICAL VERTICAL ALIGNMENT FIX: */
    /* Anchor the wrapper 1px above the dotted line */
    bottom: 1px; 
    
    /* Horizontal starting position */
    left: 0;
}
/* Move Speed and Delay to the Wrapper */
.truck-1-wrapper {
    animation-duration: 7s; 
    animation-delay: -1s;
    width: 9.2%;
}

.truck-2-wrapper {
    animation-duration: 14s; 
    animation-delay: -5s;
    width: 9.2%;
}

.truck-3-wrapper {
    animation-duration: 10s;
    animation-delay: -10s;
   width: 9.2%;
}
.truck-4-wrapper {
    animation-duration: 6s;    /* VERY FAST: Completes the cycle in 6 seconds */
    animation-delay: -12s; 
    width: 9.2%;    /* Start late in the previous cycle */
    /* Add scaleX if necessary based on your previous fixes */
    /* transform: scaleX(1.06); */ 
}

/* 5. SLOW/MEDIUM Truck (Mid-range duration) */
.truck-5-wrapper {
    animation-duration: 12s;   /* Slightly faster than the slowest truck */
    animation-delay: -8s; 
    width: 9.2%;     /* Starts 8 seconds into the cycle */
    /* transform: scaleX(1.04); */ 
}
/* Dark Mode Color Adjustment */
.dark-mode .moving-vehicle {
    /* Use a contrasting color for Dark Mode, like white or a brighter red */
    color: #FFFFFF; /* Example: A brighter orange-red for visibility */
    filter: none;
}
/* -------------------- */
/* 15. ABOUT US TRACER ANIMATION STYLES */
/* -------------------- */

.about-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 2rem auto;
}

.about-content-wrapper {
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}
/* -------------------- */
/* 15. ABOUT US HIGHWAY ANIMATION STYLES (Guaranteed Full Height & Framing) */
/* -------------------- */

/* A. SECTION SETUP */
.about-us {
    /* CRITICAL: Set position relative for tracks to use it as reference */
    position: relative; 
    padding-top: 8rem; 
    padding-bottom: 8rem; /* Ensure padding on the bottom edge */
    /* Add extra padding on sides to create space between screen edge and tracks */
    padding-left: 5%; 
    padding-right: 5%; 
}

/* B. TRACK DIMENSIONS AND APPEARANCE */
.tracer-track {
    /* CRITICAL: Absolute position and 100% height fix */
    position: absolute; 
    top: 0; 
    width: 15px; 
    height: 100%; /* GUARANTEED FULL HEIGHT */
    
    overflow: hidden; 
    z-index: 1;
    
    /* Fixed Road Edges */
    border-left: 2px solid var(--color-text-secondary); 
    border-right: 2px solid var(--color-text-secondary); 
    
    /* Moving dashed lines in the center */
    background-image: linear-gradient(to bottom, var(--color-red-primary) 50%, transparent 50%);
    background-size: 100% 50px; 
    
    /* Animation definition */
    animation: highway-motion 0.8s linear infinite; 
}

/* C. TRACK POSITIONING (Framing the Content) */
/* Assuming the content is centered with max-width: 1200px */
.left-track {
    /* Calculates the position based on screen center minus half the content width (e.g., 400px) */
    left: calc(50% - 415px); /* Adjust 415px until it sits next to the content */
}

.right-track {
    right: calc(50% - 415px); /* Must match the left calculation */
}

/* Mobile adjustments (Stops the animation from pushing content off screen) */
@media (max-width: 850px) {
    .left-track, .right-track {
        /* Hide the animation tracks on smaller screens */
        display: none; 
    }
}
/* NEW KEYFRAME: Seamless Highway Motion */
/* -------------------- */
@keyframes highway-motion {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; } /* Moves the background 100px down */
}
/* -------------------- */


/* 17. FULL-WIDTH MAP SECTION STYLES */
/* 17. FULL-WIDTH MAP SECTION STYLES */

.full-width-map-section {
    width: 100%;
    padding: 0; 
    margin-top: 4rem; 
    margin-bottom: 0; 
    overflow: hidden; 
    display: block; 
}

.static-map-image {
    /* Ensures the image is responsive and fills its container */
    display: block;
    width: 100%;
    height: 400px; 
    /* CRITICAL: Ensures the image covers the area without distortion */
    object-fit: cover; 
}



/*==============================================================================*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Desktop Menu */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    /*color: #000;*/
    font-weight: 500;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: relative;
        top: 0px;
        left: 0;
        width: 100%;
        /*background: #ffffff;*/
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 15px;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        padding: 12px 0;
        display: block;
    }

    .main-nav.active {
        display: block;
    }
}


:root {
    --bg-color: #ffffff;
    --text-color: #000000;
}

/* Logo visibility */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
    width: 150px;
    max-width: 36vw;
    height: auto;
}

/* Dark Theme */
body.dark-theme {
    --bg-color: #0f172a;
    --text-color: #ffffff;
}

body.dark-theme .logo-light {
    display: none;
}

body.dark-theme .logo-dark {
    display: block;
    width: 150px;
    max-width: 45vw;
    height: auto;
}

/* Optional logo sizing */
.logo img {
    max-height: 60px;
}



/*===========================================*/

.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.slides {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
	 background-attachment: scroll;
}

.slides.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
	background-color: rgba(0, 0, 0, 0.8);
	padding:10px;
	text-transform:capitalize;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 20px;
    }
    .hero-content {
        left: 10%;
        right: 10%;
        width: auto;
    }

    .slider:before{left: 4px;}
    .hero-slider {
        height: 70vh;
    }
    .slides {
        background-attachment: scroll;
    }
    .logo-light,
    .logo-dark,
    .logo-wrapper img {
        width: 130px;
        max-width: 45vw;
    }
}





/*=================================*/
.logo-dark { display: none; }

body.dark-mode .logo-light {
    display: none;
}

body.dark-mode .logo-dark {
    display: block;
    width: 220px;
    max-width: 45vw;
}



.menu-toggle {
    color: #111827;
}

body.dark-mode .menu-toggle {
    color: #ffffff;
}



.my-map {
  filter: grayscale(100%) invert(100%);
}

.gap-about{margin-top:50px;}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}




.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0px auto;
    padding: 0px 30px;
    /*background: #0f172a;*/
    color: #ffffff;
    border-radius: 12px;
    overflow: visible;
}

.testimonial-track {
    position: relative;
    min-height: 0;
}

.testimonial-block {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-block.active {
    opacity: 1;
    transform: translateX(0);
    position: absolute;
    pointer-events: auto;
}

.testimonial-block blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.client-source {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
}

.testimonial-controls {
    position: absolute;
    bottom: 12px;
    right: 20px;
    transform: translateY(100%);
}

.testimonial-controls button {
    background: #1e293b;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.3s ease;
}

.testimonial-controls button:hover {
    background: #D32F2F;
}

@media (max-width: 768px) {
    .testimonial-block blockquote {
        font-size: 1.05rem;
    }
}

/* ---- High-priority logo size lock (prevents old cache style conflicts) ---- */
.main-header .logo-wrapper .logo-light,
.main-header .logo-wrapper .logo-dark {
    width: 162px !important;
    max-width: 36vw !important;
    height: auto !important;
}

.footer-logo .logo-wrapper {
    width: 260px !important;
    max-width: 100% !important;
}

.footer-logo .logo-wrapper .logo-light,
.footer-logo .logo-wrapper .logo-dark {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .main-header .logo-wrapper .logo-light,
    .main-header .logo-wrapper .logo-dark {
        width: 112px !important;
        max-width: 45vw !important;
    }

    .footer-logo .logo-wrapper {
        width: 210px !important;
        margin: 0 auto !important;
    }

    .footer-logo .logo-wrapper .logo-light,
    .footer-logo .logo-wrapper .logo-dark {
        width: 100% !important;
        max-width: 45vw !important;
    }
}

/* Direct element targeting for visible logo sizing on live builds */
.site-logo-header {
    width: 192px !important;
    max-width: 42vw !important;
    height: auto !important;
    transform: none !important;
}

.site-logo-footer {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .site-logo-header {
        width: 132px !important;
        max-width: 56vw !important;
        transform: none !important;
    }

    .site-logo-footer {
        width: 220px !important;
        max-width: 82vw !important;
        transform: none !important;
    }
}
