/* ========== IGSC CUSTOM STYLES - DESIGN MODERNE ET SCIENTIFIQUE ========== */

/* Variables CSS personnalisées pour IGSC */
:root {
  --igsc-primary: #1e3a8a;        /* Bleu scientifique profond */
  --igsc-secondary: #0ea5e9;      /* Bleu ciel moderne */
  --igsc-accent: #dc2626;         /* Rouge IGSC */
  --igsc-gold: #f59e0b;           /* Or pour les accents */
  --igsc-dark: #0f172a;           /* Noir scientifique */
  --igsc-light: #f8fafc;          /* Blanc cassé */
  --igsc-gradient: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
  --igsc-gradient-accent: linear-gradient(135deg, #dc2626 0%, #eab308 100%);
  --igsc-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --igsc-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Styles pour le logo IGSC */
.header-logo img {
  max-height: 80px !important;
  width: auto !important;
  transition: all 0.3s ease;
}

.header-logo img:hover {
  transform: scale(1.05);
}

/* Responsive pour le logo */
@media (max-width: 768px) {
  .header-logo img {
    max-height: 60px !important;
  }
}

/* Typographie moderne et scientifique */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--igsc-dark);
  background: var(--igsc-light);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Header moderne avec glassmorphism */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--igsc-shadow);
  position: relative;
  z-index: 1000;
}

/* Supprimer TOUS les éléments décoratifs de l'en-tête */
.header::before,
.header::after,
.header *::before,
.header *::after {
  display: none !important;
}

/* Corriger le problème de contenu qui se cache derrière l'en-tête */
body {
  padding-top: 0 !important;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

/* S'assurer que le contenu principal ne se cache pas derrière l'en-tête */
.hero-section,
.hero-slide,
section:first-of-type {
  position: relative;
  z-index: 1;
}
  transition: all 0.3s ease;
}

.header:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--igsc-shadow-lg);
}

/* Top bar avec gradient moderne */
.top-bar {
  background: var(--igsc-gradient);
  color: white;
  padding: 12px 0;
}

.top-bar-list li {
  transition: all 0.3s ease;
}

.top-bar-list li:hover {
  transform: translateY(-2px);
}

/* Navigation moderne */
.header-menu-wrap ul li a {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.header-menu-wrap ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--igsc-gradient-accent);
  transition: width 0.3s ease;
}

.header-menu-wrap ul li a:hover::after {
  width: 100%;
}

.header-menu-wrap ul li a:hover {
  color: var(--igsc-primary);
  transform: translateY(-2px);
}

/* Hero section avec design scientifique moderne */
.hero-section-14 {
  background: var(--igsc-gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section-14::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-info-3 {
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease-out;
  color: white !important;
}

.hero-info-3 .subtitle {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-info-3 .title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-info-3 p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 35px;
  color: white !important;
}

/* Boutons modernes avec effets */
.rr-primary-btn {
  background: var(--igsc-gradient-accent);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--igsc-shadow);
}

.rr-primary-btn::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.5s ease;
}

.rr-primary-btn:hover::before {
  left: 100%;
}

.rr-primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--igsc-shadow-lg);
}

.rr-primary-btn-custom {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.rr-primary-btn-custom:hover {
  background: white;
  color: var(--igsc-primary);
}

/* Sections avec animations */
.section-heading {
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--igsc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.subtitle {
  color: var(--igsc-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Cards modernes avec glassmorphism */
.service-item-14,
.project-card,
.team-member,
.blog-item-14 {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--igsc-shadow);
  animation: fadeInUp 0.6s ease-out;
}

.service-item-14:hover,
.project-card:hover,
.team-member:hover,
.blog-item-14:hover {
  transform: translateY(-10px);
  box-shadow: var(--igsc-shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

/* Icônes avec animations */
.service-icon,
.objectif-icon,
.action-icon {
  width: 80px;
  height: 80px;
  background: var(--igsc-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.service-icon i,
.objectif-icon i,
.action-icon i {
  font-size: 2rem;
  color: white;
}

.service-item-14:hover .service-icon,
.objectif-item:hover .objectif-icon,
.action-item:hover .action-icon {
  transform: scale(1.1) rotate(5deg);
  animation: pulse 2s ease-in-out infinite;
}

/* Statistiques avec compteurs animés */
.result-item,
.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-number,
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--igsc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.result-label,
.stat-label {
  color: var(--igsc-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* CTA section avec effet parallax */
.cta-section-14 {
  background: var(--igsc-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section-14::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 6s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-info-3 .title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-item-14,
  .project-card,
  .team-member {
    margin-bottom: 30px;
  }
}

/* Animations d'entrée pour les éléments */
.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* Effet de particules scientifiques */
.scientific-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1 !important;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }

/* Animation atomique scientifique */
.scientific-animation {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  z-index: 1 !important;
}

.atom {
  position: relative;
  width: 100%;
  height: 100%;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 100px;
  height: 100px;
  animation: rotate 10s linear infinite;
}

.orbit-2 {
  width: 150px;
  height: 150px;
  animation: rotate 15s linear infinite reverse;
}

.orbit-3 {
  width: 200px;
  height: 200px;
  animation: rotate 20s linear infinite;
}

.electron {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.electron-1 {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit 10s linear infinite;
}

.electron-2 {
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  animation: orbit 15s linear infinite reverse;
}

.electron-3 {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit 20s linear infinite;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Statistiques dans le hero */
.hero-stats .stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Formes géométriques positionnées */
.hero-14-shapes .shape-1 {
  position: absolute;
  top: 10%;
  right: 10%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  z-index: 1 !important;
}

.hero-14-shapes .shape-2 {
  position: absolute;
  bottom: 20%;
  left: 5%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1 !important;
}

.hero-14-shapes .shape-3 {
  position: absolute;
  top: 50%;
  right: 20%;
  opacity: 0.1;
  animation: float 10s ease-in-out infinite;
  z-index: 1 !important;
}

/* Masquer TOUS les éléments décoratifs bleus dans l'en-tête et ailleurs */
.bottom-shape,
.top-shape,
.service-item-13-border,
.testimonial-section-13 .testi-shapes-13 .shape-2,
.choose-us .shape,
.hero-content .title:before,
.hero-content .hero-btn:before,
.hero-mask-img-5:before,
.about-wrap .about-img-wrap .about-img .img-shape,
.service-item.service-item-2 .service-thumb:before,
.service-box-wrap .service-box .service-img:after,
.service-wrap-14 .service-item-14::after,
.service-section-15 .service-item-13 .service-item-13-border,
.service-section-15 .service-item-13::before,
.testimonial-section-13 .testi-shapes-13 .shape-2,
.post-card-2 .post-thumb:after,
.page-header .page-header-content .title:before,
.reward-item .bg-img:before,
.team-item-3 .team-thumb:before,
.brand-wrap .brand-img-wrap .brand-img:before,
.cta-section-5 .overlay,
.cta-section-7 .bg-item .round-shape {
  display: none !important;
}

/* Amélioration des sections avec espacement et backgrounds variés */
.service-section-14,
.blog-section-14,
.forum-section-14,
.projects-section-14,
.actions-results-section-14,
.objectifs-section-14 {
  padding: 120px 0;
  position: relative;
  margin: 0;
}

.about-section-4 {
  padding: 15px 0; /* Espaces internes très réduits */
  position: relative;
  margin: 10px 0; /* Espaces externes très réduits */
}

/* Hero Slider IGSC */
.hero-slider-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Force l'affichage du contenu du hero */
.hero-slide * {
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Bordures de débogage supprimées */

.hero-slide .col-lg-8,
.hero-slide .col-lg-4 {
  z-index: 25 !important;
  position: relative !important;
}

.hero-slide .hero-info,
.hero-slide .hero-visual {
  z-index: 30 !important;
  position: relative !important;
}

.hero-slide .hero-info-3 {
  z-index: 35 !important;
  position: relative !important;
}

.hero-slide .container {
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-slide .row {
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-slider-container .container {
  position: relative;
  z-index: 5;
  height: 100%;
}

.hero-slider-container .row {
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1.5s ease-in-out;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1 !important;
  transform: translateX(0);
  z-index: 2;
  display: flex !important;
  visibility: visible !important;
}

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

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

.hero-indicator.active {
  background: #eab308;
  border-color: white;
  transform: scale(1.2);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Styles pour les nouveaux éléments du hero slider */
.hero-mission-vision {
  margin-top: 2rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: white !important;
  opacity: 1 !important;
}

.mission-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mission-icon i {
  font-size: 20px;
  color: #eab308;
}

.mission-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #eab308;
}

.mission-content p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

.hero-contact-info {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: white !important;
  font-size: 14px;
  opacity: 1 !important;
}

.contact-item i {
  color: #eab308;
  width: 20px;
}

.stat-description {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 5px;
}

.hero-process {
  margin-top: 2rem;
}

.process-item {
  text-align: center;
  color: white !important;
  opacity: 1 !important;
}

.process-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eab308;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 15px;
}

.process-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #eab308;
}

.process-item p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

.success-rate {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.rate-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eab308, #dc2626);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.rate-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.rate-label {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 5px;
}

.domaine-icon-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domaine-icon-small i {
  font-size: 16px;
  color: #eab308;
}

.domaine-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: white !important;
  opacity: 1 !important;
}

.domaine-content h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #eab308;
}

.domaine-content p {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
  line-height: 1.3;
}

.hero-objectives {
  margin-top: 2rem;
}

.objective-item {
  text-align: center;
  color: white !important;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  opacity: 1 !important;
}

.objective-item i {
  font-size: 24px;
  color: #eab308;
  margin-bottom: 10px;
}

.objective-item h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #eab308;
}

.objective-item p {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
}

.forum-highlight {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.forum-badge {
  background: rgba(234, 179, 8, 0.2);
  border: 2px solid #eab308;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  color: white;
}

.forum-year {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #eab308;
  margin-bottom: 5px;
}

.forum-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}

.forum-rate {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #eab308;
}

.stats-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.chart-container {
  display: flex;
  align-items: end;
  gap: 20px;
  height: 200px;
}

.chart-bar {
  width: 60px;
  background: linear-gradient(to top, #dc2626, #eab308);
  border-radius: 8px 8px 0 0;
  position: relative;
  animation: growUp 2s ease-out;
}

.chart-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: white;
  font-weight: 600;
}

@keyframes growUp {
  from {
    height: 0;
  }
  to {
    height: var(--height);
  }
}

.domaine-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.domaine-preview-item i {
  font-size: 20px;
  color: #eab308;
}

.domaine-preview-item span {
  font-size: 14px;
}

.domaine-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  animation: float 3s ease-in-out infinite;
}

.domaine-icon-large i {
  font-size: 32px;
  color: #eab308;
}

.domaine-icon-large:nth-child(2) {
  animation-delay: 0.5s;
}

.domaine-icon-large:nth-child(3) {
  animation-delay: 1s;
}

.domaine-icon-large:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.domaines-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Responsive pour le hero slider */
@media (max-width: 768px) {
  .hero-slider-indicators {
    bottom: 20px;
  }
  
  .chart-container {
    gap: 15px;
    height: 150px;
  }
  
  .chart-bar {
    width: 40px;
  }
  
  .domaine-icon-large {
    width: 60px;
    height: 60px;
    margin: 5px;
  }
  
  .domaine-icon-large i {
    font-size: 24px;
  }
}

/* Slider Déroulante IGSC */
.slider-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.igsc-slider-vertical {
  height: 100%;
  position: relative;
}

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

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: all 1.5s ease-in-out;
  z-index: 1;
}

.slider-item.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease-out;
}

.slider-item.active .slide-bg {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(220, 38, 38, 0.6) 50%, rgba(234, 179, 8, 0.4) 100%);
  z-index: 1;
}

.slider-content-wrap {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.slider-content {
  text-align: center;
  color: white;
}

.slider-content .section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.slider-content .sub-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #eab308;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-btn-wrap {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 4;
}

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

.indicator.active {
  background: #eab308;
  border-color: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Responsive pour le slider */
@media (max-width: 768px) {
  .slider-content .section-title {
    font-size: 2.5rem;
  }
  
  .slider-content .sub-heading {
    font-size: 1rem;
  }
  
  .slide-description {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .slider-btn-wrap {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .slider-indicators {
    bottom: 20px;
  }
}

/* Backgrounds variés pour chaque section */

/* Section Texte Défilant - Comme sur le site officiel IGSC */
.ticker-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}

.ticker-container {
  width: 100%;
  overflow: hidden;
}

.carouselTicker-start {
  width: 100%;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-right: 20px;
  padding: 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ticker-separator {
  display: inline-block;
  color: white;
  font-size: 16px;
  margin-right: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: twinkle 2s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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

/* Pause sur hover */
.ticker-section:hover .ticker-content {
  animation-play-state: paused;
}

/* Section About - Gradient bleu doux */
.about-section-4 {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
  padding: 15px 0 !important; /* Espaces internes très réduits */
  margin: 10px 0 !important; /* Espaces externes très réduits */
}

.about-section-4::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(30,58,138,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

/* Réduction maximale des espaces internes des éléments de la section About */
.about-section-4 .container {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.about-section-4 .row {
  margin: 0 !important;
}

.about-section-4 .col-lg-6 {
  padding: 5px !important;
}

.about-section-4 .about-content-4 {
  padding: 5px 0 !important;
}

.about-section-4 .section-heading {
  margin-bottom: 10px !important;
}

.about-section-4 .about-counter-wrap {
  margin-top: 10px !important;
}

.about-section-4 .about-success-item {
  margin-bottom: 10px !important;
}

.about-section-4 .about-success-item .content {
  padding: 5px !important;
}

.about-section-4 .about-14-btn-wrap {
  margin-top: 10px !important;
}

/* Section Domaines - Background blanc avec motifs scientifiques */
.service-section-14 {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.service-section-14::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(14,165,233,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

/* Style pour les domaines opérationnels - comme sur le site officiel IGSC */
.domaine-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(220, 38, 38, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.domaine-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.domaine-icon i {
  font-size: 48px;
  color: #dc2626;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.domaine-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  transition: left 0.5s ease;
}

.domaine-item:hover::before {
  left: 100%;
}

.domaine-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
}

.domaine-item:hover .domaine-icon i {
  transform: scale(1.1) rotate(5deg);
  color: #eab308;
  text-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.domaine-number {
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.domaine-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

/* Section Nouvelles - Gradient rouge doux inspiré du logo IGSC */
.blog-section-14 {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 50%, #fca5a5 100%);
  position: relative;
  overflow: hidden;
}

.blog-section-14::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(220,38,38,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(234,179,8,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(37,99,235,0.1)"/></svg>');
  opacity: 0.3;
}

/* Section Forum - Background bleu profond */
.forum-section-14 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.forum-section-14::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 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  opacity: 0.2;
}

.forum-section-14 .section-title,
.forum-section-14 .subtitle {
  color: white;
}

/* Section Projets - Background gris moderne */
.projects-section-14 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  position: relative;
  overflow: hidden;
}

.projects-section-14::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 100 100"><rect x="20" y="20" width="60" height="60" fill="none" stroke="rgba(71,85,105,0.1)" stroke-width="1"/></svg>');
  opacity: 0.3;
}

/* Section Actions/Résultats - Background doré */
.actions-results-section-14 {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  position: relative;
  overflow: hidden;
}

.actions-results-section-14::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 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(245,158,11,0.1)" stroke-width="2"/></svg>');
  opacity: 0.4;
}

/* Section Objectifs - Background violet moderne */
.objectifs-section-14 {
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 50%, #d8b4fe 100%);
  position: relative;
  overflow: hidden;
}

.objectifs-section-14::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 100 100"><path d="M50,10 Q90,50 50,90 Q10,50 50,10" fill="none" stroke="rgba(139,92,246,0.1)" stroke-width="2"/></svg>');
  opacity: 0.3;
}

/* Section CTA - Background gradient principal */
.cta-section-14 {
  background: var(--igsc-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section-14::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

/* Espacement amélioré entre les sections */
.about-section-4 {
  margin-bottom: 0;
}

.service-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.forum-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.projects-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.actions-results-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.objectifs-section-14 {
  margin-top: 0;
  margin-bottom: 0;
}

.cta-section-14 {
  margin-top: 0;
}

/* Transitions fluides entre les sections */
.about-section-4,
.service-section-14,
.blog-section-14,
.forum-section-14,
.projects-section-14,
.actions-results-section-14,
.objectifs-section-14,
.cta-section-14 {
  transition: all 0.3s ease;
}

/* Effets de séparation entre les sections */
.about-section-4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.2), transparent);
}

.service-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
}

.blog-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
}

.forum-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.projects-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(71, 85, 105, 0.2), transparent);
}

.actions-results-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
}

.objectifs-section-14::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
}

/* Amélioration du contraste des textes sur les backgrounds colorés */
.forum-section-14 .section-heading .section-title,
.forum-section-14 .section-heading .subtitle,
.forum-section-14 .forum-content h2,
.forum-section-14 .forum-content p {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Effets de profondeur avec des ombres subtiles */
.service-section-14,
.blog-section-14,
.projects-section-14,
.actions-results-section-14,
.objectifs-section-14 {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.forum-section-14 {
  box-shadow: 0 0 40px rgba(30, 58, 138, 0.2);
}

/* Animation des backgrounds au scroll */
@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-section-4,
.blog-section-14,
.projects-section-14,
.actions-results-section-14,
.objectifs-section-14 {
  background-size: 200% 200%;
  animation: backgroundShift 20s ease infinite;
}

/* Responsive pour les backgrounds */
@media (max-width: 768px) {
  .about-section-4 {
    padding: 10px 0 !important; /* Espaces internes minimaux sur mobile */
    margin: 5px 0 !important; /* Espaces externes minimaux sur mobile */
  }
  
  .service-section-14,
  .blog-section-14,
  .forum-section-14,
  .projects-section-14,
  .actions-results-section-14,
  .objectifs-section-14 {
    padding: 80px 0;
  }
  
  /* Responsive pour les domaines */
  .domaine-item {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .domaine-icon {
    margin-bottom: 15px;
  }
  
  .domaine-icon i {
    font-size: 36px;
  }
  
  .domaine-title {
    font-size: 16px;
  }
  
  .domaine-number {
    font-size: 12px;
  }
  
  /* Responsive pour le ticker */
  .ticker-section {
    padding: 8px 0;
  }
  
  .ticker-item {
    font-size: 12px;
    margin-right: 15px;
    padding: 3px 0;
  }
  
  .ticker-separator {
    font-size: 14px;
    margin-right: 15px;
  }
  
  .ticker-content {
    animation-duration: 25s;
  }
  
  /* Simplifier les backgrounds sur mobile pour les performances */
  .about-section-4::before,
  .service-section-14::before,
  .blog-section-14::before,
  .forum-section-14::before,
  .projects-section-14::before,
  .actions-results-section-14::before,
  .objectifs-section-14::before {
    opacity: 0.1;
  }
}

/* Cards avec effet de survol amélioré */
.service-item-14,
.project-card,
.team-member,
.blog-item-14,
.objectif-card,
.action-item {
  position: relative;
  overflow: hidden;
}

.service-item-14::before,
.project-card::before,
.team-member::before,
.blog-item-14::before,
.objectif-card::before,
.action-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-item-14:hover::before,
.project-card:hover::before,
.team-member:hover::before,
.blog-item-14:hover::before,
.objectif-card:hover::before,
.action-item:hover::before {
  left: 100%;
}

/* Amélioration des boutons */
.hero-btn-wrap-2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn-wrap-2 .rr-primary-btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .scientific-animation {
    width: 200px;
    height: 200px;
  }
  
  .hero-stats {
    margin-top: 30px;
  }
  
  .hero-stats .stat-item {
    margin-bottom: 15px;
  }
  
  .hero-btn-wrap-2 {
    flex-direction: column;
  }
  
  .hero-btn-wrap-2 .rr-primary-btn {
    min-width: auto;
  }
}

/* Styles pour le logo IGSC dans le footer */
.footer-logo img {
  max-height: 70px !important;
  width: auto !important;
  transition: all 0.3s ease;
  filter: brightness(1.1);
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Responsive pour le logo du footer */
@media (max-width: 768px) {
  .footer-logo img {
    max-height: 50px !important;
  }
}

/* ========== CORRECTION MENU MOBILE ========== */

/* Rendre le bouton toggle visible sur mobile */
@media (max-width: 991px) {
  .header .primary-header-inner .header-right-wrap .header-right .sidebar-trigger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999;
    position: relative;
  }

  .header-13 .primary-header .primary-header-inner .header-right .sidebar-trigger,
  .header-14 .primary-header .primary-header-inner .header-right .sidebar-trigger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* S'assurer que le bouton hamburger est visible */
  .sidebar-trigger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999;
  }

  .sidebar-trigger span {
    display: block !important;
    width: 24px;
    height: 2px;
    background-color: var(--rr-color-common-white);
    margin: 3px 0;
    transition: all 0.3s ease;
  }

  .sidebar-trigger:hover {
    border-color: var(--rr-color-common-white);
  }

  .sidebar-trigger:hover span {
    background-color: var(--rr-color-theme-primary);
  }
}

/* Correction pour meanmenu - rendre le bouton visible */
@media (max-width: 991px) {
  /* Le bouton meanmenu-reveal doit être visible */
  .meanmenu-reveal {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999;
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--rr-color-theme-primary);
    color: var(--rr-color-common-white);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--rr-color-common-white);
  }

  /* Le menu container - cacher par défaut */
  .mean-container {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    z-index: 9998;
    overflow-y: auto;
    padding: 80px 20px 20px;
  }

  /* Afficher le container seulement quand le menu est ouvert (bouton n'a pas meanclose) */
  .meanmenu-reveal:not(.meanclose) ~ .mean-container,
  body:has(.meanmenu-reveal:not(.meanclose)) .mean-container {
    display: block !important;
  }

  /* Le menu nav est géré par meanmenu via slideDown/slideUp */
  .mean-nav {
    display: block !important;
  }

  /* S'assurer que le texte du menu est visible */
  .mean-nav ul li a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 15px 0 !important;
    display: block !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.5 !important;
  }

  .mean-nav ul li a:hover {
    color: var(--rr-color-theme-primary) !important;
  }

  /* Sous-menus */
  .mean-nav ul li ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
  }

  .mean-nav ul li ul li a:hover {
    color: var(--rr-color-theme-primary) !important;
  }

  /* Boutons d'expansion des sous-menus */
  .mean-nav ul li a.mean-expand {
    color: #ffffff !important;
    background-color: var(--rr-color-theme-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* S'assurer que les éléments de liste sont visibles */
  .mean-nav ul li {
    opacity: 1 !important;
    visibility: visible !important;
    color: #ffffff !important;
  }

  /* Texte du menu visible */
  .mean-bar {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mean-bar * {
    color: #ffffff !important;
  }

  /* Forcer la visibilité de tous les textes dans le menu */
  .mean-container .mean-nav,
  .mean-container .mean-nav *,
  .mean-container .mean-bar,
  .mean-container .mean-bar * {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Styles spécifiques pour les liens du menu */
  .mean-container .mean-nav > ul > li > a {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  /* Styles pour les sous-menus */
  .mean-container .mean-nav ul ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    padding: 12px 0 12px 20px !important;
  }
}

/* Masquer le menu desktop sur mobile */
@media (max-width: 991px) {
  .header-menu-wrap .mobile-menu-items {
    display: none;
  }

  .header-menu-wrap ul {
    display: none !important;
  }
}


