/* Hero Slider Styles */
/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    /* Default height for mobile/tablet (responsive) */
    height: 60vh;
    min-height: 480px;
    overflow: hidden;
    font-family: "montserrat-regular", sans-serif;
}

/* Laptop and Desktop Screens */
@media (min-width: 1024px) {
    .hero-slider-section {
        height: 100vh;
        /* Full viewport height for impact */
        max-height: 900px;
        /* Optional cap to prevent excessive scrolling on large vertical screens */
        min-height: 650px;
        /* User strict requirement */
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: block;
    height: 100%;
    /* Fill the container height */
    overflow: hidden;
}

.hero-slider-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Ensures image covers the area without distortion */
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    /* Allow clicks to pass through wrapper to buttons */
}

.hero-content {
    pointer-events: auto;
    /* Re-enable clicks on content */
    position: relative;
    text-align: left;
    max-width: 1140px;
    /* Standard bootstrap container width */
    width: 100%;
    padding: 0 15px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: "montserrat-bold", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: "librebaskerville-italic", serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #f35a1e;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: #07617d;
    /* Teal/Dark Blue from main.css */
    color: #fff !important;
    border: 2px solid #07617d;
}

.btn-primary:hover {
    background-color: #054a60;
    border-color: #054a60;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #333;
}

/* =========================================
   Modern & Classic Navigation/Pagination
   ========================================= */

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Modern Glassmorphism */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    /* Classic Circle Shape */
    color: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
    margin-top: 0;
    transform: translateY(-50%);
    display: flex;
    /* Ensure centering */
    align-items: center;
    justify-content: center;
}

/* Icon Sizing */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px;
    font-weight: bold;
}

/* Hover Effects */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #f35a1e;
    /* Brand Orange */
    border-color: #f35a1e;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Positioning */
.swiper-button-prev {
    left: 40px;
}

.swiper-button-next {
    right: 40px;
}

/* Pagination Dots */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 2px solid #fff;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 8px !important;
    position: relative;
}

/* Active Dot - Classic Modern Pill Shape */
.swiper-pagination-bullet-active {
    width: 36px;
    border-radius: 6px;
    background-color: #f35a1e;
    /* Brand active color */
    border-color: #f35a1e;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hover on Dots */
.swiper-pagination-bullet:hover {
    border-color: #f35a1e;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-content {
        padding: 0 40px;
        /* Add more padding on sides for smaller screens */
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        /* Center text on mobile */
        padding: 0 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
        /* Hide navigation arrows on mobile to prevent overlap */
    }
}

@media (max-width: 480px) {

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        /* Full width buttons on very small screens */
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}