/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

/* Slider base styles */
.slider-custom-123 h2 {
    margin-bottom: 1rem;
}

.slider-custom-123 p {
    margin-bottom: 1rem;
}

.slider-custom-123 .slider-container {
    width: 100%;
    height: 525px;
    overflow: hidden;
    position: relative;
}

.slider-custom-123 .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-custom-123 .slide.active {
    opacity: 1;
}

/* Overlay */
.slider-custom-123 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-custom-123 .overlay::before,
.slider-custom-123 .overlay::after {
    content: "";
    position: absolute;
    width: 100%;
    background: #fff;
    opacity: 0.6;
}

.slider-custom-123 .overlay::before {
    height: 50%;
    top: 25%;
}

.slider-custom-123 .overlay::after {
    height: 20%;
    bottom: 25%;
}

/* Caption Styles */
.slider-custom-123 .caption {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.slider-custom-123 .caption img {
    height: 400px;
    min-height: 400px;
    border-radius: 200px;
    max-width: 100%;
    width: auto;
    opacity: 0;
    transform: translateX(-50px);
}

.slider-custom-123 .desc-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 75px;
    opacity: 0;
    transform: translateX(50px);
}

.slider-custom-123 .caption-description {
    color: #0879bc;
    font-style: italic;
    width: 100%;
    max-width: 600px;
}

.slider-custom-123 .text-uppercase {
    text-transform: uppercase !important;
}

.slider-custom-123 .slide-title {
    font-weight: 400;
    font-size: 36px;
}

.slider-custom-123 .caption .caption-description p {
    font-weight: 700;
    color: #0879bc;
    font-size: 36px;
    line-height: 36px;
}

.slider-custom-123 .caption .block-price {
    margin: 20px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #e6501d, #f19300);
    color: #fff;
    border-radius: 30px;
    padding: 7px 10px 7px 20px;
}

.slider-custom-123 .block-price .price {
    font-size: 30px;
    font-weight: 400;
    border-right: 2px solid #fff;
    padding-right: 15px;
}

.slider-custom-123 .block-price a.btn-white {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-style: italic;
    color: #0879bc;
    background: #fff;
    border-radius: 30px;
    margin-left: 15px;
    padding: 5px 20px;
    text-decoration: none;
}

/* Navigation Buttons */
.slider-custom-123 .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3;
}

.slider-custom-123 .nav-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-custom-123 .prev-button {
    left: 20px;
}

.slider-custom-123 .next-button {
    right: 20px;
}

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .slider-custom-123 .slider-container {
        height: 450px;
    }

    .slider-custom-123 .caption {
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }

    .slider-custom-123 .caption img {
        height: 200px;
        min-height: 200px;
        margin-bottom: 20px;
    }

    .slider-custom-123 .desc-wrapper {
        margin-left: 0;
    }

    .slider-custom-123 .slide-title {
        font-size: 28px;
    }

    .slider-custom-123 .caption .caption-description p {
        font-size: 28px;
        line-height: 32px;
    }

    .slider-custom-123 .block-price {
        flex-direction: row; /* Keep horizontal */
        align-items: center;
        padding: 7px 10px 7px 20px;
    }

    .slider-custom-123 .block-price .price {
        font-size: 24px;
        border-right: 2px solid #fff; /* Keep the right border */
        padding-right: 15px;
        margin-right: 15px;
    }

    .slider-custom-123 .block-price a.btn-white {
        font-size: 18px;
    }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {
    .slider-custom-123 .slider-container {
        height: 400px;
    }

    .slider-custom-123 .caption img {
        height: 150px;
        min-height: 150px;
        border-radius: 75px;
    }

    .slider-custom-123 .slide-title {
        font-size: 24px;
    }

    .slider-custom-123 .caption .caption-description p {
        font-size: 24px;
        line-height: 28px;
    }

    .slider-custom-123 .block-price {
        flex-direction: row; /* Keep horizontal */
        align-items: center;
        padding: 7px 15px;
        font-size: 18px;
    }

    .slider-custom-123 .block-price .price {
        font-size: 20px;
        border-right: 2px solid #fff; /* Keep the right border */
        padding-right: 15px;
        margin-right: 15px;
    }

    .slider-custom-123 .block-price a.btn-white {
        font-size: 16px;
        white-space: nowrap; /* Prevent button text from wrapping */
    }

    .slider-custom-123 .nav-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Small Mobile Styles (up to 480px) */
@media screen and (max-width: 480px) {
    .slider-custom-123 .slider-container {
        height: 350px;
    }

    .slider-custom-123 .caption img {
        height: 120px;
        min-height: 120px;
        border-radius: 60px;
    }

    .slider-custom-123 .slide-title {
        font-size: 20px;
    }

    .slider-custom-123 .caption .caption-description p {
        font-size: 20px;
        line-height: 24px;
    }

    .slider-custom-123 .block-price {
        padding: 5px 10px;
    }

    .slider-custom-123 .block-price .price {
        font-size: 18px;
        padding-right: 10px;
        margin-right: 10px;
    }

    .slider-custom-123 .block-price a.btn-white {
        font-size: 14px;
        padding: 5px 15px;
    }
}
