/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 600;
}

/* Ajout du padding global pour les sections */
.services-icons,
.realisations,
.service-section,
.competences-section,
.cta-section,
.main-slider,
.marquee-section {
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.slider-container,
.service-content,
.competences-slider {
  width: 100%;
  border-radius: 2em;
  overflow: hidden;
}

/* Ajustement du padding responsive */
@media (max-width: 768px) {
  .services-icons,
  .realisations,
  .service-section,
  .competences-section,
  .cta-section,
  .main-slider,
  .marquee-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 480px) {
  .services-icons,
  .realisations,
  .service-section,
  .competences-section,
  .cta-section,
  .main-slider,
  .marquee-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  background-color: #00a0d3;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease-out;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
}




html,
body {
  width: 100%;
  height: 100%;
  font-family: "Montserrat";
}

a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* Ajouter un pseudo-élément pour le background avec blur */
nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 1); /* Fond blanc opaque */
  z-index: -1;
}

/* Responsive - Cacher le background sur mobile */
@media (max-width: 768px) {
  nav::before {
    display: none;
  }
}

.nav-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.hero {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15vw;
  line-height: 90%;
}

/* transition */
.transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 999999;
  pointer-events: none;
}

.transition-row {
  flex: 1;
  display: flex;
}

.transition-row.row-1 .block {
  transform-origin: top;
}

.transition-row.row-2 .block {
  transform-origin: bottom;
}

.block {
  flex: 1;
  background-color: #00a0d3;
  transform: scaleY(1);
  will-change: transform;
  visibility: visible;
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Montserrat";
}

/* logos */
.logo,
.menu-logo {
  position: absolute;
  top: 0em;
  z-index: 3;
  scale: 1.5;
  left: 2em;
}

.logo a,
.menu-logo a {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 60px;
  font-weight: 600;
}

.menu-logo a {
  color: rgb(231, 231, 231);
}

/* menu toggle btn */
.menu-toggle {
  position: fixed;
  top: 1.4em;
  right: 2em;
  width: 120px;
  height: 60px;
  background-color: #0f0f0f;
  border-radius: 8em;
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform-origin: right;
  cursor: pointer;
  z-index: 99;
}

.menu-toggle.opened {
  width: 60px;
  z-index: 99999;
}

.menu-copy {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: white;
  transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600 !important;
}

.menu-copy p {
  text-transform: uppercase;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600 !important;
  font-size: 12px;
  margin: 0;
  padding: 0;
  color: white;
}

.menu-toggle:hover .menu-copy {
  left: 20px;
}

.menu-toggle.opened .menu-copy {
  opacity: 0;
}

.menu-toggle-icon {
  position: absolute;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  clip-path: circle(10% at 50% 50%);
  background-color: #00a0d3;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
  overflow: hidden;
}

.menu-toggle:hover .menu-toggle-icon {
  clip-path: circle(35% at 50% 50%);
}

.menu-toggle.opened .menu-toggle-icon {
  clip-path: circle(50% at 50% 50%);
  transform: scale(1.125);
}

.hamburger {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  opacity: 0;
}

.menu-toggle:hover .hamburger,
.menu-toggle.opened .hamburger {
  top: 50%;
  opacity: 1;
}

.menu-bar {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: #000;
  transition-property: transform;
  transition: all 250ms ease-out;
}

.menu-bar[data-position="top"] {
  transform: translateY(-3px);
}

.menu-bar[data-position="bottom"] {
  transform: translateY(3px);
}

.menu-toggle.opened .menu-bar[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-toggle.opened .menu-bar[data-position="bottom"] {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

/* menu */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f0f0f;
  z-index: 15;
  display: flex;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.menu .col-1 {
  padding: 8em 2em 2em;
  display: flex;
  flex-direction: column;
}

.menu .col-2 {
  flex: 1;
  padding: 8em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.menu .col-2 .magnetic-area {
  position: absolute;
  bottom: 2em;
  right: 0em;
}

/* Container des liens */
.links {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 3em;
  z-index: 100;
  margin-top: 0em;
  width: 400px;
}

/* Style des liens principaux */
.link {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Supprimer le point blanc */
.link::before {
  display: none;
}

.link > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  color: rgb(231, 231, 231);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
}

.link > a:hover {
  color: #00a0d3;
  transform: translateX(10px);
}

/* Sous-menus */
.sub-links {
  position: absolute;
  left: calc(100% + 1em);
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  min-width: 200px;
  padding-left: 1em;
}

/* Zone tampon pour faciliter le hover */
.sub-links::before {
  content: '';
  position: absolute;
  left: -1em;
  top: 0;
  width: 1em;
  height: 100%;
}

/* Affichage des sous-menus au hover */
.link:hover .sub-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Style des liens dans les sous-menus */
.sub-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: rgb(231, 231, 231);
  text-decoration: none;
  padding: 0.3em 0;
  display: block;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1.2em;
  white-space: nowrap;
}

/* Supprimer le point blanc des sous-liens */
.sub-links a::before {
  display: none;
}

.sub-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.link:hover .sub-links a {
  opacity: 1;
  transform: translateX(0);
}

.sub-links a:hover {
  color: #00a0d3;
  transform: translateX(10px) !important;
}

/* Animation séquentielle des sous-liens */
.sub-links a:nth-child(1) { transition-delay: 0.1s; }
.sub-links a:nth-child(2) { transition-delay: 0.2s; }
.sub-links a:nth-child(3) { transition-delay: 0.3s; }
.sub-links a:nth-child(4) { transition-delay: 0.4s; }

/* Version mobile */
@media (max-width: 768px) {
  .links {
    padding-left: 2em;
    margin-top: 4em;
  }

  .link > a {
    font-size: 36px;
  }

  .sub-links {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    padding-left: 2em;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5em;
  }

  .link:hover .sub-links,
  .sub-links.active {
    height: auto;
    opacity: 1;
    visibility: visible;
  }

  .sub-links a {
    font-size: 18px;
    padding: 0.3em 0;
  }
}


.socials {
  width: 100%;
  display: flex;
  gap: 2em;
  justify-content: flex-end;
}

.socials .sub-col {
  flex: 0;
  text-align: right;
}

.socials .sub-col p {
  position: relative;
  color: rgb(231, 231, 231);
  transform: translateY(30px);
  text-align: right;
  opacity: 0;
  text-transform: uppercase;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600 !important;
  font-size: 12px;
}

.header h1 {
  color: rgb(231, 231, 231);
  text-transform: uppercase;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 500px;
  font-weight: lighter;
  line-height: 100%;
  height: 400px;
}

.header h1 span {
  position: relative;
  display: inline-block;
  transform: scale(0.75) translateY(500px) rotateY(90deg);
  transform-origin: bottom;
}

@media (max-width: 900px) {
  .col-1 {
    flex: 2;
    align-items: flex-start;
  }

  .link a {
    font-size: 30px;
  }

 

  .socials {
    width: 100%;
    flex-direction: column;
    gap: 8em;
  }

  .header h1 {
    font-size: 150px;
    height: 120px;
  }
}

/* Logo modifications */
.logo img,
.menu-logo img {
  width: 120px; /* Adjust based on your logo size */
  height: auto;
}

/* Remove old logo text styles */
.logo a,
.menu-logo a {
  text-decoration: none;
  position: fixed;
}

/* Existing cursor styles */
.cursor {
  width: 20px;
  height: 20px;
  background: #00a0d3;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
}

/* Magnetic effect styles */
.cursor.magnetic {
  width: 25px; /* Slightly larger when near menu */
  height: 25px;
  transition: width 0.2s ease-out, height 0.2s ease-out;
}

/* Hover effect */
.cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
}



.icon-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  position: relative;
  z-index: 20;
}

.icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  background: white;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.icon-circle svg {
  color: #0f0f0f;
  z-index: 21;
  position: relative;
}

/* Style pour les liens principaux */
.link {
  position: relative;
  margin-bottom: 1.5em;
}

.link > a {
  font-size: 2rem;
  color: rgb(231, 231, 231);
}

/* Style pour les sous-liens */
.menu .sub-links {
  position: absolute;
  left: calc(100% + 20px);
  top: 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  padding: 10px 0;
  z-index: 1000;
}

.menu .link:hover .sub-links,
.menu .sub-links.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu .sub-links a {
  display: block;
  padding: 10px 20px;
  color: rgb(231, 231, 231);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0.7;
  transform: translateX(-10px);
}

.menu .link:hover .sub-links a {
  opacity: 1;
  transform: translateX(0);
}

.menu .sub-links a:hover {
  color: #00a0d3;
  padding-left: 30px;
}

/* Animation séquentielle des sous-liens */
.menu .sub-links a:nth-child(1) { transition-delay: 0.1s; }
.menu .sub-links a:nth-child(2) { transition-delay: 0.2s; }
.menu .sub-links a:nth-child(3) { transition-delay: 0.3s; }
.menu .sub-links a:nth-child(4) { transition-delay: 0.4s; }

/* Version mobile */
@media (max-width: 768px) {
  .menu .sub-links {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-left: 20px;
    transform: none;
    transition: all 0.3s ease;
  }

  .menu .link:hover .sub-links,
  .menu .sub-links.active {
    height: auto;
    opacity: 1;
    visibility: visible;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu .sub-links a {
    font-size: 1rem;
    padding: 8px 0;
    transform: none;
  }

  .menu .sub-links a:hover {
    padding-left: 10px;
  }
}

/* Style pour le texte au survol des icônes */
.icon-circle {
  position: relative;
}

.hover-text {
  position: absolute;
  right: 120%;
  white-space: nowrap;
  background-color: white;
  color: #0f0f0f;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.icon-circle:hover .hover-text {
  opacity: 1;
}

/* Style pour tous les textes dans col-2 */
.col-2 * {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600 !important;
}
.link a{
  transition: 0.5s ease-in-out;
}
.link a:hover{
  color: #00a0d3;
}
.link a {
  text-decoration: none;
  color: rgb(231, 231, 231);
  font-size: 48px;
  font-weight: 600 !important;
  line-height: 180%;
}
@media (max-width: 900px) {
  .link {
    margin-bottom: 4rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .link > a {
    font-size: 36px;
  }

  .sub-links {
    position: relative;
    left: 0;
    top: 20px;
    transform: none;
    padding-left: 2rem;
    margin-top: 1rem;
  }

  .sub-links a {
    font-size: 24px;
  }
}

/* Style pour le conteneur principal des liens */
.links {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 3em;
  z-index: 100;
  margin-top: 0em;
}

.link {
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  scale: 130%;
  margin-bottom: 1em;
}

.link > a {
  text-decoration: none;
  color: rgb(231, 231, 231);
  font-size: 48px;
  font-weight: 600 !important;
  transition: 0.5s ease-in-out;
}

.link a:hover {
  color: #00a0d3;
}

/* Style pour le conteneur des sous-liens */
.sub-links {
  position: absolute;
  left: 100%;
  top: 0;
  padding-left: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.link:hover .sub-links {
  opacity: 1;
  pointer-events: all;
}

.sub-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  scale: 100%;
  color: rgb(231, 231, 231);
  margin: 5px 0;
  font-weight: 600 !important;
  transition: 0.15s ease-in-out;
  width: 9.5em;
  display: block;
}

.sub-links a:hover {
  color: #00a0d3;
  transform: translateX(10px);
  transition: 0.15s ease-in-out;
}

@media (max-width: 900px) {
  .link {
    margin-bottom: 4rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .link > a {
    font-size: 36px;
  }

  .sub-links {
    position: relative;
    left: 0;
    top: 20px;
    transform: none;
    padding-left: 2rem;
    margin-top: 1rem;
    display: none;
  }

  .sub-links.active {
    display: block;
  }

  .sub-links a {
    font-size: 24px;
  }
}


 
.main-slider {
    width: 100%;
    height: calc(100vh - 5em);
    top: 5em;
    position: absolute;
    z-index: 1;
    padding: 2rem;
    margin-bottom: 8em;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 2em;
}



.slide-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: calc(100% / 3);
    height: 100%;
    flex-shrink: 0;
    transition: 0.5s ease-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00a0d3;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 20;
    transition: 0.3s all ease-in-out;
}

.slider-btn:hover {
    background: #00a0d3;

}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #00a0d3;
}


/* Ajout des styles pour le texte du carousel */
.slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  transition: all 0.5s ease-in-out;
}


.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.slide:hover::before {
  background: rgba(0, 0, 0, 0.13);
}

.slide-content {
  position: absolute;
  z-index: 10;
  width: 100%;
  padding: 0 2rem;
  transition: all 0.5s ease-in-out;
}

.slide:hover .slide-content {
  transform: translateY(-10px);
}

.slide h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transform: translateY(-30px);
  opacity: 0;
  animation: slideUp 0.8s forwards;
  
}

.slide p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s 0.2s forwards;
  
}

.cta-button {
  padding: 1rem 2rem;
  background-color: transparent;
  color: white;
  border: 2px solid #00a0d3;
  border-radius: 50px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s 0.4s forwards;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #00a0d3;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.cta-button:hover {
  color: white;
  transform: translateY(0) scale(1.05);
}

.cta-button:hover::before {
  width: 100%;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .slide-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 2rem;
  }

  .slide-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .slide-text h1 {
    font-size: 2.5rem;
  }

  .slide-text p {
    font-size: 1rem;
    margin: 0 auto;
  }

  .slide-button {
    width: 100%;
    justify-content: center;
  }
}

/* Styles pour le header dropdown */
nav {
  height: 8em;
  z-index: 10;
  
}

.nav-items {
  position: relative;

}

.nav-link {
  position: relative;
  padding: 1rem;
  left: 54.4em;
  top: -0.6em;

}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.nav-link:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s ease;
  color: #0F0F0F;
  background-color: #FFFFFF;
  white-space: nowrap;
  font-size: 0.9rem;
  border-radius: 4px;
}

.dropdown a:hover {
  background: rgba(0, 160, 211, 0.05);
  color: #00a0d3;
  transform: translateX(5px);
}

/* Responsive pour le dropdown */
@media (max-width: 768px) {
  .dropdown {
    grid-template-columns: 1fr;
    min-width: 200px;
    padding: 0.8rem;
  }
  
  .dropdown a {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

.black-bg{
  background-color: #0F0F0F;
}

/* Services Icons Section */
.services-icons {
  position: relative;
  width: 100%;
  padding: 4em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8em;
  margin-bottom: 8em;
  max-width: calc(100% - 4rem);
  margin-left: auto;
  margin-right: auto;
  background: transparent;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.service-item.reveal {
  opacity: 1;
  transform: translateY(0);
}



/* Suppression des animations existantes */
.service-item:nth-child(1),
.service-item:nth-child(2),
.service-item:nth-child(3),
.service-item:nth-child(4),
.service-item:nth-child(5),
.service-item:nth-child(6) {
  animation-delay: 0s;
  opacity: 1;
}



.service-item:hover {
  transform: translateY(-5px);
}

.service-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #00a0d3;
  margin-top: 0.8em;
  position: relative;
  letter-spacing: 0.5px;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #00a0d3;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.service-item:hover .service-title::after {
  width: 50%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Styles pour les liens du header */
.nav-link > a {
  position: relative;
  color: #0f0f0f;
  transition: color 0.3s ease;
}

.nav-link > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #00a0d3;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover > a {
  color: #00a0d3;
}

.nav-link:hover > a::after {
  width: 50%;
}

/* Style amélioré pour le dropdown du header */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  background-color: #FFFFFF;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
  color: #0F0F0F;
  background-color: #FFFFFF;
}

.dropdown a:hover {
  background: rgba(11, 162, 31, 0.05);
  color: #00a0d3;
  padding-left: 2rem;
}

/* Styles pour les liens du menu */
.link > a {
  position: relative;
  color: rgb(231, 231, 231);
  font-size: 48px;
  font-weight: 600 !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.link > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #00a0d3;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.link:hover > a {
  color: #00a0d3;
}

.link:hover > a::after {
  width: 50%;
}

/* Style amélioré pour les sous-liens du menu */
.sub-links {
  position: absolute;
  left: 100%;
  top: 0;
  padding-left: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.link {
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  scale: 130%;
  margin-bottom: 1em;
  padding-right: 150px; /* Espace pour le sous-menu */
}

.link:hover .sub-links,
.sub-links:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

.sub-links::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; /* Zone tampon pour éviter le bug de hover */
  height: 100%;
}

.sub-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  color: rgb(231, 231, 231);
  margin: 10px 0;
  display: block;
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.link:hover .sub-links a {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.2s;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
  .sub-links {
    position: relative;
    left: 0;
    top: 0;
    padding-left: 2rem;
    transform: none;
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .link {
    padding-right: 0;
  }

  .sub-links.active {
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    margin-top: 1rem;
  }

  .sub-links a {
    transform: none;
    font-size: 18px;
    margin: 0.8em 0;
    padding-left: 0;
  }
}

/* Background Circles */
.background-circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(9, 156, 206, 0.15);
  filter: blur(90px);
  opacity: 0.7;
  z-index: -1;
}

.circle.circle-2 {
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
}

.circle.circle-3 {
  bottom: -400px;
  right: -200px;
  width: 1000px;
  height: 1000px;
}

@keyframes moveCircle1 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes moveCircle2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50px, -30px);
  }
}

@keyframes moveCircle3 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, -50px);
  }
}

/* Marquee Section */
.marquee-section {
  width: 100%;
  background-color: #00a0d3;
  overflow: hidden;
  padding: 2.5rem 0;
  margin-bottom: 2em;
  margin-top: calc(100vh + 3em);
}

.marquee-container {
  display: flex;
  width: max-content;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 2rem;
}

.marquee-content span {
  color: #f3f3f0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 2rem;
  letter-spacing: -1px;
}

.marquee-dot {
  width: 10px;
  height: 10px;
  background-color: #f3f3f0;
  border-radius: 50%;
  margin: 0 3rem;
  display: inline-block;
}

.marquee-dash {
  color: #f3f3f0;
  font-size: 5rem;
  font-weight: 600;
  margin: 0 3rem;
  display: inline-block;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
  .nav-items {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo img {
    width: 100px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1em;
  }

  .logo {
    top: 1em;
    left: 1em;
  }

  .menu-toggle {
    top: 1em;
    right: 1em;
    width: 100px;
    height: 50px;
  }

  .menu .col {
    padding: 6em 1em 1em 1em;
  }

  .link > a {
    font-size: 36px;
  }

  .sub-links a {
    font-size: 20px;
  }

  .socials {
    width: 100%;
  }

  .icon-menu {
    gap: 16px;
  }

  .icon-circle {
    width: 72px;
    height: 72px;
  }

  .hover-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .link > a {
    font-size: 28px;
  }

  .sub-links a {
    font-size: 16px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle svg {
    width: 24px;
    height: 24px;
  }
}

/* Responsive Main Slider */
@media (max-width: 1200px) {
  .main-slider {
    height: calc(100vh - 4em);
  }

  .links {
    margin-top: 2em;
  }

  .link {
    margin-bottom: 0.8em;
  }
}

@media (max-width: 768px) {
  .main-slider {
    height: calc(100vh - 3em);
    top: 4em;
    padding: 1rem;
  }

  .links {
    margin-top: 0;
    padding-top: 2em;
  }

  .link {
    margin-bottom: 0.5em;
  }

  .menu .col-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8em;
  }
}

@media (max-width: 480px) {
  .main-slider {
    height: calc(100vh - 2em);
    top: 3em;
  }

  .links {
    padding-left: 1rem;
  }

  .menu .col-1 {
    padding-top: 6em;
  }
}

/* Modifier les styles du menu pour mobile */
@media (max-width: 768px) {
  .link > a {
    font-size: 36px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600 !important;
    color: rgb(231, 231, 231) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .sub-links {
    padding-left: 1em;
  }

  .sub-links a {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: rgb(231, 231, 231) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0.3em 0 !important;
  }
}

/* Ajuster encore plus pour les très petits écrans */
@media (max-width: 480px) {
  .link > a {
    font-size: 28px;
  }

  .sub-links {
    padding-left: 0.8em;
  }

  .sub-links a {
    font-size: 12px !important;
    margin: 0.2em 0 !important;
  }
}

/* Ajouter ces styles généraux pour la police */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.menu {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.section-title {
  font-size: 3rem;
  color: #00a0d3;

}

.realisations-slider {
  position: relative;
  margin: 0 -2rem;
}

.slider-wrapper {
  overflow: hidden;
  cursor: grab;
}

.slider-wrapper:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease-out;
}

.realisation-slide {
  flex: 0 0 400px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.realisation-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.realisation-slide .slide-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.realisation-slide:hover .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.1s;
}

.slide-content p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
}

.realisation-slide:hover .slide-content h1,
.realisation-slide:hover .slide-content p {
  opacity: 1;
  transform: translateY(0);
}

/* Version mobile pour les réalisations */
@media (max-width: 768px) {
  .realisation-slide .slide-content {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 100%);
  }

  .slide-content h1,
  .slide-content p {
    opacity: 1;
    transform: translateY(0);
  }

  .realisation-slide {
    flex: 0 0 85%;
    height: 400px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Style uniforme pour tous les boutons de navigation des sliders */
.nav-btn, .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0.8;
}

.nav-btn:hover, .slider-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

.nav-btn.prev, .slider-btn.prev {
  left: 2rem;
}

.nav-btn.next, .slider-btn.next {
  right: 2rem;
}

.nav-btn svg, .slider-btn svg {
  scale: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-btn, .slider-btn {
    width: 40px;
    height: 40px;
  }

  .nav-btn:hover, .slider-btn:hover {
    width: 45px;
    height: 45px;
  }
}

/* Ajouter ces styles */
.scroll-arrow {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #00a0d3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  margin-bottom: -4em;
}

.scroll-arrow svg {
  width: 30px;
  height: 30px;
  fill: white;
  transition: all 0.3s ease;
  z-index: 10;
  scale: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.scroll-arrow:hover svg {
  animation-play-state: paused;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #00a0d3;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.3s ease;
}

.scroll-arrow:hover::after {
  transform: scale(1.2);
}

/* Responsive pour la flèche */
@media (max-width: 1200px) {
  .scroll-arrow {
    
    width: 50px;
    height: 50px;
  }

  .scroll-arrow svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .scroll-arrow {
   
    width: 45px;
    height: 45px;
  }

  .scroll-arrow svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .scroll-arrow {
  
    width: 40px;
    height: 40px;
  }

  .scroll-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* Ajuster le texte du main slider */
.slide-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.slide-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  scale: 0.7;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1200px) {
  .slide-content h1 {
    font-size: 3.5rem;
  }

  .slide-content p {
    font-size: 1.1rem;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  #scroll-arrow2 {
    margin-top: 3em;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
    padding: 0 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 300px;
    padding: 0 0.5rem;
  }

  .cta-button {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
  }
}

/* Ajuster la couleur des liens pour qu'ils soient visibles sur le fond blanc */
.nav-items a {
  color: #000;
  position: relative;
  z-index: 1;
}

/* Style du dropdown pour qu'il soit visible sur le fond */
.dropdown {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 400px;
  gap: 0.5rem;
  padding: 1rem;
}

.dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s ease;
  color: #0F0F0F;
  background-color: #FFFFFF;
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Responsive pour le dropdown */
@media (max-width: 768px) {
  .dropdown {
    grid-template-columns: 1fr;
    min-width: 200px;
  }
  
  .dropdown a {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* Style des sous-liens avec animation stagger */
.menu .sub-links a {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.menu .link:hover .sub-links a {
  opacity: 1;
  transform: translateY(0);
}

/* Animation séquentielle (stagger) des sous-liens */
.menu .sub-links a:nth-child(1) { transition-delay: 0.1s; }
.menu .sub-links a:nth-child(2) { transition-delay: 0.2s; }
.menu .sub-links a:nth-child(3) { transition-delay: 0.3s; }
.menu .sub-links a:nth-child(4) { transition-delay: 0.4s; }

/* Animation séquentielle pour les icônes */
.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }
.service-item:nth-child(4) { transition-delay: 0.4s; }
.service-item:nth-child(5) { transition-delay: 0.5s; }
.service-item:nth-child(6) { transition-delay: 0.6s; }

/* Animation reveal pour les services icons */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-item {
  animation: revealUp 0.6s forwards;
  opacity: 0;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

/* Style pour le conteneur du lien et ses sous-liens */
.menu .link {
  position: relative;
  margin-bottom: 2em;
}

/* Style pour les sous-liens */
.menu .sub-links {
  position: absolute;
  left: calc(100% + 20px);
  top: 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  padding: 10px 0;
  z-index: 1000;
}

/* Zone étendue pour faciliter le hover */
.menu .link {
  position: relative;
  padding-right: 150px;
}

/* Activation des sous-liens */
.menu .link:hover .sub-links,
.sub-links:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

/* Zone tampon pour éviter la perte du hover */
.menu .sub-links::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  height: 100%;
}

/* Style des liens individuels */
.menu .sub-links a {
  display: block;
  font-size: 1.2rem;
  color: rgb(231, 231, 231);
  margin: 0.8rem 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation des liens individuels */
.menu .link:hover .sub-links a {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.2s;
}

/* Animation séquentielle des sous-liens */
.menu .sub-links a:nth-child(1) { transition-delay: 0.1s; }
.menu .sub-links a:nth-child(2) { transition-delay: 0.2s; }
.menu .sub-links a:nth-child(3) { transition-delay: 0.3s; }
.menu .sub-links a:nth-child(4) { transition-delay: 0.4s; }

/* Version mobile */
@media (max-width: 768px) {
  .menu .sub-links {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-left: 20px;
    transform: none;
    transition: all 0.3s ease;
  }

  .menu .link:hover .sub-links,
  .menu .sub-links.active {
    height: auto;
    opacity: 1;
    visibility: visible;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu .sub-links a {
    font-size: 1rem;
    padding: 8px 0;
    transform: none;
  }

  .menu .sub-links a:hover {
    padding-left: 10px;
  }
}

/* Style pour le surlignage */
::selection {
  background-color: #00a0d3;
  color: white;
}

::-moz-selection {
  background-color: #00a0d3;
  color: white;
}

.copyright {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: rgb(231, 231, 231);
  padding-left: 3em;
  font-weight: 600 !important;
  opacity: 0.7;
}

a, button, .menu-toggle, .slider-btn, .nav-btn, .dot, .scroll-arrow, .service-item {
  cursor: pointer !important; 
}

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00a0d3;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.loader {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 999999;
}

.loader svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  z-index: 999999;
  margin-bottom: 1rem;
}

.loader circle {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  animation: loaderAnimation 1.5s ease-in-out forwards;
  z-index: 999999;
}

@keyframes loaderAnimation {
  from {
    stroke-dashoffset: 251.2;
  }
  to {
    stroke-dashoffset: 0;
  }
}


#loader-logo {
  scale: 1.8;
  margin-bottom: 5rem;
 
}

@media screen and (max-width: 480px) {
    .main-slider {
        height: 75vh;
        position: relative;
        top: 100px;
        padding: 1em;
    }

    .slide-track {
        touch-action: pan-y pinch-zoom;
        transition: transform 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
        will-change: transform;
    }

    .slider-container {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
    }

    .slide {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        touch-action: manipulation;
    }
}

.slider-btn svg {
    scale: 0.4;
}

.cta-section {
  text-align: center;
  padding: 8em 2rem;
  position: relative;
  margin-top: 8em;
  margin-bottom: 8em;
}

.cta-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #00a0d3;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Ajustements responsifs pour le slider */
@media screen and (max-width: 1200px) {
    .main-slider {
        height: calc(100vh - 4em);
    }
}

@media screen and (max-width: 768px) {
    .main-slider {
        height: calc(100vh - 3em);
        top: 4em;
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .main-slider {
        height: calc(100vh - 2em);
        top: 3em;
    }
}

/* Ajustement de la section marquee pour qu'elle suive correctement le slider */
.marquee-section {
    margin-top: calc(100vh + 3em);
}



.section-title h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #00a0d3;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    opacity: 0;
    margin-top: -1em;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-title p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #000000;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour le pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
}

.popup.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup.show .popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-popup:hover {
    color: #00a0d3;
    background-color: rgba(0, 160, 211, 0.1);
}

.popup-icon {
    width: 70px;
    height: 70px;
    background-color: #00a0d3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 160, 211, 0.3);
}

.popup-title {
    color: #00a0d3;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.popup-message {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .popup-content {
        width: 85%;
        padding: 2rem;
        margin: 1rem;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-message {
        font-size: 1rem;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 90%;
        padding: 1.5rem;
    }
}




#scroll-arrow2 {
  z-index: 9;
  margin-bottom: 13em;
}

/* Style des dropdowns */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

/* Style spécifique pour le dropdown des services */
.services-dropdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 400px;
  gap: 0.5rem;
}

/* Style pour les dropdowns about et contact */
.about-dropdown,
.contact-dropdown {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  gap: 0.3rem;
}

.nav-link:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s ease;
  color: #0F0F0F;
  background-color: #FFFFFF;
  white-space: nowrap;
  font-size: 0.9rem;
  border-radius: 4px;
}

.dropdown a:hover {
  background: rgba(0, 160, 211, 0.05);
  color: #00a0d3;
  transform: translateX(5px);
}

/* Responsive pour les dropdowns */
@media (max-width: 768px) {
  .services-dropdown {
    grid-template-columns: 1fr;
    min-width: 200px;
  }
  
  .about-dropdown,
  .contact-dropdown {
    min-width: 180px;
  }
  
  .dropdown {
    padding: 0.8rem;
  }
  
  .dropdown a {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* ... existing code ... */



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

.slide-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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




/* Overlay sur les images */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1em;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00a0d3;
    transform: scale(1.2);
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-btn svg {
    width: 100%;
    height: 100%;
}

.slider-btn.prev {
    left: 2em;
}

.slider-btn.next {
    right: 2em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide-content {
        bottom: 25%;
    }

    .slide-content h1 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: 1em;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev {
        left: 1em;
    }

    .slider-btn.next {
        right: 1em;
    }
}

/* ... existing code ... */

/* Hide loader on all pages except index */
body:not(.index-page) .loader-wrapper {
    display: none !important;
}

