/* ===== CONTACT PAGE SPECIFIC FIXES ===== */

/* 1. FIX "GET IN TOUCH" HEADER - Remove Blur Effect */

.page-header h1 {
    /* Remove gradient text that causes blur */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    
    /* Use solid white color instead */
    color: #FFFFFF !important;
    
    /* Keep the styling from pages-enhancement.css */
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    
    /* Ensure crisp rendering */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* 2. FIX "CONNECT WITH US" SECTION - Remove Grey Box and Stroke */

.social-connect {
    /* Remove grey background box */
    background: transparent !important;
    
    /* Remove padding that creates box appearance */
    padding: 2rem 0 0 0 !important;
    
    /* Remove border radius */
    border-radius: 0 !important;
    
    /* Remove any borders or strokes */
    border: none !important;
    box-shadow: none !important;
    
    /* Proper spacing */
    margin-top: 3rem !important;
}

.social-connect h4 {
    color: #0A0A0A !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
}

.social-connect .social-links {
    display: flex !important;
    gap: 1rem !important;
}

.social-connect .social-links a {
    /* Use gradient circles consistent with theme */
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #DC143C, #FF6B35) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.2) !important;
    border: none !important;
}

.social-connect .social-links a:hover {
    /* Keep gradient on hover, just enhance it */
    background: linear-gradient(135deg, #DC143C, #FF6B35) !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3) !important;
}

/* 3. ENSURE PAGE HEADER HAS PROPER GRADIENT BACKGROUND */

.page-header {
    background: linear-gradient(135deg, #DC143C 0%, #FF6B35 100%) !important;
    padding: 8rem 0 5rem 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.page-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%) !important;
    z-index: 0 !important;
}

.page-header-content {
    position: relative !important;
    z-index: 2 !important;
}

.page-header p {
    color: #FFFFFF !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-align: center !important;
    opacity: 0.95 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* 4. ADDITIONAL CONTACT PAGE IMPROVEMENTS */

/* Ensure contact section has white background */
.contact-section {
    background: #FFFFFF !important;
    padding: 6rem 0 !important;
}

/* Info cards should match theme */
.info-card {
    background: #F9FAFB !important;
    padding: 1.8rem !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.info-card:hover {
    background: #FFFFFF !important;
    border-color: #DC143C !important;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.1) !important;
    transform: translateX(10px) !important;
}

/* Contact form wrapper styling */
.contact-form-wrapper {
    background: #F9FAFB !important;
    padding: 3rem !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05) !important;
}

/* 5. RESPONSIVE ADJUSTMENTS */

@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }
    
    .social-connect {
        margin-top: 2rem !important;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 6rem 0 4rem 0 !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
    
    .social-connect h4 {
        font-size: 1.1rem !important;
    }
    
    .social-connect .social-links a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

/* 6. ENSURE NO BACKDROP FILTERS ANYWHERE */

.page-header,
.page-header *,
.contact-section,
.contact-section *,
.social-connect,
.social-connect * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 7. CRISP TEXT RENDERING */

.page-header h1,
.page-header p,
.contact-info-cards h2,
.social-connect h4 {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}
