/* ==================== Clinic Tour Section ==================== */
.clinic-tour-section {
    background-color: #fffaf7;
    /* Warm off-white */
    padding: 130px 0;
    overflow: hidden;
    color: var(--c-black);
}

.tour-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.tour-subtitle {
    text-align: center;
    font-family: var(--font-marcellus, 'Marcellus', serif);
    font-size: var(--fs-20);
    font-weight: var(--fw-regular);
    line-height: normal;
    margin-bottom: 20px;
}

.tour-title {
    text-align: center;
    font-size: var(--fs-45);
    font-weight: var(--fw-bold);
    line-height: 140%;
    /* 63px */
    margin-bottom: 40px;
}

.tour-desc {
    text-align: center;
    font-size: var(--fs-17);
    font-weight: var(--fw-regular);
    line-height: 140%;
    /* 23.8px */
}

.tour-gallery-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.tour-swiper {
    position: relative;
    width: 55%;
    margin: 0 auto;
    overflow: visible;
    padding-bottom: 60px;
    /* Space for pagination */
}

.tour-swiper .swiper-slide {
    width: 100%;
    transition: all 0.4s ease;
}

.tour-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

/* Nav Buttons */
.tour-gallery-wrapper .tour-swiper-button-prev,
.tour-gallery-wrapper .tour-swiper-button-next {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid #777;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.tour-gallery-wrapper .tour-swiper-button-prev:hover,
.tour-gallery-wrapper .tour-swiper-button-next:hover {
    background-color: var(--c-white);
    border-color: #333;
}

.tour-gallery-wrapper .tour-swiper-button-prev {
    left: calc(25% - 50px);
}

.tour-gallery-wrapper .tour-swiper-button-next {
    right: calc(25% - 50px);
}

/* Progress bar pagination */
.tour-swiper-pagination {
    position: absolute;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translateX(-50%);
    width: 780px !important;
    height: 3px !important;
    background: #e5e5e5;
    z-index: 10;
}

.tour-swiper-pagination .swiper-pagination-progressbar-fill {
    background: #ffa8b6;
    /* Soft pink */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-origin: left top;
}

/* Responsive */
@media (max-width: 1400px) {
    .tour-gallery-wrapper .tour-swiper-button-prev,
    .tour-gallery-wrapper .tour-swiper-button-next {
        display: none;
    }

    .tour-gallery-wrapper .tour-swiper-button-prev {
        left: 10%;
    }

    .tour-gallery-wrapper .tour-swiper-button-next {
        right: 10%;
    }
}

@media (max-width: 1024px) {
    .tour-swiper {
        width: 80%;
    }

    .tour-swiper .swiper-slide img {
        height: auto;
    }

    .tour-gallery-wrapper .tour-swiper-button-prev {
        left: 5%;
    }

    .tour-gallery-wrapper .tour-swiper-button-next {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .clinic-tour-section {
        padding: 60px 0 60px 0;
    }

    .tour-title {
        font-size: var(--fs-28, 28px);
    }

    .tour-desc {
        font-size: var(--fs-14, 14px);
        padding: 0 10px;
    }

    .tour-swiper {
        width: 85%;
    }

    .tour-swiper .swiper-slide img {
        height: auto;
    }

    .tour-gallery-wrapper .tour-swiper-button-prev,
    .tour-gallery-wrapper .tour-swiper-button-next {
        display: none;
    }

    .tour-swiper-pagination {
        width: 250px !important;
    }
}

@media (max-width: 480px) {
    .tour-swiper .swiper-slide img {
        height: auto;
    }
}