/* Modal Styles */
.modal {
    display: none; /* Modal is hidden initially */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 65%;
    max-width: 65%;
    height: auto;
}

.modal .left {
    width: 50%;
    background: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    /* padding: 10px; */
}

.modal .left img {
    position: absolute;
    width: 100%;
    height: 100%;
    /* margin: 5px; */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    object-fit: cover;
    filter: brightness(40%);
    transition: all 0.3s;
}

.modal .left:hover img{
    transform: scale(1.1);
}

.modal .left h3{
    position: absolute;
    color: #fff;
    text-align: start;
    padding: 0 60px 50px 10px;
}

.modal .left p{
    position: absolute;
    color: #fff;
    text-align: start;
    padding: 100px 50px 0 10px;
}

.modal .right {
    width: 50%;
    padding: 20px;
    background-color: #cccccc1f;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.modal .right h3 {
    margin-bottom: 20px;
    color: #333;
}

.modal .right form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
}

.modal .right form input,
.modal .right form textarea{
    border-top: transparent;
    border-right: transparent;
    border-left: transparent;
    border-bottom: 2px solid #ddd;
}

.modal .right form input:focus,
.modal .right form textarea:focus{
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    outline: none;
}

.modal .right form input,
.modal .right form textarea,
.modal .right form button {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
}

/* .modal .right form textarea{
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid gainsboro;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
} */

.modal .right form .checkbox{
    padding-bottom: 10px;
    font-size: 13px;
}

.modal .right form button {
    background: #1e73be;
    color: #fff;
    border: 1px solid #ddd;
    border: none;
    cursor: pointer;
}

.modal .right form button:hover {
    background: #154c8d;
}

/* Modal Overlay */
.overlay {
    display: none; /* Overlay is hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Add new styles for close button */
.closeModal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.closeModal:hover {
    background-color: #f0f0f0;
}