/*
Theme Name: Aerovolt Systems
Theme URI: https://example.com/aerovolt-systems
Author: Aerovolt Systems
Description: WordPress theme converted from the supplied Aerovolt Systems HTML, CSS, JavaScript, and image files.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aerovolt-systems
*/

/* ============================================================
   AEROVOLT SYSTEMS — Design tokens
   ============================================================ */
:root {
    --navy: #0d1b2a;
    --navy-soft: rgba(13, 27, 42, 0.9);
    --navy-text: #14273d;
    --blue-accent: #2552bb;
    --red: #c1121f;
    --red-dark: #9e0f19;
    --text-light: #f5f7fa;
    --gray-text: #4a5666;
    --muted: #aeb8c4;

    --header-h: 78px;
    --container: 1360px;
    --radius-pill: 30px;
    --font-family: 'Manrope', sans-serif;
}


/* ============================================================
   SHARED MOTION & MICRO-INTERACTIONS
   ============================================================ */
html {
    scroll-behavior: smooth;
}

.motion-ready .motion-hero,
.motion-ready .motion-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

.motion-ready .motion-hero.motion-scale {
    transform: translate3d(0, 16px, 0) scale(1.025);
}

.motion-ready .motion-hero.is-visible,
.motion-ready .motion-reveal.is-visible {
    animation: aerovolt-reveal .68s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--motion-delay, 0ms);
}

.motion-ready .motion-hero.motion-scale.is-visible {
    animation-name: aerovolt-reveal-scale;
}

.motion-delay-1 { --motion-delay: 70ms; }
.motion-delay-2 { --motion-delay: 140ms; }
.motion-delay-3 { --motion-delay: 210ms; }
.motion-delay-4 { --motion-delay: 280ms; }
.motion-delay-5 { --motion-delay: 350ms; }

@keyframes aerovolt-reveal {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes aerovolt-reveal-scale {
    from { opacity: 0; transform: translate3d(0, 16px, 0) scale(1.025); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.motion-ready .motion-bar {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .motion-bar.is-visible {
    transform: scaleX(1);
}

.main-nav a:not(.nav-dropdown-option)::after {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.main-nav a:not(.nav-dropdown-option):hover::after,
.main-nav a.active:not(.nav-dropdown-option)::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.menu-toggle span {
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.footer-newsletter-form {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.footer-newsletter-form:focus-within {
    border-color: rgba(37, 82, 187, .55);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 0 0 4px rgba(37, 82, 187, .1);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(37, 82, 187, .3);
    outline-offset: 3px;
}

:where(.cta-btn, .service-btn, .pilot-btn, .quote-submit-btn):active {
    transform: translateY(0) scale(.98);
}

:where(.cta-btn, .service-btn, .pilot-btn, .quote-submit-btn):hover .btn-arrow {
    transform: translate(2px, -2px);
}

@media (hover: hover) and (pointer: fine) {
    :where(.mission-card, .stat-card, .promise-card, .blog-featured-card,
        .article-sidebar-card, .wc-feature-card, .wc-advantage-item,
        .ndt-card, .quote-side-card, .capabilities-stat) {
        transition: transform .3s cubic-bezier(.22, 1, .36, 1),
                    box-shadow .3s ease, border-color .3s ease;
    }

    :where(.mission-card, .stat-card, .promise-card, .blog-featured-card,
        .article-sidebar-card, .wc-feature-card, .wc-advantage-item,
        .ndt-card, .quote-side-card, .capabilities-stat):hover {
        transform: translateY(-4px);
    }

    :where(.service-img, .team-card > img, .blog-featured-image img, .cta-img) {
        transition: transform .65s cubic-bezier(.22, 1, .36, 1);
    }

    .service-card:hover .service-img,
    .team-card:hover > img,
    .blog-featured-card:hover .blog-featured-image img,
    .cta-section:hover .cta-img {
        transform: scale(1.025);
    }

    :where(.why-icon, .ndt-feature-icon, .wc-feature-icon, .capabilities-stat-icon) {
        transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    }

    :where(.why-card, .ndt-feature-card, .wc-feature-card, .capabilities-stat):hover
    :where(.why-icon, .ndt-feature-icon, .wc-feature-icon, .capabilities-stat-icon) {
        transform: translateY(-2px) scale(1.04);
    }
}

@media (max-width: 600px) {
    .motion-ready .motion-hero,
    .motion-ready .motion-reveal {
        transform: translate3d(0, 18px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .motion-hero,
    .motion-reveal,
    .motion-bar {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* ============================================================
   RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-family);
    color: var(--navy);
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
}
button {
    font-family: inherit;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.logo img {
    height: 48px;
    width: auto;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy-text);
    padding-bottom: 12px;
    position: relative;
    transition: color .25s ease;
}
.main-nav a.active {
    color: var(--navy-text);
    font-weight: 600;
}
.main-nav a.active:not(.nav-dropdown-option)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
}
.main-nav a:hover {
    color: var(--red);
}

.mobile-cta-item {
    display: none;
}

.cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: background .25s ease, transform .2s ease;
}
.cta-btn:hover {
    background: #16283c;
    transform: translateY(-1px);
}

.cta-btn--dark {
    background: var(--red);
}
.cta-btn--dark:hover {
    background: var(--red-dark);
}

.cta-btn--small {
    font-size: 12px;
    padding: 8px 18px;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(13, 27, 42, .10);
}
.site-header.scrolled .cta-btn {
    background: var(--red);
}
.site-header.scrolled .cta-btn:hover {
    background: var(--red-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-text);
}



/* ============================================================
   SERVICES NAV DROPDOWN
   ============================================================ */
.nav-item--dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--navy-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    padding: 12px 14px;
    border-radius: var(--radius-pill);
    transition: color .25s ease, background .25s ease;
}
.nav-dropdown-toggle:hover {
    color: var(--red);
}

.nav-item--dropdown.open .nav-dropdown-toggle {
    color: var(--navy-text);
    background: rgba(13, 27, 42, 0.06);
}

.nav-caret {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.nav-item--dropdown.open .nav-caret {
    transform: rotate(180deg);
}

/* Widened two-column dropdown panel — premium glass card */
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 600px;
    padding: 30px 34px 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, #e7e9ed 0%, #dde0e6 100%);
    border: 1px solid rgba(13, 27, 42, 0.14);
    box-shadow:
        0 24px 55px rgba(13, 27, 42, 0.22),
        0 2px 10px rgba(13, 27, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: start;
    column-gap: 36px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 1100;
    overflow: hidden;
}

.nav-item--dropdown.open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}

.nav-dropdown-heading {
    position: relative;
    color: var(--navy-text);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin: 0 0 18px;
    white-space: nowrap;
}

.nav-dropdown-divider {
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.22) 15%, rgba(13, 27, 42, 0.22) 85%, transparent);
}

.nav-dropdown-option {
    position: relative;
    display: block;
    padding: 11px 16px 11px 20px;
    border-radius: 9px;
    color: var(--navy-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

/* Sliding red accent bar that grows in on hover */
.nav-dropdown-option::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 3px;
    height: 0%;
    border-radius: 3px;
    background: var(--red);
    transform: translateY(-50%);
    transition: height .2s ease;
}

.nav-dropdown-option:hover,
.nav-dropdown-option.active {
    background: rgba(255, 255, 255, 0.65) !important;
    color: var(--red) !important;
    transform: translateX(2px);
}
.nav-dropdown-option:hover::before,
.nav-dropdown-option.active::before {
    height: 60%;
}

/* Mobile: inline expanding block instead of floating panel */
@media (max-width: 992px) {
    .nav-item--dropdown {
        display: block;
        width: 100%;
    }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        color: var(--text-light);
        border-radius: 0;
    }
    .nav-item--dropdown.open .nav-dropdown-toggle {
        background: none;
        color: var(--text-light);
    }
    .nav-dropdown-panel {
        position: static;
        transform: none;
        min-width: 0;
        margin: 4px 0 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        transition: max-height .25s ease, padding .25s ease;
    }
    .nav-item--dropdown.open .nav-dropdown-panel {
        pointer-events: auto;
        max-height: 520px;
        padding: 12px 10px;
    }
    .nav-dropdown-divider {
        width: 100%;
        height: 1px;
    }
    .nav-dropdown-option {
        color: var(--navy-text);
        white-space: normal;
    }
}
/* ============================================================
   HERO — bottom curve
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-bottom: 200px;
}

.hero-media {
    position: absolute;
    inset: 0;
    bottom: 200px;
    overflow: hidden;
    border-bottom-left-radius: 255% 20%;
    border-bottom-right-radius: 255% 20%;
    z-index: 0;
    aspect-ratio: 16.1 / 9;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: calc(var(--header-h) + 100px) 32px 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--blue-accent);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding: 9px 20px;
    border: 1px solid rgba(37, 82, 187, 0.35);
    background: rgba(37, 82, 187, 0.08);
    border-radius: var(--radius-pill);
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.15;
    font-weight: 800;
    color: #16202b;
    margin-bottom: 22px;
    max-width: 660px;
    letter-spacing: -0.5px;
}
.hero-content h1 span {
    color: var(--blue-accent);
}

.hero-text {
    max-width: 500px;
    font-size: 17.5px;
    color: var(--gray-text);
    margin-bottom: 32px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    width: calc(100% - 64px);
    max-width: 1100px;
    background: var(--navy);
    border-radius: 18px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    box-shadow: 0 20px 50px rgba(13, 27, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    flex: 1;
    min-width: 0;
    padding: 4px 0;
}

.stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 12px;
}

.stat-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    opacity: 0.8;
}
.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.stat-info strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 1px;
}
.stat-info small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.4;
    color: var(--muted);
    text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero {
        padding-bottom: 160px;
    }
    .hero-media {
        bottom: 160px;
    }
    .stats-bar {
        padding: 14px 20px;
        gap: 4px;
        bottom: 10px;
    }
    .stat {
        gap: 6px;
    }
    .stat:not(:last-child) {
        padding-right: 10px;
    }
    .stat-info strong {
        font-size: 20px;
    }
    .stat-info small {
        font-size: 9.5px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--navy-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-nav.open {
        max-height: 420px;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 32px 20px;
    }
    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: var(--text-light);
    }
    .main-nav a.active::after {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 42px;
    }
    .hero-content {
        padding-top: calc(var(--header-h) + 40px);
    }

    .hero {
        padding-bottom: 120px;
    }
    .hero-media {
        bottom: 120px;
    }
    .stats-bar {
        width: calc(100% - 48px);
        flex-wrap: wrap;
        row-gap: 14px;
        justify-content: flex-start;
        padding: 14px 20px;
        bottom: -40px;
        border-radius: 16px;
    }
    .stat {
        flex: 1 1 42%;
        gap: 8px;
    }
    .stat:nth-child(2n) {
        border-right: none;
        padding-right: 0;
    }
    .stat-info strong {
        font-size: 20px;
    }
    .stat-info small {
        font-size: 9.5px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 14px 18px;
    }
    .cta-btn {
        padding: 11px 18px;
        font-size: 13px;
    }
    .hero-media {
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }
    .hero-content h1 {
        font-size: 33px;
    }
    .hero-text {
        font-size: 15px;
    }
    .eyebrow {
        font-size: 12px;
        padding: 7px 16px;
    }

    .hero {
        padding-bottom: 80px;
    }
    .hero-media {
        bottom: 90px;
    }
    .stats-bar {
        width: calc(100% - 32px);
        bottom: -90px;
        padding: 12px 20px;
        border-radius: 14px;
        flex-wrap: wrap;
        row-gap: 10px;
        gap: 4px;
    }
    .stat {
        flex: 1 1 100%;
        gap: 8px;
        padding: 5px 0;
    }
    .stat:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(260, 260, 260, 0.09);
        padding-bottom: 9px;
    }
    .stat-info strong {
        font-size: 18px;
    }
    .stat-info small {
        font-size: 9px;
    }
    .stat-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 420px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        padding: 12px 14px;
        gap: 12px;
    }
    .logo img {
        height: 38px;
    }
    .cta-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-content h1 {
        font-size: 27px;
    }
    .hero-text {
        font-size: 13.5px;
    }
    .stats-bar {
        padding: 10px 16px;
        border-radius: 12px;
    }
    .stat-info strong {
        font-size: 16px;
    }
    .stat-info small {
        font-size: 8.5px;
    }
    .stat-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: var(--header-h);
        padding-bottom: 110px;
    }
    .hero-media {
        bottom: 110px;
    }
    .hero-content {
        position: relative;
        bottom: auto;
        padding: 24px 32px 30px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .stats-bar {
        bottom: -20px;
    }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
    position: relative;
    min-height: 560px;
    margin-top: -80px;
    padding-top: 110px;
    padding-bottom: 150px;
    overflow: hidden;
}

.problem-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-top-left-radius: 255% 25%;
    border-top-right-radius: 255% 13%;
}
.problem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.problem-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 150px;
    display: block;
    z-index: 1;
}

.problem-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.55) 32%,
        rgba(255, 255, 255, 0) 58%
    );
    pointer-events: none;
}

.problem-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
}

.problem-text {
    max-width: 460px;
    margin-top: 36px;
    padding-left: 8px;
}

.section-label {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 22px;
}
.text-highlight {
    color: var(--red);
}

.problem-desc {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 22px;
}
.problem-desc--strong {
    font-weight: 700;
    color: var(--navy-text);
    margin-bottom: 0;
}

.problem-dots {
    position: absolute;
    left: 6%;
    bottom: 28px;
    width: 130px;
    height: 90px;
    z-index: 2;
    background-image: radial-gradient(rgba(13, 27, 42, 0.18) 1.6px, transparent 1.6px);
    background-size: 14px 14px;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .problem-section {
        margin-top: -60px;
        padding-top: 90px;
        padding-bottom: 130px;
        min-height: 500px;
    }
    .problem-curve {
        height: 110px;
    }
    .problem-dots {
        width: 100px;
        height: 70px;
        left: 5%;
        bottom: 20px;
    }
}

@media (max-width: 992px) {
    .problem-section {
        margin-top: -40px;
        padding-top: 70px;
        padding-bottom: 100px;
        min-height: 440px;
    }
    .problem-curve {
        height: 80px;
    }
    .problem-media::after {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.65) 30%,
            rgba(255, 255, 255, 0) 55%
        );
    }
    .problem-text {
        max-width: 100%;
        margin-top: 24px;
        padding-left: 0;
    }
    .problem-dots {
        display: none;
    }
}

@media (max-width: 600px) {
    .problem-media {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }
    .problem-curve {
        display: none;
    }
    .problem-section {
        margin-top: -20px;
        padding-top: 40px;
        padding-bottom: 60px;
        min-height: 420px;
    }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
    position: relative;
    scroll-margin-top: calc(var(--header-h) + 18px);
    z-index: 1;
    background: #fff;
    padding: 0px 32px 90px;
    margin-top: -45px;
}

.services-container {
    max-width: var(--container);
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;   /* pehle 52px tha */
}
.services-title .text-highlight {
    color: var(--red);
}

.services-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 550;
    color: var(--gray-text);
    margin-bottom: 52px;   /* purana spacing yahan shift ho gaya */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1160px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(13, 27, 42, 0.08), 0 0 0 1px rgba(37, 82, 187, 0.08);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}
.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--blue-accent));
    z-index: 2;
}
.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-accent), var(--navy));
    z-index: 2;
}
.service-card:hover {
    box-shadow: 0 22px 55px rgba(13, 27, 42, 0.20), 0 0 0 1px rgba(37, 82, 187, 0.16);
    transform: translateY(-4px);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge — LIVE / IN DEVELOPMENT pill on top-left of image */
.service-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    color: #fff;
}
.service-badge--live {
    background: var(--red);
    box-shadow: 0 6px 16px rgba(193, 18, 31, 0.4);
}
.service-badge--dev {
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.service-body {
    padding: 20px 10px 8px;
}

.service-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--navy-text);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-text);
    margin-bottom: 20px;
    min-height: 46px;
}

/* Buttons row */
.service-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--navy), #060d16);
    border-radius: var(--radius-pill);
    padding: 11px 20px;
    box-shadow: 0 8px 20px rgba(13, 27, 42, 0.38), 0 0 0 1px rgba(13, 27, 42, 0.15);
    transition: box-shadow .25s ease, transform .2s ease, background .25s ease;
}
.service-btn:hover {
    background: linear-gradient(135deg, #16283c, var(--navy));
    box-shadow: 0 12px 30px rgba(13, 27, 42, 0.5), 0 0 26px rgba(13, 27, 42, 0.35);
    transform: translateY(-2px);
}

/* Learn More — red outline pill */
.service-btn--outline {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
    box-shadow: none;
}
.service-btn--outline .btn-arrow {
    color: var(--red);
}
.service-btn--outline:hover {
    background: rgba(193, 18, 31, 0.08);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Diagonal arrow icon */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}
.btn-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}
.service-btn:hover .btn-arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
    .services-title {
        font-size: 26px;
        margin-bottom: 38px;
    }
    
    .services-subtitle {
        margin-bottom: 38px;
    }
}


@media (max-width: 600px) {
    .services-section {
        padding: 0 20px 60px;
    }
    .service-body {
        padding: 16px 6px 6px;
    }
    .service-actions {
        gap: 10px;
    }
}




/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    position: relative;
    background: #eef1f6; /* light greyish-blue */
    overflow: hidden;
    padding: 16px 0;
    white-space: nowrap;
    border-top: 1.5px solid var(--navy);
    border-bottom: 1.5px solid var(--navy);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--navy);
    text-transform: uppercase;
    padding: 0 22px;
}

.marquee-content .dot {
    padding: 0;
    color: var(--red);
    font-size: 8px;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .marquee-content span {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 0 14px;
    }
}
/* ============================================================
   WHY AEROVOLT SECTION
   ============================================================ */
.why-section {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 40px 32px 110px;
    overflow: hidden;
}

.why-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(60deg,  rgba(13, 27, 42, 0.10) 0, rgba(13, 27, 42, 0.10) 1px, transparent 1px, transparent 34px),
        repeating-linear-gradient(-60deg, rgba(13, 27, 42, 0.10) 0, rgba(13, 27, 42, 0.10) 1px, transparent 1px, transparent 34px),
        repeating-linear-gradient(0deg,   rgba(13, 27, 42, 0.08) 0, rgba(13, 27, 42, 0.08) 1px, transparent 1px, transparent 34px);
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 40%, #000 45%, transparent 97%);
            mask-image: radial-gradient(ellipse 95% 90% at 50% 40%, #000 45%, transparent 97%);
}

.why-container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
}

.why-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
}
.why-title .text-highlight {
    color: var(--red);
}

.why-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-text);
    margin-bottom: 10px;
}

.why-description {
    text-align: center;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--gray-text);
    max-width: none;
    white-space: nowrap;
    margin: 0 auto 48px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    max-width: 1220px;
    margin: 0 auto;
}

.why-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 34px 22px 28px;
    box-shadow: 0 12px 34px rgba(13, 27, 42, 0.08), 0 0 0 1px rgba(37, 82, 187, 0.08);
    overflow: hidden;
    text-align: center;
    transition: box-shadow .3s ease, transform .3s ease;
}

.why-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--red));
    z-index: 2;
}

.why-card:hover {
    box-shadow: 0 22px 55px rgba(13, 27, 42, 0.20), 0 0 0 1px rgba(37, 82, 187, 0.16);
    transform: translateY(-4px);
}

.why-glow {
    position: absolute;
    top: -46px;
    right: -46px;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 18, 31, 0.65) 0%, rgba(37, 82, 187, 0.5) 55%, transparent 78%);
    filter: blur(28px);
    z-index: 0;
    opacity: .85;
    transition: opacity .3s ease, transform .3s ease;
}
.why-card:hover .why-glow {
    opacity: 1;
    transform: scale(1.1);
}

.why-icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(193, 18, 31, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(13, 27, 42, 0.10);
}
.why-icon svg {
    width: 30px;
    height: 30px;
}

.why-card-title {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.why-card-desc {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    font-weight: 530;
    line-height: 1.6;
    color: var(--navy-text);
}

@media (max-width: 1100px) {
    .why-section {
        padding: 32px 32px 90px;
    }
    .why-title {
        margin-bottom: 14px;
    }
    .why-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 620px;
    }
    .why-title {
        font-size: 26px;
    }
    .why-description {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .why-section {
        padding: 30px 20px 70px;
    }
    .why-subtitle {
        font-size: 16px;
    }
    .why-description {
        font-size: 10px;
        letter-spacing: -0.1px;
        margin-bottom: 34px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 18px;
    }
    .why-card {
        padding: 30px 20px 24px;
    }
}
/* ============================================================
   BENCHMARK SECTION
   ============================================================ */
.benchmark-section {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 32px 110px;
    overflow: hidden;
}

.benchmark-container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
}

.benchmark-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 0;
    max-width: 1220px;
    margin: 0 auto;
    background: rgba(240, 242, 245, 0.65);
    border-radius: 18px;
    padding: 34px 38px;
    box-shadow: 0 12px 34px rgba(13, 27, 42, 0.06), 0 0 0 1px rgba(37, 82, 187, 0.06);
    border: 1px solid rgba(13, 27, 42, 0.10);
}

.benchmark-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.benchmark-info {
    padding-right: 40px;
}

.benchmark-stat {
    padding-left: 40px;
}

.benchmark-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(13, 27, 42, 0.12);
}

.benchmark-label {
    font-size: 25px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    white-space: nowrap;
}
.benchmark-label .text-highlight {
    color: var(--red);
    display: inline;
}

.benchmark-desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
    margin-bottom: 14px;
}
.benchmark-desc:last-child {
    margin-bottom: 0;
}

.benchmark-stat-title {
    font-size: 19px;
    font-weight: 900;
    color: var(--navy-text);
    margin-bottom: 8px;
}

.benchmark-big {
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 22px;
}
.benchmark-big strong {
    font-size: 40px;
    color: var(--red);
}

.benchmark-bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
}
.benchmark-bar-row:last-child {
    margin-bottom: 0;
}

.bar-label {
    flex: 0 0 150px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-text);
}

.bar-track {
    flex: 1 1 auto;
    height: 14px;
    border-radius: 8px;
    background: rgba(13, 27, 42, 0.08);
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    border-radius: 8px;
}
.bar-fill--gray {
    background: #d7dce2;
}
.bar-fill--red {
    background: var(--red);
}

.bar-percent {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    color: var(--red);
    text-align: right;
}
.bar-percent small {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--gray-text);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .benchmark-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 26px;
    }
    .benchmark-info,
    .benchmark-stat {
        padding-right: 0;
        padding-left: 0;
    }
    .benchmark-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 600px) {
    .benchmark-section {
        padding: 0 20px 70px;
    }
    .benchmark-card {
        padding: 22px 20px;
    }
    .bar-label {
        flex: 0 0 110px;
        font-size: 11.5px;
    }
    .benchmark-big {
        font-size: 28px;
    }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
/* ============================================================
   CTA SECTION — compact version, image full, smaller vertical space
   ============================================================ */
.cta-section {
    position: relative;
    min-height: 220px;          /* reduced from 320px */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cta-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(13, 27, 42, 0.96) 0%,
        rgba(13, 27, 42, 0.85) 38%,
        rgba(13, 27, 42, 0.35) 65%,
        rgba(13, 27, 42, 0.05) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 28px 32px;         /* reduced from 56px 32px */
}

.cta-heading {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    max-width: 620px;
    margin-bottom: 22px;        /* slightly reduced from 28px */
}
.cta-heading .text-highlight {
    color: var(--red);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.cta-btn--dark {
    background: var(--red);
}
.cta-btn--dark:hover {
    background: var(--red-dark);
}
.cta-btn--small {
    font-size: 12px;
    padding: 8px 18px;
}

.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 400;
    color: #fff;
    transition: color .2s ease;
}
.cta-email:hover {
    color: var(--red);
}
.cta-email-icon {
    display: flex;
    width: 20px;
    height: 20px;
}
.cta-email-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 700px) {
    .cta-heading {
        font-size: 24px;
    }
    .cta-content {
        padding: 22px 20px;     /* reduced for mobile too */
    }
    .cta-actions {
        gap: 16px;
    }
}

/* ============================================================
   FOOTER — with background image, less blur, stylish top glow line,
   left-side red arrows, darker line
   ============================================================ */
.site-footer {
    position: relative;
    background-image: url('images/Footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 32px 0;
    overflow: hidden;
}

/* White overlay — reduced opacity & blur for clearer image */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}

/* Stylish glowing top line — reddish/bluish/whitish gradient with glow */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(193, 18, 31, 0.6) 0%,
        rgba(193, 18, 31, 0.9) 15%,
        rgba(37, 82, 187, 0.7) 40%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(37, 82, 187, 0.7) 80%,
        rgba(193, 18, 31, 0.9) 100%
    );
    box-shadow: 0 0 20px rgba(193, 18, 31, 0.25),
                0 0 40px rgba(37, 82, 187, 0.15);
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.2fr;
    gap: 32px;
    padding-bottom: 44px;
    color: var(--navy);
}

.footer-logo img {
    height: 56px;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--navy);
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13, 27, 42, 0.08);
    color: var(--navy);
    transition: background .2s ease, color .2s ease;
}
.footer-socials a svg {
    width: 16px;
    height: 16px;
}
.footer-socials a:hover {
    background: var(--red);
    color: #fff;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col ul a {
    font-size: 13.5px;
    color: var(--navy);
    transition: color .2s ease;
    position: relative;
    display: inline-block;
    padding-left: 18px;   /* space for the arrow on the left */
}
/* Arrow on the LEFT side, RED */
.footer-col ul a::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    transition: transform .2s ease;
}
.footer-col ul a:hover {
    color: var(--red);
}
.footer-col ul a:hover::before {
    transform: translateX(2px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--navy);
}
.footer-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--red);
}
.footer-icon svg {
    width: 100%;
    height: 100%;
}

.footer-newsletter-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--navy);
    margin-bottom: 16px;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(13, 27, 42, 0.07);
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: var(--radius-pill);
    padding: 4px 4px 4px 16px;
}
.footer-newsletter-form input {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--navy);
    min-width: 0;
}
.footer-newsletter-form input::placeholder {
    color: var(--gray-text);
}
.footer-newsletter-form button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--red);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}
.footer-newsletter-form button svg {
    width: 16px;
    height: 16px;
}
.footer-newsletter-form button:hover {
    background: var(--red-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    font-size: 12.5px;
    color: var(--navy);
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 44px 20px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Responsive sizing: retain the existing desktop styles and breakpoints. */
.footer-col {
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-logo img { object-fit: contain; object-position: left center; }
.cta-email { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.btn-arrow, .cta-email-icon, .hero-pulse-dot, .wc-eyebrow-dot, .wc-live-dot { flex-shrink: 0; }

@media (max-width: 992px) {
    .header-inner { gap: 12px; }
    .logo { flex-shrink: 1; min-width: 0; }
    .logo img { object-fit: contain; object-position: left center; }
    .header-inner > .cta-btn {
        display: none;
    }
    .menu-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        visibility: hidden;
        transition: max-height .3s ease, visibility .3s ease;
    }
    .main-nav.open {
        max-height: calc(100vh - var(--nav-height, var(--header-h)));
        max-height: calc(100dvh - var(--nav-height, var(--header-h)));
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: visible;
    }
    .main-nav > ul { width: 100%; }
    .main-nav > ul > li { width: 100%; }
    .main-nav a.active:not(.nav-dropdown-option) { color: var(--text-light); }
    .main-nav .nav-dropdown-panel {
        visibility: hidden;
        margin: 0;
        border-width: 0;
    }
    .main-nav .nav-item--dropdown.open .nav-dropdown-panel {
        max-height: none;
        margin: 4px 0 8px;
        border-width: 1px;
        visibility: visible;
        transform: none;
    }
    .main-nav .nav-dropdown-option {
        padding: 12px 16px;
        color: var(--navy-text);
    }
    .main-nav .nav-dropdown-option:hover { color: var(--red); }
    .main-nav .nav-dropdown-option.active,
    .main-nav .nav-dropdown-option.active:hover {
        color: var(--red);
    }

    .mobile-cta-item {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .main-nav .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        padding: 13px 26px;
        border-radius: var(--radius-pill);
        background: var(--red);
        color: #fff;
        font-weight: 700;
        transition: background .25s ease;
    }

    .main-nav .mobile-nav-cta:hover {
        background: var(--red-dark);
        color: #fff;
    }
}

@media (max-width: 800px) and (min-width: 601px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .main-nav > ul { padding-left: 20px; padding-right: 20px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-col:has(.footer-contact),
    .footer-col:has(.footer-newsletter-form) { grid-column: 1 / -1; }
    .cta-btn, .service-btn, .pilot-btn, .quote-submit-btn {
        max-width: 100%;
        white-space: normal;
    }
    .header-inner > .cta-btn { white-space: nowrap; }
}


@media (max-width: 1100px) {
    .hero-media { aspect-ratio: auto; }
    .why-description { white-space: normal; }
}
@media (max-width: 992px) {
    .hero { min-height: auto; padding-bottom: 40px; }
    .hero-content { padding-bottom: 40px; }
    .hero-media { bottom: 120px; }
    .stats-bar {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 0 auto;
    }
    .problem-section { margin-top: 0; }
}
@media (max-width: 600px) {
    .hero-media { bottom: 220px; }
    .hero-img { object-position: left center; }
    .benchmark-label { white-space: normal; }
    .benchmark-col, .service-card, .stat-info { min-width: 0; }
    .service-badge { max-width: calc(100% - 28px); }
}
@media (max-width: 380px) {
    .benchmark-bar-row { gap: 8px; }
    .bar-label { flex-basis: 90px; }
}
@media (min-width: 1921px) {
    .hero-media { aspect-ratio: auto; }
}

/* ============================================================
   HERO BUTTONS — Request a Quote (red, tilted arrow) + Explore Services (outline)
   (kept at the very END of the file so it wins over the earlier .cta-btn rules)
   ============================================================ */
.hero-actions {
    display: flex;
    align-items: stretch;           /* both buttons end up the same height */
    flex-wrap: wrap;
    gap: 14px;                      /* small gap between the two buttons */
}

/* Explore Services — white outline pill, no icon */
.cta-btn--outline {
    background: rgba(255, 255, 255, .75);
    color: var(--navy-text);
    border: 1.5px solid rgba(20, 39, 61, .55);
}
.cta-btn--outline:hover {
    background: #fff;
    border-color: var(--navy);
    transform: translateY(-1px);
}

/* ============================================================
   SERVICES — grouped rows: "Autonomous Services" / "Engineering Services"
   (kept at the end of the file so it wins over earlier rules)
   ============================================================ */
@media (min-width: 901px) {
    .services-subtitle {
        margin-bottom: 36px;        /* small gap between the subtitle and the first heading */
    }
}

.services-group {
    max-width: 1160px;              /* same width as .services-grid, so headings line up with the cards */
    margin: 0 auto;
}
.services-group + .services-group {
    margin-top: 56px;
}

.services-group-title {
    margin: 0 0 22px;
    color: var(--blue-accent);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
    text-align: left;
}

/* image slot for cards whose picture is still to be added */
.service-media--pending {
    background: linear-gradient(135deg, #e9f1fc 0%, #d3e3f8 100%);
}
.service-media--pending .service-img {
    color: transparent;             /* hides the alt text while the image file is missing */
}

@media (max-width: 900px) {
    .services-group {
        max-width: 460px;
    }
    .services-group + .services-group {
        margin-top: 40px;
    }
    .services-group-title {
        font-size: 21px;
        margin-bottom: 18px;
    }
}

/* ============================================================
   ENGINEERING SERVICES — center a lone last card (odd count)
   in its own row, same card size as the others.
   ============================================================ */
.services-grid--eng > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .services-grid--eng > .service-card:last-child:nth-child(odd) {
        max-width: 100%;
    }
}

/* ============================================================
   ENGINEERING SERVICES — "Explore More Services" collapsible row
   Collapsed: only a peek of the next row (top edge / blue strip)
   is visible, faded out toward white, with a centered toggle
   button below it. Expanded: full height, fade disappears.
   ============================================================ */
.services-more-wrap {
    position: relative;
    overflow: hidden;
    max-height: 150px;
    margin-top: 30px;
    transition: max-height .6s cubic-bezier(.22, 1, .36, 1);
}
.services-more-wrap.is-expanded {
    max-height: 3000px;
}

.services-more-wrap .services-grid--more {
    margin-top: 0;
}

.services-more-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 78%);
    pointer-events: none;
    opacity: 1;
    transition: opacity .4s ease;
}
.services-more-wrap.is-expanded .services-more-fade {
    opacity: 0;
}

.services-more-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.services-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--navy-text);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-family);
    border: 1.5px solid rgba(37, 82, 187, 0.35);
    border-radius: var(--radius-pill);
    padding: 13px 26px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(13, 27, 42, 0.10);
    transition: background .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.services-more-btn:hover {
    background: rgba(37, 82, 187, 0.06);
    border-color: var(--blue-accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(13, 27, 42, 0.14);
}

.services-more-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.services-more-btn-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}
.services-more-wrap.is-expanded ~ .services-more-btn-wrap .services-more-btn-arrow {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .services-more-wrap {
        max-height: 130px;
    }
}