/* ============================================
   WEBINAR LINK CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

.webinar-form-area {
    padding: 60px 0 80px;
    background: #F6F8FF;
}

.row { display: flex; flex-wrap: wrap; }

.justify-content-center { justify-content: center; }

.col-lg-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; padding: 0 15px; }

/* ========== FORM WRAPPER ========== */
.webinar-form-wrap {
    background: #fff;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: #0A210F;
    margin: 0 0 8px;
}

.form-desc {
    color: #666;
    font-size: 15px;
    margin: 0 0 30px;
}

.webinar-form-wrap form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========== FORM GROUP ========== */
.form-grp {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-grp label {
    font-size: 14px;
    font-weight: 600;
    color: #0A210F;
}

.form-grp input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: #F6F8FF;
}

.form-grp input:focus {
    border-color: #99AA38;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(153, 170, 56, 0.1);
}

.form-grp input::placeholder { color: #aaa; }

.form-grp input[type="number"]::-webkit-inner-spin-button,
.form-grp input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.form-grp input[type="number"] { -moz-appearance: textfield; }

/* ========== SUBMIT BUTTON ========== */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #99AA38;
    color: #0A210F;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 35px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    background: transparent;
    color: #99AA38;
    border-color: #99AA38;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(153, 170, 56, 0.3);
}

.btn-submit svg { transition: transform 0.3s ease; }
.btn-submit:hover svg { transform: translateX(5px); }

/* ========== AJAX RESPONSE ========== */
.ajax-response {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.ajax-response .success { color: #99AA38; }
.ajax-response .error { color: #e74c3c; }

/* ========== SCROLL TOP ========== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #99AA38; color: #0A210F;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 18px; z-index: 999;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(153, 170, 56, 0.4);
    transition: all 0.3s ease;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: #0A210F; color: #99AA38; transform: translateY(-5px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .col-lg-6, .col-md-8 { flex: 0 0 100%; max-width: 100%; }
    .webinar-form-wrap { padding: 35px 30px; }
}

@media (max-width: 767.98px) {
    .webinar-form-area { padding: 40px 0 60px; }
    .webinar-form-wrap { padding: 30px 25px; }
    .form-title { font-size: 22px; }
    .form-grp input { padding: 14px 16px; font-size: 14px; }
    .btn-submit { padding: 15px 28px; font-size: 15px; }
}

@media (max-width: 575.98px) {
    .webinar-form-area { padding: 30px 0 50px; }
    .webinar-form-wrap { padding: 25px 20px; }
    .btn-submit { width: 100%; }
}