/* Contact Page Styling */

/* Custom color variables for consistency */
:root {
    --primary-blue: #007bff;
    --secondary-blue: #0056b3;
    --gradient-blue: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Contact page header styling */
.contact-header {
    color: var(--secondary-blue);
}

.contact-envelope-icon {
    color: var(--secondary-blue);
}

/* Contact information card styling */
.contact-info-title {
    color: var(--secondary-blue);
}

.contact-phone-icon {
    color: var(--primary-blue);
}

.contact-mobile-icon {
    color: var(--secondary-blue);
}

/* Contact form styling */
.contact-form-header {
    background: var(--gradient-blue);
}

.contact-form-icon {
    color: var(--primary-blue);
}

/* Contact form button styling */
.contact-submit-button {
    background: var(--gradient-blue);
    border: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}

.contact-submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    color: white;
}

.contact-submit-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: white;
}

/* Disabled button state */
.contact-submit-button:disabled,
button:disabled.btn-secondary {
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.contact-submit-button:disabled:hover,
button:disabled.btn-secondary:hover {
    background: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Turnstile validation styling */
.cf-turnstile {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.cf-turnstile.completed {
    border: 2px solid #28a745 !important;
    border-radius: 8px;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.cf-turnstile.error {
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Form validation feedback */
.form-validation-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 15px;
    color: #856404;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-validation-message.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.form-validation-message.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Contact form enhancements */
.contact-form-field:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Contact card hover effects */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.contact-form-card {
    transition: box-shadow 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}