.contact-container {
    background: linear-gradient(135deg, var(--bs-gray-50) 0%, var(--bs-body-bg) 100%);
    min-height: 90vh;
    padding: 3rem 0;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Section */
.contact-header {
    text-align: center;
    padding: 3rem;
    background: var(--bs-body-bg);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bs-border-color);
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 4rem;
    color: #0047FF;
    margin-bottom: 2rem;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.contact-title {
    color: var(--bs-body-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #D10000;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro .lead {
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Quick Contact Methods */
.quick-contact {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-border-color);
}

.quick-contact h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-method {
    background: var(--bs-gray-50);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.quick-method.priority {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border: 2px solid rgba(25, 135, 84, 0.3);
    position: relative;
}

.quick-method.priority::before {
    content: 'RECOMMANDÉ';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #198754;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.quick-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-method .method-icon i {
    color: #0047FF;
}

.quick-method.priority .method-icon i {
    color: #198754;
}

.method-content h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--bs-secondary-color);
    margin-bottom: 1.5rem;
}

/* Contact Reasons */
.contact-reasons {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-border-color);
}

.contact-reasons h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: var(--bs-gray-50);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #0047FF 0%, #D10000 100%);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: var(--bs-body-bg);
}

.reason-icon {
    font-size: 2.5rem;
    color: #D10000;
    margin-bottom: 1rem;
    text-align: center;
}

.reason-card h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
}

.reason-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.reason-details {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.reason-details span {
    background: linear-gradient(135deg, #0047FF 0%, #D10000 100%);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bs-border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.form-header p {
    color: var(--bs-secondary-color);
    margin: 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #0047FF;
    font-size: 1.1rem;
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--bs-border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #0047FF;
    box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: #0047FF;
}

/* Response Times */
.response-times {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-border-color);
}

.response-times h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.time-card {
    background: var(--bs-gray-50);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
    position: relative;
}

.time-card.urgent {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.time-card.normal {
    background: linear-gradient(135deg, rgba(0, 71, 255, 0.1) 0%, rgba(0, 71, 255, 0.05) 100%);
    border-color: rgba(0, 71, 255, 0.3);
}

.time-card.complex {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    border-color: rgba(108, 117, 125, 0.3);
}

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

.time-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.time-card.urgent .time-icon i {
    color: #ffc107;
}

.time-card.normal .time-icon i {
    color: #0047FF;
}

.time-card.complex .time-icon i {
    color: #6c757d;
}

.time-card h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-card .time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-body-color);
    margin-bottom: 0.8rem;
}

.time-card span {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

/* Availability Section */
.availability-section {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-border-color);
}

.availability-header {
    text-align: center;
    margin-bottom: 2rem;
}

.availability-header h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.availability-header p {
    color: var(--bs-secondary-color);
    margin: 0;
}

.availability-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: var(--bs-gray-50);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: var(--bs-body-bg);
}

.schedule-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.schedule-icon i {
    font-size: 2.5rem;
    color: #0047FF;
}

.schedule-info h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-times {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--bs-body-bg);
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
}

.time-slot.weekend {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.time-slot .days {
    color: var(--bs-body-color);
    font-weight: 600;
}

.time-slot .hours {
    color: var(--bs-secondary-color);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-border-color);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.faq-header p {
    color: var(--bs-secondary-color);
    margin: 0;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bs-gray-50);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: var(--bs-body-bg);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
    font-weight: 600;
}

.faq-question i {
    color: #0047FF;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer {
    padding-left: 2.2rem;
}

.faq-answer p {
    color: var(--bs-secondary-color);
    margin: 0;
    line-height: 1.6;
}

.faq-answer a {
    color: #0047FF;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Buttons */
.contact-container .btn,
.contact-wrapper .btn {
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.contact-container .btn:hover,
.contact-wrapper .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.contact-container .btn i,
.contact-wrapper .btn i {
    font-size: 1.1rem;
}

.contact-container .btn-lg,
.contact-wrapper .btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 0;
    }
    
    .contact-header {
        padding: 2rem 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.2rem;
    }
    
    .quick-contact,
    .contact-reasons,
    .contact-form-section,
    .response-times,
    .availability-section,
    .faq-section {
        padding: 1.5rem;
    }
    
    .quick-methods,
    .reasons-grid,
    .times-grid,
    .availability-content {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-method.priority::before {
        top: -8px;
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
    
    .time-slot {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .contact-container .btn,
    .contact-wrapper .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        padding: 0 0.5rem;
    }
    
    .contact-icon {
        font-size: 3rem;
    }
    
    .method-icon,
    .reason-icon,
    .time-icon {
        font-size: 2rem;
    }
    
    .schedule-icon i {
        font-size: 2rem;
    }
    
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
    
    .input-wrapper i {
        left: 0.8rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .contact-container {
        background: white;
        padding: 0;
    }
    
    .contact-wrapper {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .contact-header,
    .quick-contact,
    .contact-reasons,
    .contact-form-section,
    .response-times,
    .availability-section,
    .faq-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .contact-container .btn,
    .contact-wrapper .btn {
        display: none;
    }
}

/* css pour les notif du formulaire */

.contact-notification {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-notification.success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border: 2px solid rgba(25, 135, 84, 0.3);
}

.contact-notification.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
}

.contact-notification.success .notification-content i {
    color: #198754;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-notification.error .notification-content i {
    color: #dc3545;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
    line-height: 1.5;
}

.contact-notification.success .notification-content span {
    color: #0f5132;
}

.contact-notification.error .notification-content span {
    color: #721c24;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation en temps réel */
.input-wrapper.error input,
.input-wrapper.error select,
.input-wrapper.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-wrapper.error i {
    color: #dc3545;
}

/* Responsive pour les notifications */
@media (max-width: 768px) {
    .notification-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .contact-notification.success .notification-content i,
    .contact-notification.error .notification-content i {
        font-size: 1.3rem;
    }
}