/* Success Page Styles */

.success-gallery {
    padding-bottom: 80px;
}

.whatsapp-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
    border: 1px solid #e1e1e1;
    /* Simulating phone aspect ratio container if needed, or just fitting content */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-card img {
    width: 100%;
    height: auto;
    display: block;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Swiper Sizing for Vertical Images */
.success-swiper .swiper-slide {
    width: 300px;
    /* Fixed width for vertical phone-like screenshots */
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.success-swiper .swiper-slide-active {
    opacity: 1;
}

.success-swiper .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.success-swiper .swiper-button-next,
.success-swiper .swiper-button-prev {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.success-swiper .swiper-button-next:after,
.success-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 576px) {
    .success-swiper .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .whatsapp-card {
        width: 100%;
        height: 55vh;
        /* Limit height to 55% of viewport height */
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f8f9fa;
    }

    .whatsapp-card img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }
}