.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.program-card {
  background: #fffaf0;
  border: 2px solid #d4af37;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 380px; /* fixed height for uniform squares */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.program-image {
  width: 100%;
  padding-top: 40%; /* 1:1 Aspect Ratio to make a perfect square */
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid #d4af37;
}

.program-info {
  flex-grow: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  color: #0a0f2c;
}

.program-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.program-date {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #444;
  margin: 0;
}

/* Download button fixed at bottom */
.btn-download {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.25rem;
  background-color: #d4af37;
  color: #0a0f2c;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-download:hover {
  background-color: #b08b2f;
  color: #fff;
}
