:root {
  --primary-orange: rgb(241, 154, 100);
  --secondary-orange: #FF8533;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --section-bg: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-dark: #2d3436;
  --text-light: #636e72;
  --text-muted: #74b9ff;
  --border-color: rgba(255, 106, 0, 0.1);
  --gradient-1: linear-gradient(135deg, rgb(241, 154, 100);0%, #3c3b3bff 100%);
  --gradient-2: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --hero-gradient: linear-gradient(135deg, rgb(241, 154, 100) 0%, #FF8533 100%);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}


/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #f98e36ff 100%);
  overflow: hidden;
  scroll-margin-top: 100px; /* Empêche la navbar de cacher le contenu lors du défilement */
  padding-top: 120px; /* Espace supplémentaire pour la navbar */
  padding-bottom: 40px; /* Espace en bas pour le contenu */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="300" r="100" fill="url(%23a)"/><circle cx="800" cy="200" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="80" fill="url(%23a)"/></svg>') center/cover;
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: slideInUp 1s ease-out 0.2s both;
}

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

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: #333333; /* Gris foncé plus clair que le noir pur */
  color: white;
  border-radius: 25px; /* Coins plus arrondis */
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: slideInUp 1s ease-out 0.4s both;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.4);
}

/* Section Styling */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* Vision Cards */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vision-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.vision-card:hover::before {
  transform: scaleX(1);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

.vision-card h3 {
  color: var(--primary-orange);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.vision-card ul {
  list-style: none;
}

.vision-card li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.vision-card li::before {
  content: '✓';
  color: var(--primary-orange);
  margin-right: 10px;
  font-weight: bold;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.partner-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  color: var(--text-dark);
}

.partner-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.partner-card:hover::after {
  width: 200px;
  height: 200px;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.15);
}

/* Stats Section */
.stats-section {
  background: #b0aeaeff;
  padding: 80px 20px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Section */
.team-section {
  background: var(--section-bg);
  padding: 80px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

/* Locations */
.locations-section {
  background: #b0aeaeff;
  padding: 80px 20px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-orange);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

.location-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.location-card .flag {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* Styles pour la section Partenaires & Clients */
.partners-clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.partners-section, .clients-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Assure que les titres et descriptions prennent la même hauteur */
.partners-section > :not(.partners-grid):not(.see-more-btn),
.clients-section > :not(.clients-grid):not(.see-more-btn) {
  flex-shrink: 0;
}

.subsection-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.subsection-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.partners-grid, .clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  flex-grow: 1;
  align-content: center;
  min-height: 0;
}

.partner-card, .client-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover, .client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-card img, .client-card img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover img, .client-card:hover img {
  opacity: 1;
}

/* Bouton Voir plus */
.see-more-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.see-more-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.see-more-btn:hover i {
  transform: translateX(4px);
}

/* Styles pour la section Services */
.services-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 2rem auto 0;
    max-width: 1200px;
    padding: 0 40px;
}

.services-list {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 15px;
    position: relative;
}

.services-slide {
    flex: 0 0 100%;
    display: flex;
    gap: 1.5rem;
    min-width: 0;
    scroll-snap-align: start;
}

.carousel-arrow {
    position: absolute;
    top: 60%; /* Ajusté pour descendre les flèches */
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--primary-orange);
    color: white;
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* Augmenté pour plus d'espace */
    padding-bottom: 1rem; /* Ajout d'un padding en bas */
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}
/* Services Section - Amélioré pour Safari mobile */
.services-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.services-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Desktop styles */
@media (min-width: 1024px) {
  .services-list {
    overflow-x: hidden;
    justify-content: center;
  }
  
  .services-slide {
    display: flex !important;
    flex: 0 0 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-item {
    min-width: 0;
  }
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 25px;
  padding: 1.5rem 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Masquer la scrollbar sur WebKit (Chrome, Safari) */
.services-list::-webkit-scrollbar {
  display: none;
}

/* Cache la barre de défilement sur WebKit (Safari/Chrome) */
.services-list::-webkit-scrollbar {
  display: none;
}

.service-item {
  flex: 0 0 calc(33.333% - 30px);
  min-width: 280px;
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-margin: 0 15px;
  flex-shrink: 0;
}

/* Styles pour mobile */
@media (max-width: 767px) {
  .services-carousel {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
  }
  
  .services-list {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
  }
  
  .service-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
  }
  
  .service-title {
    font-size: 1.25rem;
    margin: 0.75rem 0 0.5rem;
    color: #1a1a1a;
  }
  
  .service-details p {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a4a4a;
  }
  
  .service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF8533;
    margin-bottom: 0.5rem;
  }
  
  .service-item > * {
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
  }
  
  .service-item img {
    max-height: 40vh;
    object-fit: contain;
    margin: 1rem 0;
  }
  
  .service-item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }
  
  .service-item p {
    margin: 0.5rem 0;
    line-height: 1.5;
  }
  
  /* Masquer les boutons de navigation sur mobile */
  .services-nav {
    display: none !important;
  }
  
  /* Ajuster l'espacement entre les cartes */
  .service-item:not(:last-child) {
    margin-right: 1rem;
  }
}

@media (min-width: 640px) {
  .services-carousel {
    padding: 0 20px;
  }
  
  .services-list {
    gap: 1.25rem;
    padding-bottom: 2rem;
  }
  
  .service-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 0;
    padding: 1.75rem 1.5rem;
    margin: 0;
  }
}

/* Navigation arrows */
.services-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
  border: none;
  color: var(--primary-orange);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.services-carousel:hover .services-nav {
  opacity: 1;
  visibility: visible;
}

.services-nav.prev {
  left: 0;
}

.services-nav.next {
  right: 0;
}

.services-nav:hover {
  background: var(--primary-orange);
  color: white;
}

@media (min-width: 1024px) {
  .services-carousel {
    padding: 0 60px;
  }
  
  .services-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 0;
    margin: 0 -15px;
    width: calc(100% + 30px);
  }
  
  .service-item {
    flex: 0 0 calc(25% - 1rem);
    margin: 0 0.5rem;
    scroll-snap-align: start;
  }
  
.services-nav {
    display: flex;
  }
}

.service-item.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 1;
}

.service-item:active {
  transform: scale(0.98);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.service-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  min-height: 2.5rem;
  line-height: 1.3;
}

.service-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-details p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.5;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Flèches de navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.9;
}

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

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

.carousel-arrow:hover {
  background: var(--primary-orange);
  color: white;
  opacity: 1;
}

/* Points indicateurs */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-orange);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    opacity: 0.8;
  }
  
  .carousel-arrow.prev {
    left: 5px;
  }
  
  .carousel-arrow.next {
    right: 5px;
  }
  .hero {
    padding-top: 100px; /* Hauteur réduite sur mobile */
    scroll-margin-top: 80px; /* Ajustement pour mobile */
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .vision-grid,
  .partners-grid,
  .stats-grid,
  .team-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Correction du défilement horizontal sur mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Styles généraux */
.section {
padding: 5rem 2rem;
background-color: #f9fafb;
}

.container {
max-width: 1200px;
margin: 0 auto;
}

.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #1f2937;
}

/* Grid Partenaires/Clients */
.partners-clients-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

/* Styles spécifiques pour les images partenaires/clients sur mobile */
@media (max-width: 768px) {
  .partners-clients-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .partners-section, .clients-section {
    padding: 1.5rem !important;
  }
  
  .partners-section .partner-card,
  .clients-section .client-card {
    min-height: 180px !important;
    padding: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .partners-grid, .clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin: 1.5rem 0 !important;
  }
  
  .partners-section .partner-card img,
  .clients-section .client-card img {
    max-height: 120px !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .subsection-title {
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
  }
  
  .subsection-description {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  /* Correction du débordement sur mobile */
  body {
    overflow-x: hidden;
    position: relative;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .partners-grid, .clients-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .partners-section .partner-card,
  .clients-section .client-card {
    min-height: 160px !important;
    padding: 1.5rem !important;
  }
  
  .partners-section .partner-card img,
  .clients-section .client-card img {
    max-height: 140px !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Styles des sous-sections */
.partners-section, .clients-section {
background: #eea172ff;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.subsection-title {
font-size: 1.5rem;
color: #111827;
margin-bottom: 0.5rem;
text-align: center;
}

.subsection-description {
color: white;
text-align: center;
margin-bottom: 2rem;
font-size: 1rem;
}

/* Grid des logos */
.partners-grid, .clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
.partners-grid, .clients-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

.partner-card, .client-card {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all 0.3s ease;
}

.partner-card:hover, .client-card:hover {
transform: translateY(-5px);
}

.partner-card img, .client-card img {
max-width: 100%;
max-height: 60px;
width: auto;
height: auto;
opacity: 0.8;
transition: all 0.3s ease;
}

.partner-card:hover img, .client-card:hover img {
opacity: 1;
}

/* Bouton Voir plus */
.see-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 0.75rem 1.5rem;
background-color: #1a1a1a;
color: white;
border-radius: 8px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s ease;
margin-top: 1rem;
}

.see-more-btn:hover {
background-color: rgb(241, 154, 100);
transform: translateY(-2px);
}

.see-more-btn i {
margin-left: 0.5rem;
transition: transform 0.3s ease;
}

.see-more-btn:hover i {
transform: translateX(3px);
}

/* Animation fade-in */
.fade-in {
opacity: 0;
animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
to {
    opacity: 1;
}
}

/* Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-orange);
  border-radius: 50%;
  animation: float-particle 6s linear infinite;
}

/* Services Section Styles */
.services-section {
padding: 5rem 2rem;
background-color: #f8fafc;
}

.container {
max-width: 1200px;
margin: 0 auto;
}

.section-title {
text-align: center;
font-size: 2.5rem;
color: #1e293b;
margin-bottom: 1rem;
}

.section-subtitle {
text-align: center;
color: #64748b;
font-size: 1.1rem;
max-width: 700px;
margin: 0 auto 3rem;
}

.services-list {
display: flex;
justify-content: space-between;
gap: 1.5rem;
overflow-x: auto;
padding-bottom: 1rem;
scrollbar-width: none; /* Firefox */
}

.services-list::-webkit-scrollbar {
display: none; /* Chrome/Safari */
}

.service-item {
min-width: 220px;
text-align: center;
padding: 2rem 1.5rem;
background: #eea172ff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
position: relative;
flex: 1;
}

.service-item:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
color: white;
font-size: 1.5rem;
font-weight: bold;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
}

.service-title {
font-size: 1.25rem;
color: #1e293b;
margin-bottom: 1rem;
font-weight: 600;
}

.service-details p {
color: #64748b;
font-size: 0.95rem;
line-height: 1.6;
}

/* Animation */
.fade-in {
opacity: 0;
animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
to {
    opacity: 1;
}
}

/* Responsive */
@media (max-width: 768px) {
.services-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.service-item {
    scroll-snap-align: start;
    min-width: 85%;
    margin-right: 1rem;
}
}

@media (max-width: 1024px) {
  .services-list .service-slide {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }
  .services-list .service-item {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .services-list .service-slide {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  .services-list .service-item {
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}


@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.futuristic-section {
position: relative;
overflow: hidden;
}

.futuristic-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: 
  radial-gradient(circle at 20% 30%, rgba(255, 133, 51, 0.1) 0%, transparent 30%),
  radial-gradient(circle at 80% 70%, rgba(255, 133, 51, 0.1) 0%, transparent 30%);
z-index: 0;
}

.team-carousel-container {
position: relative;
padding: 0 40px;
}

.team-carousel-track {
display: flex;
gap: 24px;
padding-bottom: 20px;
}

.team-carousel-slide {
transition: transform 0.5s ease, opacity 0.5s ease;
}

@media (max-width: 767px) {
.team-carousel-slide {
  width: 80%;
}

.team-carousel-container {
  padding: 0 20px;
}
}
/* Futuristic Team Section */
.futuristic-team-section {
position: relative;
overflow: hidden;
background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.stars-bg {
  background-image: 
    radial-gradient(1px 1px at 20px 30px, white, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, white, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 80px 40px, white, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 120px 80px, white, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 160px 20px, white, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 200px 60px, white, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: starsAnimation 50s linear infinite;
}

@keyframes starsAnimation {
  from { background-position: 0 0; }
  to { background-position: 200px 200px; }
}

.futuristic-carousel-container {
  position: relative;
  padding: 0 40px;
  overflow: hidden;
}

.futuristic-carousel-track {
  display: flex;
  gap: 0;
  padding-bottom: 20px;
  width: 100%;
}

.futuristic-carousel-slide {
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  padding: 0 20px;
}

.futuristic-carousel-slide {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
  width: 100%;
}

.futuristic-carousel-slide img {
  /* Optimisation du rendu d'image */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  
  /* Optimisation des performances */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  
  /* Amélioration de la qualité */
  filter: brightness(1.02) contrast(1.05) saturate(1.05);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Qualité d'affichage */
  object-fit: cover;
  object-position: center;
  min-height: 100%;
  min-width: 100%;
}

.futuristic-carousel-slide img:hover {
  filter: brightness(1.05) contrast(1.08) saturate(1.08);
  transform: scale(1.05) translateZ(0);
}

.futuristic-carousel-slide .relative {
  background: linear-gradient(135deg, #1e1e2a 0%, #0f0f1a 100%);
  overflow: hidden;
}

/* Optimisation pour différents formats d'image */
.futuristic-carousel-slide img[src*=".jpg"],
.futuristic-carousel-slide img[src*=".jpeg"] {
  image-rendering: -webkit-optimize-contrast;
}

.futuristic-carousel-slide img[src*=".png"] {
  image-rendering: crisp-edges;
}

.futuristic-carousel-slide img[src*=".webp"] {
  image-rendering: -webkit-optimize-contrast;
}

/* Optimisation pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .futuristic-carousel-slide img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Optimisation pour les écrans très haute résolution */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .futuristic-carousel-slide img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Amélioration de la qualité sur les écrans OLED */
@media (prefers-color-scheme: dark) {
  .futuristic-carousel-slide img {
    filter: brightness(1.03) contrast(1.06) saturate(1.06);
  }
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .futuristic-carousel-slide {
    width: 100%;
    padding: 0 10px;
  }
  
  .futuristic-carousel-slide .relative {
    height: 16rem !important; /* h-64 */
  }
  
  .futuristic-carousel-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .futuristic-carousel-slide {
    padding: 0 5px;
  }
  
  .futuristic-carousel-slide .relative {
    height: 14rem !important; /* h-56 */
  }
  
  .futuristic-carousel-container {
    padding: 0 10px;
  }
}

/* Styles pour optimiser l'affichage des cartes du carousel */
.futuristic-carousel-slide {
  height: 100%;
}

.futuristic-carousel-slide .bg-gradient-to-b {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.futuristic-carousel-slide .relative {
  height: 320px;
  flex-shrink: 0;
}

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

.futuristic-carousel-slide .p-6 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.futuristic-carousel-slide .px-6.pb-6 {
  flex-shrink: 0;
}