/* ═══════════════════════════════════════════════
   V2 Hero Banner Slider
   ═══════════════════════════════════════════════ */

.hero-banner-slider {
    position: relative;
    overflow: hidden;
}

/* ── Individual Slide ── */
.hbs-slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    position: relative;
    padding: 0 0 80px;
    min-height: 90vh !important;
    display: flex !important;
    align-items: center;
}

.hbs-slide::before {
    content: "";
    position: absolute;
    background: rgba(0, 46, 91, 0.2);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hbs-slide .container {
    position: relative;
    z-index: 2;
}

.hbs-slide .hero-inner {
    position: relative;
}

/* ── Reuse hero-banner content styles ── */

.hbs-slide .hero-subtitle {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
    font-size: var(--subtitle-font-size, 18px);
}

.hbs-slide .hero-subtitle.has-border::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 6px;
    background-color: var(--subtitle-border-color, currentColor);
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 6px;
}

.hbs-slide .hero-below-title-image {
    margin-bottom: 24px;
}

.hbs-slide .hero-below-title-image img {
    max-width: 150px;
    height: auto;
}

.hbs-slide .hero-short-description {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hbs-slide .hero-heading {
    color: #fff;
    font-size: var(--heading-font-size, 64px);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
}

.hbs-slide .hero-description {
    font-size: 14px;
    color: #fff;
    margin-top: 30px;
}

.hbs-slide .hero-buttons .btn-primary {
    margin-right: 10px;
}

.hbs-slide .btn-primary,
.hbs-slide .btn-outline {
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 12px 32px;
}

.hbs-slide .btn-primary {
    background-color: var(--secondary-clr);
}

.hbs-slide .btn-outline {
    background-color: #222831;
    border-color: rgba(255, 255, 255, 0.4);
}

.hbs-slide .btn-outline:hover {
    background-color: rgba(187, 50, 50, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
}

.hbs-slide .btn.no-border {
    border: none;
}

.hbs-slider .slick-dots li {
    margin: 0;
}

.hbs-slide .btn.has-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hbs-slide .btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    width: 1em;
    height: 1em;
}

.hbs-slide .btn-arrow-fa {
    font-size: 16px;
    line-height: 1;
}

.hbs-slide .btn.has-arrow:hover .btn-arrow {
    transform: translateX(4px);
}

.hbs-slide .btn {
    border: 1px solid transparent;
}

.hbs-slide .btn:hover {
  background: #fff;
  color: var(--secondary-clr);
  border-color: var(--secondary-clr);
}
/* ── Stats ── */
.hbs-slide .hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.hbs-slide .stat-item {
    color: #fff;
    min-width: 180px;
    flex: 1;
}

.hbs-slide .stat-item:not(:last-child) {
    border-right: 1px solid;
}

.hbs-slide .stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.hbs-slide .stat-item p {
    opacity: .9;
    margin: 0;
    color: #fff;
    font-family: var(--heading-font);
}

.hbs-slide .hero-stats--bordered {
    gap: 24px;
}

.hbs-slide .hero-stats--bordered .stat-item {
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 10px 10px;
    text-align: center;
    min-width: 150px;
}

.hbs-slide .hero-stats--bordered .stat-item:not(:last-child) {
    border-right: 1px solid #fff;
}

.hbs-slide .hero-stats--bordered .stat-item h3 {
    font-size: 36px;
    color: var(--secondary-clr, #ff6b35);
    font-weight: 600;
    line-height: 1.3;
}

.hbs-slide .hero-stats--checkmarks {
    gap: 8px;
    margin-top: 30px;
    justify-content: flex-start;
}

.hbs-slide .stat-check-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-right: 12px;
}

.hbs-slide .stat-check-item .check-icon {
    color: #fff;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   Slick Overrides for Hero Slider
   ═══════════════════════════════════════════════ */

/* Arrows */
.hero-banner-slider .slick-prev,
.hero-banner-slider .slick-next {
    z-index: 10;
    width: 48px;
    height: 48px;
}

.hero-banner-slider .slick-prev {
    left: 24px;
}

.hero-banner-slider .slick-next {
    right: 24px;
}

.hero-banner-slider .slick-prev::before,
.hero-banner-slider .slick-next::before {
    font-size: 30px;
    opacity: 0.85;
}

.hero-banner-slider .slick-prev:hover::before,
.hero-banner-slider .slick-next:hover::before {
    opacity: 1;
}

/* Dots */
.hero-banner-slider .slick-dots {
    bottom: 130px;
    z-index: 10;
}

.hero-banner-slider .slick-dots li button::before {
    font-size: 12px;
    color: #fff;
    opacity: 0.5;
}

.hero-banner-slider .slick-dots li.slick-active button::before {
    color: #fff;
    opacity: 1;
}

/* No-slides placeholder */
.hbs-no-slides {
    padding: 60px 20px;
    text-align: center;
    background: #f0f0f0;
    color: #666;
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hbs-slide {
        min-height: 100vh;
        padding: 60px 0;
    }

    .hbs-slide .hero-heading {
        font-size: 48px;
        line-height: 1.2;
    }

    .hbs-slide .hero-stats {
        gap: 30px;
    }

    .hbs-slide .stat-item h3 {
        font-size: 28px;
    }

    .hbs-slide .stat-item {
        min-width: 150px;
    }

    .hbs-slide .hero-stats--bordered .stat-item {
        min-width: 140px;
        padding: 16px 20px;
    }

    .hbs-slide .hero-stats--bordered .stat-item h3 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .hbs-slide[style*="--mobile-bg-image"] {
        background-image: var(--mobile-bg-image) !important;
    }

    .hbs-slide {
        padding: 40px 20px;
        min-height: 100vh !important;
        align-items: stretch;
    }

    .hbs-slide .container {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .hbs-slide .hero-inner {
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .hbs-slide .hero-inner > *:first-child {
        margin-top: auto;
    }

    .hbs-slide .hero-heading br {
        display: none;
    }

    .hbs-slide .hero-heading {
        font-size: 36px;
        line-height: 1.2;
    }

    .hbs-slide .hero-short-description {
        font-size: 16px;
    }

    .hbs-slide .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hbs-slide .hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
        margin-top: auto;
        padding-bottom: 20px;
    }

    .hbs-slide .hero-buttons .btn:not(:only-child) {
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }

    .hbs-slide .hero-buttons .btn-primary {
        margin-right: 0;
    }

    .hbs-slide .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .hbs-slide .stat-item {
        min-width: auto;
        border-right: none !important;
    }

    .hbs-slide .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .hbs-slide .stat-item h3 {
        font-size: 24px;
    }

    .hbs-slide .stat-item p {
        font-size: 14px;
    }

    .hbs-slide .hero-stats--bordered .stat-item {
        min-width: auto;
    }

    .hbs-slide .hero-stats--checkmarks {
        display: flex;
        flex-wrap: wrap;
    }

    .hbs-slide .stat-check-item {
        font-size: 14px;
    }

    .hero-banner-slider .slick-prev {
        left: 10px;
    }

    .hero-banner-slider .slick-next {
        right: 10px;
    }

    .hero-banner-slider .slick-dots {
        bottom: 10px;
    }

    .hbs-slide {
        min-height: calc(100vh - 70px) !important;
    }
}

@media (max-width: 480px) {
    .hbs-slide {
        padding: 30px 15px;
    }

    .hbs-slide .hero-heading {
        font-size: 28px;
    }

    .hbs-slide .hero-buttons .btn {
        font-size: 13px;
        padding: 10px 18px !important;
    }

    .hero-banner-slider .slick-prev,
    .hero-banner-slider .slick-next {
        width: 36px;
        height: 36px;
    }

    .hero-banner-slider .slick-prev::before,
    .hero-banner-slider .slick-next::before {
        font-size: 22px;
    }
}
