/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: #2563eb;
}

/* En-tête */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
}

.logo span {
    color: #f0b106;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #1e293b;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2563eb;
}

.contact-btn {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #1e40af;
    color: white;
}

/* Hero section spécifique à la page À propos */
.about-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 10rem 5% 6rem;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section principale à propos */
.about-main {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-title p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    margin-bottom: 4rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #334155;
}

/* Section Notre Histoire */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #2563eb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #2563eb;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -10px;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 25px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #1e40af;
    margin-bottom: 10px;
}

/* Section Notre Équipe */
.team {
    background-color: #eff6ff;
    padding: 5rem 5%;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.team-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.team-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
}

.team-social a {
    margin: 0 0.5rem;
    color: #64748b;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.team-social a:hover {
    color: #2563eb;
}

/* Section Nos Valeurs */
.values {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.value-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

/* Section Certifications */
.certifications {
    background-color: #eff6ff;
    padding: 5rem 5%;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.certification-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.certification-logo {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.certification-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Pied de page */
footer {
    background-color: #0f172a;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-right {
        left: 0%;
    }
}