/* ══════════════════════════════════════════════════════════════════
   LEARN TO DANCE - CLEAN ELEGANT STYLESHEET
   Shree Paavitra Arts Academy
   ══════════════════════════════════════════════════════════════════ */

/* Hero Styling */
.public-page-hero.custom-dance-hero {
  background: linear-gradient(180deg, #3A0808 0%, #1A0202 100%) !important;
  position: relative;
  padding-block: 7.5rem 4.5rem;
  text-align: center;
  box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.4);
}

.hero-gold-divider {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
  margin: 1.25rem auto 1.5rem;
}

.hero-watermark {
  position: absolute;
  bottom: -15px;
  right: 5%;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(201, 162, 39, 0.038);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ── 1. WHY LEARN BHARATANATYAM ── */
.dance-page-section {
  background-color: #FAF8F5 !important;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAF4E6 100%) !important;
  padding-block: 4.5rem;
}

.why-learn-quote-banner {
  background: linear-gradient(135deg, #ffffff 0%, #faf4e6 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-left: 5px solid var(--color-gold-500);
  border-radius: 16px;
  padding: 1.75rem 2.25rem;
  margin-bottom: 2.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(58, 8, 8, 0.04);
}

.why-learn-quote-banner p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-maroon-950);
  margin: 0;
  line-height: 1.55;
  font-weight: 500;
}

.why-learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: 0 4px 16px rgba(58, 8, 8, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-500);
  box-shadow: 0 12px 24px rgba(58, 8, 8, 0.1);
}

.benefit-icon {
  font-size: 1rem;
  color: var(--color-gold-600);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-maroon-950);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.benefit-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5C3D2E;
  margin: 0;
}

/* ── 2. WHY LEARN WITH US (HIGH CONTRAST DARK SECTION) ── */
.why-us-section {
  background-color: #240505 !important;
  background-image: linear-gradient(140deg, #2A0505 0%, #150202 100%) !important;
  color: #ffffff !important;
  padding-block: 5.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  position: relative;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.why-us-item {
  background-color: #2E0707 !important;
  background-image: linear-gradient(145deg, #210505 0%, #0d0101 100%) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-top: 3px solid #D4A928 !important;
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-us-item:hover {
  background-color: #400B0B !important;
  background-image: linear-gradient(145deg, #160404 0%, #0d0101 100%) !important;
  border-color: #E5B82A !important;
  border-top-color: #E5B82A !important;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.why-us-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #E5B82A !important;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(201, 162, 39, 0.22) !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
}

.why-us-item h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: #FFFFFF !important;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.why-us-item p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #E2D8C5 !important;
  margin: 0;
}

.motto-banner {
  background: linear-gradient(135deg, #d4a928 0%, #b38b19 100%);
  color: var(--color-maroon-950);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.motto-sep {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── LIGHT SECTIONS WITH PARCHMENT GRADIENT ── */
.section-light {
  background-color: #FAF8F5 !important;
  background-image: linear-gradient(180deg, #FAF4E6 0%, #FFFFFF 100%) !important;
}



/* ── 3. INTERACTIVE COURSE FILTER TABS ── */
.programme-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 4px 20px rgba(58, 8, 8, 0.05);
  max-width: 960px;
  margin-inline: auto;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #5C3D2E;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-btn:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-maroon-950);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-maroon-900), var(--color-maroon-950));
  color: var(--color-gold-300);
  border-color: var(--color-gold-500);
  box-shadow: 0 4px 14px rgba(58, 8, 8, 0.2);
}

.online-help-banner {
  background: linear-gradient(135deg, #FAF4E6 0%, #FFFFFF 100%);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-left: 4px solid var(--color-gold-500);
  border-radius: 14px;
  padding: 1.15rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.online-help-text {
  font-size: 0.92rem;
  color: var(--color-maroon-950);
  margin: 0;
  line-height: 1.5;
}

.online-help-text strong {
  color: var(--color-gold-700);
}

/* ── 4. COURSE CONTENT PROGRAMMES ── */
.course-programmes-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.prog-block {
  background: #ffffff;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(58, 8, 8, 0.05);
  transition: all 0.35s ease;
}

.prog-block.hidden-programme {
  display: none !important;
}

.prog-block__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}

.prog-num-badge {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold-300);
  background: linear-gradient(135deg, var(--color-maroon-800), var(--color-maroon-950));
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(58, 8, 8, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.prog-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-maroon-950);
  margin: 0 0 0.3rem;
  line-height: 1.25;
}

.prog-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.prog-intro-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5C3D2E;
  margin-bottom: 1.75rem;
  background: var(--color-gold-50);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-gold-500);
}

.prog-grid {
  display: grid;
  gap: 1.5rem;
}

.prog-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.prog-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.prog-card {
  background: #faf8f5;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 16px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.prog-card:hover {
  background: #ffffff;
  border-color: var(--color-gold-500);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(58, 8, 8, 0.08);
}

.prog-card--featured {
  background: linear-gradient(135deg, #ffffff 0%, #faf3e3 100%);
  border-color: rgba(201, 162, 39, 0.45);
  border-top: 4px solid var(--color-gold-500);
}

.prog-card--inclusive {
  background: #fdfbf7;
  border-left: 4px solid var(--color-maroon-800);
}

.prog-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-gold-700);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.prog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-maroon-950);
  margin: 0.25rem 0 0;
  line-height: 1.3;
}

.prog-card__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5C3D2E;
  margin: 0;
}

.prog-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-maroon-900);
  text-decoration: none;
  border-top: 1px dashed rgba(201, 162, 39, 0.25);
  transition: color 0.25s ease;
}

.prog-card__btn:hover {
  color: var(--color-gold-700);
}

/* Grades Grid */
.grades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.grade-pill {
  background: #ffffff;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.grade-pill:hover {
  border-color: var(--color-gold-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 8, 8, 0.1);
}

.grade-pill--gold {
  background: linear-gradient(135deg, var(--color-maroon-950), var(--color-maroon-800));
  color: #ffffff;
  border-color: var(--color-gold-500);
}

.grade-badge-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-700);
  background: rgba(201, 162, 39, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  align-self: flex-start;
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.grade-badge-tag--gold {
  background: rgba(201, 162, 39, 0.3);
  color: var(--color-gold-300);
  border-color: rgba(201, 162, 39, 0.5);
}

.grade-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-maroon-950);
}

.grade-pill--gold .grade-num {
  color: var(--color-gold-300);
}

.grade-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.grade-pill--gold .grade-label {
  color: var(--color-ivory-300);
}

/* ── Transitional Ribbon Divider ── */
.transitional-divider {
  margin-bottom: 20px;
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  margin-block: -40px;
  width: 100%;
  text-align: center;
}

.transitional-divider svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.transitional-divider__badge {
  position: relative;
  background: #FAF7F0;
  padding: 0.5rem 1.75rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(58, 8, 8, 0.08);
  z-index: 12;
  margin: 0 auto;
}

.transitional-divider__badge span {
  color: var(--color-gold-600);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  line-height: 1;
}


/* ── 5. RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .why-learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prog-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .programme-filter-bar {
    border-radius: 20px;
    padding: 0.65rem;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .why-learn-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .prog-grid.grid-2,
  .prog-grid.grid-3 {
    grid-template-columns: 1fr;
  }

  .grades-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prog-block {
    padding: 1.6rem 1.25rem;
  }

  .motto-banner {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 24px;
  }

  .motto-sep {
    display: none;
  }

  .online-help-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .grades-grid {
    grid-template-columns: 1fr;
  }
}