.gallery {
    overflow-x: hidden;
    margin: 0;
    overflow-y: hidden;
    height: 100%;
    width: 100%;
    background-color: #ffff;
    color: white;
    background-image: url(/images/gallery-bg.png?0fe40c69fcfcc3d0f86f048a9adaf17a);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider-section {
    position: relative;
    width: 100%;
    height: 900px;
}
.wheel {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300vw;
    height: 300vw;
    max-width: 2000px;
    max-height: 2000px;
    animation: rotateWheel 60s linear infinite;
}
@keyframes rotateWheel {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.wheel__card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 484px;
    aspect-ratio: 1/1;
    cursor: pointer;
    transform-origin: center center;
}

.wheel__card img {
    height: 506px;
    width: 483px;
    border-radius: 10px;
    -o-object-fit: cover;
       object-fit: cover;
    /* pointer-events: none; */ /* YEH LINE HATA DIYA */
}

/* Lightbox Modal Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    font-size: 40px;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1001;
}
.close {
    top: 20px;
    right: 40px;
}
.prev {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
.next {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
@media (max-width: 748px) {
.wheel__card img {
    height: 450px;
    width: 450px;
}
.wheel__card {
    max-width: 450px;
}
.slider-section {
    position: relative;
    width: 100%;
    height: 700px;
}
}
@media (max-width: 500px) {
    .wheel__card {
        max-width: 364px;
    }
    .wheel__card img {
        height: 313px;
        width: 323px;
    }
    .slider-section {
        position: relative;
        width: 100%;
        height: 450px;
    }
}
@media (max-width: 400px) {
    .wheel__card {
        max-width: 220px;
    }
    .wheel__card img {
        height: 313px;
        width: 220px;
    }
}
