/* assets/css/components/admissions.css - Admissions & Enrollment Page Styling */

/* Kidsa Playful Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-float { animation: floatSlow 5s ease-in-out infinite; }
.animate-spin-slow { animation: spinSlow 24s linear infinite; }
.animate-bounce-slow { animation: bounceSlow 3s ease-in-out infinite; }

/* 1. Hero Admissions Section */
.admissions-hero-section {
  position: relative;
  padding: 64px 0 48px 0;
  background: linear-gradient(to bottom, #FFF9F9, #FFFFFF);
  overflow: hidden;
  text-align: center;
}

.admissions-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(227, 0, 15, 0.1);
  color: var(--color-brand-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border: 1px solid rgba(227, 0, 15, 0.2);
  box-shadow: 0 2px 8px rgba(227, 0, 15, 0.08);
}

.admissions-hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-royal-blue);
  line-height: 1.15;
  margin: 0 auto;
  max-width: 900px;
}

.admissions-hero-desc {
  color: #4A5568;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  margin: 20px auto 0 auto;
  max-width: 680px;
}

/* 2. 3-Step Enrollment Timeline */
.enrollment-timeline-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  position: relative;
}

.timeline-track-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 4px dashed #CBD5E1;
  transform: translateY(-50%);
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-track-line {
    display: block;
  }
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline-step-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.timeline-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  margin: 0 auto 20px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.timeline-step-card:hover .timeline-step-num {
  transform: scale(1.1);
}

/* 3. Age Eligibility Matrix */
.eligibility-matrix-section {
  padding: 70px 0;
  background-color: var(--color-warm-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.matrix-table-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 4px solid #FFFFFF;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  text-align: left;
}

.matrix-table th {
  background: #F8FAFC;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-royal-blue);
  border-bottom: 2px solid var(--color-border);
}

.matrix-table td {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #4A5568;
  border-bottom: 1px solid #EDF2F7;
  transition: background-color 0.2s ease;
}

.matrix-table tr:hover td {
  background-color: #F8FAFC;
}

.matrix-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* 4. Parent FAQ Accordion */
.faq-section {
  padding: 70px 0;
  background-color: #FFFFFF;
}

.faq-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-warm-white);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  border-color: #CBD5E1;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-royal-blue);
  transition: color 0.2s ease;
}

.faq-btn:hover,
.faq-btn[aria-expanded="true"] {
  color: var(--color-brand-red);
}

.faq-btn:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(227, 0, 15, 0.4);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #94A3B8;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--color-brand-red);
}

.faq-content {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  color: #4A5568;
  border-top: 1px solid transparent;
  display: none;
}

.faq-content.is-open {
  display: block;
  border-top-color: #EDF2F7;
  padding-top: 14px;
}

/* Form Submit State Animations */
.ll-btn-loading {
  opacity: 0.85;
  cursor: not-allowed;
}

.ll-btn-success {
  background-color: var(--color-growth-green) !important;
}
