* {
  color: #2a4759 !important;
}
html,
body {
  overflow-x: hidden;
}
body,
section {
  background-color: #6a95a656 !important;
}
h1,h6 {
  margin: 0 auto 0 auto !important;
  padding: 10px;
}
h6{
  padding-bottom: 50px;
}
img {
  max-height: 80vh;
  width: auto;
}
body {
  margin: 0;
  padding: 0;
  background-image: url("images/background.png"); /* chemin vers ton image */
  background-size: cover; /* l’image couvre tout l’écran */
  background-position: center; /* centrée */
  background-repeat: no-repeat; /* pas de répétition */
  background-attachment: fixed; /* effet fixe au scroll (optionnel) */
}

section {
  margin-top: 0px;
  padding: 0px 0px 75px 0px;
}
/* Alternance des sections */
section:nth-of-type(odd) {
  background-color: #fefefe; /* couleur claire */
}

section:nth-of-type(even) {
  background-color: #f2bc792d !important; /* couleur légèrement différente */
}
.carousel{
  margin: 7vh 5vh 7vh 5vh ;
}
.divider {
  width: 20%;
  height: 1px;
  background-color: #2a3140;
  margin: -20px auto 20px auto;
}

.carousel-img {
  height: 100vh;
  min-height: 300px;

  object-fit: cover;
  object-position: center;

  transform: scale(1);
  transition: transform 0.6s ease;
}

/* Desktop large : léger zoom */
@media (min-width: 1200px) {
  .carousel-img {
    transform: scale(1.1);
  }
}

/* Tablette */
@media (max-width: 1199px) {
  .carousel-img {
    transform: scale(1.05);
  }
}

/* Mobile : dézoom léger */
@media (max-width: 768px) {
  .carousel-img {
    transform: scale(1);
  }
}
.carousel-title {
  background-color: rgba(255, 255, 255, 0.367);
  padding: 15px;
  border-radius: 10%;
}
.carousel-title h1,
.carousel-title p {
  color: rgba(0, 0, 0, 0.703) !important;
}
/* Animation reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Program items */
.program-item {
  border: none !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.593);
  max-width: 80%;
  padding-bottom: 15px;
  margin: 0 auto;
}

/* Hauteur selon l'écran */
.program-item-lg {
  height: 5vh !important; /* 70% de la hauteur de l'écran */
  display: flex;
  flex-direction: column;
}

/* Image en haut prend 50% de la hauteur du card */
.program-item-lg img {
  height: 80%;
  width: 100% !important;
  object-fit: cover;
}

/* Texte en bas prend le reste */
.program-item-lg .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement le texte */
  padding: 1.5rem;
}

.program-item h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.program-item p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}
