/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&display=swap');
/*=============== VARIABLES CSS ===============*/

.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  padding: 20px;
  transition: left 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
}

 
.sidebar.active {
  left: 0;
}

.sidebar h2 {
  font-size: 24px;
  color: red;
}
 
.sub-sub-menu.active {
  opacity: 1;
  transform: translateX(0);
}


.sidebar li {
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  padding-left: 0%;
}

.sidebar ul li a {
  text-decoration: none;
  color: black;
  font-weight: 700;
  width: 100%;
 
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.back-button {
  background: none;
  border: none;
  color: red;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 20px;
  width: 100%;
}

/* Transition for sub-menu */
.main-menu,
.sub-menu,
.sub-sub-menu{
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  width: 100%;
  font-size: 2px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #f4f4f4;
  padding: 40px;
  overflow-y: auto;
}
.sidebar ul li a {
  text-decoration: none;
  color: black;
  font-weight: 700;
  width: 100%;
  display: inline-block;
  white-space: nowrap; /* Forcer une seule ligne */
  overflow: hidden;    /* Masquer le texte qui dépasse */
  text-overflow: ellipsis; /* Ajouter des points de suspension si le texte dépasse */
}


.main-menu.active,
.sub-menu.active,
.sub-sub-menu.active {
  opacity: 1;
  transform: translateX(0);
}

.submenu-icon {
  cursor: pointer;
  font-size: 16px;
  color: #888;
}

.menu-toggle,
.user-icon {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar-menu {
      display: none;
  }
  
  .menu-toggle {
      display: inline-block;
  }
  .sidebar li a {
     padding-right: 100%;
     font-size: 20px;
  }
  .sidebar ul  {
    padding-top: 40px;
 
 }

  .close-btn {
      padding-right: 90%;
      display: block;
  }
   
}

/* Desktop styles */
@media (min-width: 769px) {
  .menu-toggle {
      display: none;
      
  }

  .navbar-menu {
      display: flex;
  }

  .sidebar {
      display: none;
  }

  .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #f4f4f4;
      padding: 10px;
      border: 1px solid #ddd;
      z-index: 10;
  }

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

  .dropdown-menu li {
      padding: 5px 0;
  }
}


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "roboto", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
/* Style du conteneur de chargement */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* Couleur de fond pendant le chargement */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Mettre l'élément en avant-plan */
}

/* Style de l'icône d'avion */
#loading-icon {
    font-size: 100px; /* Taille de l'icône d'avion */
    color: #007bff; /* Couleur de l'avion */
    animation: spin 2s linear infinite; /* Animation de rotation */
}

/* Animation de rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Masquer l'écran de chargement une fois la page chargée */
body.loaded #loading-screen {
    display: none;
}


/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

 
.tete {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
   
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  -webkit-tap-highlight-color: transparent;
}

.tete a {
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.nav__menu{
  flex-grow: 2;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: 0.5s;
  background-color:whitesmoke;
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--black-color);
}
 .nav__link a{
  color: black;
 }

.nav__data {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);

}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

 .image {
  object-fit: contain; 
  top: 10px;
  right: 10px;
  height: auto;
  max-width: 130px; /* Taille du logo initiale */
  transition: all 0.3s ease;
}

 /* Réduction de la taille du logo à mesure que la résolution diminue */
 @media screen and (max-width: 1200px) {
      .image {
      max-width: 100px;
      position: absolute;
  }
}
@media screen and (max-width: 1110px) {
  .image {
  max-width: 60px;
  position: absolute;
}
.ri-arrow-down-s-line {
  transform: rotate(-80deg);
}
}

@media screen and (max-width: 992px) {
      .image {
      max-width: 60px;
      position: absolute;
  }
}

@media screen and (max-width: 768px) {
      .image {
      max-width: 60px;
      position: absolute;
  }
}

@media screen and (max-width: 576px) {
      .image {
      max-width: 60px;
      position: absolute;
  }
}


/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
    
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: whitesmoke;
    color: black;
    padding-top: 1rem;
    margin-left: 0;
  }
}

.nav__link {
  color: black;
  background-color: whitesmoke;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: whitesmoke;
  
}

/* menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}


.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}
.dropdown__menu .propos {
  padding-left: 30px;
  padding-right: 30px;
}

.dropdown__menu h3{
  font-size: 40px;
}

.propos {
    background: white;
    padding: 20px;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.voir-plus {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #24262b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.voir-plus:hover {
    background: #007BFF;
}

.child-link {
  text-decoration: none;
  font-family:  "roboto", sans-serif;
  font-size: 30px;
  margin-left: 30px;
  margin-bottom: 5px;
  color: #003e81;
}

/* Montrer le dropdown menu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* rotaion du dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}
/*=============== BREAKPOINTS ===============*/
/* Pour small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
    background: transparent;
  }

  .nav__link {
    padding-inline: 1rem;

  }
}


/* pour large device */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link{
    align-content: center;
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link a:hover,
  .nav__link i:hover{
    color: #007bff;
  }
   

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }
  

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }
  .dropdown__item:hover .dropdown__menu .propos{
    border-radius: 50px;
    margin-top: 5px;
    background-color: whitesmoke;
    color: black;
    left: 2%;
    height: 90%;
    width: 90%;
    position: fixed;
  }

.dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
} 
  .slo {
    padding-top:  90px; /* Hauteur de la navbar pour éviter le chevauchement */
    background: url('background.jpg');
    height: 35px;
    
}
.slo h1{
  color: black;
  font-family: "Kanit", sans-serif;
  text-align: center;
  align-content: auto;
  transition: 0.5s;
  font-size: 50px;
}
.slo h4{
  color: black;
  font-family: "Kanit", sans-serif;
  text-align: center;
  align-content: auto;
  transition: 0.5s;
  font-size: 30px;
  font-style: normal;
}

 
.slo h1:hover{
  letter-spacing: 0.5px;
}
.slo h4:hover{
  letter-spacing: 0.5px;
}
/* Ajustements pour les grands écrans */
@media screen and (min-width: 1200px) {
  .slo h1 {
      font-size: 50px;
  }
  .slo h4 {
      font-size: 30px;
  }
}

/* Ajustements pour les écrans moyens */
@media screen and (max-width: 992px) {
  .slo h1 {
      font-size: 4vw;
  }
  .slo h4 {
      font-size: 2.5vw;
  }
}

/* Ajustements pour les petits écrans */
@media screen and (max-width: 768px) {
  .slo{
    height: 10%;
    padding-top:  70px;
  }
  .slo h1 {
      font-size: 5vw;
  }
  .slo h4 {
      font-size: 3vw;
  }
}

/* Ajustements pour les très petits écrans */
@media screen and (max-width: 576px) {
  .slo h1 {
      font-size: 6vw;
  }
  .slo h4 {
      font-size: 4vw;
  }
}

/* Carousel Container */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

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

.carousel-slide {
  min-width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-text h2 {
  position: absolute;
  font-family: "DM Sans", sans-serif;
  font-size: 60px;
  bottom: 50%;
  left: 10%;
  color: white;
  background-color: transparent;
}

.carousel-text p {
  position: absolute;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  bottom: 40%;
  left: 10%;
  color: white;
  background-color: transparent;
}

/* Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Dots navigation */
.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: #717171;
}

/* Title and subtitle styles */
.mid h1,
.map h1,
.actu h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 45px;
}

.mid h2, .map h2, .actu h2, .partenaires h2{
  text-align: center;
  color: #007bff;
}

.mid h5,
.map h5,
.actu h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  color: red;
}

/* Custom container */
#custom-container {
  height: 60vh;
  display: grid;
  place-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-slide {
    height: 300px;
  }

  .carousel-text h2 {
    font-size: 30px;
    bottom: 60%;
  }

  .carousel-text p {
    font-size: 16px;
    bottom: 50%;
  }

  .prev, .next {
    padding: 8px;
    font-size: 16px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  .mid h1, .map h1, .actu h1 {
    font-size: 35px;
  }

  .mid h5, .map h5, .actu h5 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    height: 200px;
  }

  .carousel-text h2 {
    font-size: 24px;
    bottom: 70%;
  }

  .carousel-text p {
    font-size: 14px;
    bottom: 60%;
  }

  .prev, .next {
    padding: 6px;
    font-size: 14px;
  }

  .dot {
    height: 8px;
    width: 8px;
  }

  .mid h1, .map h1, .actu h1 {
    font-size: 28px;
  }

  .mid h5, .map h5, .actu h5 {
    font-size: 16px;
  }
}


#custom-slider-wrapper {
  height: 300px;
  width: 95vw;
  max-width: 1400px;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

#custom-slider-wrapper .custom-btn {
  position: absolute;
  top: calc(50% - 30px);
  height: 15px;
  width: 15px;
  border-left: 8px solid #696969;
  border-top: 8px solid #696969;
  cursor: pointer;
}

#custom-slider-wrapper .custom-btn:hover {
  transform: scale(1.2);
}

#custom-slider-wrapper .custom-btn.inactive {
  border-color: #282828;
}

#custom-slider-wrapper .custom-btn:first-of-type {
  transform: rotate(-45deg);
  left: 10px;
}

#custom-slider-wrapper .custom-btn:last-of-type {
  transform: rotate(135deg);
  right: 10px;
}

#custom-slider-wrapper #custom-slider {
  display: flex;
  width: 1000%;
  height: 100%;
  transition: all .5s;
}

#custom-slider-wrapper #custom-slider .custom-slide {
  position: relative;
  height: 100%;
  margin: 0 10px;
}

.custom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 2px 2px 4px 2px white, -2px -2px 4px 2px white;
  transition: 0.5s;
}
 
.custom-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.custom-overlay:hover {
  cursor: pointer;
  letter-spacing: 2px;
}

.custom-overlay p {
  font-family: "DM Sans", sans-serif;
  margin: 0;
}

.custom-overlay h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  margin: 0;
}

.custom-overlay .learn-more {
  margin-top: 10px;
  color: white;
  transition: 0.5s;
}

.custom-slide:hover {
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-overlay {
    bottom: 15px;
    left: 15px;
    padding: 8px;
  }

  .custom-overlay h3 {
    font-size: 24px;
  }

  .custom-overlay .learn-more {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .custom-overlay {
    bottom: 10px;
    left: 10px;
    padding: 6px;
    font-size: 14px;
  }

  .custom-overlay h3 {
    font-size: 18px;
  }

  .custom-overlay .learn-more {
    font-size: 14px;
  }
}


@media only screen and (min-width: 1100px) {
  #custom-slider-wrapper #custom-slider .custom-slide {
      width: calc(2.5% - 20px);
  }
}

@media only screen and (max-width: 1100px) {
  #custom-slider-wrapper #custom-slider .custom-slide {
      width: calc(3.3333333% - 20px);
  }
}

@media only screen and (max-width: 900px) {
  #custom-slider-wrapper #custom-slider .custom-slide {
      width: calc(5% - 20px);
  }
}

@media only screen and (max-width: 550px) {
  #custom-slider-wrapper #custom-slider .custom-slide {
      width: calc(10% - 20px);
  }
}

.partenaires h2{
  text-align: center;
  font-family: "DM Sans", sans-serif;
  color: rgb(0, 110, 255);
  font-size: 50px;
}
.partenaires .txt{
  background-color: rgb(235, 235, 235);
  align-content: center;
  margin: auto;
  border-radius: 20px;
  height: 200px;
  width: 80%;

}

.partenaires p{
  position: relative;
  color: black;
  text-align: auto;
  font-size: 20px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  padding-left: 50px;
}

.container-partenaires {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  gap: 20px; /* Espace entre les divs */
}

.box {
  flex: 1; /* Les divs prennent une largeur égale */
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  text-align: center; /* Centre le texte dans chaque div */
}

.box h1 {
  margin-bottom: 10px;
}
.carousel-section {
  width: 100%;
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
}

.carousel-title {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

.carou-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-row {
  display: flex;
  animation: scroll 40s linear infinite; /* Animation plus lente et fluide sur 40 secondes */
  width: calc(200px * 24); /* La largeur est calculée pour inclure toutes les images (12 originales et 12 clones) */
}

.row1 {
  animation-direction: normal; /* Défilement vers la droite */
}

.row2 {
  animation-direction: reverse; /* Défilement vers la gauche */
}

.carousel-row img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin-right: 10px;
  cursor: pointer;
}

/* Animation infinie sans coupure */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 12)); /* Défilement sur la largeur des 12 images originales */
  }
}

/* Media Queries pour les petits écrans */
@media (max-width: 768px) {
  .partenaires h2 {
      font-size: 1.5rem; /* Réduit la taille du titre pour mobile */
  }

  .partenaires .txt p {
      font-size: 0.9rem; /* Réduit la taille du texte pour mobile */
  }

  .carousel-title {
      font-size: 1.2rem; /* Réduit la taille du titre pour mobile */
  }

  .carousel-row img {
      margin: 0 2px; /* Réduit l'espace entre les images pour mobile */
  }
}

@media (max-width: 480px) {
  .partenaires h2 {
      font-size: 2rem; /* Ajuste encore pour les très petits écrans */
  }

  .partenaires .txt p {
      font-size: 0.çrem; /* Ajuste la taille du texte */
      padding-left: 15px;
      padding-right: 10px;
  }

  .carousel-title {
      font-size: 1rem; /* Ajuste le titre pour les très petits écrans */
  }
}

.carou-container {
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
  background: #343434;
  font-family: 'Roboto', sans-serif;
  padding-top: 50px;
  width: 100%; /* S'assure que le footer occupe toute la largeur de l'écran */
}

.footer {
  width: 90%; /* Utilisation d'un pourcentage pour une meilleure flexibilité */
  max-width: 1140px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Permet de gérer le passage des éléments à la ligne sur petits écrans */
}

.footer-content {
  width: 100%; /* Largeur par défaut pour petits écrans */
  margin-bottom: 30px;
}

h3 {
  font-size: 70px;
  margin-bottom: 15px;
  text-align: center;
   
}

.footer-content p,
.footer-content ul{
  text-align: center;
  font-family: "Roboto Slab", serif;
  
}

.list {
  padding: 0;
}

.list li {
  list-style-type: none;
  padding: 7px;
  position: relative;
}

.list li::before {
  content: '';
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 100%;
  width: 0;
  height: 2px;
  background: #f18930;
  transition-duration: .5s;
}

.list li:hover::before {
  width: 70px;
}

.footer-col{
  width: 25%;
  padding: 0 15px;
}

.footer-content a{
  text-decoration: none;
}

.footer-col h4{
 font-size: 18px;
 color: #ffffff;
 text-transform: capitalize;
 margin-bottom: 35px;
 font-weight: 500;
 position: relative;
}
.footer-col h4::before{
 content: '';
 position: absolute;
 left:0;
 bottom: -10px;
 background-color: #e91e63;
 height: 2px;
 box-sizing: border-box;
 width: 50px;
}
.footer-col ul li:not(:last-child){
 margin-bottom: 10px;
}
.footer-col ul li a{
 font-size: 16px;
 text-transform: capitalize;
 color: #ffffff;
 text-decoration: none;
 font-weight: 300;
 color: #bbbbbb;
 display: block;
 transition: all 0.3s ease;
}
.footer-col ul li a:hover{
 color: #ffffff;
 padding-left: 8px;
}
.footer-col .social-links a{
 display: inline-block;
 height: 40px;
 width: 40px;
 background-color: rgba(255,255,255,0.2);
 margin:0 10px 10px 0;
 text-align: center;
 line-height: 40px;
 border-radius: 50%;
 color: #ffffff;
 transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
 color: #24262b;
 background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
 .footer-col{
   width: 50%;
   margin-bottom: 30px;
}
}
@media(max-width: 574px){
 .footer-col{
   width: 100%;
}
}

.bottom-bar {
  background: #30f1c7;
  text-align: center;
  padding: 10px 0;
  margin-top: 50px;
}

.bottom-bar p {
  color: #343434;
  margin: 0;
  font-size: 16px;
  padding: 7px;
  font-family: "Roboto Slab", serif;
}

.footer * {
  font-size: 16px;
  color: white;
  font-family: "Roboto Slab", serif;
}

/* Media Queries */
@media (min-width: 768px) {
  .footer-content {
    width: 33%; /* Ajustement pour écrans moyens */
  }
}
/* Media Queries pour les petits écrans */
@media (max-width: 768px) {
  .footer-content {
      text-align: center; /* Centre le texte pour les écrans petits */
      margin-bottom: 20px; /* Espace entre les colonnes */
  }

  .footer-content h3 {
      font-size: 1.3rem; /* Réduit la taille du titre */
  }

  .footer-content p,
  .footer-content .list li {
      font-size: 0.9rem; /* Réduit la taille du texte */
  }

  .social-links a {
      margin-right: 10px; /* Réduit l'espace entre les icônes sociales */
      font-size: 1.3rem; /* Réduit la taille des icônes sociales */
  }
}

@media (max-width: 480px) {
  .footer-content h3 {
      font-size: 1.2rem; /* Ajuste encore pour les très petits écrans */
  }

  .footer-content p,
  .footer-content .list li {
      font-size: 0.8rem; /* Ajuste la taille du texte */
  }
  .social-links{
    text-align: center;
  }
}
/* Style de base pour le menu flottant */
.floating-menu {
    position: fixed;
    bottom: 90px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.menu-item {
    background-color: skyblue;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 50px; /* Taille initiale */
    overflow: hidden; /* Cacher le texte au début */
    white-space: nowrap; /* Eviter le saut de ligne */
}
 
.menu-item:hover {
    width: 200px; /* Agrandir lors du survol */
    font-weight: 400;
    background-color: skyblue;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 2px solid skyblue;
}

.icon {
    font-size: 20px;
    margin-right: 10px;
}

.text {
    display: none;
}

.menu-item:hover .text {
    display: inline-block; /* Afficher le texte au survol */
}

/* Styles spécifiques pour ajuster les icônes */
#contact::before {
    content: ''; /* Icône pour contact */
}
#network::before {
    content: ''; /* Icône pour réseau */
}
#lost-found::before {
    content: ''; /* Icône pour Lost and Found */
}
#cargo::before {
    content: ''; /* Icône pour suivi de cargaison */
}
.image-slider {
  position: relative;
  justify-content: center;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  width: 100%;
}

.image-slider-track-container {
  overflow: hidden;
}

.image-slider-track {
  display: flex;
  transition: transform 0.5s ease-in;
}

.image-slide {
  min-width: 33.33%; /* Affiche 3 articles par ligne sur les écrans larges */
  box-sizing: border-box;
  margin: 0 1px;
  position: relative;
  justify-content: center;
}

.image-slide img {
  width: 85%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.news-details {
  padding: 30px;
  background-color: white;
}

.news-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-date {
  font-size: 14px;
  color: #7c7c7c;
}

.media-release {
  font-size: 14px;
  color: red;
  font-weight: bold;
}

.news-content h2 {
  font-size: 30px;
  color: black;
  margin: 5px 0;
  transition: 0.5s;
}

.news-content h2:hover {
  color: red;
  cursor: pointer;
  letter-spacing: 1px;
}

.news-content a {
  font-size: 14px;
  color: rgba(0, 0, 255, 0.623);
  text-decoration: none;
  margin-top: 5px;
  display: block;
  transition: 0.5s;
}

.news-content a:hover {
  letter-spacing: 1px;
}

.image-slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}

.image-slider-nav {
  text-align: center;
  margin-top: 10px;
}

.nav-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .image-slider {
    padding: 0 10px; /* Ajoute un espace de 10px de chaque côté */
    box-sizing: border-box; /* Pour inclure le padding dans la largeur totale */
  }
  
  .image-slide {
    min-width: 100%; /* Chaque slide prend 100% de la largeur en mobile */
    margin-right: 0; /* Supprime l'espace entre les slides pour mobile */
  }

  .image-slide img {
    height: 200px;
    border-radius: 4px;
    min-width: 33.33%; /* Ajustez en fonction du nombre de slides visibles */
    margin-right: 10px; /* Espace entre chaque slide */

     
  }

  .news-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .image-slide {
    min-width: 100%; /* Affiche un seul article par ligne sur les petits écrans */
  }

  .image-slide img {
    height: 250px;
  }

  .news-details {
    padding: 15px;
  }

  .news-header {
    flex-direction: column;
  }

  .news-content h2 {
    font-size: 20px;
  }

  .image-slider-button {
    padding: 8px;
    font-size: 14px;
  }

  .nav-dot {
    width: 6px;
    height: 6px;
  }
}


.active-dot {
  background-color: #333;
}


.text-image-container-1,
.text-image-container-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    width: 100%;
}

.text-content {
    width: 50%;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
}

.image-content {
    width: 35%;
    padding: 20px;
}

.image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Conteneur 1: Image à droite, texte à gauche */
.text-image-container-1 {
    flex-direction: row;
}

/* Conteneur 2: Image à gauche, texte à droite */
.text-image-container-2 {
    flex-direction: row-reverse;
}

/* Styles pour la liste */
.liste {
    list-style-type: square;
    font-size: 18px;
}

.text-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.text-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}


.liste {
  list-style-type: none; /* Retirer le style par défaut */
  padding-left: 0;
}

.liste li {
  position: relative;
  margin: 20px 0;
  padding-left: 30px; /* Espace pour les grandes puces */
  font-size: 18px; /* Taille du texte */
  font-family: 'Roboto', sans-serif;
  color: #333;
}

.liste li::before {
  content: ''; /* Ajout d'un carré */
  position: absolute;
  left: 0;
  top: 7px; /* Ajuster la position verticale */
  width: 12px; /* Taille du carré */
  height: 12px;
  background-color: #333; /* Couleur du carré */
}
  
.text-content h2 {
  font-size: 50px;
  font-weight: 700;
  color: #444;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
}
.text-content h1{
  color: red;
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

.text-content p{
  font-size: 20px;
  font-weight: 200;
  color: black;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
}
/* Breakpoints pour l'adaptation responsive */

/* Écrans moyens (tablettes) */
@media screen and (max-width: 992px) {
  .text-content, .image-content {
      width: 100%;
      padding: 10px;
  }
  .little-title h2{
    font-size: 5px;
  }
  .text-image-container-1,
  .text-image-container-2 {
      flex-direction: column;
      align-items: center;
  }
  .text-content h2 {
      font-size: 40px;
  }
  .text-content h1 {
      font-size: 24px;
  }
  .text-content p {
      font-size: 18px;
  }
  .liste li {
      font-size: 16px;
  }
  .little-title img{
    height: 300px;
    gap: 10px;
  }
}

/* Écrans petits (smartphones) */
@media screen and (max-width: 768px) {
  .text-content, .image-content {
      padding: 5px;
  }
  .little-title img{
    height: 200px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: transparent;
    padding-top: 0%;
  }

  .little-title h2{
    font-size: 5px;
  }
  .text-content h2 {
      font-size: 32px;
  }
  .text-content h1 {
      font-size: 18px;
  }
  .text-content p {
      font-size: 16px;
  }
  .liste li {
      font-size: 14px;
  }
}


.voir-plus{
  padding: 12px 16px;
  background: rgb(129, 180, 228);
  color: black;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.little-title{
  overflow: hidden;
  margin-top: 20px;
  align-content: center;
}

.little-title h2{
    font-family: 'Roboto', sans-serif;
    font-size: 50px;   
    margin-bottom: 0%; 
}
.pic-title{
  background-color: #007bff;
  width: 100%;
  height: 400px;
  position: relative;
  object-fit: cover;
}

/* Très petits écrans (petits smartphones) */
@media screen and (max-width: 576px) {
  .little-title h2{
    font-size: 30px;
  }
  .text-content h2 {
      font-size: 28px;
  }
  .text-content h1 {
      font-size: 16px;
  }
  .text-content p {
      font-size: 14px;
  }
  .liste li {
      font-size: 12px;
  }
}


.login-page{
  align-content: center;
  height: 100px;
}

.login-page a{
  align-items: center;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: #007bff;
  transition: 0.5s;
  font-size: 30px
}
.login-page a:hover{
  letter-spacing: 3px;
   
}
/* Hauteur par défaut */
#map {
  height: 500px;
  width: 100%;
}

/* Hauteur ajustée pour les petits écrans */
@media (max-width: 768px) {
  #map {
      height: 400px;
      margin: 0 10px;  /* Ajoute un peu d'espace sur les côtés pour le mobile */
  }
}

.body-map {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Style lorsque le zoom est activé */
.body-map.active {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transform: scale(1.02); /* Légère augmentation de la taille */
}










