/* IMPORTATION DE LA POLICE POPPINS */
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* REMISE À ZÉRO DES MARGES ET DES PADDINGS POUR TOUS LES ÉLÉMENTS */
/* Base reset for margins and paddings */
* {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif, !important;
}

/* Body style */
body {
    overflow-x: hidden; /* Prevent horizontal overflow */
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

}


html {
    scroll-behavior: smooth;
}

/* Ensure sections have enough top padding to avoid overlap with fixed navbar */
section {
    padding-top: 80px; /* Adjust according to the height of your navbar */
    margin-top: -80px; /* Negative margin of the same value to offset the padding */
}

/* Main content adjustment */
.main-content {
    margin-top: 79px;
}

/* Wrapper style */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110vh;
    background: rgba(255, 255, 255, 0.4);
    padding-top: 77px;
}



/* Navigation bar style */
.nav {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 77px;
    line-height: 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
    background-color: white;
    user-select: none;
}

/* Ligne grise en dessous de la barre de navigation */
.nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d4d2d2;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -10000;
}


/* Slider container style */
.slider-container {
    position: relative;
    overflow: hidden;
    height: 500px;
    max-width: 100%; /* Ensure it doesn't exceed the viewport width */
    margin: 80px auto 40px auto; /* Add top and bottom margins to create spacing */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    display: flex;
    z-index: 15;
}

/* Style for arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

input[type="radio"] {
    display: none;
}

.menu label {
    cursor: pointer;
    display: inline-block;
    width: 15px;
    height: 15px;
    background: none;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s;
}

.menu label:hover, .menu label:focus {
    background: #a6a6a6;
}

input[type="radio"]:checked ~ .menu label {
    background: #ff8000;
}

/* Ensure the next sections do not overlap with the slider */
section.sc-grid.sc-grid-one {
    padding-top: 120px; /* Add sufficient padding to ensure no overlap with the slider */
}


/* STYLE DU CORPS DE LA PAGE */
body {
    overflow: scroll;
    scrollbar-width: thin;
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

section {
    padding-top: 80px; /* Adjust according to the height of your navbar */
    margin-top: -80px; /* Negative margin of the same value to offset the padding */
}


/* STYLE DU CONTENU PRINCIPAL */
.main-content {
    margin-top: 79px;
}

/* STYLE DU WRAPPER */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110vh;
    background: rgba(255, 255, 255, 0.4);
    padding-top: 77px;
}

.nav {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 77px;
    line-height: 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
    background-color: white;
    z-index: 10000;
}

.nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d4d2d2;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* STYLE DU LOGO DE LA BARRE DE NAVIGATION */
.nav-logo a {
    display: block;
    height: 100%;
}

.nav-logo img {
    height: 50px;
    width: auto;
    margin-top: 20px;
}

@media only screen and (max-width: 1415px) {
    .nav-logo img {
        height: 40px;
        margin-top: 18px;
    }
}

@media only screen and (max-width: 768px) {
    .nav-logo img {
        height: 35px;
        margin-top: 16px;
    }
}

@media only screen and (max-width: 540px) {
    .nav-logo img {
        height: 30px;
        margin-top: 14px;
    }
}

/* STYLE DU MENU DE LA BARRE DE NAVIGATION */
.nav-menu {
    display: flex;
    justify-content: space-around;
    transform: translateX(-20%);
}

.nav-menu ul {
    display: flex;
    flex-direction: row;
}

.nav-menu ul li {
    list-style-type: none;
}

.nav-menu ul li {
    position: relative;
    z-index: 1;
    transform: translateY(-3%);
}

.nav-menu ul li .link {
    position: relative;
    display: inline-block;
    line-height: 1.5; /* Ajuster selon les besoins */
    vertical-align: middle; /* S'assure que le texte reste au centre verticalement */
    padding-bottom: 5px; /* Laissez de l'espace pour le soulignement */
}

.nav-menu ul li .link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff7f00; /* Couleur de la barre */
    bottom: -2px; /* Ajustez cette valeur pour positionner la barre correctement */
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-menu ul li .link:hover::after,
.nav-menu ul li .link.active::after {
    transform: scaleX(1);
}



/* Style pour souligner les éléments */
.link.underline {
    text-decoration: underline;
}



/* Assurez-vous que le sélecteur de langue ne soit pas coupé */
.nav-menu ul li select {
    white-space: nowrap; /* Prevent text from wrapping */
}


/* STYLE DU BOUTON DE LA BARRE DE NAVIGATION */
.nav-button .btn {
    width: 130px;
    height: 40px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}
/* Main dropdown styles */
/* Style pour les menus déroulants */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff; /* Fond blanc pour contraste */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Légère ombre */
    border-radius: 4px; /* Bordures légèrement arrondies */
    z-index: 1;
    min-width: 200px;
    /* Suppression des animations */
}

/* Afficher le sous-menu du dropdown survolé */
.dropdown:hover > .dropdown-menu {

    display: block;
    opacity: 1;
    transform: none; /* Pas de décalage */
}


/* Positionner les sous-menus à gauche des éléments principaux */
.dropdown-menu {
    left: 100%;
    top: 0;
}

/* Amélioration du survol des éléments de menu */
.nav-menu ul li .dropdown-menu li a {
    position: relative;
    display: block;
    padding: 12px 20px;
    width: auto ;
    color: #333;
    text-decoration: none;
    white-space: nowrap; /* Prevent text from wrapping */
}

.nav-menu ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Survol avec changement de fond et de couleur */
.nav-menu ul li .dropdown-menu li a:hover {
    background-color: #ff7f00; /* Changement de fond en orange */
    color: #fff; /* Texte blanc sur survol */
}



/* Amélioration du survol des éléments de menu */
.nav-menu ul li .dropdown-menu li a {
    padding: 12px 20px;
    color: #333;
    background-color: transparent; /* Fond transparent initial */
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Survol avec changement de fond et de couleur */
.nav-menu ul li .dropdown-menu li a:hover {
    background-color: #ff7f00; /* Changement de fond en orange */
    color: #ff7f00; /* Texte blanc sur survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajout d'une légère ombre */
}

@media (max-width: 768px) {
    /* Les sous-menus prennent la pleine largeur sur mobile */
    .dropdown-menu {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none; /* Pas de décalage */
    }

    /* Les éléments de menu ont des espacements plus larges */
    .nav-menu ul li a {
        padding: 15px 20px;
        font-size: 18px; /* Texte plus grand pour meilleure lisibilité */
    }
}

/* Style pour le sous-menu d'oxygénothérapie */
/* Style du menu déroulant principal */
.dropdown-menu {
    position: relative; /* Position relative pour que le sous-menu puisse se positionner par rapport à cet élément */
}

/* Style du sous-menu d'oxygénothérapie */
/* Positionner le sous-menu d'oxygénothérapie à droite du menu parent */
.oxygenotherapy-submenu {
    display: none;
    position: absolute;
    top: 0; /* Assure que le sous-menu apparaît à droite du menu parent */
    margin-left: 200px; /* Décalage pour qu'il ne recouvre pas le menu parent */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
}

/* Afficher le sous-menu d'oxygénothérapie au survol */
.nav-menu ul li .dropdown-menu li:hover > .oxygenotherapy-submenu {
    display: block;
}

/* Ajustement pour que les éléments du sous-menu ne recouvrent pas le menu parent */
.oxygenotherapy-submenu li a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    background: transparent;
}

.oxygenotherapy-submenu li a:hover {
    background-color: #ff7f00; /* Fond orange au survol */
    color: #fff; /* Texte blanc au survol */
}

.oxygenotherapy-submenu li a:hover {
    background-color: #ff7f00; /* Fond orange au survol */
    color: #fff; /* Texte blanc au survol */
}

.nav-menu ul li.dropdown:hover > .oxygenotherapy-submenu {
    display: block;
}

/* Afficher le sous-menu au survol de l'onglet Oxygénothérapie */
.nav-menu ul li.dropdown:hover > .oxygenotherapy-submenu {
    display: block;
}



/* Ajustement du sous-menu d'oxygénothérapie */
/* Ajustement supplémentaire du sous-menu d'oxygénothérapie */
.oxygenotherapy-submenu {
    display: none;
    position: relative ;
    top: 0 !important; /* Ajustez cette valeur pour aligner verticalement */
    left: 100% ; /* Positionne le sous-menu juste à côté du menu parent */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
    padding-left: 0;
}

/* Affichage du sous-menu d'oxygénothérapie au survol */
.nav-menu ul li .dropdown-menu li:hover > .oxygenotherapy-submenu {
    display: block;
}


/* Affichage du sous-menu d'Oxygénothérapie au survol */
.nav-menu ul li .dropdown-menu li:hover > .oxygenotherapy-submenu {
    display: block;
}

/* Style du sous-menu de Répartiteur de débit */
.debit-submenu {
    display: none;
    position: absolute;
    top: 0 !important;
    left: 100% !important; /* Positionnement à droite de "Répartiteur de débit" */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
}

/* Affichage du sous-menu de Répartiteur de débit au survol */
.nav-menu ul li .dropdown-menu li:hover > .debit-submenu {
    display: block;
}

/* Ajustement pour que les éléments du sous-menu ne recouvrent pas le menu parent */
.debit-submenu li a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    background: transparent;
}

.debit-submenu li a:hover {
    background-color: #ff7f00; /* Fond orange au survol */
    color: #fff; /* Texte blanc au survol */
}


.nav-menu .link.active {
    color: #ff7f00;
    border-bottom: none; /* On désactive le border-bottom pour utiliser un pseudo-élément */
    position: relative;
}

/* STYLE DU SÉLECTEUR DE LANGUE */
.language-selector {
    appearance: auto; /* désactive le style par défaut */
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px 15px;

    color: #a6a6a6;
    font-family: 'Poppins', sans-serif !important; /* !important après la valeur */
    font-size: 17px;

    margin: 0 25px;
    padding-bottom: 5px;
    height: auto;
    line-height: 77px;
    cursor: pointer;
    transition: color 0.2s ease;
    border: none;
    outline: none;
    position: relative;
}

.language-selector option {
  padding: 10px;
  background-color: #fff;
  color: #a6a6a6;
}

.language-selector::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.language-selector:hover::after,
.language-selector:focus::after {
    background-color: #ff7f00;
}

.language-selector:hover,
.language-selector:focus {
    color: #ff8000;
}

/* .language-selector option {
    background-color: #fff;
    color: #000;
    padding: 5px;
} */

/* STYLE DES IMAGES */
img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* STYLE DU CONTENEUR DU SLIDER */
/* Style du conteneur du slider */
.slider-container {
    position: relative;
    overflow: hidden;
    height: 500px;
    max-width: 80%;
    margin: 40px auto; /* Ajustement de la marge pour un meilleur espacement */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

/* Style des images dans le slider */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour que les images remplissent bien le conteneur */
}

/* Amélioration des boutons de navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Amélioration des points de navigation */
.menu label {
    cursor: pointer;
    display: inline-block;
    width: 15px;
    height: 15px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s;
}

input[type="radio"]:checked ~ .menu label {
    background: #ff8000;
}

.menu label:hover, .menu label:focus {
    background: #a6a6a6;
}

input[type="radio"]:checked ~ .menu label {
    background: #ff8000;
}

/* STYLE DES FLÈCHES DE NAVIGATION */
.slider-arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.page-wrapper{
    overflow: hidden!important;
}

/* PRESENTATION */
:root{
    --clr-blue: #ff7f00;
    --clr-white: #fff;
    --font-family-mulish: 'Poppins', sans-serif;
}

body{
    font-family: var(--font-family-mulish);
}

.sc-grid-one{
    padding: 115.5px 0 114.5px 0;
    background-color: var(--clr-blue);
}

.grid-content{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 137px;
}

.grid-content .grid-img img{
    max-width: 100%;
    display: block;
}

.grid-content,
.grid-content .title-box-text{
    color: var(--clr-white);
}

.title-box-name{
    font-weight: 100;
    color: #52525e;
}

.title-box-title {
    font-weight: normal; /* ou 400 */
    font-size:xx-large;
}
.grid-content .title-box .title-separator{
    background-color: var(--clr-white);
    margin-left: 0;
    margin-top: 26px;
}

.grid-content .text{
    line-height: 1.667;
}

.grid-content .btn{
    margin-top: 37px;
    background-color: transparent;
    border: 1px solid var(--clr-white);
    color: var(--clr-white);
    cursor: pointer;
    padding: 10px 20px;
    transition: var(--transition-default);
}

.grid-content .btn:hover{
    background-color: var(--clr-white);
    color: var(--clr-blue);
}

@media screen and (max-width: 992px){
    .sc-grid-one{
        padding: 100px 0;
    }

    .grid-content{
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }

    .grid-content .grid-img{
        max-width: 480px;
        margin: 0 auto 40px;
    }

    .grid-content .content-wrapper{
        max-width: 600px;
        margin: 0 auto;
    }

    .grid-content .title-box .title-separator{
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px){
    .sc-grid-one{
        padding: 80px 0;
    }
}


/* CATEGORY */
.text-headline-lg {
    color: #52525e;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 16px;
    margin-top: 16px
}
.text-headline-lg {
    font-size:32px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 16px;
    margin-top: 16px
}
.text-headline-lg {
    font-size:32px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 16px;
    margin-top: 16px
}.btn-white-outline {
    background-color: #a6a6a6; 
    border: none;
    color: #fff;
    transition: background-color 0.3s ease; 
}

.btn-white-outline:hover {
    background-color: #8c8c8c; /* Optionnel : couleur au survol */
}
    
.b-text-image-basic .a-button-link:hover {
    background-color: #6e6e6e;
}
.b-text-image-basic {
    background-color: #f5f5f5;
    padding: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.c-container {
    position: relative;
    width: 100%;
}
.b-text-image-basic .c-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.b-text-image-basic .c-text-image-basic__wrapper {
    background: #dfdfdf;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.b-text-image-basic .c-text-image-basic__img img {
    width: 100%;
    height: auto;
    display: block;
}

.c-container__content {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
}
.c-container--spacing-medium {
    padding-bottom: 32px;
    padding-top: 32px;

}
    .c-container--spacing-medium {
        padding-bottom:40px;
        padding-top: 40px
    }
.a-image__img {
    height: 100%;
    width: 100%
}
.c-text-image-basic__wrapper {
    flex-direction: column; 
    max-width: 70%; 
    margin: 10px; 
}

    .c-text-image-basic__wrapper {
        flex-direction:row
    }
.c-text-image-basic__wrapper--gray {
    --tw-bg-opacity: 1;
    background-color: rgb(217 217 217/var(--tw-bg-opacity))
}
.c-text-image-basic__img {
    aspect-ratio: 1/1
}
    .c-text-image-basic__img {
        aspect-ratio:auto;
        width: 50%
    }
.c-text-image-basic__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
    margin-top: auto;
    padding: 48px 24px;
    vertical-align: middle
}
    .c-text-image-basic__content {
        padding:25px 25px;
        width: 50%
    }
.object-cover {
    -o-object-fit: cover;
    object-fit: cover
}

@media (max-width: 768px) {
    .slider-container {
        height: 250px; /* Réduire la hauteur pour les petits écrans */
    }

    .slider-container img {
        object-fit: cover; /* Pour que l'image s'adapte au conteneur */
    }

    .slider-arrow {
        width: 25px;
        height: 25px;
    }

    .menu label {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 450px) {
    .slider-container {
        height: 200px; /* Encore réduire la hauteur pour les très petits écrans */
    }

    .slider-arrow {
        width: 20px;
        height: 20px;
    }

    .menu label {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour que les images remplissent bien le conteneur */
}






/* ARTICLES */

.justify-content-center {
    justify-content: center;
}

.d-flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}


.title-box .title-separator {
    height: 2px;
    width: 56px;
    margin-top: 10px;
    margin-bottom: 33px;
}

.sc-articles{
    position: relative;
    padding: 108px 0 64.5px 0;
}
.articles-item{
    box-shadow: 10px 40px 50px 0px #e5e9f666;
    border-radius: 20px;
    background-color: var(--clr-white);
    max-width: 350px;
}
.articles-list{
    margin-right: -17px;
    margin-left: -17px;
    margin-top: 79px;
}
.articles-shape{
    position: absolute;
    right: 0;
    top: 200px;
    z-index: -1;
}
.articles-item{
    width: calc(33.3333% - 34px);
    overflow: hidden;
    margin: 0 17px;
    transition: var(--transition-default);
    margin-bottom: 20px;
}
.articles-item:hover{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.articles-item .item-img{
    height: 246px;
    overflow: hidden;
}
.articles-item .item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.articles-item .item-body{
    padding: 24px 33px 35px;
}
.articles-item .item-title{
    font-weight: 700;
    line-height: 1.52;
    font-size: 21px;
    margin-bottom: 12px;
}
.articles-item .text{
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 25px;
}
.articles-item .item-link-text{
    font-weight: 600;
    font-size: 17px;
}
.articles-item .item-link-icon{
    margin-left: 12px;
}
.articles-item .item-link {
    font-weight: 600;
    font-size: 17px;
    color: #000000; /* Default color is black */
}

.articles-item .item-link:hover {
    color: #ff7f00; /* Color changes to orange on hover */
}

.articles-content{
    position: relative;
}
.articles-element{
    position: absolute;
    top: 105px;
    left: -5px;
    z-index: -1;
}

/* Pour les écrans entre 992px et 678px */
@media screen and (max-width: 992px) and (min-width: 678px) {
    .articles-list {
        flex-direction: row; /* Conserver la disposition en rangée */
        flex-wrap: wrap;     /* Permettre aux articles de se placer sur plusieurs lignes */
        justify-content: center; /* Centrer les articles */
    }
    .articles-item {
        width: calc(50% - 34px); /* Deux articles par ligne */
        margin: 0 17px;
        margin-bottom: 20px; /* Espacement entre les articles */
    }
}

/* Pour les écrans de moins de 678px */
@media screen and (max-width: 678px) {
    .articles-list {
        flex-direction: column; /* Passer à une disposition en colonne */
        align-items: center;    /* Centrer les articles */
    }
    .articles-item {
        width: 100%; /* Chaque article occupe toute la largeur */
        margin: 10px 0; /* Espacement vertical entre les articles */
    }
    .articles-item .item-body {
        padding: 15px; /* Réduire le padding pour mieux s'adapter */
    }
    .articles-item .item-title {
        font-size: 18px; /* Ajuster la taille du titre */
    }
    .articles-item .text {
        font-size: 14px; /* Ajuster la taille du texte */
    }
    .articles-item .item-link-text {
        font-size: 15px; /* Ajuster la taille du lien */
    }
    .articles-item .item-img {
        height: auto; /* Ajuster la hauteur de l'image pour qu'elle soit proportionnelle */
    }
}

/* Pour les très petits écrans de moins de 450px */
@media screen and (max-width: 450px) {
    .sc-articles {
        padding: 40px 0; /* Réduire le padding pour économiser de l'espace */
    }
    .articles-item .item-body {
        padding: 10px; /* Réduire encore le padding pour mieux s'adapter */
    }
}



/* SERVICES */
/* Styles existants */

/* Centrer le contenu pour les petits écrans */
@media screen and (max-width: 768px) {
    .map-container, .services-list, .grid-content, .b-text-image-basic .c-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .text-container, .map-wrapper, .services-item, .c-text-image-basic__wrapper {
        width: 100%;
        padding-right: 0;
    }

    .map-wrapper, .services-item .item-icon, .c-text-image-basic__img {
        margin-bottom: 20px;
    }

    .map-wrapper img, .c-text-image-basic__img img {
        width: 100%;
        height: auto;
    }

    .services-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Ajuster la taille des services-item pour s'adapter à leur contenu et conserver le style en deux colonnes */
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services-item {
    width: calc(50% - 20px); /* 20px for margin adjustment */
    min-height: auto;
    height: auto;
    margin-bottom: 20px; /* space between rows */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 -5px 10px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    background-color: var(--clr-white);
    transition: box-shadow 0.3s ease;
}

.services-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.services-item .item-title, .services-item .item-text, .services-item .item-link {
    margin-bottom: 10px;
    text-align: center;
}


/* PRODUITS */


.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns layout */
    gap: 40px;
    max-width: 1200px; /* Centered content with a max width */
    margin: 0 auto;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    overflow: hidden;
    text-align: left; /* Align text to the left for a cleaner look */
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    
}

.product-item img {
    width: 500px;
    height: 500px;
    object-fit: contain; /* Ensures the entire image is visible without cropping */
    margin-bottom: 20px;
    justify-content: center;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}

.product-item:hover h3 {
    color: #ff8000; /* Title changes to orange on hover */
}

.product-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600; /* Slightly bolder font for titles */
}

.product-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0; /* Remove bottom margin for a tight layout */

}

.product-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
    transform: translateY(-5px); /* Slight lift effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-list {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        gap: 20px; /* Smaller gap on mobile */
    }
}


/* MAP */
#map {
    height: 400px;
    width: 100%;
}
.info-bubble {
    position: absolute;
    background-color: white;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    pointer-events: none;
    display: none;
}
.map-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.text-container {
    width: 50%;
    padding-right: 20px;
}
.map-wrapper {
    width: 50%;
    position: relative;
}

/* Styles pour le menu déroulant */
.nav-menu ul li.dropdown {
    position: relative;
}

.nav-menu ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap; /* Prevent text from wrapping */
}

.nav-menu ul li .dropdown-menu li {
    list-style-type: none;
}

.nav-menu ul li .dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap; /* Prevent text from wrapping */
}

.nav-menu ul li .dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

.nav-menu ul li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Ajustement pour que le texte ne soit pas coupé dans la navigation principale */
.nav-menu ul li a {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    color: #a6a6a6;
    padding-bottom: 15px;
    margin: 0 25px;
    white-space: nowrap; /* Prevent text from wrapping */
    position: relative; /* Position relative for the underline */
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #ff8000; /* couleur du texte de la link au survol en orange */
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff7f00;
    bottom: 38px; /* Position the underline closer to the text */
    left: 0;
    z-index: 100000;
}

/* Assurez-vous que le sélecteur de langue ne soit pas coupé */
.nav-menu ul li select {
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Centrer le contenu pour les petits écrans */
@media screen and (max-width: 900px) {
    .map-container, .services-list, .grid-content, .b-text-image-basic .c-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .text-container, .map-wrapper, .services-item, .c-text-image-basic__wrapper {
        width: 100%;
        padding-right: 0;
    }

    .map-wrapper, .services-item .item-icon, .c-text-image-basic__img {
        margin-bottom: 20px;
    }

    /* S'assurer que les images ne soient pas réduites */
    .map-wrapper img, .c-text-image-basic__img img {
        width: 100%;
        height: auto;
    }
}


/*FOOTER*/
.footer {
    margin-top: 25px;
    background: linear-gradient(183.41deg, #ff5e01 -8.57%, #ff7f00 82.96%);
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
    color: var(--clr-white);
    font-family: 'Poppins', sans-serif;
}

.footer .navbar-brand {
    margin-bottom: 17px;
}

.footer .navbar-brand .brand-shape {
    background-color: var(--clr-white);
    color: var(--clr-blue);
}

.footer .navbar-brand .brand-text {
    color: #ffffff; 
}

.footer-list {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}

.footer-item:nth-child(1) {
    padding-right: 100px;
}

.footer-item:nth-child(1) p {
    font-weight: 300;
    font-size: 18px;
    color: #ffffff; 
}

.footer-item:nth-child(1) .copyright-text {
    margin-top: 31px;
    line-height: 1.55;
    color: #ffffff; 
}

.footer-item-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
    color: #ffffff; 
}

.footer-links li a {
    font-weight: 300;
    font-size: 18px;
    color: #ffffff; 
}

.footer-links li a:hover {
    opacity: 0.95;
    text-decoration: underline;
}

.footer-links li {
    margin-bottom: 10px;
}


.footer-element-1 {
    bottom: 0;
    left: 0;
    position: absolute;
    display: flex;
    align-items: center;
    padding: 20px; 
    background-image: url('assets/images/element-img-4.png'); 
    background-size: cover;
}

.footer-element-1 img {
    margin-right: 10px; 
}

.footer-element-1 .navbar-brand {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.footer-element-2 {
    position: absolute;
    right: 91px;
    top: -70px;
    z-index: 1;
    background-image: url('assets/images/element-img-5.png'); 
    width: 100px; 
    height: 100px; 
    background-size: cover;
}

@media screen and (max-width: 1120px) {
    .footer-item:nth-child(1) {
        padding-right: 0;
    }

    .footer-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-list {
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }

    .footer-list .navbar-brand {
        justify-content: center;
    }

    .footer-list .footer-item:nth-child(1) {
        max-width: 450px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 450px) {
    .footer-element-2 {
        right: 0;
        top: -35px;
    }
}


@media screen and (max-width: 1120px) {
    .footer-item:nth-child(1) {
        padding-right: 0;
    }

    .footer-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-list {
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }

    .footer-list .navbar-brand {
        justify-content: center;
    }

    .footer-list .footer-item:nth-child(1) {
        max-width: 450px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 450px) {
    .footer-element-2 {
        right: 0;
        top: -35px;
    }
}



.footer-container {
    margin: 0 auto;
    padding-right: 16px;
    padding-left: 16px;
    max-width: calc(1273px - 32px);
}


/* Style pour les paragraphes de texte gris dans le footer */
.footer .text-gray {
    color: #ffffff; 
}

/* Style pour les titres des items du footer */
.footer .footer-item-title {
    color: #ffffff; 
}

/* Style pour les liens des items du footer */
.footer .footer-links li a {
    color: #ffffff; 
    text-decoration: none;
}

.footer .footer-links li a:hover {
    opacity: 0.95;
    text-decoration: underline; 
}

/* Retirer les puces des listes dans le footer */
.footer .footer-links li {
    list-style-type: none; 
    margin-bottom: 10px;
}


.footer .navbar-brand .brand-text {
    color: #fff; 
    font-family: 'Century Gothic', 'Poppins', sans-serif;
    font-size: 24px; 
}

.footer-list {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    column-gap: 80px;
    row-gap: 40px;
}

.footer-item:nth-child(1) {
    padding-right: 100px;
}

.footer-item:nth-child(1) p {
    font-weight: 300;
    font-size: 18px;
    color: #fff; 
}

.footer-item:nth-child(1) .copyright-text {
    margin-top: 31px;
    line-height: 1.55;
}

.footer-item-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links li a {
    font-weight: 300;
    font-size: 18px;
    color: #fff;
}

.footer-links li a:hover {
    opacity: 0.95;
    text-decoration: underline;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-element-1 {
    bottom: 0;
    left: 0;
    position: absolute;
    display: flex;
    align-items: center;
    padding: 20px; 
    background-image: url('assets/images/element-img-4.png');
    background-size: cover;
}

.footer-element-1 img {
    margin-right: 10px;
}

.footer-element-1 .navbar-brand {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.footer-element-2 {
    position: absolute;
    right: 91px;
    top: -70px;
    z-index: 1;
    background-image: url('assets/images/element-img-5.png');
    width: 100px;
    height: 100px;
    background-size: cover;
}

@media screen and (max-width: 1120px) {
    .footer-item:nth-child(1) {
        padding-right: 0;
    }

    .footer-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-list {
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }

    .footer-list .navbar-brand {
        justify-content: center;
    }

    .footer-list .footer-item:nth-child(1) {
        max-width: 450px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 450px) {
    .footer-element-2 {
        right: 0;
        top: -35px;
    }
}


/* STYLES POUR LE MENU BURGER */
.nav-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    border: none;
    background: none;
}

.hamburger {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #a6a6a6;
    border-radius: 4px;
    position: relative;
    transition: .3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background-color: #a6a6a6;
    border-radius: 4px;
    position: absolute;
    transition: .3s ease;
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    bottom: -10px;
}

.nav-active .hamburger {
    transform: rotate(45deg);
}

.nav-active .hamburger::before {
    top: 0;
    transform: rotate(0);
}

.nav-active .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}

.nav-menu {
    display: flex;
    justify-content: space-around;
}

.nav-menu ul {
    display: flex;
    flex-direction: row;
}

.nav-menu.responsive {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* MENU BURGER EN FONCTION DE LA TAILLE DE L'ECRAN */
@media only screen and (max-width: 1120px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(20px);
        position: absolute;
        top: 77px;
        width: 100%;
        left: 0;
        transition: max-height 0.3s ease-out;
        overflow: hidden;
        max-height: 0;
    }

    .nav-menu.responsive {
        display: flex;
        max-height: 90vh;
        overflow: auto;
        transform :translateX(0%)
    }

    .nav-menu ul {
        list-style-type: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li {
        width: 100%;
        margin: 0;
        padding: 10px 0;
    }

    /* articles */
    .sc-articles{
        padding: 100px 0;
    }
    .articles-content .articles-item{
        width: calc(80% - 34px);
        overflow: hidden;
        margin: 17px;
    }
    .articles-shape{
        width: 50%;
    }
    .articles-element{
        top: 180px;
        width: 60px;
    }
}



@media only screen and (max-width: 415px) {
    .nav-menu {
        display: flex;
    }

    .nav-menu.responsive {
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 77px;
        display: flex;
        justify-content: center;
        background-color: white;
        width: 100%;
        height: 90vh;
        backdrop-filter: blur(20px);
        transition: .3s;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul li {
        width: 100%;
        margin: 0;
        padding: 10px 0;
    }
}

@media only screen and (max-width: 540px) {
    .wrapper {
        min-height: 100vh;
    }

    .form-box {
        width: 100%;
        height: 500px;
    }

    .register-container, .login-container {
        width: 100%;
        padding: 0 20px;
    }

    .register-container .two-forms {
        flex-direction: column;
        gap: 0;
    }
}

/* Updated style for underline effect in the navigation menu */
.nav-menu ul li .dropdown-menu li a:hover::after,
.nav-menu ul li .dropdown-menu li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff7f00;
    bottom: -2px; /* Assurez-vous que cette valeur est en dessous de la hauteur du texte */
    left: 0;
    z-index: 1;
}

.nav-menu ul li .link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -12px !important;
    background-color: #ff7f00; /* Color for the underline */
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-menu ul li .link:hover::after,
.nav-menu ul li .link.active::after {
    transform: scaleX(1); /* Applies the underline on hover or active */
}

.nav-menu ul li .link {
    text-decoration: none !important; /* Force le soulignement et annule tout line-through */
}


.nav-menu ul li .link:hover::after {
    transform: scaleX(1);
}


/* Style pour les liens dans les sous-menus */
.nav-menu ul li .dropdown-menu li a {
    position: relative;
    padding-bottom: -2px !important; /* Ajustez si nécessaire pour réduire l'espace */
    display: block;
    line-height: 1.5;
    
}

.nav-menu ul li .dropdown-menu li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff8000;
    bottom: 0 !important; /* Place l'underline juste au bas du texte */
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-menu ul li .dropdown-menu li a:hover::after,
.nav-menu ul li .dropdown-menu li a.active::after {
    transform: scaleX(1); /* L'underline apparaît au survol */
}

/* Supprimez les marges ou padding qui pourraient causer un dépassement */
.nav-menu ul li .dropdown-menu li a {
    margin: 0;
    padding: 10px 15px; /* Ajustez les padding pour garantir l'alignement */
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu ul li .dropdown-menu li a:hover {
    background-color: #f1f1f1;
    color: #333;
}



.u-section-1 {
    background-image: none;
  }
  
  .u-section-1 .u-sheet-1 {
    min-height: 701px;
  }
  
  .u-section-1 .u-image-1 {
    width: 570px;
    height: 257px;
    margin: 60px auto 0;
  }
  
  .u-section-1 .u-accordion-1 {
    width: 713px;
    margin: 20px auto 60px;
  }
  
  .u-section-1 .u-accordion-link-1 {
    background-image: none;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
  }
  
  .u-section-1 .u-icon-1 {
    height: 20px;
    width: 20px;
    background-image: none;
  }
  
  .u-section-1 .u-accordion-pane-1 {
    min-height: 150px;
  }
  
  .u-section-1 .u-container-layout-1 {
    padding: 30px;
  }
  
  .u-section-1 .u-text-1 {
    margin-top: 0;
    font-size: 1rem;
    font-style: normal;
  }
  
  .u-section-1 .u-accordion-link-2 {
    background-image: none;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
  }
  
  .u-section-1 .u-icon-2 {
    height: 20px;
    width: 20px;
    background-image: none;
  }
  
  .u-section-1 .u-accordion-pane-2 {
    min-height: 150px;
  }
  
  .u-section-1 .u-container-layout-2 {
    padding: 30px;
  }
  
  .u-section-1 .u-text-2 {
    margin-top: 0;
  }
  
  .u-section-1 .u-accordion-link-3 {
    background-image: none;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
  }
  
  .u-section-1 .u-icon-3 {
    height: 20px;
    width: 20px;
    background-image: none;
  }
  
  .u-section-1 .u-accordion-pane-3 {
    min-height: 150px;
  }
  
  .u-section-1 .u-container-layout-3 {
    padding: 30px;
  }
  
  .u-section-1 .u-text-3 {
    margin-top: 0;
  }
  
  .u-section-1 .u-accordion-link-4 {
    background-image: none;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
  }
  
  .u-section-1 .u-icon-4 {
    height: 20px;
    width: 20px;
    background-image: none;
  }
  
  .u-section-1 .u-accordion-pane-4 {
    min-height: 180px;
  }
  
  .u-section-1 .u-container-layout-4 {
    padding: 30px;
  }
  
  .u-section-1 .u-text-4 {
    margin: 0;
  }
  
  @media (max-width: 1199px) {
    .u-section-1 .u-accordion-link-1 {
      padding: 15px 30px;
    }
  
    .u-section-1 .u-accordion-link-2 {
      padding: 15px 30px;
    }
  
    .u-section-1 .u-accordion-link-3 {
      padding: 15px 30px;
    }
  
    .u-section-1 .u-accordion-link-4 {
      padding: 15px 30px;
    }
  }
  
  @media (max-width: 767px) {
    .u-section-1 .u-sheet-1 {
      min-height: 687px;
    }
  
    .u-section-1 .u-image-1 {
      width: 540px;
      height: 243px;
    }
  
    .u-section-1 .u-accordion-1 {
      width: 540px;
    }
  
    .u-section-1 .u-accordion-link-1 {
      font-size: 1.25rem;
    }
  
    .u-section-1 .u-container-layout-1 {
      padding-left: 10px;
      padding-right: 10px;
    }
  
    .u-section-1 .u-accordion-link-2 {
      font-size: 1.25rem;
    }
  
    .u-section-1 .u-container-layout-2 {
      padding-left: 10px;
      padding-right: 10px;
    }
  
    .u-section-1 .u-accordion-link-3 {
      font-size: 1.25rem;
    }
  
    .u-section-1 .u-container-layout-3 {
      padding-left: 10px;
      padding-right: 10px;
    }
  
    .u-section-1 .u-accordion-link-4 {
      font-size: 1.25rem;
    }
  
    .u-section-1 .u-container-layout-4 {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
  
  @media (max-width: 575px) {
    .u-section-1 .u-sheet-1 {
      min-height: 597px;
    }
  
    .u-section-1 .u-image-1 {
      width: 340px;
      height: 153px;
    }
  
    .u-section-1 .u-accordion-1 {
      width: 340px;
    }
  }
  .footer-item {
    flex: 1;
}

.footer-item-wide {
    flex: 2; /* Cela permet à cet item de prendre deux fois plus de place */
}

.footer-item-title {
    white-space: nowrap; /* Ceci garantit que le titre reste sur une seule ligne */
}


.footer-item {
    flex: 1;
}

.footer-item-wide {
    flex: 2; /* Cela permet à cet item de prendre deux fois plus de place */
}

.footer-item-title, .region-wide {
    white-space: nowrap; /* Ceci garantit que le titre et "Moyen-Orient" restent sur une seule ligne */
}

a {
    color: #ff7f00;
   /*  text-decoration: none; Si vous ne voulez pas de soulignement */
}

a:hover {
    color: #ff7f00; /* Assurez que les liens restent orange au survol */
}


/* Pour les petites tailles d'écran : image avant le texte */
@media screen and (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        width: 100%; /* Chaque élément prend toute la largeur */
        text-align: center;
        margin-bottom: 20px; /* Espace entre les éléments */
    }

    .contact-info {
        order: -1; /* Place l'image au-dessus du texte */
    }

    .contact-form {
        padding: 10px; /* Ajuste le padding pour les petits écrans */
    }
}

/* Pour les très petits écrans */
@media screen and (max-width: 576px) {
    .contact-form input, .contact-form textarea {
        width: 100%; /* Les champs prennent toute la largeur */
        margin-bottom: 15px; /* Espace entre les champs */
    }

    .contact-form button.btn-submit {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dropdown:hover > .dropdown-menu,
    .dropdown:hover > .oxygenotherapy-submenu,
    .dropdown:hover > .debit-submenu {
        display: none !important;
    }
    
    /* Optionnel : ajuster l'apparence des liens si nécessaire */
    .dropdown-menu, .oxygenotherapy-submenu, .debit-submenu {
        display: none !important;
    }
}


/* For small screens, disable hover functionality */
@media (max-width: 768px) {
    
    .dropdown:hover .dropdown-menu {
        display: none; /* Disable hover to show submenu */
    }

    /* Show dropdown on click (added through JavaScript) */
    .dropdown-menu.open {
        display: block;
        position: relative;
        width: 100%; /* Full width */
    }

    .nav-menu {
        display: block; /* Stack menu items vertically */
    }

    .nav-toggle {
        display: block; /* Show hamburger icon */
    }

    .back-btn {
        display: block;
        padding: 10px;
        background: #ff7f00;
        color: white;
        text-align: center;
    }
}

/* Hiding the menu initially on small screens */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 9999;
    }

    /* Full screen hamburger menu */
    .nav-menu.responsive {
        display: flex;
    }

    /* Styling the links */
    .nav-menu ul {
        list-style-type: none;
        padding: 0;
        margin-top: 150px;
    }

    .nav-menu ul li {
        margin-bottom: 20px;
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 24px;
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-menu ul li a:hover {
        color: #ff7f00; /* Sephora-style color */
    }

    /* Hamburger icon style */
    .nav-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
    }

    /* Transition when toggling */
    .nav-menu {
        transition: transform 0.3s ease;
    }

    .nav-menu.responsive {
        transform: translateX(0);
    }

    .nav-menu ul li a {
        display: block;
        padding: 20px;
        color: #333;
        text-decoration: none;
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    /* Ensure the navigation logo stays at the top */
    .nav-logo {
        display: block;
        text-align: center;
        padding-top: 10px; /* Adjust for some spacing */
    }

    /* Adjust the menu to be below the logo */
    .nav-menu {
        display: none; /* Initially hidden */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 100%; /* Below the logo */
        width: 100%;
        background-color: white; /* Make sure the background is visible */
        height: auto;
    }

}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget span {
    display: none;
}

