* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* S'assurer que la page prend toute la hauteur */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden; /* Empêche le scroll horizontal */
    box-sizing: border-box;
    font-family: sans-serif;
}

*, *::before, *::after {
    box-sizing: inherit; /* hérite de html -> box-sizing: border-box */
}

.my-section {
    max-width: 100%;
    padding: 20px;
}

/* Écran de chargement */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    color: #000000;
    background-color: #E07A5F;
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hidden {
    display: none;
}

body {
    background-color: #ffffff;
    color: #000000;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Style de la navbar par défaut */
.navbar {
    margin: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
}

/* Style des liens */
.navbar a {
    padding: 10px;
    text-decoration: none;
    color: #000000;
}

.contact{
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    color: #000000;
    background-color: #E07A5F;
}

.navbar-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

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

/* Centrer le contenu de la section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh; /* prend toute la hauteur de la fenêtre */
}

/* Rendre le logo responsive */
.logo-img-off {
    max-width: 100%;
    height: auto;
    width: 90%;
    max-height: 400px;  /* limite la hauteur pour éviter qu'il soit trop grand */
    /* object-fit: contain; */
}


.menu-toggle {
    font-size: 26px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu {
    position: fixed;
    top: 1;
    left: -100%;
    width: 75%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.mobile-menu a {
    text-decoration: none;
    color: #D16C50;
    font-size: 18px;
}

.mobile-menu.active {
    left: 0;
}

/* section de bienvenue */
.welcome-section {
    height: 90vh;
    width: 100%;
    background: linear-gradient(rgba(113, 76, 76, 0.8), rgba(149, 25, 25, 0.8)), url('/img/baobab.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.welcome-header h1 {
    font-size: 4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.welcome-description p {
    margin-top: 50px;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.welcome-cta {
    gap: 50px;
    font-size: 1.2rem;
    margin-top: 50px;
    margin-bottom: 50px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: center;
}

.welcome-cta .cta-button:hover {
    background-color: #D16C50;
}

.welcome-features {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}

.welcome-features p {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-features i {
    font-size: 1.5rem;
    color: #E07A5F;
}

/* Section Développement */
.about-section {
    padding: 40px;
    background: #f9f9f9;
    text-align: start;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.5rem;
    margin-top: 50px;
}

.intro-text{
    color: #D16C50;
}

.about-title {
    margin-top: 30px;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
    gap: 50px;
}

.highlights {
    color: #D16C50;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.highlights li {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.final-call{
    padding-top: 50px;
    color: #D16C50;
    font-size: 1.5rem;
}

.section-span{
    flex-direction: column;
    /* display: flex; */
}

.about-image {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    border-radius: 20px;
    align-items: center;
}

.fixed-background {
    background-image: url('img/raps.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
}

/* Section Explorer */
.explore-section {
    height: 50vh;
    padding: 40px;
    background-color: #D16C50;
    color: #fff;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.explore-title {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.explore-button {
    margin-top: 50px;
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.explore-button:hover {
    background: #F4A261;
    color: #fff;
}

/* Section Témoignages */
.testimonials-title, .testimonials-intro{
    text-align: center;
}

.testimonials-section {
    padding: 50px;
}

.testimonials-title {
    font-size: 24px;
    font-weight: bold;
}

.testimonials-intro {
    font-size: 16px;
    margin-bottom: 30px;
}

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 20px;
    width: 60%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.arrow {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

#stars {
    color: #d97706;
    font-size: 20px;
    margin: 10px 0;
}

/* mewsletter */
.newsletter {
    text-align: center;
    padding: 40px;
    border-radius: 8px;
}

.newsletter h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
}

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

.newsletter form label {
    display: block;
    font-size: 14px;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-group input {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.input-group button {
    padding: 10px 20px;
    border: none;
    background-color: #D16C50;
    color: #000000;
    border-radius: 4px;
    cursor: pointer;
}

.input-group button:hover {
    background-color: #D16C50;
}

/* page suivate "qui sommes nous" */
.expertise-content {
    background: linear-gradient(rgba(113, 76, 76, 0.8), rgba(149, 25, 25, 0.8)), url('/img/baobab.jpeg');
    height: 70vh;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.expertise-content h1 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.expertise-mission-titre{
    height: 10vh;
    color: #D16C50;
    background-color: #ffffff;
    font-size: 2.5rem;
    text-align: center;
    padding: 10px;
    font-size: 2.5rem;
    padding: 50px;
}

.expertise-mission {
    color: #000000;
    background-color: #ffffff;
    font-size: 2rem;
    text-align: center;
    margin: 50px;
    padding: 50px;
}

.expertise-presentation {
    color: #ffffff;
    font-size: 2.1rem;
    max-width: 50%;
    margin: 10px; 
    margin-right: auto;
    text-align: left;
    padding-left: 50px;
}

/* ckjwbdsijkacbiwbsckjb wejbikjwebfjkcw ekjbdf wke  */
h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Section Valeurs */
.valeurs h2{
    margin: 50px;
    color: #D16C50;
}

/* Section Vision */
.vision h2{
    margin: 50px;
    color: #D16C50;
}

.vision p{
    font-size: 1.5rem;
    color: #000000;
    padding: 50px;
    text-align: center;
}

/* Section Equipe */
.equipe {
    flex-direction: column;
    gap: 10px;
    position: relative;
    background: linear-gradient(rgba(44, 44, 44, 0.8), rgba(53, 52, 52, 0.8)), url('/img/senegal-statue.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Philosophie */
.philosophie {
    padding: 50px;
    text-align: center;
}

.mots {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2em;
    font-weight: bold;
    padding-top: 20px;
}

.eva {
    color: #F4A261;
}

.plus {
    color: #000;
}

.neos {
    color: #D16C50;
}

/* partie professionnelle */
/* Container for the feature section */
.valeurs h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.vision h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
}

/* Individual feature items */
.feature-item {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.intro-solution p{
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
    color: #000000;
    font-size: 1.5rem;
}

.intro-solution h1, .valeur-ajoute h1{
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
    color: #D16C50;
    font-size: 2rem;
}

 /* Icon styling */
.feature-item i {
    font-size: 2.5rem;
    color: #d16c50;
    margin-bottom: 15px;
}

/* Feature title styling */
.feature-item h3 {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 10px;
}  

/* Feature description styling */
.feature-item p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

.faire-devis-text {
    height: 20vh;
    /* display: flex; */
    text-align: center;
    justify-content: center;
    align-items: center;
    /* margin: 50px; */
    background-color: #333333;
}

.faire-devis-text h1{
    padding-top: 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: #d16c50;
    margin-bottom: 50px;
}


.faire-devis-text a{
    text-decoration: none;
    padding: 15px;
    background-color: #D16C50;
    color: #ffffff;
    border-radius: 50px;
}

/* partie voyage */
.hero-section {
    height: 80vh;
    background: linear-gradient(rgba(128, 42, 42, 0.6), rgba(128, 42, 42, 0.6)), url('/img/baobab.jpeg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    margin: 50px;
    font-size: 1.5rem;
}

/* voyage  Section */
.welcome-section-trip {
    height: 80vh;
    width: 100%;
    background: linear-gradient(rgba(113, 76, 76, 0.8), rgba(149, 25, 25, 0.8)), url('/img/baobab.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-header-trip h1 {
    font-size: 4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.welcome-description-trip p {
    margin-top: 50px;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.events-trip {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh; /* Augmenté pour un meilleur rendu */
    background-color: #ffffff;
    color: #000000; /* Blanc pour mieux contraster */
    text-align: center;
    padding: 40px 20px; /* Ajout de padding */
}

.events-trip-content {
    max-width: 800px; /* Limite la largeur du texte */
}

.events-trip-content h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #D16C50;
    color: #ffffff; /* Blanc pour un bon contraste */
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background-color: #E07A5F; /* Assombri au survol */
}

.mission-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #731c1c;
    color: #fff;
    padding: 50px 0; /* Suppression du padding latéral */
}

.mission-content {
    padding: 50px;
    display: flex;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 50px;
}

.mission-image {
    flex: 1; /* Prend 50% de l’espace */
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
}

.mission-text {
    flex: 1; /* Prend 50% de l’espace */
    max-width: 50%;
    padding: 20px; /* Ajouter un peu de respiration */
    text-align: center;
}

.mission-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e07a5f;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d16c50;
}

/* Styles de la section */
.stats-section {
    padding: 50px 20px;
    background-color: #D16C50;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.stat {
    background: #E07A5F;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat p{
    font-size: 1rem;
    margin-top: 10px;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

.pourcentage {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 5px;
}

/* 📌 Section destinations */
.destinations {
    margin: 20px;
    color: #D16C50;
}

.destinations h2 {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #D16C50;
}

/* 📌 Mise en valeur */
.highlight {
    font-weight: bold;
    color: #ffe8e8;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 6px;
    border-radius: 5px;
}

/* 📌 Bouton CTA */
.cta-button-trip {
    background-color: white;
    color: #000000;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

/* 📌 Effet bouton hover */
.cta-button-trip:hover {
    background-color: #d97706;
    color: white;
}

/* 🌍 Section Destinations */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 50px;
}

.grid-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.grid-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: #D16C50;
    font-size: 22px;
    margin-bottom: 5px;
}

.overlay p {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
}

/* sectrion autres destinations  */
.travel-section {
    text-align: center;
    padding: 40px 20px;
}

.travel-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #D16C50;
}

.carousel-container {
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    margin: auto;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 300px;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.5;
    text-align: left;
}

.carousel-card.active {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
}

.card-info h3 {
    color: #F4A261;
}

.card-info p {
    color: #333;
    padding: 10px 0;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-buttons button {
    background-color: #F4A261;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.carousel-buttons button:hover {
    background-color: #E76F51;
}

/* section evenemments */
.events-section {
    padding: 50px;
    color: white;
}

.events-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #000000;
}

.events-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.event-card {
    position: relative;
    width: 300px;
    background: white;
    color: black;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    image-resolution: from-image;
}

.event-content {
    padding: 15px;
}

.event-content h3 {
    margin-bottom: 10px;
    color: #D16C50;
}

.event-content p {
    font-size: 14px;
    color: #555;
}

/* Popup */
.event-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    z-index: 1000;
}

.event-popup button {
    margin-top: 10px;
    padding: 10px 15px;
    background: #ff7e5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.event-popup button:hover {
    background: #feb47b;
}

/* ------------------- MEDIA QUERIES ------------------- */
/* 📱 Téléphones - < 768px */
@media (max-width: 767px) {
.navbar {
    display: none;
}

.navbar-mobile {
    display: flex;
}
}

/* 📱 Tablettes - entre 768px et 992px */
@media (min-width: 768px) and (max-width: 992px) {
.navbar {
    padding: 8px;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
}

.navbar a {
    padding: 10px;
    font-size: 16px;
}

.contact {
    font-size: 14px;
    padding: 8px;
}

/* On garde la navbar visible */
.navbar {
    display: flex;
}

.navbar-mobile {
    display: none;
}
}