.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.4s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px; position: relative;z-index: 1;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(135deg, #0061b5 0%, #178f8d 35%, #119faf 70%, #0372c6 100%), repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 4px);
}
.modal-header::before{position: absolute; z-index:-1;width: 100%; height: 100%;content: "";
    left:0;top:0; background: url(../images/t_book-bg.jpg) no-repeat center bottom;background-size: cover;opacity: 0.6;}

.b_title_k h2{ font-size: 22px;color: #fff; line-height: 1.5;margin: 0px; padding: 0px; margin-bottom: 10px;font-weight: bold;}
.b_title_k h3{ font-size: 16px;color: #fff; margin: 0px; padding: 0px;}
.b_title_k h3 span{font-size: 18px;font-weight: normal;color: #fff;font-family: 'AVGBBT';font-weight: bold;}
.b_title_k h4 span{font-size: 18px;font-weight: normal;color: #fff;font-family: 'AVGBBT';}
.b_title_k h4{ font-size: 16px;color: #fff;font-family: 'AVGBBT'; margin: 0px; padding: 0px;}



.modal-header h2 {
    font-weight: 500;
    font-size: 22px;
}


.close-btn {
    background: none;
    border: none;
    color: rgb(0, 91, 203);
    font-size:30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, 0.8);
}

.close-btn:hover {
    transform: rotate(90deg);
    background:#ffc400;
}


.modal-body {
    padding: 25px;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;position: relative;
}

.form-group label {
    display: block;

    font-weight: 500;
    color: #2c3e50;position: absolute;z-index: 4;top:50%;left:8px;width: auto;-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
transform: translateY(-50%);
}
   .form-group label  i{font-size: 25px;color: #3498db;}
   .form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s ease;
}
.form-group input{padding-left: 44px;color: #333;}  
input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.form-group input::placeholder {color:#888;}
.form-group textarea::placeholder {color:#888;}
textarea {
    min-height: 90px;
    resize: vertical;color: #333;
}
      .submit-btn:hover {
    background: #ff6200;
    transform: translateY(-2px);
}

.submit-btn {
line-height: 50px;
text-align: center;
font-size: 20px;
height: 50px;
border-radius:40px;
background: #1b7acb;
color: #FFFFFF;
cursor: pointer; border: 0;
font-weight: 300;display: flex;align-items: center;justify-content:center;
      cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}
.submit-btn i{font-size: 20px; vertical-align: middle; margin-right: 4px; line-height: 50px}

@media (max-width: 600px) {
.modal-body {
padding: 20px;
    }
}