/* ===== EV Charging Milestone Section ===== */
.ev-milestone {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, #131e4a 0%, #1a2a5e 100%);
}

.ev-milestone::before,
.ev-milestone::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ev-milestone::before {
    width: 520px;
    height: 520px;
    top: -200px;
    right: -160px;
    background: radial-gradient(circle, rgba(190, 10, 6, 0.28), transparent 70%);
}

.ev-milestone::after {
    width: 420px;
    height: 420px;
    bottom: -180px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 70%);
}

.ev-milestone .container {
    position: relative;
    z-index: 1;
}

.ev-milestone__layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ev-milestone__text,
.ev-milestone__media {
    width: 100%;
    padding: 0 15px;
}

.ev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: #be0a06;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.ev-eyebrow i {
    font-size: 13px;
}

.ev-milestone__title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
}

.ev-milestone__title span {
    color: #ff5a55;
}

.ev-milestone__lead {
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 28px;
}

.ev-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ev-stat {
    flex: 1 1 130px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 16px 18px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.ev-stat:hover {
    transform: translateY(-4px);
    border-color: #be0a06;
    background: rgba(255, 255, 255, 0.11);
}

.ev-stat strong {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.ev-stat small {
    display: block;
    margin-top: 6px;
    color: #c4cbe4;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Carousel */
.ev-carousel-wrap {
    position: relative;
    max-width: 520px;
    margin: 45px auto 0;
    padding-bottom: 46px;
}

.ev-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.ev-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
}

.ev-slide {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    height: 100%;
}

.ev-slide a {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.18);
    transition: border-color 0.3s ease;
}

.ev-slide.ev-slide-active a {
    border-color: #be0a06;
}

.ev-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 896 / 1192;
    object-fit: cover;
}

.ev-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(19, 30, 74, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.ev-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #be0a06;
}

.ev-nav {
    position: absolute;
    bottom: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.ev-nav:hover,
.ev-nav:focus-visible {
    background: #be0a06;
    border-color: #be0a06;
    transform: scale(1.08);
    outline: none;
}

.ev-prev {
    left: calc(50% - 110px);
}

.ev-next {
    right: calc(50% - 110px);
}

.ev-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 4;
}

.ev-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: all 0.3s ease;
}

.ev-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: #be0a06;
}

@media (min-width: 992px) {
    .ev-milestone__text {
        width: 50%;
        padding-right: 40px;
    }

    .ev-milestone__media {
        width: 50%;
    }

    .ev-milestone__title {
        font-size: 34px;
    }

    .ev-carousel-wrap {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .ev-milestone__title {
        font-size: 24px;
    }

    .ev-slide {
        width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ev-stat,
    .ev-nav {
        transition: none;
    }
}
