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

.contact-area {
    padding: 80px 0;
    background: #F6F8FF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* ========== CONTACT INFO ========== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(153,170,56,0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(153,170,56,0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #99AA38;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: #99AA38;
    color: #0A210F;
}

.info-content h4 {
    font-size: 18px;
    color: #0A210F;
    margin: 0 0 6px;
    font-weight: 600;
}

.info-content a {
    font-size: 15px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover { color: #99AA38; }

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

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

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

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

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-grp { display: flex; flex-direction: column; }

.form-grp.full-width { grid-column: 1 / -1; }

.form-grp textarea,
.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;
    resize: vertical;
}

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

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

/* ========== 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 36px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    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;
}

/* ========== 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) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-area { padding: 60px 0; }
    .contact-info { flex-direction: row; }
    .info-card { flex: 1; }
}

@media (max-width: 767.98px) {
    .contact-area { padding: 40px 0; }
    .contact-info { flex-direction: column; }
    .contact-form-wrap { padding: 30px 25px; }
    .form-row { grid-template-columns: 1fr; }
    .form-title { font-size: 22px; }
    .btn-submit { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
    .contact-form-wrap { padding: 25px 20px; }
    .form-title { font-size: 20px; }
    .info-card { padding: 20px; }
    .info-icon { width: 50px; height: 50px; min-width: 50px; font-size: 20px; }
}