/* .president-carousel {
  padding: 10px 10px;
  background: #f0f2f5;
  text-align: center;
}

.president-carousel h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 20px;
}

.carousel-controls {
  margin-bottom: 15px;
}

.carousel-controls button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 14px;
  margin: 0 5px;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-controls button:hover {
  background: #ff8c00;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  flex: 0 0 250px;
  height: 70vh;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.carousel-card:hover {
  transform: scale(1.05);
}

.carousel-card img {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 80%;
  }

  .carousel-controls button {
    padding: 8px 12px;
    font-size: 1rem;
  }
} */





.president-carousel {
  padding: 30px 15px;
  background: linear-gradient(135deg, #f0f2f5, #e6ebf1);
  text-align: center;
}

.president-carousel h2 {
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.carousel-controls {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.carousel-controls button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.carousel-controls button:hover {
  background: #ff8c00;
  transform: translateY(-2px);
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.carousel-card {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-card:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-card img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.carousel-card h3 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #004080;
}

.carousel-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive tablette */
@media (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 60%;
  }
}

/* Responsive petit écran */
@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 80%;
  }

  .carousel-controls button {
    padding: 8px 14px;
    font-size: 1rem;
  }

  .president-carousel h2 {
    font-size: 2rem;
  }
}

/* Responsive très petit écran */
@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 90%;
  }

  .carousel-card img {
    max-height: 180px;
  }

  .carousel-card h3 {
    font-size: 1.1rem;
  }

  .carousel-card p {
    font-size: 0.85rem;
  }
}
