/* ==========================================================================
   HEART ACADEMY - ACADEMIC & TUITION THEME STYLES
   Accent: Teal (#06B6B6)
   ========================================================================== */

.academy-hero-banner {
  --hero-background-image: url('../images/academy hero bg.avif');
  background: #FFFFFF;
  padding: 2.25rem 0 1.25rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Keep all Heart Academy hero content centred across overview and subject pages. */
.academy-hero-banner .studio-page-header {
  text-align: center;
}

.academy-hero-banner .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.academy-hero-banner .hero-grid > * {
  width: 100%;
}

.academy-hero-banner .hero-cta-group {
  justify-content: center;
}

.academy-hero-banner .academy-meta-bar {
  margin-left: auto !important;
  margin-right: auto !important;
}

.academy-hero-banner .academy-meta-bar .meta-chip {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.academy-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.studio-title,
.academy-hero-banner .studio-title,
.academy-hero-banner .hero-title,
.academy-hero-banner h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--dark-heading);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.academy-meta-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.academy-meta-bar .meta-chip:hover {
  border-color: var(--border-teal);
}

.academy-meta-bar .meta-chip-icon,
.academy-meta-bar .meta-chip > span:first-child {
  background: var(--teal-light);
}

@media (max-width: 700px) {
  .academy-meta-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }
}

.academy-block-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.academy-block-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-teal-hover);
}

.academy-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.academy-block-title {
  font-size: 1.35rem;
  color: var(--dark-heading);
  margin-bottom: 1rem;
}

.academy-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.academy-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.academy-bullet-item .dot {
  color: var(--teal);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.1rem;
}

/* ==========================================================================
   INTERACTIVE SCHEDULE & SLOT CHOOSER (Heart Academy Redesign)
   ========================================================================== */
.academy-schedule-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FAFA 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border-teal);
  position: relative;
}

.academy-schedule-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.schedule-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.schedule-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem 1.75rem;
  border: 2px solid rgba(6, 182, 182, 0.22);
  box-shadow: 0 10px 25px -5px rgba(6, 182, 182, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -8px rgba(6, 182, 182, 0.2), 0 6px 15px rgba(6, 182, 182, 0.1);
}

.schedule-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 1rem;
}

.schedule-card-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.schedule-card-day {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-heading);
  margin-bottom: 0.35rem;
}

.schedule-card-time {
  font-weight: 800;
  color: var(--teal);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.schedule-card-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-body);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.schedule-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.schedule-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-heading);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.schedule-card-duration {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.schedule-times-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.schedule-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #F8FAFC;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  width: 100%;
  position: relative;
  text-align: left;
}

.schedule-time-row:hover,
.schedule-time-row:focus {
  background: #EBF9F9;
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(6, 182, 182, 0.16);
  outline: none;
}

.schedule-time-row .slot-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.schedule-time-row .slot-day {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark-heading);
}

.schedule-time-row .slot-time {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
}

.schedule-time-row .slot-action-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  background: #FFFFFF;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-teal);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.schedule-time-row:hover .slot-action-tag {
  background: var(--teal);
  color: #FFFFFF;
  border-color: var(--teal);
}

.schedule-card-action {
  width: 100%;
}

.schedule-card .btn-slot-select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: var(--teal);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 182, 0.25);
  text-decoration: none;
}

.schedule-card .btn-slot-select:hover {
  background: var(--teal-dark, #059494);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 182, 0.35);
  color: #FFFFFF;
}

/* Academy Logistics & Trust Strip */
.academy-logistics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.logistics-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-teal);
  box-shadow: var(--shadow-sm);
}

.logistics-item-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.logistics-item-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dark-heading);
  margin-bottom: 0.25rem;
}

.logistics-item-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Important Notes Box */
.classroom-notes-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 5px solid var(--teal);
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
}

.classroom-notes-box h4 {
  font-size: 1.15rem;
  color: var(--dark-heading);
  margin-bottom: 0.75rem;
}

.classroom-notes-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
