.popUp-main {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.274);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}
.close-btn{
    width: 5%;
    position: absolute;
    right: -30px;
    top: -30px;
    border: 3px solid white;
    cursor: pointer;
    border-radius: 100px;
    
}
.apartment-service-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.apartment-card{
    width: 250px;
    /* background-color: black; */
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-classname-container {
    width: 90%;
    max-width: 400px;
    position: relative;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

 

.popup-classname-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.popup-classname-form {
    display: flex;
    flex-direction: column;
}

.popup-classname-label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.popup-classname-input,
.popup-classname-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 16px;
    resize: vertical;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.popup-classname-input:focus,
.popup-classname-textarea:focus {
    border-color: #00496c;
    outline: none;
    box-shadow: 0 0 5px #33505e;
    animation: inputFocus 0.3s ease-in-out;
}

@keyframes inputFocus {
    from { box-shadow: 0 0 0 #33505e; }
    to { box-shadow: 0 0 5px #33505e; }
}

.popup-classname-submit {
    background-color: #00496c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    animation: buttonHover 0.3s ease-in-out;
}

.popup-classname-submit:hover {
    background-color: #022e42;
    transform: translateY(-2px);
}


@keyframes buttonHover {
    from { transform: translateY(0); }
    to { transform: translateY(-2px); }
}

@media (max-width: 600px) {
    .popup-classname-container {
        width: 95%;
        padding: 15px;
    }
    .close-btn{
        right: 50%;
        width: 10%;
    border: 5px solid white;

        top: -50px;
        transform: translateX(50%);
    }

    .popup-classname-title {
        font-size: 20px;
    }

    .popup-classname-input,
    .popup-classname-textarea {
        padding: 10px;
    }

    .popup-classname-submit {
        padding: 10px 15px;
    }
}
