.modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: #fff;
    margin-top: 25px !important;
    margin: 15% auto;
    width: 10%;
    text-align: center;
    max-width: 700px;
    height: auto;
}

.close-btn {
    color: white;
    font-size: 28px;
    font-weight: bold;
    top: 10px;
    right: 25px;
    cursor: pointer;
    display: flex;
    padding: 0 10px;
}

.close-btn:hover,
.close-btn:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* POP-UP */
.swiper {
    width: 100%;
    margin: 0 auto;
}

.popup-head {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-item: center;
    background-color: green;
}

.popup-title {
    padding: 10px 10px;
    text-align: left;
    color: white;
}

.modal-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal-form input {
    padding: 10px;
    margin: 5px 0;
    width: 80%;
}

.modal-form button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
}

.modal-form button:hover {
    background-color: #45a049;
}

.popup-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.popup-image .swiper-wrapper .swiper-slide img {
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background-color: white !important;
    color: white;
}

.swiper-pagination-bullet-active {
    background-color: white;
}

/* For screens smaller than 480px (phones) */
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        height: auto;
        margin: 10% auto;
    }

    .modal-form input,
    .modal-form button {
        width: 100%;
    }

    .popup-title {
        font-size: 16px;
    }

    .modal-text {
        font-size: 14px;
    }

    .popup-head {
        flex-direction: row-reverse;
        align-items: center;
    }

    .close-btn {
        font-size: 24px;
        right: 15px;
        padding: 0 15px;
    }
}
