/* Contact Page Custom Styles */

/* Font Family */
body {
    font-family: 'Anek Bangla', sans-serif;
}

/* Keyframe Animations */
@keyframes contact_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contact_slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contact_slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contact_pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes contact_bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

/* Custom Scrollbar */
.contact_container::-webkit-scrollbar {
    width: 8px;
}

.contact_container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.contact_container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.contact_container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form Input Focus Effects */
.contact_input:focus,
.contact_select:focus,
.contact_textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

/* Button Hover Effects */
.contact_submit_btn:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.contact_support_btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card Hover Effects - Reduced */
.contact_form_container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.contact_info_card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Info Item Hover Effects - Reduced */
.contact_info_item:hover .contact_info_icon {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Alert Styles */
.contact_alert.success {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.contact_alert.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Loading Spinner */
.contact_spinner {
    border-top-color: transparent;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .contact_title {
        font-size: 2.5rem;
    }
    
    .contact_form_container,
    .contact_info_card {
        padding: 1.5rem;
    }
    
    .contact_form_row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact_title {
        font-size: 2rem;
    }
    
    .contact_container {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .contact_submit_btn,
    .contact_support_btn,
    .contact_loading_overlay {
        display: none !important;
    }
    
    .contact_form_container,
    .contact_info_card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact_input,
    .contact_select,
    .contact_textarea {
        border-width: 2px;
        border-color: #000;
    }
    
    .contact_submit_btn {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-contact_fadeInUp,
    .animate-contact_slideInLeft,
    .animate-contact_slideInRight {
        animation: none;
    }
    
    .contact_form_container:hover,
    .contact_info_card:hover {
        transform: none;
    }
}

/* Focus Visible for Accessibility */
.contact_input:focus-visible,
.contact_select:focus-visible,
.contact_textarea:focus-visible,
.contact_submit_btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Support Schedule Styles */
.contact_schedule_item {
    transition: all 0.3s ease;
}

.contact_schedule_item:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateX(5px);
}

/* FAQ Styles */
.contact_faq_item {
    transition: all 0.3s ease;
}

.contact_faq_item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact_faq_question:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.contact_faq_answer {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emergency Note Animation */
.contact_emergency_note {
    animation: contact_pulse 3s infinite;
}

/* Support Time Card Hover */
.contact_support_time_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Custom Selection */
::selection {
    background-color: #3b82f6;
    color: white;
}

::-moz-selection {
    background-color: #3b82f6;
    color: white;
}