* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background-color: #0B0D59;
    color: #fff;
}


header {
    background-color: skyblue;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 24px;
    color: #fff;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0px 0px 19px white;
    background-color: white;
    border-radius: 5px;
    padding: 5px 10px;
}

header nav ul li a:hover {
    text-shadow: 0px 0px 10px white;
    background-color : black;
    color : blue;
}


.slogan{
    color: yellow;
}

.title {
    text-shadow: 0px 0px 8px #0B0D59;
    font-size: 33px;
    text-align: center;
}

/* Footer styles */
.foot {
    background-color: #333;
    color: #fff;
    padding: 20px 0;

}

.containerfooter {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #333;
    width: 100%;
}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section a {
    color: #00BFFF;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section p {
    margin-bottom: 5px;
}




/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0B0D59;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 2px solid #00BFFF; /* Add a border at the bottom */
}

.hero-content {
    max-width: 800px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in; /* Add a fade-in animation */
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase; /* Make the title uppercase */
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 10px; /* Add margin for better spacing */
}

/* Hero Slider */
.hero-slider {
    display: flex;
    justify-content: center;
    gap: 20px; /* Increase gap between images */
}

.hero-slider img {
    width: 250px; /* Increase size of the images */
    height: auto;
    border-radius: 10px; /* Make the corners more rounded */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); /* Enhance shadow effect */
    transition: transform 0.3s; /* Add transition for hover effect */
}

.hero-slider img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Goals Section */
.goals {
    background-color: #f4f4f4;
    color: #333;
    padding: 50px 20px;
    text-align: center;
    border-top: 2px solid #00BFFF; /* Add a border at the top */
}

.goals .container {
    max-width: 1200px;
    margin: 0 auto;
}


.goals h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0B0D59; /* Change color for better visibility */
    text-decoration: underline; /* Underline the heading */
}

.goal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px; /* Increase spacing between goals */
}

.goal-icon {
    font-size: 48px;
    margin-right: 20px;
    transition: transform 0.3s; /* Add transition for hover effect */
}

.goal-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.goal-content {
    max-width: 600px;
    text-align: left; /* Align text to the left for better readability */
}

.goal-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0B0D59; /* Change color for the goal titles */
    font-weight: bold; /* Make titles bold */
}

.goal-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0; /* Remove default margin for better spacing */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Empile les éléments de l'en-tête verticalement */
        align-items: flex-start;
    }

    header h1 {
        font-size: 20px; /* Ajustez la taille du titre si nécessaire */
    }

    header nav ul {
        flex-direction: row; /* Changer la direction en colonne pour mieux s'adapter */
        margin-top: 10px;
        padding: 0; /* Réinitialiser le padding */
    }

    header .container {
        flex-direction: column;
        align-items: center; /* Centrer les éléments horizontalement */
        padding: 0 10px; /* Ajouter un padding pour éviter le débordement */
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
        padding: 5px 0; /* Ajuster le padding */
        border: 1px solid black;
    }

    header nav ul li a {
        padding: 10px; /* Augmente le padding pour un meilleur confort de clic */
        font-size: 14px; /* Ajustez la taille de la police pour les petits écrans */
    }
    .hero .container {
        flex-direction: column;
    }

    .hero-content, .hero-slider {
        flex: none;
        width: 100%;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero img {
        width: 80%;
    }


    /* Footer styles for mobile */
    .containerfooter {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
        width: 100%;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section a, .footer-section p {
        font-size: 14px;
    }
}

