/* ============================================================
   SERVICE PAGE STYLES — Updated to match new design
   Navy #1a4731 / Gold #e8a020 / Off-white #f0ede4
   ============================================================ */

/* ---- Service Hero ---- */
.service-hero {
  background: radial-gradient(ellipse at 60% 40%, #2d6a4f 0%, #1a4731 45%, #0e2a1c 100%);
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,160,32,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.service-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.service-breadcrumb {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.service-breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.18s; }
.service-breadcrumb a:hover { color: #f5c842; }
.service-breadcrumb .sep { color: rgba(255,255,255,0.25); }
.service-breadcrumb .current { color: #f5c842; }

.service-hero-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f5c842;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.service-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 18px;
  max-width: 700px;
}

.service-hero-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.78;
  max-width: 600px;
  margin-bottom: 32px;
}

.service-hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
}
.hero-badge i { color: #f5c842; font-size: 0.8rem; }

/* ---- Service Sections ---- */
.service-section {
  background: #ffffff;
  padding: 72px 0;
}
.service-section.alt  { background: #f0ede4; }
.service-section.dark { background: #1a4731; }

.service-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Section Header ---- */
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #e8a020;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.gold { color: #e8a020; }

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #1a4731;
  line-height: 1.22;
  margin-bottom: 16px;
}
.section-heading.white { color: #ffffff; }

.section-desc {
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.80;
  max-width: 680px;
  margin-bottom: 40px;
}
.section-desc.white { color: rgba(255,255,255,0.65); }

/* ---- Overview Two-Col Layout ---- */
.service-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-overview-text p {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.82;
  margin-bottom: 16px;
}
.service-overview-text p:last-child { margin-bottom: 0; }

/* ---- Feature List ---- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.5;
}
.feature-list li i { color: #1a4731; font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.feature-list.white li { color: rgba(255,255,255,0.85); }
.feature-list.white li i { color: #f5c842; }

/* ---- Feature Cards Grid ---- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.feature-card {
  background: #ffffff;
  border: 1.5px solid #ddd8cc;
  border-radius: 12px;
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(26,71,49,0.10); border-color: #1a4731; transform: translateY(-3px); }

.service-section.alt .feature-card { background: #ffffff; }
.service-section.dark .feature-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.service-section.dark .feature-card:hover { border-color: rgba(232,160,32,0.50); }

.feature-card-icon {
  width: 44px; height: 44px;
  background: #d4edda;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card-icon i { font-size: 1.1rem; color: #1a4731; }

.service-section.dark .feature-card-icon { background: rgba(232,160,32,0.15); }
.service-section.dark .feature-card-icon i { color: #f5c842; }

.feature-card h4 { font-size: 0.92rem; font-weight: 700; color: #1a4731; margin-bottom: 8px; }
.service-section.dark .feature-card h4 { color: #ffffff; }

.feature-card p { font-size: 0.78rem; color: #6b7280; line-height: 1.65; }
.service-section.dark .feature-card p { color: rgba(255,255,255,0.55); }

/* ---- Curriculum / Level Table ---- */
.curriculum-table, .level-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,71,49,0.08);
}

.curriculum-table thead, .level-table thead { background: #1a4731; color: #ffffff; }

.curriculum-table thead th, .level-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.curriculum-table tbody tr, .level-table tbody tr {
  border-bottom: 1px solid #ddd8cc;
  transition: background 0.15s;
}
.curriculum-table tbody tr:last-child, .level-table tbody tr:last-child { border-bottom: none; }
.curriculum-table tbody tr:hover, .level-table tbody tr:hover { background: #f0ede4; }

.curriculum-table tbody td, .level-table tbody td {
  padding: 14px 20px;
  color: #374151;
  line-height: 1.55;
  vertical-align: top;
}
.curriculum-table tbody td:first-child, .level-table tbody td:first-child {
  font-weight: 600;
  color: #1a4731;
  white-space: nowrap;
}

.level-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.level-badge.red   { background: #fde8e8; color: #c0392b; }
.level-badge.gold  { background: #fef3c7; color: #92400e; }
.level-badge.navy  { background: #d4edda; color: #1a4731; }
.level-badge.green { background: #d1fae5; color: #065f46; }

/* ---- Who It's For Cards ---- */
.who-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.who-card {
  background: #1a4731;
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.who-card-icon {
  width: 42px; height: 42px;
  background: rgba(232,160,32,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-card-icon i { font-size: 1rem; color: #f5c842; }

.who-card h4 { font-size: 0.9rem; font-weight: 700; color: #ffffff; line-height: 1.3; }
.who-card p  { font-size: 0.76rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ---- Age Group Cards ---- */
.age-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.age-card {
  background: #ffffff;
  border: 1.5px solid #ddd8cc;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
}
.age-card:hover { box-shadow: 0 8px 24px rgba(26,71,49,0.10); border-color: #1a4731; transform: translateY(-3px); }

.age-range {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a4731;
  margin-bottom: 6px;
}

.age-card h4 { font-size: 0.92rem; font-weight: 700; color: #1a4731; margin-bottom: 10px; }
.age-card p  { font-size: 0.78rem; color: #6b7280; line-height: 1.65; }

/* ---- Batch Timings Table ---- */
.batch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,71,49,0.08);
}

.batch-table thead { background: #1a4731; color: #ffffff; }
.batch-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.batch-table tbody tr { border-bottom: 1px solid #ddd8cc; transition: background 0.15s; }
.batch-table tbody tr:last-child { border-bottom: none; }
.batch-table tbody tr:hover { background: #f0ede4; }

.batch-table tbody td { padding: 14px 20px; color: #374151; vertical-align: middle; }
.batch-table tbody td:first-child { font-weight: 600; color: #1a4731; }

/* ---- Level Progression ---- */
.level-progression {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
}

.level-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 80px;
  min-width: 80px;
}

.level-step-badge {
  width: 56px; height: 56px;
  background: #1a4731;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  border: 3px solid #ddd8cc;
  transition: border-color 0.18s, background 0.18s;
}
.level-step:hover .level-step-badge { background: #e8a020; border-color: #e8a020; color: #1a1a1a; }

.level-step span { font-size: 0.7rem; color: #6b7280; font-weight: 500; }

.level-arrow { font-size: 1rem; color: #1a4731; margin: 0 4px; padding-bottom: 20px; flex-shrink: 0; }

/* ---- Stats Row ---- */
.stats-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.stat-highlight {
  flex: 1 1 160px;
  background: #ffffff;
  border: 1.5px solid #ddd8cc;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.18s;
}
.stat-highlight:hover { box-shadow: 0 4px 16px rgba(26,71,49,0.10); }

.service-section.dark .stat-highlight {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.stat-highlight-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a4731;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-highlight-num.gold { color: #e8a020; }
.stat-highlight-num.navy { color: #1a4731; }
.service-section.dark .stat-highlight-num.navy { color: #ffffff; }

.stat-highlight-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.service-section.dark .stat-highlight-label { color: rgba(255,255,255,0.45); }

/* ---- CLB Table ---- */
.clb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,71,49,0.08);
}

.clb-table thead { background: #1a4731; color: #ffffff; }
.clb-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.clb-table tbody tr { border-bottom: 1px solid #ddd8cc; transition: background 0.15s; }
.clb-table tbody tr:last-child { border-bottom: none; }
.clb-table tbody tr:hover { background: #f0ede4; }

.clb-table tbody td { padding: 14px 20px; color: #374151; vertical-align: middle; }
.clb-table tbody td:first-child { font-weight: 700; color: #1a4731; font-size: 1rem; }

/* ---- All Courses Cards ---- */
.all-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.course-overview-card {
  background: #ffffff;
  border: 1.5px solid #ddd8cc;
  border-radius: 14px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
}
.course-overview-card:hover { box-shadow: 0 10px 30px rgba(26,71,49,0.12); border-color: #1a4731; transform: translateY(-4px); }

.course-overview-card .card-icon {
  width: 50px; height: 50px;
  background: #d4edda;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-overview-card .card-icon i { font-size: 1.3rem; color: #1a4731; }

.course-overview-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a4731; line-height: 1.3; }
.course-overview-card p  { font-size: 0.80rem; color: #6b7280; line-height: 1.70; flex: 1; }

.course-overview-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a4731;
  transition: gap 0.18s;
}
.course-overview-card .learn-more:hover { gap: 10px; }

/* ---- Service CTA Section ---- */
.service-cta {
  background: #1a4731;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,160,32,0.16) 0%, transparent 65%);
  pointer-events: none;
}

.service-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.service-cta-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f5c842;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.service-cta h2 { font-size: 2.2rem; font-weight: 800; color: #ffffff; line-height: 1.22; margin-bottom: 16px; }
.service-cta p  { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.78; margin-bottom: 32px; }

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-block;
  background: #e8a020;
  color: #1a1a1a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}
.btn-cta-primary:hover { background: #f5c842; transform: translateY(-1px); }

.btn-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.50);
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
  white-space: nowrap;
}
.btn-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ---- Footer Styles (shared) ---- */
.footer { background: #0e2a1c; }

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.70;
  margin-top: 16px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.footer-socials a:hover { background: #e8a020; color: #1a1a1a; border-color: #e8a020; }

.footer-col h4.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f5c842;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.80rem;
  color: rgba(255,255,255,0.52);
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: #ffffff; }

.footer-bottom { padding: 18px 0; }

.footer-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom-inner p { font-size: 0.74rem; color: rgba(255,255,255,0.28); }

.footer-back-top {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.50);
  font-size: 0.8rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.footer-back-top:hover { background: #e8a020; color: #1a1a1a; border-color: #e8a020; }

/* ---- Responsive ---- */
@media (max-width: 1060px) {
  .service-hero-title { font-size: 2.2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .service-hero { padding: 120px 0 56px; }
  .service-hero-title { font-size: 1.9rem; }
  .service-overview { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .service-hero-title { font-size: 1.6rem; }
  .service-hero-inner { padding: 0 16px; }
  .service-container { padding: 0 16px; }
  .service-section { padding: 52px 0; }
  .section-heading { font-size: 1.6rem; }
  .service-cta h2 { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .level-progression { gap: 4px; }
  .level-step-badge { width: 46px; height: 46px; font-size: 0.78rem; }
  .stats-row { gap: 14px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-cta-primary, .btn-cta-secondary { width: 100%; text-align: center; }
}
