/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-red) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero-features {
    margin: 2rem 0;
}

.feature-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    opacity: 0.9;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-image-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.support-badge, .response-badge, .languages-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.support-badge {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.response-badge {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.languages-badge {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

.support-badge i, .response-badge i, .languages-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.quick-contact {
    background: #f8f9fa;
}

.quick-contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.quick-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.quick-contact-card.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.whatsapp-card .contact-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-details {
    margin: 1rem 0;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ff4757;
}

.whatsapp-card .contact-link:hover {
    color: #128C7E;
}

.chat-button {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
}

.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.office-locations {
    background: white;
}

.office-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
    position: relative;
}

.office-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.office-card.main-office {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
}

.office-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.office-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-black)    , var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.office-details {
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.detail-item i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-item a:hover {
    color: #ff4757;
}

.office-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.office-actions .btn {
    border-radius: 25px;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.google-maps {
    background: #f8f9fa;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 10;
    max-width: 380px;
    border: 1px solid rgba(0,0,0,0.1);
}

.overlay-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.overlay-actions .btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.contact-form-section {
    background: white;
}

.contact-form .card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control, .contact-form .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    margin-left: 0.5rem;
}

.contact-form .is-invalid {
    border-color: #dc3545;
}

.contact-faq {
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    border-radius: 15px !important;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    border-radius: 15px !important;
    font-weight: 600;
    background: white;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: #000000;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

.support-channels {
    background: white;
}

.support-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-black), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.support-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.support-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-features .fas {
    color: #28a745;
    font-size: 0.9rem;
}

.emergency-contact {
    background: linear-gradient(135deg, var(--primary-black) 20%, var(--primary-red) 100%);
}

.emergency-features {
    margin: 2rem 0;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emergency-feature i {
    font-size: 1.5rem;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emergency-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #dc3545;
    transition: all 0.3s ease;
}

.emergency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.emergency-number {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.emergency-number:hover {
    color: #c82333;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.tooltip-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-button:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-hero .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .quick-contact-card {
        margin-bottom: 2rem;
    }
    
    .office-actions {
        flex-direction: column;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
    }
    
    .overlay-actions {
        flex-direction: column;
    }
    
    .emergency-features .emergency-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .support-badge, .response-badge, .languages-badge {
        position: static;
        margin: 1rem;
        animation: none;
    }
    
    .hero-image-container {
        height: auto;
        margin-top: 2rem;
    }
    
    .contact-visual {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .tooltip-text {
        display: none;
    }
}
