.scrolling-gallery-wrapper-80745159 {
    background-color: #ffffff;
    padding: 40px 0;
    border-radius: 12px;
}
.scrolling-gallery-wrapper-80745159 .sg-header {
    margin-bottom: 40px;
    padding: 0 40px;
    text-align: center;
}
.scrolling-gallery-wrapper-80745159 .sg-heading {
    margin: 0 0 10px;
    font-size: 2.5em;
    font-weight: 700;
}
.scrolling-gallery-wrapper-80745159 .sg-subheading {
    font-size: 1.2em;
    color: #555;
}
.scrolling-gallery-wrapper-80745159 .sg-slider-container {
    padding: 20px 40px 60px; /* Extra bottom padding for pagination */
    position: relative;
    overflow: hidden;
}
.scrolling-gallery-wrapper-80745159 .swiper-wrapper {
    align-items: center; /* Center slides vertically */
}
.scrolling-gallery-wrapper-80745159 .sg-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #f8f9fa; /* Light background for contained images */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Fixed height for the slide container */
    max-height: 700px;
    min-height: 400px;
}
.scrolling-gallery-wrapper-80745159 .sg-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Preserve aspect ratio without cropping */
    display: block;
    transition: transform 0.8s ease;
}
.scrolling-gallery-wrapper-80745159 .sg-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.scrolling-gallery-wrapper-80745159 .sg-item:hover img {
    transform: scale(1.02); /* Gentle zoom on hover */
}

/* Swiper Navigation Customization */
.scrolling-gallery-wrapper-80745159 .sg-nav-btn {
    color: #333;
    background: rgba(255,255,255,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}
.scrolling-gallery-wrapper-80745159 .sg-nav-btn:after {
    font-size: 20px;
    font-weight: bold;
}
.scrolling-gallery-wrapper-80745159 .swiper-button-prev {
    left: 20px;
}
.scrolling-gallery-wrapper-80745159 .swiper-button-next {
    right: 20px;
}

/* Swiper Pagination Customization */
.scrolling-gallery-wrapper-80745159 .sg-pagination {
    bottom: 10px;
}
.scrolling-gallery-wrapper-80745159 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}
.scrolling-gallery-wrapper-80745159 .swiper-pagination-bullet-active {
    background: #333;
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .scrolling-gallery-wrapper-80745159 {
        padding: 30px 0;
    }
    .scrolling-gallery-wrapper-80745159 .sg-header {
        padding: 0 20px;
    }
    .scrolling-gallery-wrapper-80745159 .sg-slider-container {
        padding: 10px 10px 50px;
    }
    .scrolling-gallery-wrapper-80745159 .sg-item {
        height: 50vh;
    }
    .scrolling-gallery-wrapper-80745159 .sg-nav-btn {
        display: none; /* Hide arrows on mobile, use swipe */
    }
}