:root {
  --primary: #eae200;
  --primary-dark: #d1ca00;
  --white: #ffffff;
  --black: #030304;
  --gray: #fffdfd;
  --dark-gray: #333333;
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

   /* Hero Section Révisée */
   .hero-section {
  background: linear-gradient(rgba(3, 3, 4, 0.8), rgba(3, 3, 4, 0.8)), 
              url('img/people-office-work-day(2).jpg') center/cover no-repeat;
              background-attachment: fixed; /* Optionnel : effet parallaxe */
  background-size: cover;       /* Force l'image à couvrir tout l'espace */
  background-position: center;  /* Centre l'image */
  background-repeat: no-repeat;
  color: var(--white);
  padding: 180px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
 
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 300;
  
  margin-bottom: 40px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-main-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: var(--primary);
}

.hero-main-title span {
  color: var(--primary);
  display: block;
  line-height: 2.5rem;
  margin-top: 10px;
}

/* Formes jaunes animées */
.hero-shape {
  position: absolute;
  background-color: var(--primary);
  opacity: 0.15;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
  z-index: 0;
}

.shape-1 {
  width: 150px;
  height: 150px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  right: 15%;
  animation-delay: 3s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 20%;
  animation-delay: 6s;
}

.shape-4 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 15%;
  animation-delay: 9s;
}

/* Animation améliorée */
@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% { 
    transform: translateY(-40px) rotate(5deg) scale(1.05);
    opacity: 0.25;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-main-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0;
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-main-title {
    font-size: 3rem;
  }


  .hero-shape {
    display: none; /* Masquer les formes sur mobile pour plus de lisibilité */
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 100px 0;
  }
  
  .hero-title {
    font-size: 1.2rem;
  }
  
  .hero-main-title {
    font-size: 2.5rem;
  }
}


/* Programme Section */
.program-section {
  padding: 60px 0;
  background-color: var(--white);
  text-align: center;
  position: relative;
}

.program-content {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* Section Pourquoi */
.why-section {
  padding: 80px 0;
  background-color: var(--gray);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--black);
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.reason-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  color: var(--black);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(234, 226, 0, 0.2);
  border: 1px solid var(--primary);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--black);
  transition: var(--transition);
}

.reason-card:hover .card-icon {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(234, 226, 0, 0.3);
}

.reason-card h3 {
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.reason-card p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--black);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--black);
}

.cta-btn:hover {
  background-color: transparent;
  color: var(--black);
  transform: translateY(-5px);
}

.cta-shape {
  position: absolute;
  background-color: var(--black);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 12s infinite linear;
}

.cta-shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.cta-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 10%;
  animation-delay: 4s;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive */
@media (max-width: 992px) {
 
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  
  .program-content {
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .reason-card {
    padding: 30px 20px;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}