﻿
    /* Swiper Slide Styling */
.swiper-slide {
    background-size: cover; /* Ensures the image fills the slide completely */
    background-repeat: no-repeat; /* Prevents repeating the image */
    background-position: center; /* Keeps the focal point centered */
    width: 300%; /* Makes the slide take up the full width */
    height: 500px; /* Sets a fixed height, adjust as needed */
}


/* Swiper Container Styling */
.swiper {
    margin-top: 54.5rem;
    width: 100%;
    height: 50%;
    overflow: hidden; /* Prevent overflow */
}

/* Navigation Buttons Styling */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    position: absolute;
    top: 55%;
/*    transform: translateY(-50%);*/
    z-index: 10;
    width: 44px;
    height: 44px;
    cursor: pointer;
/*    background: rgba(0, 0, 0, 0.5);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

    /* Arrow Icons */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
        color: #fff;
    }

/* Wrapper Styling */
.swiper-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    width: 1215px;
    height: 100% !important;
}

/* Pagination (Optional) */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
}

.slider-container {
    position: relative;
    max-width: 100%;
    top: -14.8rem; /* Default for most browsers */
    margin: 0 auto;
    height: 21vw;
}

/* For Mozilla Firefox */
@supports (-moz-appearance: none) { /* This is a common Firefox-specific property */
    .slider-container {
        top: -10.7rem;
    }
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    height: 500px; /* Adjust height as needed */
    z-index: 1;

}

.fixed-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure text is above the slider */
    color: white;
    font-size: 1.3vw;
    text-align: justify;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    pointer-events: none; /* Prevent interaction with the overlay */
}

.fixed-overlay h2 {
    color: white;
}
