 .gallery-swiper {
            width: 100%;
            padding: 60px 0 80px;
            overflow: visible;
        }

        .swiper-slide {
            width: 85vw;
            max-width: 500px;
            height: 400px;
        }

        /* Mobile specific adjustments */
        @media (max-width: 640px) {
            .swiper-slide {
                width: 90vw;
                height: 350px;
            }
            
            .gallery-swiper {
                padding: 40px 0 60px;
            }
        }

        @media (max-width: 480px) {
            .swiper-slide {
                width: 92vw;
                height: 300px;
            }
        }

        .gallery-card {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .representative-text {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 500;
            z-index: 10;
            backdrop-filter: blur(4px);
        }

        /* Mobile text adjustments */
        @media (max-width: 640px) {
            .representative-text {
                font-size: 9px;
                padding: 4px 8px;
                top: 8px;
                right: 8px;
            }
            
            .gallery-card h3 {
                font-size: 16px !important;
            }
            
            .gallery-card p {
                font-size: 12px !important;
            }
        }

        /* Ensure swiper container doesn't cause horizontal scroll */
        .swiper-wrapper {
            display: flex;
            align-items: center;
        }

        /* Navigation buttons mobile */
        @media (max-width: 640px) {
            .swiper-button-prev,
            .swiper-button-next {
                width: 35px !important;
                height: 35px !important;
            }
            
            .swiper-button-prev::after,
            .swiper-button-next::after {
                font-size: 20px !important;
            }
        }

        /* Pagination mobile */
        @media (max-width: 640px) {
            .swiper-pagination {
                bottom: 15px !important;
            }
            
            .swiper-pagination-bullet {
                width: 8px !important;
                height: 8px !important;
            }
        }

        /* Prevent body overflow */
        body {
            overflow-x: hidden;
        }

        /* Fullscreen Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

#fullscreenImg {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover {
    color: #ccc;
}