* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
}

.section {
    padding-top: 180px;
}

.section-title {
    margin: 0 auto;
    text-align: center;
    color: #000073;
    font-size: 40px;
    font-weight: 500;
   
}
.gallery-section {
    background-color: #E4E2E2;
    padding-bottom: 50px;
}

.swiper {
    width: 90%;
    max-width: 1200px;
    position: relative;
    display: flex;
}

.swiper-wrapper {
    display: flex;
    margin: 50px 20px;

}

.swiper-content {
    margin: 0 auto;
    width: 100%;

}
.swiper-container{
    border-top: 1px solid black;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    width: auto;
    overflow: hidden;

}
.swiper-container__title{
    padding: 10px 160px;
    font-size: 24px;
    margin: 0 auto;
}
.swiper-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 100px;
}

.swiper-slide__img {
    width: 350px;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
}

.swiper-btn-next,
.swiper-btn-prev {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 30px;
    border: 1px solid rgba(0, 0, 0, 0.427);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-btn-next {
    right: 10px;
}

.swiper-btn-prev {
    left: 10px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #ccc;
}
.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
}
@media (max-width: 1024px) {
    .section {
        padding-top: 120px;
    }

    .section-title {
        font-size: 32px;
        padding: 0 10px;
    }

    .swiper-content {
        padding: 0 40px;
    }

    .swiper-slide__img {
        width: 300px;
        height: 320px;
    }

    .swiper-btn-next,
    .swiper-btn-prev {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .swiper-container__title {
        padding: 10px 80px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .swiper {
        flex-direction: column;
        width: 100%;
    }

    .swiper-wrapper {
        margin: 20px 0;
    }

    .swiper-content {
        padding: 0 10px;
    }

    .swiper-slide__img {
        width: 100%;
        max-height: 300px;
        display: flex;
        margin-bottom: 20px;
    }

    .swiper-btn-next,
    .swiper-btn-prev {
        display: none;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }

    .modal-close {
        font-size: 30px;
        right: 15px;
    }

    .swiper-container__title {
        font-size: 18px;
        padding: 10px 20px;
        text-align: center;
    }
}
