#success-section {
    background-color: var(--primary-bg-color);
    padding: var(--section-padding);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.preview-wrapper {
    position: relative;
    display: inline-block;
}

.preview-img {
    width: 150px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px white solid;
}

.preview-img-2 {
    width: 200px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px white solid;
}

.preview-img:hover {
    transform: scale(1.03);
}

.preview-img-2:hover {
    transform: scale(1.03);
}

.zoom-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    width: fit-content;
    margin: 0 auto;
}

.carousel-button {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

.carousel-button i {
    font-size: 1.8rem;
}

.carousel-button:hover {
    color: var(--primary-accent-color);
    transform: scale(1.1);
}

#testimonialContainer {
    align-items: stretch;
}

#testimonialContainer > div {
    display: flex;
}

.modal-header {
    z-index: 10;
}

.modal-dialog {
    width: auto;
    max-width: 95vw;
}

.modal-content {
    display: inline-block;
}

.modal-body {
    overflow: auto;
}

#modalImage {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    transition: transform 0.25s ease;
}

.zoomable {
    cursor: zoom-in;
}

.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

.preview-wrapper {
    position: relative;
}

.preview-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* overlay icon */
.zoom-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    pointer-events: none; /* IMPORTANT */
    opacity: 0.85;
}

/* =========================
   IMAGE STYLE
========================= */
.preview-img-2 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* hover effect */
.preview-wrapper:hover .preview-img-2 {
    transform: scale(1.02);
    transition: 0.2s ease;
}

/* =========================
   OVERLAY ICON
========================= */
.zoom-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    opacity: 0.85;
    pointer-events: none;
}

#testimonialsGallery .col-4,
#testimonialsGallery .col-md-2,
#fullGallery .col-6,
#fullGallery .col-md-4,
#fullGallery .col-lg-3 {
    padding-left: 4px;
    padding-right: 4px;
}

/* reduce row spacing */
#fullGallery {
    row-gap: 8px;
}

#testimonialsGallery {
    row-gap: 6px;
    max-height: 160px; /* adjust to your card height */
    overflow: hidden;
}