/* ===== Styles spécifiques pour la page À propos ===== */

/* Variables CSS pour la cohérence */
:root {
    --primary-blue: #1f3f7b;
    --secondary-blue: #2c5aa0;
    --accent-orange: #c97516;
    --text-dark: #374151;
    --text-medium: #6b7280;
    --light-gray: #f8f9fa;
    --medium-gray: #e5e7eb;
}

/* Styles pour les conteneurs Bootstrap */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/*
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
*/
/* Améliorations pour les animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    animation: fadeInUp 0.6s ease-out;
}

.about-section:nth-child(1) { animation-delay: 0.1s; }
.about-section:nth-child(2) { animation-delay: 0.2s; }
.about-section:nth-child(3) { animation-delay: 0.3s; }

/* Améliorations pour les statistiques */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Améliorations pour le formulaire */
.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
}

/* Styles pour les messages de succès/erreur */
.contact-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Améliorations pour la responsivité */
@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero h1 {
        font-size: 32px;
    }
    
    .about-hero p {
        font-size: 16px;
    }
    
    .about-content {
        padding: 60px 0;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 25px 15px;
        margin: 0 10px;
    }
}

/* Styles pour les icônes des statistiques */
.stat-icon {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

/* Améliorations pour les boutons */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

/* Styles pour les liens */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* Améliorations pour l'accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible pour l'accessibilité */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* ===== CORRECTION POUR L'AFFICHAGE DES WIDGETS DU FOOTER ===== */

/* Correction pour l'affichage des widgets du footer sur cette page */
.about-page .footer-widgets {
    padding: 0 !important;
}

.about-page .footer-widgets .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
    width: 100% !important;
}

.about-page .footer-widgets .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    padding: 0 15px !important;
    margin-bottom: 2rem !important;
    float: none !important;
    display: block !important;
}

@media (max-width: 992px) {
    .about-page .footer-widgets .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 768px) {
    .about-page .footer-widgets .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Correction spécifique pour les widgets */
.about-page .footer-widgets .widget {
    margin-bottom: 0 !important;
}

.about-page .footer-widgets .widget-title {
    margin-bottom: 15px !important;
}

/* Correction pour le formulaire de contact dans le footer */
.about-page .footer-widgets .wpcf7-form {
    margin: 0 !important;
}

.about-page .footer-widgets .wpcf7-form-control {
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* Styles supplémentaires pour forcer l'affichage */
.about-page .site-footer .footer-widgets .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.about-page .site-footer .footer-widgets .col-lg-3 {
    flex: 1 1 25% !important;
    min-width: 0 !important;
}

/* Debug - bordures temporaires pour voir les colonnes */
.about-page .footer-widgets .col-lg-3 {
    border: 2px solid red !important;
    box-sizing: border-box !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

/* Test pour vérifier si les styles CSS fonctionnent */
.about-page {
    border: 5px solid blue !important;
}

.about-page .site-footer {
    border: 5px solid green !important;
}

.about-page .footer-widgets {
    border: 5px solid yellow !important;
}