:root {
    /* Tweak these two values to change speed */
    --transition-ms: 900ms; /* change this to slow down / speed up slide transition */
    --autoplay-delay-ms: 4000ms; /* change autoplay delay between slides */
    --mobile-nav-width: 280px; /* Width of the mobile slide-out menu */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.logo-img {
    height: 60px;       /* Adjust height to fit your navbar */
    width: auto;        /* Maintains aspect ratio */
    margin-right: 10px; /* Spacing between image and text */
    object-fit: contain;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2196F3;
}

/* Buttons */
.btn {
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #2196F3;
    color: white;
}

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* ========== DROPDOWN STYLES (FIXED) ========== */
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0; /* Increases click area */
}

.nav-trigger .chev {
    transition: transform 0.2s ease;
    font-size: 0.75rem;
    color: #666;
}

/* The Dropdown Container */
.nav-dropdown {
    position: absolute;
    top: 100%; 
    left: -10px; 
    /* 1. Increase min-width slightly */
    min-width: 260px; 
    /* 2. Add max-content so the box automatically stretches to fit the longest text */
    width: max-content; 
    /* 3. Optional: Add a max-width so it doesn't get ridiculously wide on long links */
    max-width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 0.5rem;
    display: none; 
    flex-direction: column; 
    gap: 0.25rem; 
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.06);
    margin-top: 15px; 
}

.nav-dropdown a {
    display: block; 
    padding: 0.75rem 1rem;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    /* 4. Change this from 'nowrap' to 'normal' so text wraps cleanly inside the box instead of spilling out */
    white-space: normal; 
    /* 5. Add a line-height so if it does wrap, the two lines aren't squished together */
    line-height: 1.4; 
}

.nav-dropdown a:hover {
    background: #F0F7FF; /* Light blue background on hover */
    color: #0066CC; /* Brand blue text */
    transform: translateX(5px); /* Subtle slide effect */
}

/* Active State (Triggered by JS) */
.nav-item.active .nav-dropdown {
    display: flex; /* Uses flex to respect the 'column' direction */
    animation: dropdownSlide 0.2s ease forwards;
}

.nav-item.active .chev {
    transform: rotate(180deg);
}

/* Dropdown Animation */
@keyframes dropdownSlide {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Hamburger Menu */
#menu-toggle {
    display: none;
}

.hamburger-label {
    display: none;
    z-index: 1001; 
    cursor: pointer;
    padding: 10px;
    position: relative;
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #2196F3;
    border-radius: 9px;
    transform-origin: left center;
    transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
}

/* Hamburger to X animation */
#menu-toggle:checked + .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translate(0px, 0px);
}

#menu-toggle:checked + .hamburger-label span:nth-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menu-toggle:checked + .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(0px, 0px);
}

/* Laptop/Desktop View Adjustment */
@media (min-width: 1024px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between; 
    }

    .nav-links {
        margin-left: auto; 
        margin-right: 24px; 
        display: flex;
        gap: 30px; 
        list-style: none;
    }
}

/* ========== UPDATED MARQUEE CSS ========== */
.marquee-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.marquee-title {
    text-align: center;
    color: #666;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.marquee-container {
    display: flex;
    overflow: hidden; /* Crucial to clip the scrolling track */
    width: 100%;
    position: relative;
    /* Optional: creates a fading edge effect so logos seamlessly enter/exit */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 10s linear infinite; /* Edit '20s' to make it faster/slower */
}

/* Pauses scroll on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.logo-slide {
    display: flex;
    align-items: center;
    gap: 4rem; /* Gap between logos */
    padding-right: 4rem; /* Match the gap exactly to ensure seamless loop */
    flex-shrink: 0;
}

.logo-slide img {
    height: 100px; /* Master height */
    
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
    /* Removed grayscale & opacity filters completely to retain original colors */
}

.logo-slide img:hover {
    transform: scale(1.05); /* Slight bump up on hover */
}

.logo-slide img.boost-size {
    object-fit: contain;
    transform: scale(1.4);
}

.logo-slide img.boost-size:hover {
    transform: scale(1.45);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    /* Shifts exactly 50% left to match identical track sizes seamlessly */
    100% { transform: translateX(-50%); } 
}

@media (max-width: 768px) {
    .logo-slide img {
        height: 40px; /* Smaller logos for mobile */
    }
    .logo-slide {
        gap: 2.5rem;
        padding-right: 2.5rem; /* Update padding to match the smaller gap on mobile */
    }
}
/* ========== END MARQUEE CSS ========== */

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-ms) ease-in-out;
    will-change: transform;
}

.hero-slide, .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.hero-slide::before,
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.85) 0%, rgba(53, 122, 189, 0.85) 50%, rgba(46, 92, 138, 0.85) 100%);
    pointer-events: none;
}

/* Carousel Controls */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 1.8rem;
    color: white;
    transition: transform .18s ease, background .18s;
    user-select: none;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.07);
    background: rgba(255,255,255,0.26);
}

.carousel-prev {
    left: 1.25rem;
}

.carousel-next {
    right: 1.25rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}


.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-hero {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.drone-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, rgba(42, 89, 138, 0.4), transparent);
    pointer-events: none;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%); 
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    height: 40px; 
    width: auto;
    object-fit: contain;
}

/* ========== SECTIONS ========== */
section {
    padding: 6rem 2rem;
}

.section-white {
    background: white;
}

.section-light {
    background: #f8fafc;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
}

/* ========== SERVICES / ICONS ========== */
/* Service & Feature Icons (SVG styling) */
.service-icon, .feature-icon {
    width: 60px;
    height: 60px;
    background: #EBF5FF; /* Light Blue Background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-size: 0; /* Hide any fallback text */
}

.service-icon svg, .feature-icon svg {
    width: 32px;
    height: 32px;
    color: #0066CC; /* Brand Blue */
    stroke-width: 1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-icon {
    background: #0066CC;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.service-card:hover .service-icon svg {
    color: #ffffff;
}

.service-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.service-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more:hover {
    gap: 0.75rem;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    text-align: center;
}

.stats-grid {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item {
    flex: 1 1 200px;
    max-width: 450px; /* Keeps them neatly sized */
}

/* ========== FEATURES ========== */
.features-section {
    padding: 6rem 2rem;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-item {
    flex: 1 1 250px;
    max-width: 280px; 
    text-align: center;
}
.feature-item .feature-icon {
    margin: 0 auto 1.5rem; /* Center align icons in features */
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #4A90E2, #2E5C8A);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(33, 150, 243, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: #FFA726;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #2196F3;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.company-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1976D2;
    border-radius: 20px;
    font-weight: 600;
}

/* ========== FOOTER ========== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #999;
    margin-top: 0.5rem;
    line-height: 1.7;
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #2196F3;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    /* ... your other mobile styles ... */

    /* Add this block to fix the footer collision */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
}
/* ========== RESPONSIVE ========== */

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3); /* Adds a nice pop against the image */
}

.hero-subtitle {
    /* 1. Ensure the font is large enough to be a 'lead' statement */
    font-size: clamp(1.8rem, 2vw, 2rem); 
    
    /* 2. INCREASE this until the 4 lines snap back to 2 */
    /* Start at 1100px. If it's still 3-4 lines, go to 1200px */
    max-width: 1200px; 
    
    /* 3. Tighten line height so the 2 lines look like a block */
    line-height: 1.3; 
    
    /* 4. Slight negative letter spacing helps long words fit */
    letter-spacing: -0.05em; 

    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }

    /* Show hamburger menu and hide desktop button */
    .hamburger-label {
        display: flex;
        align-items: center;
        height: 36px;
    }
    .nav-container > .btn-primary {
        display: none;
    }
    
    /* Mobile Menu Container - Side Slide-Out */
    .nav-links {
        position: fixed;
        top: 0;
        right: calc(0px - var(--mobile-nav-width));
        width: var(--mobile-nav-width);
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 1.5rem 2rem;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease-in-out;
        gap: 0.25rem;
        /* added from the new UI block */
        overflow-y: auto; 
        background: linear-gradient(to bottom, #ffffff, #f8f9fa); 
        border-left: 1px solid rgba(0,0,0,0.1);
    }

    /* Show the menu when the checkbox is checked */
    #menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Style links in the mobile menu */
    .nav-links li {
        width: 100%;
        margin-bottom: 1.25rem;
    }
    
    .nav-links a {
        padding: 0.75rem 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: #1a1a1a;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links li:last-of-type a {
        border-bottom: none;
    }

    /* Mobile Specific Dropdown Fix */
    .nav-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }

    .nav-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-trigger a {
        border-bottom: none !important;
    }

    .nav-dropdown {
        position: static; /* Removes absolute positioning on mobile */
        box-shadow: none;
        border: none;
        background: #f0f7ff; /* Slight blue background to distinguish */
        width: 100%;
        padding: 1rem 1.5rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
        display: none;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        animation: mobileDropdown 0.3s ease;
    }

    .nav-dropdown a {
        color: #2196F3;
        font-weight: 500;
        font-size: 0.95rem;
        border-bottom: none;
        padding: 0.75rem 0;
    }

    .nav-dropdown a:hover {
        background: rgba(33, 150, 243, 0.1);
    }

    /* Override the hover animation for mobile to feel snappier */
    .nav-item.active .nav-dropdown {
        display: flex;
    }

    /* Move Get Quote button inside the mobile menu */
    .btn-mobile-quote {
        display: list-item; 
        margin-top: 2rem;
        width: 100%;
    }

    .btn-mobile-quote a {
        width: 100%;
        text-align: center;
        display: block;
        font-size: 1rem;
        border-bottom: none;
    }

    .services-grid,
    .features-grid,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .carousel-prev {
        left: 1rem;
    }
    .carousel-next {
        right: 1rem;
    }
    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 769px) {
     .btn-mobile-quote {
        display: none !important;
     }
}

/* Reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .slides, .nav-links { 
        transition: none !important; 
    }
    .hamburger span { 
        transition: none !important; 
    }
}

/* ========== ABOUT PAGE STYLES ========== */
.about-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Color overlay removed; only the image remains */
    background-image: url('/images/about/banner.png');
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center;
    background-attachment: fixed;
    /* Redesigned to remove the gap */
    margin-top: 0;
}
.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 176, 235, 0.85) 0%, rgba(146, 201, 255, 0.85) 50%);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-hero-content p {
    font-size: 1.5rem;
    opacity: 0.95;
}

.about-content {
    padding: 6rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1.15) contrast(1.05);
}

/* Mission Section */
.mission-section {
    padding: 6rem 2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Values Section */
.values-section {
    padding: 6rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 6rem 2rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Responsive About Page */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    .about-hero-content p {
        font-size: 1.2rem;
    }
    .about-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mission-grid {
        direction: ltr;
    }
    .mission-image {
        order: -1;
    }
    .values-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== CONTACT PAGE STYLES ========== */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Left, 50% Right */
    gap: 4rem;
    align-items: flex-start;
}

/* --- Left Column --- */
.contact-left h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item strong {
    display: block;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.detail-item p, 
.detail-item a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    margin: 0;
}

.detail-item a:hover {
    color: #2196F3;
}

/* --- Right Column (Form) --- */
.contact-right {
    background: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-section {
    padding: 2rem 0;
}

.info-card {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.info-card.highlight-card {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card.highlight-card h3 {
    color: white;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text p, .info-text a {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
}

.info-text a:hover {
    color: #2196F3;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    display: inline-block;
    width: auto;
    min-width: 160px;
    padding: 0.9rem 2rem;
    background: #4A89C8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #F44336;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 6rem 1.5rem 4rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-intro {
        max-width: 100%;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
}


/* ========== SOLAR PAGE STYLES ========== */
.solar-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(71, 74, 250, 0.1), rgba(46, 121, 233, 0.1)), 
                url('/images/about/aboutus.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

.solar-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 176, 235, 0.85) 0%, rgba(146, 201, 255, 0.85) 50%);
}

.solar-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 2rem;
}

.solar-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.solar-hero-content p {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Solar Stats Section */
.solar-stats-section {
    background: white;
    padding: 4rem 2rem;
}

.solar-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.solar-stat-card {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.solar-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(245, 124, 0, 0.2);
}

.solar-stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solar-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F57C00;
    margin-bottom: 0.5rem;
}

.solar-stat-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Solar Solutions Grid */
.solar-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.solution-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.solution-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.solution-content {
    padding: 1.25rem 1.5rem;
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.solution-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.solution-content > p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 0.2rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F57C00;
    font-weight: bold;
}

/* Technology Section */
.solar-tech-section {
    padding: 6rem 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.tech-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.solar-benefits-section {
    padding: 6rem 2rem;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F57C00, #FF9800);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.benefits-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Process Section */
.solar-process-section {
    padding: 6rem 2rem;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #F57C00, #FF9800);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F57C00, #FF9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Solar CTA Section */
.solar-cta-section {
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.solar-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.solar-cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* Responsive Solar Page */
@media (max-width: 1024px) {
    .solar-solutions-grid {
        grid-template-columns: 1fr;
    }
    .solar-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-timeline {
        grid-template-columns: 1fr;
    }
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .solar-hero-content h1 {
        font-size: 2.5rem;
    }
    .solar-hero-content p {
        font-size: 1.1rem;
    }
    .solar-stats-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .benefits-image {
        order: -1;
    }
    .solar-cta-section h2 {
        font-size: 2rem;
    }
}
/* Container must be relative */
.solar-hero {
    position: relative;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* Ensure it's above everything */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    
    /* Perfect Centering */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Font formatting */
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    user-select: none;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Specific spacing for the arrow symbols to look centered */
.carousel-prev { left: 25px; padding-right: 5px; }
.carousel-next { right: 25px; padding-left: 5px; }

/* Ensure content doesn't block arrow clicks */
.solar-hero-content {
    position: relative;
    z-index: 10;
    pointer-events: none; 
}
.hero-buttons, .hero-subtitle {
    pointer-events: auto;
}

/* ========== MINING PAGE STYLES ========== */
.mining-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed the brown gradient, kept only the image */
    background: url('/images/mis/mining.png');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

.mining-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Lowered opacity from 0.85 to 0.4 for visibility */
    background: linear-gradient(135deg, rgba(128, 176, 235, 0.85) 0%, rgba(146, 201, 255, 0.85) 50%);
}

.mining-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 2rem;
}

.mining-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.mining-hero-content p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.mining-stats-section {
    background: white;
    padding: 4rem 2rem;
}

.mining-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.mining-stat-card {
    background: linear-gradient(135deg, #D7CCC8, #BCAAA4);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.mining-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(109, 76, 65, 0.2);
}

.mining-stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mining-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6D4C41;
    margin-bottom: 0.5rem;
}

.mining-stat-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.mining-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 4rem;
}

.mining-icon {
    background: linear-gradient(135deg, #D7CCC8, #BCAAA4) !important;
}

.mining-number {
    background: linear-gradient(135deg, #6D4C41, #5D4037) !important;
}

.mining-step {
    background: linear-gradient(135deg, #6D4C41, #5D4037) !important;
}

.mining-cta-section {
    background: linear-gradient(135deg, #6D4C41, #5D4037);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.mining-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.mining-cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* ========== AGRICULTURE PAGE STYLES ========== */
.agriculture-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed the brown gradient, kept only the image */
    background: url('/images/mis/agri-banner.png');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

.agriculture-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 176, 235, 0.85) 0%, rgba(146, 201, 255, 0.85) 50%);
}

.agriculture-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 2rem;
}

.agriculture-hero-content h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.agriculture-hero-content p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.agriculture-stats-section {
    background: white;
    padding: 4rem 2rem;
}

.agriculture-stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

.agriculture-stat-card {
    background: linear-gradient(135deg, #DCEDC8, #C5E1A5);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.agriculture-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(85, 139, 47, 0.2);
}

.agriculture-stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.agriculture-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #558B2F;
    margin-bottom: 0.5rem;
}

.agriculture-stat-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.agriculture-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.agriculture-icon {
    background: linear-gradient(135deg, #DCEDC8, #C5E1A5) !important;
}

.agriculture-number {
    background: linear-gradient(135deg, #558B2F, #689F38) !important;
}

.agriculture-step {
    background: linear-gradient(135deg, #558B2F, #689F38) !important;
}

.agriculture-cta-section {
    background: linear-gradient(135deg, #558B2F, #689F38);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.agriculture-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.agriculture-cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* ========== INFRASTRUCTURE PAGE STYLES ========== */
.infrastructure-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed the brown gradient, kept only the image */
    background: url('/images/mis/infra-banner.png');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

.infrastructure-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 176, 235, 0.85) 0%, rgba(146, 201, 255, 0.85) 50%);
}

.infrastructure-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.infrastructure-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.infrastructure-hero-content p {
    font-size: 2.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.infrastructure-stats-section {
    background: white;
    padding: 4rem 2rem;
}


.infrastructure-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.2);
}

.infrastructure-stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.infrastructure-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1565C0;
    margin-bottom: 0.5rem;
}

.infrastructure-stat-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.infrastructure-solutions-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; /* Pushes the wrapped cards to the center */
    gap: 2rem;
    margin-top: 3rem;
}

/* ADD THIS BLOCK to control the size of the cards */
.infrastructure-solutions-grid .solution-card {
    /* Starts cards at 300px, allows them to grow, but stops them at a maximum width */
    flex: 1 1 400px; 
    /* By setting max-width to around 350px - 380px, exactly 3 cards will fit on a standard desktop screen before wrapping the remaining 2 */
    max-width: 380px; 
}

.infrastructure-icon {
    background: linear-gradient(135deg, #BBDEFB, #90CAF9) !important;
}

.infrastructure-number {
    background: linear-gradient(135deg, #1565C0, #1976D2) !important;
}

.infrastructure-step {
    background: linear-gradient(135deg, #1565C0, #1976D2) !important;
}

.infrastructure-cta-section {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.infrastructure-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.infrastructure-cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* Responsive for all solution pages */
@media (max-width: 1024px) {
    .mining-solutions-grid,
    .agriculture-solutions-grid,
    .infrastructure-solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .mining-stats-grid,
    .agriculture-stats-grid,
    .infrastructure-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mining-hero-content h1,
    .agriculture-hero-content h1,
    .infrastructure-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mining-hero-content p,
    .agriculture-hero-content p,
    .infrastructure-hero-content p {
        font-size: 1.1rem;
    }
    
    .mining-stats-grid,
    .agriculture-stats-grid,
    .infrastructure-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mining-cta-section h2,
    .agriculture-cta-section h2,
    .infrastructure-cta-section h2 {
        font-size: 2rem;
    }
}

/* Enhanced Dropdown UI */
.nav-trigger {
    background: none;
    border: none;
    font: inherit;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-trigger:hover,
.nav-trigger:focus {
    color: #2196F3;
    outline: none;
}

.nav-item.active .nav-trigger {
    color: #2196F3;
}

/* Richer Mobile Menu UI */
@media (max-width: 768px) {
    .nav-links a,
    .nav-trigger {
        color: #1a1a1a;
        font-weight: 600;
        padding: 1rem 1.5rem; /* More padding for touch */
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@keyframes mobileDropdown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 300px; } /* Adjust based on content */
}

/* Hide desktop btn in mobile */
.desktop-btn {
    display: none;
}

@media (min-width: 769px) {
    .desktop-btn {
        display: inline-block;
    }
}

/* ========== AERIAL SURVEY PAGE STYLES ========== */



.aerial-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

/* Flexbox Grid for Aerial Solutions (Matches the recent fix we did) */
.aerial-solutions-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.aerial-solutions-grid .solution-card {
    flex: 1 1 300px; 
    max-width: 360px; 
}

.aerial-cta-section {
    background: linear-gradient(135deg, #00838F, #0097A7);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.aerial-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.aerial-cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* Tech and Process sections inherit from standard .tech-grid and .process-timeline 
   but we override the process step colors to match the Aerial theme */
.aerial-process-section .step-number {
    background: linear-gradient(135deg, #00838F, #0097A7);
    box-shadow: 0 4px 12px rgba(0, 131, 143, 0.3);
}

.aerial-process-section .process-timeline::before {
    background: linear-gradient(to right, #00838F, #0097A7);
}


@media (max-width: 1024px) {
    /* Add .aerial-solutions-grid here to force 2 columns on tablet */
    .infrastructure-solutions-grid,
    .aerial-solutions-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .infrastructure-solutions-grid .solution-card,
    .aerial-solutions-grid .solution-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    /* Add .aerial-solutions-grid here to force 1 column on mobile */
    .infrastructure-solutions-grid,
    .aerial-solutions-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* Aerial Benefits Section Theme */
.aerial-benefits-section .benefit-number {
    background: linear-gradient(135deg, #00838F, #0097A7);
    box-shadow: 0 4px 12px rgba(0, 131, 143, 0.3);
    color: white; /* Keeps the number white */
}

@media (max-width: 768px) {
    /* ... your other mobile styles ... */

    /* Force all about-images to appear FIRST on mobile */
    .order-image-left .about-image, 
    .order-image-right .about-image { 
        order: -1 !important; 
    }
    
    /* Force all about-text to appear SECOND on mobile */
    .order-image-left .about-text, 
    .order-image-right .about-text { 
        order: 2 !important; 
    }
}