/* Position pagination dots outside (below) the slider */
.swiper-container {
    width: 100%;
    height: auto;
    padding-bottom: 50px; /* Space for pagination dots below */
}

/* Style for the pagination dots */
.swiper-pagination {
    position: relative;
    bottom: -20px; /* Moves the pagination below the slider */
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Style for individual pagination dots */
.swiper-pagination-bullet {
    width: 15px; /* Increase the size of the dots */
    height: 15px;
    background-color: #ccc;
    opacity: 1;
    margin: 0 5px; /* Space between dots */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Active pagination dot */
.swiper-pagination-bullet-active {
    background-color: #ff5722; /* Color for the active dot */
    transform: scale(1.3); /* Enlarge the active dot */
}

/* Optional: Hover effect for dots */
.swiper-pagination-bullet:hover {
    background-color: #ff5722;
}


/*.swiper-container {
    width: 100%;
    height: auto;
}
*/
.swiper-slide {
    position: relative;
}

.slider-image {
    width: 100%;
    height: 400px; /* Set the height you want for your slider images */
    overflow: hidden;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.slider-fullwidth-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    object-position: center; /* Keeps the center of the image in focus */
    display: block;
}

/* Grey box with centered content */
.slider-caption {
    position: absolute;
    bottom: 20px; /* Adjust the distance from the bottom */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255,255,255,0.9);
    color: #809595;
    padding: 19px 55px 18px;
    text-align: center;
    border-radius: 0;
}

.slider-caption:hover {
    color: #6d7d7d;
}

.elementor-kit-6 .slider-caption h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 22px;
}

.elementor-kit-6 .slider-button {
    background-color: #809595; /* Button color */
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 0;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.slider-caption:hover .slider-button {
    background-color: #6d7d7d;
    color: #fff;
}

/* Ensures the content is well positioned even on smaller screens */
@media (max-width: 768px) {
    .slider-caption {
        width: 80%;
        bottom: 10px;
    }
}
