@import url("https://fonts.googleapis.com/css?family=Open+Sans");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    height: 600px;

}

/* Desktop Slider Styles */
.slider-container {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

.left-slide {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 0.5s ease-in-out;
    width: 35%;
}

.left-slide > div {
    align-items: center;
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.left-slide h1 {
    font-size: 40px;
    margin-bottom: 10px;
    margin-top: -30px;
}

.right-slide {
    height: 100%;
    left: 35%;
    position: absolute;
    top: 0;
    transition: transform 0.5s ease-in-out;
    width: 65%;
}

.right-slide > div {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

button {
    background-color: var(--light-color);
    border: none;
    color: var(--button-gray);
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
}

button:hover {
    color: var(--button-hover);
}

button:focus {
    outline: none;
}

.slider-container .action-buttons button {
    left: 35%;
    position: absolute;
    top: 50%;
    z-index: 100;
}

.slider-container .action-buttons .down-button {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    transform: translateX(-100%);
}

.slider-container .action-buttons .up-button {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    transform: translateY(-100%);
}

/* Mobile Swiper Slider Styles */
.mobile-slider {
    display: none;
    width: 95%;
    height: 500px;
    margin: 30px auto;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    text-align: left;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    padding: 15px 25px;
    background-color: var(--primary-overlay-color) !important;
}

.mobile-slide-content h2 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: var(--light-color);
}

.mobile-slide-content p {
    font-size: 14px;
    max-width: 100%;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.mobile-slide-image {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.mobile-slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5));
    z-index: 1;
}

/* Swiper Navigation and Pagination Styling */


.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Responsive Breakpoints */
@media screen and (max-width: 768px) {
    /* Hide desktop slider on mobile */
    .desktop-slider {
        display: none;
    }
    
    /* Show mobile slider */
    .mobile-slider {
        display: block;
    }
}

/* .sliderSection {
    margin-top: 200px;
    width: 100%;
    height: 600px;
} */