/* Animations globales avec couleur de fond bleue élégante */

body {
    animation: fadeIn 1s ease-in-out;
    background: linear-gradient(135deg, #dbe9f6, #6fa3ef);
    font-family: 'Roboto', sans-serif;
    margin: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation des titres avec effet coloré bleu */

h1, h2, h3 {
    position: relative;
    animation: slideInFromLeft 1.5s ease;
    color: #003c8f;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: justify;
    margin-bottom: 50px;
    line-height: 1.8;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-10px);
        opacity: 0.7;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation au survol des boîtes avec couleurs élégantes */

.box {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: #f4faff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    text-align: justify;
    margin-bottom: 50px;
    line-height: 1.8;
}

.box.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 3s ease, transform 3s ease;
}

.box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

/* Effet de zoom sur les images avec bordure arrondie */

.image-box img {
    transition: transform 3s ease;
    border-radius: 10px;
    margin-bottom: 50px;
}

.image-box:hover img {
    transform: scale(1.2);
}

/* Animation d’apparition progressive des sections */

.section-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    color: #003c8f;
    border-bottom: 3px solid #0056b3;
    display: inline-block;
    padding-bottom: 5px;
    text-align: justify;
    margin-bottom: 50px;
    line-height: 1.8;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Boutons dynamiques avec effet dégradé bleu */

.btn-download {
    transition: background-color 0.5s ease, transform 0.3s ease;
    background: linear-gradient(135deg, #0056b3, #003c8f);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-download:hover {
    background: linear-gradient(135deg, #003c8f, #0056b3);
    transform: scale(1.1);
}

/* Animation d’entrée des liens avec soulignement coloré bleu */

a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.8;
}

a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: -100%;
    background-color: #0056b3;
    transition: left 0.3s ease;
}

a:hover::before {
    left: 0;
}

/* Keyframes pour les entrées latérales */

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mise en valeur des images sur fond élégant */

#highlighted-image {
    transition: transform 3s linear, max-height 0.5s linear;
    border: 1px solid #95ddf4;
    border-radius: 10px;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
}

.image-box:hover #highlighted-image {
    transform: scale(1.3);  
}

/* Stylisation des listes */

ul, ol {
    padding-left: 25px;
    text-align: justify;
    margin-bottom: 50px;
    line-height: 1.8;
}

ul li {
    list-style-type: disc;
    margin-bottom: 15px;
}

ol li {
    list-style-type: decimal;
    margin-bottom: 15px;
}

.detail-box {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center; /* Centrer le contenu de la div */
}
