﻿/* ===== KavachAV CONTACT PAGE STYLES ===== */
:root {
    --KavachAV-blue: #1e5ec7;
    --KavachAV-blue-dark: #154a9f;
    --KavachAV-blue-light: #e6f0ff;
    --KavachAV-blue-soft: #f0f7ff;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-green: #10b981;
    --error-red: #ef4444;
    --box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    line-height: 1.5;
}

/* ===== KavachAV COMMUNITY SECTION ===== */
.KavachAV-community {
    padding: 100px 0 60px;
/*    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);*/
    position: relative;
    overflow: hidden;
}

    .KavachAV-community::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        opacity: 0.5;
        z-index: 0;
    }

    .KavachAV-community .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 1;
    }

    /* Section Head */
    .KavachAV-community .section-head {
        margin-bottom: 50px;
        text-align: center;
    }

    .KavachAV-community .section-subtitle {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #FF6600;
        background: var(--KavachAV-blue-light);
        padding: 8px 20px;
        border-radius: 30px;
        margin-bottom: 20px;
    }

    .KavachAV-community .section-head h2 {
        font-size: 42px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--text-dark);
        margin-bottom: 20px;
        letter-spacing: -0.5px;
    }

    .KavachAV-community .section-head .text {
        font-size: 18px;
        line-height: 1.6;
        color: var(--text-medium);
        max-width: 700px;
        margin: 0 auto;
    }

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #E62E2E 0%, #FF6600 100%);
        opacity: 0;
        transition: var(--transition);
    }

    .contact-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--box-shadow-hover);
        border-color: transparent;
    }

        .contact-card:hover::before {
            opacity: 1;
        }

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--KavachAV-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, #E62E2E 0%, #FF6600 100%);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 32px;
    color: #FF6600;
    transition: var(--transition);
}

.contact-card:hover .contact-icon i {
    color: white;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.2;
    letter-spacing: 1px;
}

.contact-email {
    font-size: 20px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.4;
}

.contact-hours {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}



/* ===== KavachAV CONTACT FORM SECTION ===== */
.KavachAV-contact {
    padding: 60px 0 100px;
    background: white;
    position: relative;
}

    .KavachAV-contact .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .KavachAV-contact .section-head {
        margin-bottom: 50px;
        text-align: center;
    }

    .KavachAV-contact .section-subtitle {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #FF6600;
        background: var(--KavachAV-blue-light);
        padding: 8px 20px;
        border-radius: 30px;
        margin-bottom: 20px;
    }

    .KavachAV-contact .section-head h2 {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--text-dark);
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }

    .KavachAV-contact .section-head .text {
        font-size: 18px;
        line-height: 1.6;
        color: var(--text-medium);
        max-width: 600px;
        margin: 0 auto;
    }

.mb-50 {
    margin-bottom: 50px;
}

.mb-15 {
    margin-bottom: 15px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    padding: 50px;
    border: 1px solid #FF6600;
    position: relative;
    overflow: hidden;
}

    .contact-form-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, var(--KavachAV-blue-light) 0%, transparent 70%);
        opacity: 0.3;
        z-index: 0;
    }

/* Alert Messages */
.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    font-size: 15px;
    border: none;
    position: relative;
    z-index: 1;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-green);
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-red);
}

.alert i {
    font-size: 20px;
    margin-right: 10px;
}

/* Grid System - FIXED FOR ROWS */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

    .row::after {
        content: "";
        display: table;
        clear: both;
    }

.col-lg-6 {
    width: 50%;
}

.col-lg-12 {
    width: 100%;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.required-star {
    color: var(--error-red);
    margin-left: 2px;
}

/* Input Groups */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #FF6600;
    transition: var(--transition);
    background: #f8fafc;
}

    .input-group:hover {
        border-color: #FF6600;
        background-color: white;
    }

    .input-group:focus-within {
        border-color: #FF6600;
        box-shadow: 0 0 0 4px rgba(30, 94, 199, 0.1);
        background-color: white;
    }

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f1f5f9;
    border: none;
    color: var(--text-light);
    font-size: 16px;
}

.input-group .form-control,
.input-group .form-select {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    width: 100%;
}

    .input-group .form-control::placeholder {
        color: #94a3b8;
        font-size: 14px;
    }

.input-group .form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding: 15px;
    line-height: 1.6;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

#charCount {
    font-weight: 600;
    color: var(--KavachAV-blue);
}

/* reCAPTCHA */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.g-recaptcha {
    transform-origin: center;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #FF6600 0%, #E62E2E 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(30, 94, 199, 0.3);
    z-index: 1;
}

    .btn-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #E62E2E 0%, #FF6600 100%);
        transition: left 0.5s ease;
        z-index: -1;
    }

    .btn-submit:hover {
        transform: translateY(-3px);
        color: white;
        box-shadow: 0 20px 30px -8px rgba(30, 94, 199, 0.4);
    }

        .btn-submit:hover::before {
            left: 100%;
        }

    .btn-submit:active {
        transform: translateY(0);
        color:white;
        box-shadow: 0 10px 20px -5px rgba(30, 94, 199, 0.3);
    }

.btn-icon i {
    font-size: 20px;
    transition: var(--transition);
}

.btn-submit:hover .btn-icon i {
    transform: translateX(5px);
}

/* Validation Styles */
.field-validation-valid {
    display: none;
}

.text-danger {
    color: var(--error-red);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: var(--error-red);
}

    .form-control.input-validation-error:focus,
    .form-select.input-validation-error:focus {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    }

.form-control.valid,
.form-select.valid {
    border-color: var(--success-green);
}

.fs-12px {
    font-size: 12px;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

/* Clearfix for rows */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .KavachAV-community,
    .KavachAV-contact {
        padding: 60px 0;
    }

        .KavachAV-community .section-head h2 {
            font-size: 36px;
        }

        .KavachAV-contact .section-head h2 {
            font-size: 32px;
        }

    .contact-info-cards {
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-phone {
        font-size: 24px;
    }

    .contact-email {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .KavachAV-community .section-head h2 {
        font-size: 32px;
    }

    .KavachAV-community .section-head .text {
        font-size: 16px;
    }

    .KavachAV-contact .section-head h2 {
        font-size: 28px;
    }

    .KavachAV-contact .section-head .text {
        font-size: 16px;
    }

    .contact-phone {
        font-size: 22px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    .g-recaptcha {
        transform: scale(0.9);
    }

    .col-lg-6 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .KavachAV-community .section-head h2 {
        font-size: 28px;
    }

    .KavachAV-contact .section-head h2 {
        font-size: 24px;
    }

    .contact-phone {
        font-size: 20px;
    }

    .contact-email {
        font-size: 16px;
    }

    .g-recaptcha {
        transform: scale(0.8);
    }

        .g-recaptcha > div {
            width: 100% !important;
        }
}
