@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Nunito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fascinate+Inline&family=Nunito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
}

/* Nouveau style élégant pour le slider */
.slider-area {
  position: relative;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
  --accent-color: #2563eb;
  --accent-alt-color: #f43f5e;
  --text-color: #f8fafc;
  --dark-overlay: rgba(15, 23, 42, 0.7);
  --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-family: "Montserrat", sans-serif;
}

.slider-area .slider-item {
  height: 90vh;
  min-height: 550px;
  display: flex !important;
  overflow: hidden;
  position: relative;
}

/* Container pour l'image et l'overlay */
.slider-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-area .slider-item .slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.75) 40%,
    rgba(15, 23, 42, 0.55) 100%
  );
  z-index: 1;
}

.slider-area .slider-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease; /* Optimisé pour la performance */
  will-change: transform; /* Optimisation pour le GPU */
}

/* Wrapper pour le contenu textuel */
.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  padding: 0 8%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.content-box {
  max-width: 550px;
  opacity: 0;
  transform: translateX(-30px);
  will-change: opacity, transform; /* Optimisation pour le GPU */
}

/* Styles pour les textes */
.split-text {
  font-size: 3.5rem;
  color: var(--text-color);
  margin: 0 0 5px 0;
  line-height: 1.1;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.1);
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  position: relative;
}

.split-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-alt-color)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out;
}

.active .split-text::after {
  transform: scaleX(1);
}

.split-text .accent,
.split-text .accent-alt {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.split-text .accent::before,
.split-text .accent-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.split-subtitle {
  position: relative;
  font-size: 1.8rem;
  color: var(--text-color);
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: var(--text-shadow);
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.active .split-subtitle::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  animation: underlineAnimation 2s ease-in-out infinite;
}

@keyframes underlineAnimation {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

.separator {
  width: 60px;
  height: 3px;
  margin: 15px 0;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-alt-color)
  );
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}

.split-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
}

/* Style du bouton CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(
    45deg,
    var(--accent-color),
    var(--accent-alt-color)
  );
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    rgba(255, 255, 255, 0.2),
    transparent,
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.cta-button span {
  display: inline-block;
  z-index: 1;
  position: relative;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s;
}

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

.arrow-icon {
  display: inline-block;
  margin-left: 8px;
  width: 20px;
  height: 2px;
  background-color: white;
  position: relative;
}

.arrow-icon::before,
.arrow-icon::after {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  width: 8px;
  background-color: white;
}

.arrow-icon::before {
  transform: rotate(45deg);
  top: -3px;
}

.arrow-icon::after {
  transform: rotate(-45deg);
  top: 3px;
}

/* Indicateur de slide */
.slide-indicator {
  position: absolute;
  bottom: 30px;
  right: 8%;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(30px);
}

/* Animations optimisées pour les éléments actifs */
.active .slider-item img {
  transform: scale(1);
  transition: transform 6s ease-out; /* Transition lente pour un effet de zoom out */
}

.active .content-box {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.active .split-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.1s;
}

.active .split-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.2s;
}

.active .separator {
  opacity: 1;
  transform: scaleX(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.3s;
}

.active .split-paragraph {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.4s;
}

.active .cta-button {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s;
  transition-delay: 0.5s;
}

.active .slide-indicator {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.6s;
}

/* Barre de progression optimisée */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-alt-color)
  );
  z-index: 10;
  will-change: width; /* Optimisation pour le GPU */
}

/* Navigation du slider */
.owl-dots {
  position: absolute;
  bottom: 30px;
  left: 8%;
  display: flex;
  z-index: 5;
}

.owl-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3) !important;
  margin: 0 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.owl-dot.active {
  background: var(--accent-color) !important;
  transform: scale(1.2);
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none; /* Important pour l'optimisation */
}

.owl-prev,
.owl-next {
  pointer-events: auto; /* Réactiver les événements pour les boutons */
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(5px);
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.7;
  will-change: opacity, transform; /* Optimisation pour le GPU */
}

.owl-prev:hover,
.owl-next:hover {
  background: var(--accent-color) !important;
  opacity: 1;
  transform: scale(1.05);
}

/* Styles responsifs optimisés */
@media screen and (max-width: 1200px) {
  .split-text {
    font-size: 3rem;
  }

  .split-subtitle {
    font-size: 1.5rem;
  }

  .content-box {
    max-width: 500px;
  }
}

@media screen and (max-width: 992px) {
  .slider-area,
  .slider-area .slider-item {
    height: 80vh;
  }

  .split-text {
    font-size: 2.5rem;
  }

  .split-subtitle {
    font-size: 1.3rem;
  }

  .slide-indicator {
    font-size: 3rem;
    bottom: 20px;
  }

  .content-wrapper {
    padding: 0 5%;
  }

  .owl-dots {
    left: 5%;
    bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .slider-area,
  .slider-area .slider-item {
    height: 75vh;
  }

  .split-text {
    font-size: 2.2rem;
  }

  .split-subtitle {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .content-box {
    max-width: 450px;
  }

  .split-paragraph {
    font-size: 0.9rem;
    margin: 15px 0;
  }

  .slide-indicator {
    font-size: 2.5rem;
    bottom: 15px;
  }

  .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 576px) {
  .slider-area,
  .slider-area .slider-item {
    height: 60vh;
    min-height: 400px;
  }

  .slider-item {
    flex-direction: column;
  }

  .slider-area .slider-item .slider-overlay {
    background: linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(15, 23, 42, 0.7) 40%,
      rgba(15, 23, 42, 0.5) 100%
    );
  }

  .content-wrapper {
    padding: 0 20px;
    justify-content: flex-end;
    padding-bottom: 70px;
    align-items: center;
    text-align: center;
  }

  .content-box {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .separator {
    margin: 12px auto;
  }

  .split-text {
    font-size: 2rem;
    text-align: center;
  }

  .split-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .split-paragraph {
    text-align: center;
  }

  .slide-indicator {
    position: relative;
    font-size: 2rem;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }

  .owl-dots {
    position: absolute;
    width: 100%;
    left: 0;
    justify-content: center;
    bottom: 15px;
  }

  .owl-nav {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .split-text {
    font-size: 1.8rem;
  }

  .split-subtitle {
    font-size: 0.9rem;
  }

  .split-paragraph {
    font-size: 0.85rem;
    margin: 10px 0;
  }

  .cta-button {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

/* Animation optimisées avec le CSS `will-change` */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleInX {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

/* Optimisations pour la performance des animations */
.owl-carousel .owl-stage-outer {
  overflow: visible;
}

.owl-carousel .animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

/* Styles pour la flèche de navigation */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  outline: none;
}

.owl-carousel .owl-nav button.owl-prev:after,
.owl-carousel .owl-nav button.owl-next:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-left: 2px solid white;
  transition: border-color 0.3s;
}

.owl-carousel .owl-nav button.owl-prev:after {
  transform: rotate(-45deg);
}

.owl-carousel .owl-nav button.owl-next:after {
  transform: rotate(135deg);
}

.owl-carousel .owl-nav button.owl-prev:hover:after,
.owl-carousel .owl-nav button.owl-next:hover:after {
  border-color: white;
}

.partie-box {
  padding: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.partie-box .box2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* margin-right: -300px; */
  width: 600px;
}
.partie-box .box2 .img1 {
  width: 80%;
  height: 280px;
  object-fit: cover;
  opacity: 0.2;
  border-radius: 20px;
}
.partie-box .box2 .img2 {
  width: 90%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-left: 60px;
  margin-top: -40px;
  z-index: 1;
}
.partie-box .box1 {
  display: flex;
  flex-direction: column;
  width: 550px;
  align-items: start;
}
.partie-box .box1 h1 {
  width: 400px;
  text-align: left;
  font-size: 40px;
  font-family: "Dela Gothic One", cursive;
}
.partie-box .box1 p {
  width: 90%;
  text-align: left;
  font-size: 18px;
  margin: 20px 0;
}
.partie-box .box1 a {
  padding: 7px 10px;
  font-size: 18px;
  letter-spacing: 1px;
  background-color: #0066ff;
  color: #ffff;
  border-radius: 10px;
  transition: all 0.3s;
  margin-bottom: 50px;
}
.partie-box .box1 a:hover {
  background-color: #002233;
  box-shadow: 0 0 4px 2px #0066ff;
}

@media screen and (max-width: 700px) {
  .partie-box .box2 {
    width: 100%;
  }
  .partie-box .box2 .img1 {
    width: 300px;
    height: 250px;
    object-fit: cover;
    opacity: 0.2;
    border-radius: 20px;
    margin-left: -50px;
  }
  .partie-box .box2 .img2 {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-left: -50px;
    margin-top: -40px;
    z-index: 1;
  }
  .partie-box .box1 {
    display: flex;
    flex-direction: column;
    width: 550px;
    align-items: start;
  }
  .partie-box .box1 h1 {
    width: 400px;
    text-align: left;
    font-size: 30px;
    font-family: "Dela Gothic One", cursive;
  }
  .partie-box .box1 p {
    width: 90%;
    text-align: left;
    font-size: 16px;
    margin: 20px 0;
  }
  .partie-box .box1 a {
    padding: 7px 10px;
    font-size: 16px;
    letter-spacing: 1px;
    background-color: #0066ff;
    color: #ffff;
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 50px;
  }
  .partie-box .box1 a:hover {
    background-color: #002233;
    box-shadow: 0 0 4px 2px #0066ff;
  }
}
@media screen and (max-width: 500px) {
  .partie-box .box2 {
    width: 100%;
  }
  .partie-box .box2 .img1 {
    width: 250px;
    height: 250px;
    object-fit: cover;
    opacity: 0.2;
    border-radius: 20px;
    margin-left: 0px;
  }
  .partie-box .box2 .img2 {
    width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-left: 0px;
    margin-top: -40px;
    z-index: 1;
  }
  .partie-box .box1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start;
  }
  .partie-box .box1 h1 {
    width: 100%;
    text-align: left;
    font-size: 25px;
    font-family: "Dela Gothic One", cursive;
    padding: 10px 20px;
  }
  .partie-box .box1 p {
    width: 100%;
    text-align: left;
    font-size: 15px;
    margin: 0 0;
    padding: 10px;
  }
  .partie-box .box1 a {
    padding: 7px 10px;
    font-size: 14px;
    letter-spacing: 1px;
    background-color: #0066ff;
    color: #ffff;
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 50px;
  }
  .partie-box .box1 a:hover {
    background-color: #002233;
    box-shadow: 0 0 4px 2px #0066ff;
  }
}

.reference {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 120px 0;
  flex-wrap: wrap;
  gap: 60px;
  position: relative;
  padding: 40px 20px;
}

.reference::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 157, 249, 0.3),
    transparent
  );
}

.reference::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 157, 249, 0.3),
    transparent
  );
}

.reference .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  min-height: 300px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.5s ease;
  overflow: hidden;
}

.reference .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(79, 157, 249, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.reference .container:hover::before {
  transform: translateX(100%);
}

.reference .container .box1 {
  height: 120px;
  width: 120px;
  z-index: 2;
  margin-right: 30px;
  position: relative;
}

.reference .container .box1::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(79, 157, 249, 0.3);
  border-radius: 20px;
  animation: pulseBox 2s infinite;
}

@keyframes pulseBox {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.reference .container .box1 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.reference .container:hover .box1 img {
  transform: scale(1.05) rotate(2deg);
}

.reference .container .box2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: calc(100% - 150px);
  position: relative;
}

.reference .container .box2 h1 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.reference .container .box2 h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #f43f5e);
  transition: width 0.3s ease;
}

.reference .container:hover .box2 h1::after {
  width: 100%;
}

.reference .container .box2 p {
  font-size: 16px;
  line-height: 1.8;
  color: #64748b;
  margin: 0;
  opacity: 0.9;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.reference .container:hover .box2 p {
  transform: translateY(0);
  opacity: 1;
}

/* Animation pour l'apparition des conteneurs */
.reference .container.scroll-fade-left,
.reference .container.scroll-fade-right {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference .container.scroll-fade-left.animate,
.reference .container.scroll-fade-right.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Styles responsifs */
@media screen and (max-width: 1100px) {
  .reference {
    gap: 40px;
  }

  .reference .container {
    width: 450px;
    padding: 30px;
  }
}

@media screen and (max-width: 900px) {
  .reference {
    margin: 80px 0;
  }

  .reference .container {
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .reference .container .box1 {
    margin: 0 0 30px 0;
  }

  .reference .container .box2 {
    width: 100%;
    align-items: center;
  }

  .reference .container .box2 h1 {
    text-align: center;
  }

  .reference .container .box2 h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .reference .container .box2 p {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .reference {
    margin: 60px 0;
    padding: 20px 10px;
  }

  .reference .container {
    padding: 20px 15px;
  }

  .reference .container .box1 {
    height: 100px;
    width: 100px;
  }

  .reference .container .box2 h1 {
    font-size: 24px;
  }

  .reference .container .box2 p {
    font-size: 14px;
    line-height: 1.6;
  }
}

.box-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 20px;
  height: 800px;
  background-color: #000000;
}

.partie-box1 {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.partie-box1 .box1 {
  width: 400px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 30px;
  box-shadow: 8px 8px 7px 1px rgba(36, 36, 36, 0.4);
  border: 1px solid #92929262;
  background-color: #ffffff;
  border-radius: 7px;
}
.partie-box1 .box1 h2 {
  text-align: center;
  font-size: 40px;
  width: 100%;
}
.partie-box1 .box2 {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partie-box1 .box2 img {
  width: auto;
  height: 600px;
  object-fit: cover;
  border-radius: 10px;
  /* filter: drop-shadow(10px 10px 5px rgb(255, 255, 255)); */
}
@media screen and (max-width: 1000px) {
  .box-section {
    height: 800px;
    background-color: #f2f0f0;
  }

  .partie-box1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .partie-box1 .box1 {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 30px;
    border: 2px solid #92929289;
    background-color: #ffffff;
    border-radius: 7px;
    margin: 20px;
  }
  .partie-box1 .box1 h2 {
    text-align: center;
    font-size: 30px;
    width: 100%;
    text-transform: capitalize;
  }
  .partie-box1 .box2 {
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .partie-box1 .box2 img {
    width: 400px;
    height: 700px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #92929289;
  }
}

@media screen and (max-width: 800px) {
  .box-section {
    height: 800px;
    background-color: #f2f0f0;
  }
  .partie-box1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .partie-box1 .box1 {
    width: 200px;
    height: 200px;
  }
  .partie-box1 .box1 h2 {
    text-align: center;
    font-size: 20px;
    width: 100%;
    text-transform: capitalize;
  }
  .partie-box1 .box2 {
    width: 350px;
  }
  .partie-box1 .box2 img {
    width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #92929289;
  }
}

@media screen and (max-width: 650px) {
  .box-section {
    height: 900px;
    background-color: #f2f0f0;
  }
  .partie-box1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column-reverse;
  }
  .partie-box1 .box1 {
    width: 250px;
    height: 200px;
  }
  .partie-box1 .box1 h2 {
    text-align: center;
    font-size: 30px;
    width: 100%;
    text-transform: capitalize;
  }
  .partie-box1 .box2 {
    width: 400px;
  }
  .partie-box1 .box2 img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #92929289;
  }
}

@media screen and (max-width: 500px) {
  .box-section {
    height: 900px;
    background-color: #f2f0f0;
  }
  .partie-box1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column-reverse;
  }
  .partie-box1 .box1 {
    width: 200px;
    height: 180px;
  }
  .partie-box1 .box1 h2 {
    text-align: center;
    font-size: 23px;
    width: 100%;
    text-transform: capitalize;
  }
  .partie-box1 .box2 {
    width: 300px;
  }
  .partie-box1 .box2 img {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #92929289;
  }
}

.box-section3 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px auto;
  flex-direction: column;
}

.box-section3 .box1 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 150px;
}

.box-section3 .box1 h2 {
  width: 300px;
  font-weight: bolder;
  font-style: italic;
  text-align: center;
  padding: 5px 10px;
  border-bottom: 2px dotted #202020;
  margin-bottom: 30px;
  color: #0066ff;
}
.box-section3 .box1 p {
  width: 300px;
  text-align: justify;
  padding: 10px;
  line-height: 26px;
}

.box-section3 .box1 .div {
  width: 60%;
}
.box-section3 .box1 .div img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 8px 8px 4px 1px #2d2d2d56;
  border: 1px solid #2c2c2c31;
}

@media screen and (max-width: 900px) {
  .box-section3 {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    flex-direction: column;
  }

  .box-section3 .box1 {
    flex-direction: column;
    margin-bottom: 70px;
  }
  .box-section3 :nth-child(2) {
    flex-direction: column-reverse;
  }
  .box-section3 .box1 h2 {
    font-size: 20px;
    width: 400px;
    margin-bottom: 10px;
  }
  .box-section3 .box1 p {
    font-size: 14px;
    width: 400px;
  }
  .box-section3 .box1 .div {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  .box-section3 {
    width: 98%;
  }

  .box-section3 .box1 {
    flex-direction: column;
    margin-bottom: 70px;
  }
  .box-section3 :nth-child(2) {
    flex-direction: column-reverse;
  }
  .box-section3 .box1 h2 {
    font-size: 20px;
    width: 300px;
    margin-bottom: 10px;
  }
  .box-section3 .box1 p {
    font-size: 13px;
    width: 300px;
  }
  .box-section3 .box1 .div {
    width: 100%;
  }
}

.div_section {
  padding: 4rem 6%;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

/* Glassmorphisme - Section 1 */
.div_section-blue {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 50%,
    rgba(147, 197, 253, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #1e293b;
}

/* Glassmorphisme - Section 2 */
.div_section-gray {
  background: linear-gradient(
    135deg,
    rgba(71, 85, 105, 0.1) 0%,
    rgba(100, 116, 139, 0.05) 50%,
    rgba(148, 163, 184, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #334155;
}

/* Glassmorphisme - Section 3 */
.div_section-dark {
  background: linear-gradient(
    135deg,
    rgba(51, 65, 85, 0.1) 0%,
    rgba(71, 85, 105, 0.05) 50%,
    rgba(100, 116, 139, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #1e293b;
}

.div_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.div_section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.div_section .box {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  max-width: 1000px;
  margin: 0 auto;
}

.div_section .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.div_section .box .img-container {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.div_section .box .img-container::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.div_section .box:hover .img-container::before {
  opacity: 1;
}

.div_section .box img {
  width: 100%;
  max-width: 320px;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  transform: scale(1);
  transition: all 0.4s ease;
  will-change: transform;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.div_section .box:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.div_section .box .item {
  flex: 1;
  padding: 1.5rem;
  position: relative;
}

.div_section .box .item h1 {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Couleurs spécifiques pour chaque section */
.div_section-blue .box .item h1 {
  color: #1e40af;
}

.div_section-gray .box .item h1 {
  color: #374151;
}

.div_section-dark .box .item h1 {
  color: #1e293b;
}

.div_section .box .item h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  border-radius: 2px;
  transition: width 0.4s ease;
  will-change: width;
}

/* Couleurs des barres décoratives */
.div_section-blue .box .item h1::after {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.div_section-gray .box .item h1::after {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.div_section-dark .box .item h1::after {
  background: linear-gradient(90deg, #475569, #64748b);
}

.div_section .box:hover .item h1::after {
  width: 80px;
}

.div_section .box .item p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  transform: translateY(0);
  transition: all 0.3s ease;
  will-change: transform, opacity;
  font-weight: 400;
}

/* Couleurs du texte pour chaque section */
.div_section-blue .box .item p {
  color: #334155;
}

.div_section-gray .box .item p {
  color: #475569;
}

.div_section-dark .box .item p {
  color: #374151;
}

.div_section .box:hover .item p {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .div_section {
    padding: 3rem 4%;
  }

  .div_section .box {
    gap: 2rem;
    max-width: 900px;
  }

  .div_section .box .item h1 {
    font-size: 1.8rem;
  }

  .div_section .box img {
    max-width: 280px;
    height: 210px;
  }
}

@media screen and (max-width: 992px) {
  .div_section {
    padding: 2.5rem 3%;
  }

  .div_section .box {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .div_section .box .img-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    order: 1;
  }

  .div_section .box .item {
    width: 100%;
    padding: 1rem 0.5rem;
    text-align: center;
    order: 2;
  }

  .div_section .box .item h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .div_section .box:hover .item h1::after {
    width: 60px;
  }

  .div_section .box img {
    max-width: 100%;
    height: 200px;
  }

  /* Ordre inversé pour la section gray */
  .div_section-gray .box .img-container {
    order: 2;
  }

  .div_section-gray .box .item {
    order: 1;
  }
}

@media screen and (max-width: 768px) {
  .div_section {
    padding: 2rem 3%;
    margin: 1.5rem 0;
  }

  .div_section .box {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .div_section .box .item h1 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .div_section .box .item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .div_section .box img {
    height: 180px;
  }
}

@media screen and (max-width: 576px) {
  .div_section {
    padding: 1.5rem 2.5%;
  }

  .div_section .box {
    padding: 1rem;
    border-radius: 16px;
    gap: 1rem;
  }

  .div_section .box .item {
    padding: 0.8rem 0.3rem;
  }

  .div_section .box .item h1 {
    font-size: 1.4rem;
  }

  .div_section .box .item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .div_section .box img {
    height: 160px;
    border-radius: 12px;
  }

  .div_section .box:hover {
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 480px) {
  .div_section {
    padding: 1.2rem 2%;
  }

  .div_section .box {
    padding: 0.8rem;
  }

  .div_section .box .item h1 {
    font-size: 1.3rem;
  }

  .div_section .box .item p {
    font-size: 0.85rem;
  }

  .div_section .box img {
    height: 140px;
  }
}

@media screen and (max-width: 400px) {
  .div_section .box .item h1 {
    font-size: 1.2rem;
  }

  .div_section .box .item p {
    font-size: 0.8rem;
  }

  .div_section .box img {
    height: 120px;
  }

  /* Désactiver certaines animations pour améliorer les performances */
  .div_section .box:hover {
    transform: translateY(-2px);
  }

  .div_section .box:hover img {
    transform: scale(1.02);
  }
}

/* Section Application Android - Design Glassmorphisme */
.n_section2 {
  width: 100%;
  padding: 4rem 6%;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(34, 197, 94, 0.05) 50%,
    rgba(101, 163, 13, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
}

.n_section2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.n_section2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.n_section2 .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.n_section2 .container:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.n_section2 .div {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.n_section2 .div h1 {
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #047857;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  line-height: 1.3;
}

.n_section2 .div h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.n_section2 .container:hover .div h1::after {
  width: 100px;
}

.n_section2 .div a {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  margin-top: 1rem;
}

.n_section2 .div a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  background: linear-gradient(45deg, #059669, #10b981);
}

.n_section2 .div a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s;
}

.n_section2 .div a:hover::before {
  left: 100%;
}

.n_section2 .div a::after {
  content: "📱";
  margin-left: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.n_section2 .div a:hover::after {
  transform: scale(1.1);
}

.n_section2 .box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}

.n_section2 .box::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: linear-gradient(
    45deg,
    rgba(16, 185, 129, 0.1),
    rgba(34, 197, 94, 0.05),
    rgba(16, 185, 129, 0.1)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.n_section2 .container:hover .box::before {
  opacity: 1;
}

.n_section2 .box .img1 {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 2rem;
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
  transition: all 0.3s ease;
}

.n_section2 .box .img2 {
  width: 200px;
  height: 320px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  transform: perspective(1000px) rotateY(-5deg);
}

.n_section2 .container:hover .box .img1 {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(16, 185, 129, 0.4));
}

.n_section2 .container:hover .box .img2 {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .n_section2 {
    padding: 3rem 4%;
  }

  .n_section2 .container {
    max-width: 900px;
  }

  .n_section2 .div h1 {
    font-size: 2rem;
  }

  .n_section2 .box .img2 {
    width: 180px;
    height: 280px;
  }
}

@media screen and (max-width: 992px) {
  .n_section2 {
    padding: 2.5rem 3%;
  }

  .n_section2 .container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .n_section2 .div {
    text-align: center;
    padding: 1rem;
  }

  .n_section2 .div h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .n_section2 .box {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .n_section2 .box .img1 {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .n_section2 .box .img2 {
    transform: perspective(1000px) rotateY(0deg);
  }
}

@media screen and (max-width: 768px) {
  .n_section2 {
    padding: 2rem 3%;
    margin: 2rem 0;
  }

  .n_section2 .container {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .n_section2 .div h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .n_section2 .div a {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .n_section2 .box .img1 {
    width: 60px;
    height: 60px;
  }

  .n_section2 .box .img2 {
    width: 160px;
    height: 250px;
  }
}

@media screen and (max-width: 576px) {
  .n_section2 {
    padding: 1.5rem 2.5%;
  }

  .n_section2 .container {
    padding: 1.2rem;
    gap: 1.5rem;
  }

  .n_section2 .div h1 {
    font-size: 1.6rem;
  }

  .n_section2 .div a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .n_section2 .box .img1 {
    width: 50px;
    height: 50px;
  }

  .n_section2 .box .img2 {
    width: 140px;
    height: 220px;
  }

  .n_section2 .container:hover {
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 480px) {
  .n_section2 {
    padding: 1.2rem 2%;
  }

  .n_section2 .container {
    padding: 1rem;
  }

  .n_section2 .div h1 {
    font-size: 1.4rem;
  }

  .n_section2 .div a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .n_section2 .box .img2 {
    width: 120px;
    height: 190px;
  }
}

@media screen and (max-width: 400px) {
  .n_section2 .div h1 {
    font-size: 1.3rem;
  }

  .n_section2 .box .img2 {
    width: 110px;
    height: 170px;
  }

  /* Désactiver certaines animations pour améliorer les performances */
  .n_section2 .container:hover {
    transform: translateY(-2px);
  }

  .n_section2 .container:hover .box .img1 {
    transform: scale(1.05);
  }

  .n_section2 .container:hover .box .img2 {
    transform: scale(1.02);
  }
}

/* Section Service - Design Glassmorphisme */
.service {
  width: 100%;
  padding: 4rem 6%;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 50%,
    rgba(168, 85, 247, 0.1) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.service::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.service .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  margin-bottom: 2rem;
}

.service .container:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.service .container h1 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  line-height: 1.2;
}

.service .container h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.service .container:hover h1::after {
  width: 120px;
}

.service .container h3 {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
  opacity: 0.9;
}

.service .container .box {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  will-change: transform;
}

.service .container .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.service .container .box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.05),
    rgba(168, 85, 247, 0.1)
  );
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service .container .box:hover::before {
  opacity: 1;
}

.service .container .box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service .container .box ul li {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  will-change: transform, background-color;
}

.service .container .box ul li:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #1f2937;
}

.service .container .box ul li img {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
  transition: all 0.3s ease;
}

.service .container .box ul li:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

.service .container .box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  margin-top: 2rem;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  width: 100%;
  text-align: center;
}

.service .container .box a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  background: linear-gradient(45deg, #5b21b6, #7c3aed);
}

.service .container .box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s;
}

.service .container .box a:hover::before {
  left: 100%;
}

.service .container .box a::after {
  content: "✨";
  margin-left: 8px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.service .container .box a:hover::after {
  transform: scale(1.2);
}

/* Style différencié pour le conteneur professionnel */
.service .container.container1 {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(34, 197, 94, 0.05) 50%,
    rgba(101, 163, 13, 0.1) 100%
  );
}

.service .container.container1 h1 {
  color: #10b981;
}

.service .container.container1 h1::after {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.service .container.container1 .box a {
  background: linear-gradient(45deg, #10b981, #34d399);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.service .container.container1 .box a:hover {
  background: linear-gradient(45deg, #059669, #10b981);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.service .container.container1 .box a::after {
  content: "🚀";
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .service {
    padding: 3rem 4%;
  }

  .service .container {
    max-width: 900px;
  }

  .service .container h1 {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 992px) {
  .service {
    padding: 2.5rem 3%;
  }

  .service .container {
    padding: 1.5rem;
  }

  .service .container h1 {
    font-size: 2rem;
  }

  .service .container .box ul li {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .service {
    padding: 2rem 3%;
    margin: 2rem 0;
  }

  .service .container {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .service .container h1 {
    font-size: 1.8rem;
  }

  .service .container h3 {
    font-size: 1.1rem;
  }

  .service .container .box {
    padding: 1.5rem;
  }

  .service .container .box ul li {
    font-size: 0.85rem;
    padding: 0.6rem 0.7rem;
  }

  .service .container .box a {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .service {
    padding: 1.5rem 2.5%;
  }

  .service .container {
    padding: 1rem;
    border-radius: 12px;
  }

  .service .container h1 {
    font-size: 1.6rem;
  }

  .service .container h3 {
    font-size: 1rem;
  }

  .service .container .box {
    padding: 1.2rem;
  }

  .service .container .box ul li {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }

  .service .container .box ul li img {
    width: 18px;
    height: 18px;
  }

  .service .container .box a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .service {
    padding: 1.2rem 2%;
  }

  .service .container {
    padding: 0.8rem;
  }

  .service .container h1 {
    font-size: 1.4rem;
  }

  .service .container .box {
    padding: 1rem;
  }

  .service .container .box ul li {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  .service .container .box a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Désactiver certaines animations pour améliorer les performances */
  .service .container:hover {
    transform: translateY(-4px);
  }

  .service .container .box:hover {
    transform: translateY(-2px);
  }

  .service .container .box ul li:hover {
    transform: translateX(4px);
  }
}

@media screen and (max-width: 400px) {
  .service .container h1 {
    font-size: 1.3rem;
  }

  .service .container .box ul li {
    font-size: 0.7rem;
  }

  .service .container .box a {
    font-size: 0.85rem;
  }
}

/* Section Temoignages - Design Glassmorphisme */
.temoin {
  padding: 4rem 2%;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  background: linear-gradient(
    135deg,
    rgba(241, 245, 249, 0.1) 0%,
    rgba(226, 232, 240, 0.05) 50%,
    rgba(203, 213, 225, 0.1) 100%
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.temoin .owl-stage-outer {
  padding: 2rem 0;
}

.temoin .box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 1rem;
  width: 300px !important;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.temoin .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.3);
}

.temoin .box span {
  font-size: 4rem;
  color: #94a3b8;
  font-family: "Georgia", serif;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.temoin .box:hover span {
  color: #475569;
  opacity: 0.7;
  transform: scale(1.1);
}

.temoin .box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.temoin .box .img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transition: all 0.4s ease;
}

.temoin .box:hover .img {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Styles pour les flèches de navigation Owl Carousel */
.temoin .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.temoin .owl-nav button.owl-prev,
.temoin .owl-nav button.owl-next {
  pointer-events: all;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(5px);
  border-radius: 50% !important;
  color: #334155 !important;
  font-size: 1.5rem !important;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.temoin .owl-nav button.owl-prev:hover,
.temoin .owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #1e293b !important;
  transform: scale(1.1);
}

.temoin .owl-nav button.owl-prev {
  margin-left: -20px !important;
}

.temoin .owl-nav button.owl-next {
  margin-right: -20px !important;
}

/* Styles pour les points de pagination Owl Carousel */
.temoin .owl-dots {
  text-align: center;
  margin-top: 2rem;
}

.temoin .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 6px;
  transition: all 0.3s ease;
}

.temoin .owl-dots .owl-dot.active {
  background: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2);
  border-color: white;
}

/* Section Slider - Design Glassmorphisme */
.slider {
  padding: 4rem 2%;
  position: relative;
  margin: 3rem 0;
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.1) 0%,
    rgba(51, 65, 85, 0.05) 50%,
    rgba(71, 85, 105, 0.1) 100%
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.slider .slider1 .item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.slider .slider1 .item:hover {
  transform: scale(1.03);
}

.slider .slider1 .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9);
}

.slider .slider1 .item:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}

.slider .slider1 .item .effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.8) 0%,
    rgba(17, 24, 39, 0.5) 40%,
    rgba(17, 24, 39, 0.2) 70%,
    transparent 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.slider .slider1 .item:hover .effect {
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(17, 24, 39, 0.4) 50%,
    transparent 100%
  );
}

.slider .slider1 .item .formes1,
.slider .slider1 .item .formes2 {
  position: absolute;
  z-index: 2;
  opacity: 0.1;
  transition: all 0.5s ease;
}

.slider .slider1 .item .formes1 {
  width: 150px;
  height: 150px;
  background: #fff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 20%;
  left: 10%;
  transform: rotate(-20deg);
}

.slider .slider1 .item .formes2 {
  width: 100px;
  height: 100px;
  background: #fff;
  clip-path: circle(50% at 50% 50%);
  bottom: 15%;
  right: 15%;
  transform: rotate(20deg);
}

.slider .slider1 .item:hover .formes1 {
  transform: rotate(0) scale(1.1);
  opacity: 0.15;
}

.slider .slider1 .item:hover .formes2 {
  transform: rotate(0) scale(1.1);
  opacity: 0.15;
}

.slider .slider1 .item h2,
.slider .slider1 .item p {
  position: absolute;
  left: 5%;
  width: 90%;
  color: #fff;
  z-index: 3;
  text-align: left;
  padding: 0 2rem;
  transition: all 0.4s ease-out;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider .slider1 .item h2 {
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  bottom: 100px;
  transform: translateY(20px);
  opacity: 0;
}

.slider .slider1 .item p {
  font-size: 1rem;
  bottom: 40px;
  line-height: 1.6;
  transform: translateY(20px);
  opacity: 0;
  transition-delay: 0.1s;
}

.slider .owl-item.active .slider1 .item h2,
.slider .owl-item.active .slider1 .item p {
  transform: translateY(0);
  opacity: 1;
}

/* Styles pour la navigation du slider1 */
.slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.slider .owl-nav button.owl-prev,
.slider .owl-nav button.owl-next {
  pointer-events: all;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 1.8rem !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider .owl-nav button.owl-prev:hover,
.slider .owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.05);
}

.slider .owl-nav button.owl-prev {
  margin-left: 1rem !important;
}

.slider .owl-nav button.owl-next {
  margin-right: 1rem !important;
}

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

.slider .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  transition: all 0.3s ease;
}

.slider .owl-dots .owl-dot.active {
  background: white !important;
  transform: scale(1.2);
  border-color: white;
}

/* Section Explore - Design Glassmorphisme */
.explore {
  padding: 4rem 2%;
  position: relative;
  margin: 3rem 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(240, 240, 240, 0.05) 50%,
    rgba(230, 230, 230, 0.1) 100%
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.explore .t1 h1 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #334155;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.explore .t1 h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #64748b, #94a3b8);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.explore:hover .t1 h1::after {
  width: 120px;
}

.explore .profil .item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: block;
}

.explore .profil .item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.explore .profil .item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.explore .profil .item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(1);
}

.explore .profil .item:hover img {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.explore .profil .item h3,
.explore .profil .item p {
  padding: 0 1.5rem;
  margin: 0;
  color: #334155;
}

.explore .profil .item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.explore .profil .item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  flex-grow: 1;
  padding-bottom: 1.5rem;
}

/* Styles pour la navigation du carrousel de profils */
.explore .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.explore .owl-nav button.owl-prev,
.explore .owl-nav button.owl-next {
  pointer-events: all;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50% !important;
  color: #475569 !important;
  font-size: 1.5rem !important;
  transition: all 0.3s ease;
}

.explore .owl-nav button.owl-prev:hover,
.explore .owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  color: #1e293b !important;
  transform: scale(1.1);
}

.explore .owl-nav button.owl-prev {
  margin-left: -25px !important;
}

.explore .owl-nav button.owl-next {
  margin-right: -25px !important;
}

/* Styles pour les points de pagination */
.explore .owl-dots {
  text-align: center;
  margin-top: 1.5rem;
}

.explore .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.3) !important;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.explore .owl-dots .owl-dot.active {
  background: #475569 !important;
  transform: scale(1.2);
}
