.Gallary_sec {
    padding: 3% 0%;
}

.Gallary_sec .gal-img {
    width: 100%;
    height: auto;
    aspect-ratio: 7/5;
    object-fit: cover;
    object-position: center;
}

.Gallary_sec .images-sec {
    background: transparent linear-gradient(180deg, #0E0E0E 0%, #00000045 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    padding: 30px;
    margin-top: 50px;
}




.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay  .modal-content {
    position: relative;
    text-align: center;
}

.modal-overlay .modal-img {
    width: 90%;
    margin: auto;
    max-height: 100vh;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    object-position: center;
}

.modal-overlay .close-btn, .modal-overlay  .prev-btn, .modal-overlay  .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000;
    background: #fff;
    border-radius: 0px;
    cursor: pointer;
    z-index: 1001;
    font-weight: 900;
    border-radius: 50px;
    aspect-ratio: 1/1;
    width: 30px;
    height: 30px;
}

.modal-overlay .close-btn {
    top: 2%;
    right: 7%;
    transform: translate(0, 0);
}

.modal-overlay .prev-btn {
    left: 10px;
}

.modal-overlay .next-btn {
    right: 10px;
}

.modal-overlay .close-btn:hover, .modal-overlay  .prev-btn:hover, .modal-overlay  .next-btn:hover {
    color: #f1c40f;
}


@media (min-width:0px) and (max-width:991px){
    .Gallary_sec .images-sec {
        padding: 15px;
        margin-top: 20px;
    }
}