/* Indian Lingua Custom Colors */
:root {
    --il-primary: #05386b;   /* Deep Blue */
    --il-accent: #5cdb95;    /* Bright Green */
    --il-text: #edf5e1;      /* Light Text */
}

.il-contact-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(5, 56, 107, 0.15); /* Blue-tinted shadow */
    max-width: 650px;
    margin: 40px auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-top: 5px solid var(--il-primary);
}

.il-form-group { margin-bottom: 25px; }
.il-row { display: flex; gap: 20px; }
.il-form-group.half { flex: 1; }

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--il-primary); /* Blue Labels */
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

input, textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    box-sizing: border-box; /* Fixes padding width issues */
}

input:focus, textarea:focus {
    border-color: var(--il-accent); /* Green Border on Focus */
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(92, 219, 149, 0.2);
}

button#il-submit-btn {
    background: var(--il-primary);
    color: var(--il-accent);
    border: 2px solid var(--il-primary);
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button#il-submit-btn:hover {
    background: var(--il-accent);
    color: var(--il-primary);
    border-color: var(--il-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(92, 219, 149, 0.3);
}

button#il-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

#il-form-response {
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
}
.il-success { color: var(--il-primary); }
.il-error { color: #d9534f; }

@media (max-width: 600px) {
    .il-contact-wrapper { padding: 25px; }
    .il-row { flex-direction: column; gap: 0; }
}


/* ... Keep all previous CSS ... */

/* PRELOADER ANIMATION */
.il-loader {
    display: none; /* Hidden by default */
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--il-accent); /* Green spinner */
    animation: il-spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes il-spin {
    to { transform: rotate(360deg); }
}

/* Button State when Loading */
button#il-submit-btn.il-loading {
    background-color: #03254c; /* Darker Blue */
    cursor: not-allowed;
    opacity: 0.9;
}

/* Success Message Styling */
.il-success-box {
    background-color: #f0fff4;
    border: 1px solid var(--il-accent);
    color: var(--il-primary);
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* ... Keep existing styles ... */

/* FIELD VALIDATION */
.il-input-error {
    border-color: #e74c3c !important; /* Red Border */
    background: #fff5f5 !important;
}

.il-field-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* CHARACTER COUNTER */
.il-char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}
.il-count-warning {
    color: #e67e22; /* Orange warning when close to limit */
    font-weight: bold;
}

/* RESPONSE BOXES */
.il-response-box {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.il-success-box {
    background-color: #f0fff4;
    border: 1px solid var(--il-accent);
    color: var(--il-primary);
}

.il-error-box {
    background-color: #fce8e6;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

/* VUE FADE TRANSITION */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}