.programme-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5%!important;
  margin-bottom: 15px;
}

.programme-hero-section {
  margin-top: -60px;
  background: #f5f5f5;
  padding: 60px 20px 60px;
  text-align: center;
}

.programme-hero-section h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
}

.programme-hero-section p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555;
  padding: 20px 0;
}

.programme-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.programme-buttons button {
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
}

.programme-buttons button.active {
  background: #444;
}

.programme-explore-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.programme-explore-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}

.programme-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.programme-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  max-width: 280px;
  width: 100%;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  flex: 0 1 280px;
}

.programme-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

.programme-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.programme-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  padding: 20px 0;
}

.programme-card .btn {
  margin-top: auto;
  background-color: #fff;
  color: #cf242a;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 16px;
  border: 1px solid #cf242a;
  transform: translateY(0);
  transition: transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.programme-card .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 0 #cf242a;
}

.programme-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.programme-buttons button {
  padding: 10px 24px;
  background-color: #fff;
  color: #cf242a;
  border: 1px solid #ff0000;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.programme-buttons button:hover {
  background-color: #cf242a;
  color: #fff;
  transform: translateY(-2px);
}

.programme-buttons button.active {
  background-color: #cf242a;
  color: #fff;
  border-color: #cf242a;
  transform: translateY(-1px);
}

#programmeSearch {
  padding: 20px 20px!important;
  border: 1px solid #ccc!important;
  border-radius: 25px!important;
  font-size: 16px;
  max-width: 500px!important;
  margin: 30px auto!important;
}

@media (max-width: 768px) {
  .programme-listings {
    align-items: flex-start;
  }
  .programme-card {
    flex: 1 1 100%;
  }
}
