.lottie-place {
    margin-left: 150px;
    margin-bottom: 100px;
}

.partner-card {
    transition: transform 0.3s ease;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.partner-card:hover {
    transform: scale(1.01);
}

.partner-card .card-title {
    color: white;
  }

.project-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  height: 100%;
  background-color: #fff;
  padding-top: 20px;
  margin: 10px auto;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.project-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px auto 10px;
  background-color: transparent;
}

.project-card .card-body {
  padding: 10px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

.project-card .card-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.6rem;
}

.project-card small {
  font-size: 0.8rem;
  color: #888;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev:hover svg,
.carousel-control-next:hover svg {
  fill: #007bff;
  transform: scale(1.15);
  transition: fill 0.2s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
  .carousel .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.carousel-wrapper {
  position: relative;
  padding: 0;
  width: 100%;
  min-width: 720px; /* slightly smaller for responsiveness */
  max-width: 100%;
  overflow: visible;
}

.carousel-wrapper .carousel-control-prev,
.carousel-wrapper .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.carousel-wrapper .carousel-control-prev {
  left: 0;
}

.carousel-wrapper .carousel-control-next {
  right: 0;
}
.carousel-item .row {
  margin-top: 20px;
  margin-bottom: 20px;
}

.carousel-inner {
  min-height: 440px;
}

.project-card {
  min-height: 280px;
}

#calendar {
    max-width: 800px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    font-family:  'Chakra Petch', sans-serif;
    font-size: 15px;
    padding: 20px 25px;
    user-select: none;         /* empêche la sélection de texte inutile */
}

/* Header (mois + nav) */
.fc-toolbar-title {
    text-transform: capitalize;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.03em;
}

.fc-button {
    background-color: #3498db;
    border: none;
    color: white;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.4);
}

.fc-button:hover {
    background-color: #2980b9;
    transform: scale(1.07);
}

/* Jour actuel */
.fc-day-today {
    background-color: #d6eaf8 !important;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

/* Cases jours */
.fc-daygrid-day {
    min-height: 110px;           /* cases plus hautes */
    padding: 12px 10px;
    border-radius: 12px;
    transition: background-color 0.25s ease;
}

.fc-daygrid-day:hover {
    background-color: #f0f8ff;
}

/* Numéro du jour */
.fc-daygrid-day-top {
    font-weight: 700;
    font-size: 1.1rem;
    color: #34495e;
}

/* Événements */
.fc-event {
    background-color: #2980b9;
    border: none;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.7);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 6px;
}

.fc-event:hover {
    background-color: #1f618d;
    transform: translateY(-2px);
}

/* En-têtes des colonnes (jours de la semaine) */
.fc-col-header-cell-cushion {
    text-transform: capitalize;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    padding-bottom: 10px;
}

/* Mobile : rendre le calendrier fluide */
@media (max-width: 768px) {
    #calendar {
        max-width: 95%;
        padding: 15px;
        font-size: 14px;
    }
    
    .fc-daygrid-day {
        min-height: 90px;
        padding: 10px 6px;
    }
    
    .fc-event {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}

