/* Contact Us Page Specific Styles */

/* Override section header to ensure vertical centered layout */
.content-section .section-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
}

.content-section .section-header .section-label {
    display: block !important;
    order: 1 !important;
    padding-top: 0 !important;
    margin-bottom: 16px !important;
}

.content-section .section-header h2 {
    order: 2 !important;
    margin-bottom: 20px !important;
}

.content-section .section-header p {
    order: 3 !important;
    grid-column: unset !important;
}

/* Hero Adjustments */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0a1628 100%);
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 113, 227, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 200, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Map Section Spacing */
.map-section {
    padding: 80px 0 !important;
}

/* Map Container - Clean styling without overlay */
.map-container {
    position: relative;
    border: 1px solid #e2e8f0;
}

/* Form Success State */
.contact-form-modern.success {
    position: relative;
}

.contact-form-modern.success::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Location Card Hover Effect */
.location-card {
    position: relative;
    overflow: hidden;
}

.location-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0071e3, #00d4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::after {
    opacity: 1;
}

/* CTA Section Enhancement */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Form Focus Enhancement */
.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
    background: #fafbfc;
}

/* Submit Button Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0 !important;
    }
    
    .map-section .section-container {
        padding: 0 16px;
    }
    
    .map-container {
        border-radius: 12px;
        height: 350px;
    }
}
