/* Drive EV Hero Banner v2 — static layout with feature cards */

/* Override parent theme overflow:clip */
body.home .page_content_wrap .content_wrap_fullscreen {
    overflow: visible !important;
}
body.home .page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dev-hero-v2 {
    position: relative;
    width: 100%;
    min-height: calc(100dvh - var(--header-h, 80px));
    overflow: visible;
    margin-bottom: 0;
}

/* Background image */
.dev-hero-v2__bg {
    position: absolute;
    inset: 0;
    bottom: 0;
    background: url('/wp-content/uploads/2026/03/banner-new-1-1.jpg') center center / cover no-repeat;
    z-index: 0;
}
.dev-hero-v2__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* Content area */
.dev-hero-v2__content {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: 0 auto;
    padding-top: clamp(80px, 15vh, 180px);
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 8vh, 100px);
}

/* Heading */
.dev-hero-v2__heading {
    width: 100%;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
    margin: 0 0 12px;
    line-height: 1.2;
    max-width: 900px;
}
.dev-hero-v2__heading strong {
    font-weight: 500;
}
.dev-hero-v2__subheading {
    font-size: 1em;
    font-weight: 400;
}
.dev-hero-v2__mobile-br {
    display: none;
}

/* Bullet points */
.dev-hero-v2__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dev-hero-v2__bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.3;
}
.dev-hero-v2__bullets li strong {
    font-weight: 700;
}
.dev-hero-v2__bullet-icon {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    flex-shrink: 0;
}

/* Feature cards — positioned at bottom of hero */
.dev-hero-v2__cards {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    gap: 14px;
}
.dev-hero-v2__card {
    background: rgba(240, 242, 245, 0.80);
    border-radius: 8px;
    padding: 14px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 140px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.dev-hero-v2__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.dev-hero-v2__card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700 !important;
    color: #00337a;
    line-height: 1.4;
    margin: 0;
    min-height: calc(1.4em * 3);
    display: flex;
    align-items: flex-start;
}
.dev-hero-v2__card-btn {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #00337a;
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.dev-hero-v2__card-btn:hover {
    background: #002255;
    color: #fff;
}

/* ── Responsive ── */

/* Large screens */
@media (min-width: 1440px) {
    .dev-hero-v2__heading {
        font-size: 38px;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .dev-hero-v2 {
        min-height: 80vh;
    }
    .dev-hero-v2__content {
        padding-top: clamp(40px, 6vh, 80px);
        gap: clamp(20px, 4vh, 40px);
    }
    .dev-hero-v2__heading {
        font-size: 28px;
    }
    .dev-hero-v2__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .dev-hero-v2__card {
        min-height: 130px;
    }
}

/* Tablet portrait / Mobile */
@media (max-width: 767px) {
    .dev-hero-v2 {
        height: calc(100dvh - var(--header-h, 60px));
        min-height: auto;
        overflow: hidden;
    }
    .dev-hero-v2__content {
        padding: 0 16px clamp(80px, 15vh, 150px);
        gap: 0;
        text-align: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .dev-hero-v2__heading {
        font-size: 22px;
        margin-bottom: 0;
        margin-top: 30px;
        letter-spacing: 0.3px;
        text-align: center;
        max-width: 100%;
        line-height: 1.1;
    }
    .dev-hero-v2__heading strong {
        letter-spacing: 0.5px;
        display: block;
        font-size: 28px;
        margin-bottom: 0;
    }
    .dev-hero-v2__subheading {
        font-size: 0.85em;
        display: inline-block;
        margin-bottom: 10px;
    }
    .dev-hero-v2__bullets {
        gap: 1px;
        align-items: center;
        margin-bottom: 0;
    }
    .dev-hero-v2__bullets li {
        font-size: 12px;
        gap: 4px;
        justify-content: center;
        letter-spacing: 0.3px;
        line-height: 1.6;
    }
    .dev-hero-v2__bullet-icon {
        display: none;
    }
    .dev-hero-v2__mobile-br {
        display: block;
    }
    .dev-hero-v2__cards {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        gap: 12px;
        width: 85%;
        padding: 0;
        margin: 45px auto 0;
    }
    /* Hide 5th card on mobile */
    .dev-hero-v2__card:nth-child(5) {
        display: none;
    }
    .dev-hero-v2__card {
        padding: 10px 8px;
        border-radius: 6px;
        width: auto;
        justify-content: space-between;
    }
    .dev-hero-v2__card-title {
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 1.3;
        letter-spacing: 0.2px;
        font-style: normal;
    }
    .dev-hero-v2__card-btn {
        font-size: 12px;
        padding: 8px 10px;
        letter-spacing: 0.8px;
    }
}

/* Small mobile (iPhone SE, etc.) */
@media (max-width: 400px) {
    .dev-hero-v2__heading {
        font-size: 14px;
    }
    .dev-hero-v2__heading strong {
        font-size: 16px;
    }
    .dev-hero-v2__bullets li {
        font-size: 9px;
    }
    .dev-hero-v2__card-title {
        font-size: 12px;
    }
    .dev-hero-v2__card-btn {
        font-size: 11px;
        padding: 7px 8px;
    }
}
