/* program */
.container h1 {
  text-align: center;
  margin: 10px;
  margin-top: 20px;
  font-weight: bold;
}
.container-program {
  width: 80%;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 3px;
}

.programme {
  flex: 1 1 calc(33.333% - 20px); /* Adjusts width to fit three items per row with gap */
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #fafafa;
  position: relative; /* Ensure button container is positioned correctly */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.programme h2 {
  color: #78335d;
  font-weight: bold;
}

.programme p {
  margin: 5px 0;
  color: #555;
  font-size: 1.4rem;
}

.programme .title {
  font-weight: bold;
  color: #222;
}

/* Button container styling */
.button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.btn {
  background: linear-gradient(
    135deg,
    #78335d,
    #5d2a4f
  ); /* Gradient background */
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 3px; /* More rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.btn:hover {
  background: linear-gradient(
    135deg,
    #5d2a4f,
    #78335d
  ); /* Inverted gradient on hover */
  transform: scale(1.05); /* Slightly enlarge button on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* More pronounced shadow */
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .programme {
    flex: 1 1 100%; /* One item per row */
  }
  .container-program {
    width: 100%;
  }
}
