.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.project-title,
.projet-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    border: 5px solid white;
    background-color: rgba(0, 0, 0, 0.5);
    animation: bounce 2s infinite;
}

.btn-explore {
    padding: 15px 30px;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    background-color: #4d995f;
    border: 3px solid white;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.btn-explore:hover {
    background-color: white;
    color: #4d995f;
}
.commodities-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.commodity-item {
    text-align: center;
    max-width: 150px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    color: white;
}

.commodity-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.commodity-details {
    font-size: 14px;
}
.contain {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
    box-sizing: border-box;
}

.contain .mycard {
    position: relative;
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    height: auto;
    background: #eee;
    margin: 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
    transition: height 0.2s ease-in-out, transform 0.2s;
}

.contain .mycard:hover {
    height: 420px;
    transform: translateY(-10px);
}

.contain .mycard .cimg {
    position: relative;
    width: 100%;
    height: 200px;
    z-index: 1;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.contain .mycard .cimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contain .mycard .cdetail {
    position: relative;
    margin-top: -20px;
    padding: 10px 15px;
    text-align: center;
    color: black;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.contain .mycard:hover .cdetail {
    visibility: visible;
    opacity: 1;
    margin-top: 20px;
}
.contain .mycard:hover .cdetail h4 p {
    font-style: montserrat;
}
.image-card img {
    width: 100%; /* S'assure que les images occupent tout l'espace de leur conteneur */
    height: auto; /* Garde les proportions */
    display: block;
}

@media (max-width: 1024px) {
    .video-container {
        height: 120vh;
    }

    .projet-title {
        font-size: 2.5rem;
        margin-top: 200px;
    }
    .explore-btn i {
        font-size: 50px;
    }
    .contain .mycard {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    #map {
        width: 360px;
        height: 300px;
        border-radius: 8px;
    }
}
@media (max-width: 768px) {
    .projet-title {
        font-size: 2rem;
        margin-top: 150px;
    }
    .explore-btn i {
        font-size: 40px;
    }
    .contain .mycard {
        flex: 1 1 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    #map {
        width: 370px;
        height: 300px;
        border-radius: 8px;
    }
}
@media (max-width: 420px) {
    .projet-title {
        font-size: 1.5rem;
        margin-top: 100px;
    }
    .explore-btn i {
        font-size: 30px;
    }
    .contain .mycard {
        flex: 1 1 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    #map {
        width: 320px;
        height: 300px;
        border-radius: 8px;
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
footer {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

footer .container-fluid {
    padding: 0;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
}

#map {
    width: 450px;
    height: 300px;
    border-radius: 8px;
}

.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about h3 {
    font-weight: bold;
    font-size: 28px;
    color: #1e3551;
}

.about h4 {
    font-size: 22px;
    color: #475f7b;
}

.about p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
}

.about .d-flex {
    gap: 15px;
    margin-top: 90px;
}

.about img {
  
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
}

.stats-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}


.prox-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}


.prox-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}


.prox-distance {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.video-container:hover .background-video {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
   
}
.header {
    --background-color: rgba(21, 34, 43, 0.85);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: white;
  background: #4B9657;
  border-color: #4B9657;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header {
  --background-color: rgba(21, 34, 43, 0.85);
}
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

.navmenu a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  transition: color 0.3s;
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #4B9657; 
  transition: width 0.3s ease-in-out;
}

.navmenu a:hover::after,
.navmenu .active::after {
  width: 100%;
}

.navmenu a:hover,
.navmenu .active {
  color: #4B9657;
}

.header .cta-btn {
  color: white;
  font-size: 13px;
  padding: 7px 25px;
  margin-left: 30px;
  border-radius: 4px;
  border: 2px solid white;
  background: transparent;
  transition: 0.3s;
  text-transform: uppercase;
}

.header .cta-btn:hover,
.header .cta-btn:focus {
  color: white;
  background: #4B9657; 
  border-color: #4B9657;
}

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}
.glass-footer {
    background: #273d4e;;
    backdrop-filter: blur(10px);
    padding: 20px;
  
}


footer {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    color:gray;
   
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}







/* --------- Top Bar --------- */
.top-bar {
  background: #222;
  color: white;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  z-index: 998; /* Pour être au-dessus des autres éléments */
  width: 100%;
}

/* --------- Ajustement de la Nav Principale --------- */
.header {
  background-color: rgba(21, 34, 43, 0.85);
  color: white;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 40px; /* Ajuste sous la top-bar */
}

/* --------- Responsive pour Mobile --------- */
@media (max-width: 768px) {
  .top-bar {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 5px 0;
  }
  .top-bar .container {
      flex-direction: column;
  }
  .contact-info, .social-info {
      flex-direction: column;
      align-items: center;
  }
  .contact-info span, .social-info span {
      margin-bottom: 5px;
  }
  .social-info .social-icon {
      margin: 5px;
  }

  /* Ajustement de la navbar pour éviter la superposition */
  .header {
      top: 0; /* Supprime l'espace sous la top-bar pour éviter le chevauchement */
      position: relative;
  }

  /* Ajustement du menu mobile */
  .navmenu {
      text-align: center;
      margin-top: 10px;
  }

  .navmenu ul {
      display: flex;
      flex-direction: column;
      padding: 0;
  }

  .navmenu ul li {
      padding: 10px 0;
  }
}
