/* Reset some default styles */
body, h1, h2, h3, p, ul, li, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Header */
header {
    background: url('images/h.jpg') no-repeat center center/cover;
    color: #2a06f5;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}



nav {
    color: #000000;
    padding: 20px 0;
}

nav .containe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav h1 {
    font-size: 1.5em;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #10047c;
}

/* Hero Section */
/* Style pour la section hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh; /* Ajuster selon les besoins */
    background: url('images/hero-bg.jpg') no-repeat center center/cover; /* Image d'arrière-plan */
    position: relative; /* Pour la superposition */
    color: #fff; /* Couleur du texte par défaut */
}

/* Style pour le texte avec superposition */
.hero-text {
    position: relative; /* Nécessaire pour le positionnement de l'overlay */
    text-align: center; /* Centrer le texte horizontalement */
    padding: 20px; /* Espacement autour du texte */
    z-index: 1; /* Assurer que le texte est au-dessus de l'overlay */
}

/* Ajouter l'overlay */
.hero-text::before {
    content: ""; /* Contenu vide pour créer l'overlay */
    position: absolute; /* Positionner l'overlay absolument */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fond noir avec opacité */
    z-index: -1; /* Assurer que l'overlay est derrière le texte */
}

/* Style pour le titre */
.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Style pour le paragraphe */
.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Style pour le bouton CTA */
.cta-button {
    background: #007BFF; /* Couleur de fond du bouton */
    color: #fff; /* Couleur du texte du bouton */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

/* Changer la couleur du bouton au survol */
.cta-button:hover {
    background: #0056b3; /* Couleur du fond au survol */
    color: #e0e0e0; /* Couleur du texte au survol */
}

/* Reset some default styles */
body, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.containe {
    display: flex;
    justify-content: space-between; /* Aligns logo to the left and links to the right */
    
    padding: 30px 50px; /* Add some padding */
}

/* Style for the logo */
.logo {
    height: 130px; /* Adjust the height of the logo as needed */
}

/* Style for the navigation list */
ul {
    display: flex;
    list-style-type: none; /* Remove bullet points */
}

ul li {
    margin-left: 20px; /* Space between navigation items */
}

ul li a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Set the color of the links */
    font-size: 16px; /* Adjust the font size */
    display: flex;
    align-items: center; /* Center icons and text vertically */
}

ul li a i {
    margin-right: 8px; /* Space between icon and text */
}

/* Optional: Add some styling for the navigation links on hover */
ul li a:hover {
    color: #007BFF; /* Change color on hover */
}



/* Features Section */
.features {
    padding: 40px 20px;
    text-align: center;
}

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

.features h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.feature {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 8px;
    margin: 1% auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 10px;
}

.feature h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1em;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* About Section */
.about {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* Contact Section */
.contact {
    padding: 40px 20px;
    background: #4CAF50;
    color: #fff;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact form input, .contact form textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.contact form input {
    background: #fff;
    color: #333;
}

.contact form textarea {
    background: #fff;
    color: #333;
    height: 150px;
}

.contact form button {
    background: #fff;
    color: #4CAF50;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.contact form button:hover {
    background: #4CAF50;
    color: #fff;
}

/* Footer */
/* footer {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
} */






/* Style général du footer */
footer {
    background-color: #333; /* Couleur de fond sombre pour un contraste élevé */
    color: #fff; /* Couleur du texte */
    padding: 20px 0; /* Espacement interne du footer */
    text-align: center; /* Alignement du texte au centre */
    font-size: 14px; /* Taille de la police */
}

/* Style pour le conteneur du footer */
.footer-container {
    max-width: 1200px; /* Largeur maximale du footer */
    margin: 0 auto; /* Centrer le footer */
    padding: 0 20px; /* Espacement interne */
}

/* Style pour les liens */
footer a {
    color: #1e90ff; /* Couleur des liens */
    text-decoration: none; /* Retirer le soulignement des liens */
}

footer a:hover {
    text-decoration: underline; /* Souligner les liens au survol */
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        font-size: 12px; /* Réduire la taille de la police sur les petits écrans */
    }
}











/* Responsive Styles */
@media (max-width: 768px) {
    nav h1 {
        font-size: 1.2em;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature {
        width: 90%;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .feature img {
        width: 50px;
        height: 50px;
    }

    .feature h3 {
        font-size: 1em;
    }

    .about p {
        font-size: 1em;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}