/* Contact Us Page Styles */

/* Contact Us Section */
.contactus {
    padding: 100px 0 80px;
    background:var(--color8);
    font-family: "Poppins", sans-serif;
}

.contactushead {
    text-align: center;
    margin-bottom: 50px;

}

.contactushead h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.contactushead p {
    font-size: 18px;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contactform {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contactform .form-group {
    margin-bottom: 25px;
}

.contactform label {
    font-weight: 600;
    color: var(--color1);
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
}

.contactform .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contactform .form-control:focus {
    border-color: var(--color5);
    box-shadow: 0 0 0 0.2rem rgba(37, 64, 217, 0.1);
    background: white;
}

.contactform .form-control.is-invalid {
    border-color: #dc3545;
}

.contactform textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.text-danger {
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* reCAPTCHA Styles */
.contactus-recaptcha-wrapper {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.contactus-recaptcha-container {
    display: inline-block;
}

/* Submit Button */
.formsubmitbtnc {
    text-align: center;
    margin-top: 30px;
}

.formsubmitbtnc button {
    background: linear-gradient(135deg, var(--color5) 0%, var(--color3) 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 64, 217, 0.3);
}

.formsubmitbtnc button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 64, 217, 0.4);
}

.formsubmitbtnc button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-body {
    padding: 0;
}

/* Success/Error States */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: none;
    border-radius: 10px;
    color: #155724;
    padding: 20px;
    margin-bottom: 20px;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
    border: none;
    border-radius: 10px;
    color: #721c24;
    padding: 20px;
    margin-bottom: 20px;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: var(--color5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contactus {
        padding: 80px 0 60px;
    }
    
    .contactform {
        padding: 40px 30px;
    }
    
    .contactushead h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .contactus {
        padding: 60px 0 40px;
    }
    
    .contactushead h2 {
        font-size: 24px;
    }
    
    .contactushead p {
        font-size: 16px;
    }
    
    .contactform {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .formsubmitbtnc button {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .contactus-recaptcha-wrapper {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .contactform {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .contactform .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }
}