/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= GLOBAL ================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f5;
}

/* ================= HEADER HERO ================= */
.header {
    background: linear-gradient(rgba(0,0,50,0.7), rgba(0,0,50,0.7)),
                url('LJHAE4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero {
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    margin-top: 10px;
    font-weight: 300;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 30px 20px;
}

/* ================= CARD ================= */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(40px);
    opacity: 0;
    transition: 0.6s;
}

.card.active {
    transform: translateY(0);
    opacity: 1;
}

.card h2 {
    margin-bottom: 15px;
    color: #002f6c;
}

/* ================= LIST ================= */
ul {
    padding-left: 20px;
}

/* ================= BUTTON ================= */
.btn {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    background: #002f6c;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0050b3;
    transform: scale(1.05);
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* ================= GRID RESPONSIVE ================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* ================= IMAGE ================= */
.image-box {
    width: 100%;
}

.image-box img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

/* Effet hover */
.image-box img:hover {
    transform: scale(1.05);
}

/* ================= RESPONSIVE MOBILE ================= */
@media (max-width: 768px) {

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .image-box img {
        max-height: 250px;
    }
}


table td, table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}


/* ================= TIMELINE ================= */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
    border-left: 4px solid #002f6c;
}

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

.timeline-item::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #002f6c;
    border-radius: 50%;
}

.timeline-content {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: #002f6c;
}


/* ===== TIMELINE ANIMATION ===== */

.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

/* état visible */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* effet léger delay */
.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }
.timeline-item:nth-child(5) { transition-delay: 0.5s; }


.timeline-item:nth-child(even) .timeline-content {
    transform: translateX(50px);
}

.timeline-item:nth-child(odd) .timeline-content {
    transform: translateX(-50px);
}

.timeline-item.show .timeline-content {
    transform: translateX(0);
    transition: 0.6s ease;
}