/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    /* min-height removed, let content (slide) drive it */
    background-color: #000;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    /* Drive height from here */
    min-height: var(--hero-min-height, 600px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* Full Screen Support */
.hero-slider-section.h-full .hero-slide {
    min-height: 100vh;
}

/* Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 30, 74, 0.7);
    z-index: 1;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Alignment */
.align-left .hero-content {
    text-align: left;
    margin-left: 0;
}

.align-right .hero-content {
    text-align: right;
    margin-right: 0;
}

.align-left .hero-buttons,
.align-right .hero-buttons {
    justify-content: flex-start;
}

.align-right .hero-buttons {
    justify-content: flex-end;
}

/* Typography */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Alignment adjustment for subtitle */
.align-left .hero-subtitle {
    margin-left: 0;
}

.align-right .hero-subtitle {
    margin-right: 0;
}


/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Swiper Navigation & Pagination */
.hero-slider-section .swiper-button-next,
.hero-slider-section .swiper-button-prev {
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.hero-slider-section .swiper-button-next:hover,
.hero-slider-section .swiper-button-prev:hover {
    opacity: 0.8;
}

.hero-slider-section .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.4;
}

.hero-slider-section .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color, #fd5f17);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }

    /* Apply min-height to slide */
    .hero-slide {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-slider-section {
        padding: 0;
    }

    /* Apply mobile min-height and padding to slide */
    .hero-slide {
        min-height: var(--hero-mobile-min-height, 400px);
        padding: var(--spacing-lg) 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Force center on mobile */
    .hero-content,
    .align-left .hero-content,
    .align-right .hero-content {
        text-align: center;
    }

    .hero-subtitle,
    .align-left .hero-subtitle,
    .align-right .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .align-left .hero-buttons,
    .align-right .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-slider-section .swiper-button-next::after,
    .hero-slider-section .swiper-button-prev::after {
        font-size: 20px;
    }
}