/*
 * Fichier : about.css
 * Description : Styles spécifiques pour la page À propos
 */

/* ===== BANNIÈRE PAGE ABOUT ===== */
.about-banner {
    background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 86, 179, 0.9)), url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.about-banner .banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.about-banner .banner-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== SECTION NOTRE HISTOIRE ===== */
.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
    z-index: 2;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
    line-height: 1.2;
}

/* ===== SECTION MISSION & VISION ===== */
.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-card,
.vision-card {
    background-color: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.mission-card .card-icon {
    color: var(--primary-color);
}

.vision-card .card-icon {
    color: var(--secondary-color);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.mission-card p,
.vision-card p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ===== SECTION VALEURS ===== */
.values-section {
    padding: 100px 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== SECTION STATISTIQUES ABOUT ===== */
.about-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
    transition: all 0.5s ease;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTION ÉQUIPE ===== */
.team-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.team-member:hover .member-social {
    opacity: 1;
    transform: translateY(0);
}

.member-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    line-height: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== SECTION CERTIFICATIONS ===== */
.certifications-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.certifications-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.certification-item {
    flex: 0 0 auto;
    width: 180px;
    padding: 20px;
    transition: var(--transition);
    opacity: 0.8;
}

.certification-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.certification-item img {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.certification-item:hover img {
    filter: grayscale(0%);
}

.certification-item p {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* ===== SECTION CTA ABOUT ===== */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.95)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.about-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta .cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation pour les cartes de valeurs */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.value-card {
    animation: fadeInScale 0.6s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }


/* ===== STATISTIQUES AMÉLIORÉES ===== */
.stat-item {
    position: relative;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-tooltip {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: help;
}

.stat-tooltip i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.stat-tooltip:hover i {
    color: var(--secondary-color);
}

.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    line-height: 1.4;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-color) transparent transparent transparent;
}

.stat-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== SECTION TOUTES LES STATISTIQUES ===== */
.all-stats-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.all-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.all-stat-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.all-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.all-stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
}

.all-stat-content {
    flex: 1;
}

.all-stat-value {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.all-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.stat-prefix,
.stat-suffix {
    font-size: 1.2rem;
    color: var(--gray-color);
}

.all-stat-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.all-stat-desc {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
}

/* ===== BOUTON TOUTES LES STATISTIQUES ===== */
.btn-outline-light {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}