/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    overflow: hidden;
    background-attachment: fixed; /* Parallax effect for better depth */
}

.contact-hero h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Make text pop against image */
    letter-spacing: -1px;
}

.contact-hero p {
    color: #f8fafc !important; /* Brighter text for better contrast */
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.contact-hero .badge {
    letter-spacing: 2px;
    font-size: 0.85rem;
    background-color: rgba(59, 130, 246, 0.9) !important;
    backdrop-filter: blur(4px);
}

/* Form Section */
.contact-form .form-floating > .form-control,
.contact-form .form-floating > .form-select {
    height: 4rem;
    border: 2px solid #f1f5f9; /* Thicker border for better definition */
    border-radius: 1rem;
    padding-left: 1.5rem;
    font-size: 1.05rem;
    color: #1e293b;
    background-color: #f8fafc;
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > .form-select:focus {
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.contact-form .form-floating > label {
    padding-left: 1.5rem;
    color: #475569 !important; /* Darker labels for visibility */
    font-weight: 500;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > .form-select ~ label {
    color: #3b82f6 !important;
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
}

/* Section Spacing */
.py-section-lg {
    padding-top: 100px;
    padding-bottom: 100px;
}

.card-overlap {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

/* Info Cards V2 */
.location-card-v2 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-color: #ffffff;
}

.location-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.location-card-v2 h5 i {
    font-size: 1.2rem;
}

.location-card-v2 p {
    color: #475569 !important; /* Darker info text */
    line-height: 1.6;
}

.hours-card {
    background: linear-gradient(135deg, #667997 0%, #0f172a 100%);
    border: none;
    
}

.hours-card .text-white-50 {
   
    color: #94a3b8 !important; /* Brighter text on dark background */
}

.assistance-card-v2 {
    border: none;
    position: relative;
    overflow: hidden;
}

.assistance-card-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.assistance-card-v2 .text-white-50 {
    color: rgba(248, 250, 252, 0.9) !important;
}

/* Contact Social Buttons */
.social-btn-contact {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.social-btn-contact:hover {
    transform: translateY(-8px) scale(1.1) rotate(5deg);
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

.social-btn-contact.facebook:hover { background-color: #1877f2; }
.social-btn-contact.twitter:hover { background-color: #1da1f2; }
.social-btn-contact.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn-contact.linkedin:hover { background-color: #0a66c2; }

.social-btn-contact i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.social-btn-contact:hover i {
    transform: scale(1.1);
}

/* Map Styles */
.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 8px solid white;
}

.map-container iframe {
    display: block;
    width: 100% !important;
    height: 500px;
    border: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 80px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.75rem;
    }
    
    .card-overlap {
        margin-top: -50px;
    }
}
