.views-hero-slider {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    position: relative;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Image Positioning and Sizing */
.views-slider-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.views-slider-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content Container Styling */
.views-slider-hero-content {
    position: relative;
    z-index: 10;
    padding: 20px 5%;
    box-sizing: border-box;
    width: 100%;
    background: rgba(0, 0, 0, 0.25); /* Subtle overlay for readability */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content block vertically */
}

.views-slider-hero-description-container {
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.views-slider-hero-description-container {
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.views-slider-heading-container {
    color: white;
    font-size: 1.8rem;
    line-height: 1.6;
}

.views-slider-hero-description-container p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Button Group Styling */
.views-slider-hero-links-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.views-slider-hero-btn a {
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.views-slider-hero-btn a:hover {
    background-color: white;
    color: #000;
    border: 2px solid white;
}

/*
========================================
SWIPER CONTROLS STYLES
========================================
*/
.swiper-button-next, .swiper-button-prev {
    color: white;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    z-index: 15;
}

.swiper-pagination-bullet-active {
    background: white;
}

/*
========================================
RESPONSIVENESS (Media Queries)
========================================
*/

/* Media Query for medium and large screens (min-width: 768px) */
@media (min-width: 768px) {
    .views-slider-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center the content vertically */
    }

    /* Align the content to the right */
    .views-slider-hero-content-right {
        align-items: flex-end;
    }

    /* Align the content to the center */
    .views-slider-hero-content-center {
        align-items: center; /* Corrected from flex-center to center */
    }
}

@media (max-width: 992px) {
    .views-slider-hero-description-container {
        max-width: 90%;
    }
    .views-slider-hero-description-container p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .views-hero-slider {
        height: 70vh;
    }
    .views-slider-hero-content {
        padding: 20px 3%;
        align-items: center;
    }
    .views-slider-hero-description-container {
        max-width: 90%;
    }
    .views-slider-hero-links-container {
        justify-content: center;
    }
    .views-slider-hero-btn a {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 6px;
    }
    .swiper-button-next::after, .swiper-button-prev::after {
        width: 10px;
        height: 10px;
        font-size: 1.5em;
    }
}