body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom right, #f9f9f9, #e0e0e0);
    color: #333;
    line-height: 1.6;
}

header {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    margin: 60px auto;
}

.bio-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    margin-bottom: 60px;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.bio-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.bio-content h2 {
    font-size: 34px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.bio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
}

.bio-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-item span {
    font-weight: 500;
}

.avatar {
    display: flex;
    justify-content: center;
    position: relative;
}

.avatar-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #60a5fa, #4ade80);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.avatar-circle {
    position: relative;
    background: linear-gradient(to bottom right, #2563eb, #16a34a);
    border-radius: 50%;
    padding: 70px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 280px;
}

.avatar-icon {
    width: 100px;
    height: 100px;
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

h2.section-title {
    font-size: 34px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 40px;
}

.history-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 180px;
    padding: 40px;
}

.history-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.history-item.reverse {
    flex-direction: row-reverse;
}

.history-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 300px;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease-out;
}

.history-item:hover .history-image img {
    transform: scale(1.05);
}

.history-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 300ms ease;
}

.history-item:hover .history-overlay {
    opacity: 1;
}

.history-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
}

.history-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

.table-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow-x: auto;
}

.table-section h2 {
    font-size: 34px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(to right, #1e293b, #0f172a);
    color: white;
}

thead tr th {
    border: 1px solid #cbd5e1;
    padding: 15px 20px;
    text-align: left;
    font-weight: 500;
}

tbody tr {
    transition: background-color 200ms ease;
}

tbody tr:nth-child(odd) {
    background: #f8fafc;
}

tbody tr:nth-child(even) {
    background: #ffffff;
}

tbody tr:hover {
    background: #e0f2fe;
}

tbody tr td {
    border: 1px solid #cbd5e1;
    padding: 10px 20px;
    color: #475569;
}

.thanks-section {
    background: linear-gradient(to right, #f0f4f8, #f0fdf4);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.thanks-section h2 {
    font-size: 34px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 40px;
}

.thanks-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.thanks-image {
    flex: 0 0 calc(30% - 30px);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 360px;
}

.thanks-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thanks-text {
    flex: 0 0 calc(70% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thanks-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
}

.thanks-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #16a34a);
    border-radius: 9999px;
}

.thanks-text p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

.thanks-text .highlight {
    font-weight: 500;
}

footer {
    background: #1e293b;
    color: white;
    padding: 30px 15px;
    text-align: center;
    margin-top: 60px;
    font-size: 16px;
}

.icon {
    display: inline-block;
    width: 22px;
    height: 22px;
}

.icon.blue { color: #2563eb; }
.icon.green { color: #16a34a; }
.icon.red { color: #dc2626; }
.icon.orange { color: #ea580c; }
.icon.purple { color: #9333ea; }

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 24px; /* Ajustement pour les petits écrans */
    }

    .bio-card {
        padding: 20px; /* Réduire le padding pour les cartes */
    }

    .bio-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
    }

    .thanks-content {
        flex-direction: column; /* Aligner les éléments verticalement */
    }

    .thanks-image {
        flex: 0 0 100%; /* Prendre toute la largeur */
        height: auto; /* Ajuster la hauteur automatiquement */
    }

    .thanks-text {
        flex: 0 0 100%; /* Prendre toute la largeur */
    }

    .history-item,
    .history-item.reverse {
        flex-direction: column; /* Colonne pour les petits écrans */
    }

    .history-image {
        flex: 0 0 100%; /* Prendre toute la largeur */
        height: auto; /* Ajuster la hauteur automatiquement */
    }

    .history-content {
        flex: 0 0 100%; /* Prendre toute la largeur */
    }
}

@media (max-width: 480px) {
    h2.section-title,
    .thanks-section h2 {
        font-size: 26px; /* Réduire la taille du titre */
    }

    .bio-content h2 {
        font-size: 22px; /* Ajuster la taille du sous-titre */
    }

    .history-header h3 {
        font-size: 22px; /* Ajuster la taille des titres d'historique */
    }

    .history-content p {
        font-size: 14px; /* Ajuster la taille des paragraphes */
    }
}
