/* Programs Page — Program Cards, Timeline */

/* ─── PROGRAMS ─── */
.programs { background: var(--cream); padding-top: 8rem; }
.programs-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.program-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}
.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}
.program-img-wrap {
  position: relative;
  overflow: hidden;
}
.program-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-card:hover .program-img { transform: scale(1.06); }
.program-body { padding: 2rem; }
.program-ages {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.program-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.program-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.9;
}
.program-highlights {
  list-style: none;
  margin-top: 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.program-highlights li {
  font-size: 0.85rem;
  color: var(--gold);
  padding-right: 1.2rem;
  position: relative;
  line-height: 1.7;
}
.program-highlights li::before {
  content: '\2726';
  position: absolute;
  right: 0;
  font-size: 0.6rem;
  top: 0.3rem;
  color: var(--gold);
  opacity: 0.7;
}

.programs-community {
  max-width: 900px;
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: rgba(201,168,76,0.06);
  border-radius: 16px;
  border: 1px solid rgba(201,168,76,0.12);
}
.programs-community .comm-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
}
.programs-community .comm-icon {
  font-size: 1.2rem;
}

/* ─── PROGRESS TIMELINE ─── */
.timeline-section {
  background: var(--cream);
  padding: 6rem 2rem;
}
.timeline-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.timeline-grid::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  opacity: 0.3;
}
.timeline-item {
  text-align: center;
  position: relative;
}
.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(201,168,76,0.25);
}
.timeline-item h4 {
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.timeline-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .timeline-grid::before { display: none; }
}
@media (max-width: 480px) {
  .timeline-grid { grid-template-columns: 1fr; }
}

/* ─── PROGRAMS 3D TILT ─── */
.program-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}
.program-card:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 30px rgba(201,168,76,0.06);
}

/* ─── RESPONSIVE (768px) ─── */
@media (max-width: 768px) {
  /* Programs - compact */
  .programs-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0 auto; }
  .program-card { border-radius: 18px; }
  .program-img { max-height: 160px; }
  .program-body { padding: 1.2rem 1rem; }
  .program-body h3 { font-size: 1.1rem; }
  .program-body p { font-size: 0.85rem; line-height: 1.7; }
  .program-highlights li { font-size: 0.82rem; }
  .program-ages { font-size: 0.7rem; }
}
