/*
Theme Name: Skill Guru
Theme URI: https://skillguru.pk
Author: Skill Guru
Author URI: https://skillguru.pk
Description: Custom theme for Skill Guru — digital skills academy & services platform. Serves both students (courses) and busy professionals/businessmen (done-for-you services). Built from scratch with a custom Courses, Services, Success Stories and Enrollment system.
Version: 1.3
Text Domain: skillguru
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --primary: #F16A21;        /* Skill Guru — warm burnt orange (from reference site) */
  --primary-dark: #C2540E;
  --primary-light: #FDEDE1;
  --primary-bg: #F6F3EE;     /* warm cream section background */
  --dark: #171717;           /* near-black — dark sections, headings */
  --dark-2: #2E2A26;         /* warm near-black — body text */
  --gray: #6B6660;           /* warm gray */
  --gray-light: #A39E96;
  --border: #ECE5DB;         /* warm beige border */
  --white: #FFFFFF;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --warning: #D97706;
  --warning-bg: #FEF3C7;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(31,41,55,0.08);
  --shadow: 0 8px 24px rgba(31,41,55,0.10);
  --shadow-lg: 0 20px 48px rgba(31,41,55,0.16);
  --container: 1200px;
}

/* =========================================================
   2. RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-2);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
}
p { margin: 0 0 16px; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }

.quick-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.quick-support-card { background: var(--primary-bg); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.quick-support-card .qs-icon { font-size: 30px; margin-bottom: 12px; display: flex; justify-content: center; }
.quick-support-card h4 { font-size: 16px; margin-bottom: 8px; }
.quick-support-card .qs-value { display: block; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; font-size: 15px; }
.quick-support-card p { font-size: 13px; color: var(--gray); margin: 0; }
@media (max-width: 768px) { .quick-support-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--gray); font-size: 18px; }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* =========================================================
   4. HEADER
   ========================================================= */
/* ---------- HEADER TICKER (scrolling trust bar) ---------- */
.header-ticker { background: var(--primary); color: var(--dark); overflow: hidden; white-space: nowrap; padding: 0; display: flex; align-items: center; }
.header-ticker-track { display: inline-flex; animation: sg-ticker-scroll 28s linear infinite; padding: 8px 0; flex: 1; }
.ticker-item { display: inline-block; padding: 0 28px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.ticker-login { flex-shrink: 0; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 18px; white-space: nowrap; }
.ticker-login:hover { background: #000; }
.ticker-login.is-disabled { background: rgba(23,23,23,0.5); cursor: not-allowed; color: rgba(255,255,255,0.7); }
@keyframes sg-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.header-ticker:hover .header-ticker-track { animation-play-state: paused; }

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img,
.site-logo .custom-logo { height: 42px !important; width: auto !important; max-width: 220px; object-fit: contain; }
.site-logo .logo-fallback { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--dark); }
.site-logo .logo-fallback span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; color: var(--dark-2);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--primary-bg); color: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.enroll-cta { flex-shrink: 0; }
.enroll-cta span.btn-text-short { display: none; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; flex-shrink: 0; position: relative; z-index: 600; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 480px) {
  .enroll-cta span.btn-text-full { display: none; }
  .enroll-cta span.btn-text-short { display: inline; }
}

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 73px; left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 20px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .main-nav a { display: block; padding: 14px 16px; font-size: 17px; }
  .nav-toggle { display: block; }
}

/* =========================================================
   5. HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--dark) 0%, #111827 100%);
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 15% 20%, rgba(249,115,22,0.18), transparent 60%),
              radial-gradient(500px circle at 85% 80%, rgba(249,115,22,0.12), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-content { max-width: 560px; }
.hero h1 { color: var(--white); font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { color: #D1D5DB; font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; color: var(--white); font-family: var(--font-heading); }
.hero-stat span { color: var(--gray-light); font-size: 14px; }

/* Right-side overlapping photo (iSkills style): main photo + circular accent photo + floating stat card */
.hero-photo-wrap { position: relative; padding: 14px 20px 44px 4px; }
.hero-photo-main { width: 100%; aspect-ratio: 3/4.1; object-fit: cover; object-position: top center; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.hero-photo-accent { position: absolute; top: -14px; right: 0; width: 38%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; border: 6px solid var(--dark); box-shadow: var(--shadow-lg); }
.hero-stat-badge { position: absolute; bottom: 8px; left: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 20px; text-align: center; }
.hero-stat-badge strong { display: block; font-family: var(--font-heading); font-size: 22px; color: var(--primary-dark); font-weight: 800; }
.hero-stat-badge span { font-size: 11.5px; color: var(--gray); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
  .hero-photo-wrap { order: -1; margin-bottom: 12px; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* =========================================================
   6. AUDIENCE SPLIT (Students vs Professionals)
   ========================================================= */
.stats-strip { background: var(--dark); border-radius: var(--radius-lg); padding: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; margin-top: 56px; }
.stats-strip .stat strong { display: block; font-family: var(--font-heading); font-size: 34px; color: var(--primary); font-weight: 800; }
.stats-strip .stat span { color: var(--gray-light); font-size: 13.5px; }
@media (max-width: 768px) { .stats-strip { grid-template-columns: 1fr; } }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card {
  border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.audience-card.students { background: var(--primary-bg); }
.audience-card.pros { background: var(--dark); color: var(--white); }
.audience-card .tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.audience-card.students .tag { color: var(--primary-dark); }
.audience-card.pros .tag { color: var(--primary); }
.audience-card h3 { font-size: 26px; }
.audience-card.pros h3 { color: var(--white); }
.audience-card ul { margin: 20px 0 28px; }
.audience-card li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.audience-card.pros li { color: #D1D5DB; }
.audience-card li::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; }
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; } }

/* =========================================================
   7. USP / FEATURES GRID
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 28px 20px; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray); margin: 0; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   8. CARDS: Courses / Services
   ========================================================= */
.bg-alt { background: #FAF8F4; } /* warm off-white, one shade lighter than --primary-bg for subtle layering */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.item-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.item-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--primary-bg); position: relative; }
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-card .badge-type {
  position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.item-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.item-card h3 { font-size: 19px; margin-bottom: 8px; }
.item-card .meta-row { display: flex; gap: 14px; font-size: 13px; color: var(--gray); margin-bottom: 12px; flex-wrap: wrap; }
.item-card .meta-row span { display: flex; align-items: center; gap: 5px; }
.item-card .excerpt { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.item-card .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.item-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--dark); font-size: 18px; }
.item-card .price small { color: var(--gray); font-weight: 500; font-size: 12px; display: block; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.section-cta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.section-cta-row h2 { margin: 0; text-align: left; }

/* =========================================================
   9. PROCESS STEPS
   ========================================================= */
.process-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.process-step { text-align: center; position: relative; padding: 0 8px; }
.process-step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 14px; font-family: var(--font-heading);
}
.process-step:nth-child(odd) .num { background: var(--primary); }
.process-step h4 { font-size: 15px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray); margin: 0; }
@media (max-width: 900px) { .process-row { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   10. TESTIMONIALS / SUCCESS STORIES
   ========================================================= */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.story-card .video-thumb { position: relative; aspect-ratio: 16/10; background: var(--dark); overflow: hidden; }
.story-card .video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.story-card .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow);
}
.story-card .body { padding: 20px; }
.story-card h4 { font-size: 17px; margin-bottom: 6px; }
.story-card .result-tag { display: inline-block; background: var(--success-bg); color: var(--success); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.story-card p { font-size: 14px; color: var(--gray); margin: 0; }
@media (max-width: 960px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .story-grid { grid-template-columns: 1fr; } }

/* =========================================================
   11. FAQ ACCORDION
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--dark);
}
.faq-q .icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-bg); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease; font-size: 16px; }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 22px; color: var(--gray); margin: 0; }

/* =========================================================
   12. CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg); padding: 56px; text-align: center; color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta-banner .btn-primary { background: var(--white); color: var(--primary-dark); }
.cta-banner .btn-primary:hover { background: var(--dark); color: var(--white); }

/* =========================================================
   13. FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: #D1D5DB; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .site-logo .logo-fallback { color: var(--white); }
.footer-brand p { color: var(--gray-light); font-size: 14.5px; margin: 16px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.footer-social a:hover { background: var(--primary); }
.footer-social a svg { width: 17px; height: 17px; fill: #fff; }
.site-footer h5 { color: var(--white); font-size: 15px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--gray-light); font-size: 14.5px; transition: color .15s; }
.site-footer ul a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-light); font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--gray-light); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   14. PAGE HEADER (inner pages)
   ========================================================= */
.page-banner { background: var(--dark); color: var(--white); padding: 64px 0; text-align: center; }
.page-banner .eyebrow { background: rgba(249,115,22,0.15); color: var(--primary); }
.page-banner h1 { color: var(--white); margin-bottom: 10px; font-size: clamp(28px, 4vw, 40px); }
.page-banner p { color: var(--gray-light); max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 13.5px; color: var(--gray-light); margin-top: 10px; }
.breadcrumb a { color: var(--gray-light); }
.breadcrumb a:hover { color: var(--primary); }

/* =========================================================
   15. SINGLE COURSE / SERVICE
   ========================================================= */
.single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.single-content { min-width: 0; }
.single-content .entry-content h2 { margin-top: 36px; }
.single-content .entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.single-content .entry-content ul li { margin-bottom: 8px; }
.sidebar-box {
  position: sticky; top: 100px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.sidebar-box .price-lg { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.sidebar-box .price-lg small { font-size: 13px; color: var(--gray); font-weight: 500; }
.sidebar-box .detail-list { margin: 20px 0; }
.sidebar-box .detail-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.sidebar-box .detail-list li span:first-child { color: var(--gray); }
.sidebar-box .detail-list li span:last-child { font-weight: 600; color: var(--dark); }
@media (max-width: 900px) { .single-layout { grid-template-columns: 1fr; } .sidebar-box { position: static; } }

/* =========================================================
   16. ENROLLMENT FLOW
   ========================================================= */
.enroll-wrap { max-width: 720px; margin: -50px auto 0; position: relative; z-index: 10; }
.enroll-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px; }
@media (max-width: 640px) { .enroll-card { padding: 26px; } }

.step-tracker { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.step-tracker .step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-tracker .dot {
  width: 38px; height: 38px; border-radius: 50%; background: var(--border); color: var(--gray);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading);
  transition: background .2s, color .2s;
}
.step-tracker .step.is-active .dot { background: var(--primary); color: var(--white); }
.step-tracker .step.is-done .dot { background: var(--success); color: var(--white); }
.step-tracker .step span.label { font-size: 12.5px; color: var(--gray); font-weight: 600; }
.step-tracker .line { width: 60px; height: 2px; background: var(--border); margin: 0 4px 22px; }
.step-tracker .line.is-done { background: var(--success); }

.enroll-summary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white);
  border-radius: var(--radius); padding: 24px; margin-bottom: 28px;
}
.enroll-summary .label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.enroll-summary h3 { color: var(--white); margin: 4px 0 12px; font-size: 22px; }
.enroll-summary .fee-line { font-size: 15px; opacity: .95; }

.form-step { display: none; }
.form-step.is-active { display: block; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--dark); }
.field .hint { font-size: 12.5px; color: var(--gray); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.field-check a { color: var(--primary-dark); font-weight: 600; }

.review-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.review-table .row { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.review-table .row:last-child { border-bottom: none; }
.review-table .row span:first-child { color: var(--gray); }
.review-table .row span:last-child { font-weight: 700; color: var(--dark); text-align: right; }

.form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }

.payment-box { background: var(--primary-bg); border-radius: var(--radius); padding: 28px; text-align: center; margin-bottom: 22px; }
.payment-box .label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-dark); font-weight: 700; }
.payment-box .ref-number { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--dark); margin: 10px 0 18px; letter-spacing: .03em; }
.payment-status { display: inline-flex; align-items: center; gap: 8px; background: var(--warning-bg); color: var(--warning); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-top: 12px; }
.payment-status .dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); }
.howto-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.howto-box h4 { font-size: 15px; margin-bottom: 12px; }
.howto-box ol { padding-left: 20px; margin: 0; }
.howto-box ol li { margin-bottom: 8px; font-size: 14.5px; color: var(--dark-2); }
.wa-confirm-btn { background: #25D366; color: var(--white); }
.wa-confirm-btn:hover { background: #1DA851; color: var(--white); }

.success-box { text-align: center; padding: 20px 0; }
.success-box .check { width: 70px; height: 70px; border-radius: 50%; background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 34px; margin: 0 auto 20px; }
.success-box h3 { margin-bottom: 10px; }
.success-box p { color: var(--gray); }

.form-error { background: #FEE2E2; color: #B91C1C; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; display: none; }
.form-error.is-visible { display: block; }

/* Enrollment banner (iSkills-style photo banner above the form) */
.enroll-banner { position: relative; max-width: 900px; margin: 0 auto 24px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.enroll-banner img { width: 100%; height: 260px; object-fit: cover; display: block; }
.enroll-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0.15) 0%, rgba(23,23,23,0.65) 100%); display: flex; align-items: flex-end; padding: 20px; }
.enroll-banner-badge { background: rgba(23,23,23,0.75); border-radius: 12px; padding: 10px 16px; color: #fff; display: inline-block; }
.enroll-banner-badge strong { display: block; font-family: var(--font-heading); font-size: 20px; }
.enroll-banner-badge span { font-size: 11.5px; color: var(--gray-light); }

/* Team / Trainers grid ("Our Supporting Trainers") */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 44px 36px; padding: 24px 0; position: relative; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; width: 130px; transition: transform .3s var(--ease, ease); }
.team-card:hover { transform: translateY(-6px); }
.team-card:nth-child(3n+1) { margin-top: 34px; }
.team-card:nth-child(3n) { margin-top: -10px; }
.team-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; border: 3px solid #fff; box-shadow: var(--shadow-sm); position: relative; }
.team-card.is-featured { order: -1; flex-basis: 100%; margin-top: 0 !important; margin-bottom: 8px; }
.team-card.is-featured .team-photo { width: 148px; height: 148px; box-shadow: 0 0 0 6px var(--primary-light); animation: sg-team-pulse 2.6s ease-in-out infinite; }
.team-card.is-featured .team-name { font-size: 17px; }
@keyframes sg-team-pulse {
  0%, 100% { box-shadow: 0 0 0 6px var(--primary-light), 0 0 0 6px var(--primary-light); }
  50% { box-shadow: 0 0 0 6px var(--primary-light), 0 0 0 16px rgba(241,106,33,0.12); }
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initial { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--primary-dark); }
.team-name { font-family: var(--font-heading); font-size: 14.5px; color: var(--dark); }
.team-role { font-size: 11.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }

/* Sticky bottom CTA bar (WhatsApp + Enroll, iSkills-style) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; gap: 10px; padding: 12px 16px; background: #fff; box-shadow: 0 -4px 20px rgba(23,23,23,0.12); border-top: 1px solid var(--border); }
.sticky-btn { flex: 1; text-align: center; padding: 13px 10px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 7px; }
.sticky-wa { background: var(--success-bg); color: #15803D; }
.wa-icon { flex-shrink: 0; vertical-align: middle; }
.sticky-enroll { background: var(--primary); color: #fff; }
body { padding-bottom: 70px; }
@media (min-width: 960px) { .sticky-cta { max-width: 420px; left: auto; right: 24px; bottom: 24px; border-radius: var(--radius); border: 1px solid var(--border); } body { padding-bottom: 0; } }

/* =========================================================
   17. CONTACT PAGE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-list { margin-top: 24px; }
.contact-info-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-info-list strong { display: block; color: var(--dark); margin-bottom: 2px; }
.contact-info-list span, .contact-info-list a { color: var(--gray); font-size: 14.5px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   18. MISC / UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* About page — overlapping image layout (iSkills-style) */
.about-hero-section { padding-top: 56px; }
.about-hero-h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 4px; color: var(--dark); }
.about-image-overlap { position: relative; padding: 20px 30px 40px 0; }
.about-img-main { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-accent { position: absolute; top: 0; right: 0; width: 42%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about-stat-badge { position: absolute; bottom: 0; left: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 22px; text-align: center; }
.about-stat-badge strong { display: block; font-family: var(--font-heading); font-size: 24px; color: var(--primary-dark); font-weight: 800; }
.about-stat-badge span { font-size: 12px; color: var(--gray); }
@media (max-width: 640px) { .about-image-overlap { padding: 20px 20px 40px 0; } }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.tag-pill { display: inline-block; background: var(--primary-bg); color: var(--primary-dark); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }

/* Admin "portal" styling for Enrollments list (wp-admin) */
.column-enroll_status .status-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending { background: #FEF3C7; color: #B45309; }
.status-paid { background: #DCFCE7; color: #15803D; }
.status-cancelled { background: #FEE2E2; color: #B91C1C; }


/* =========================================================
   19. STORY CAROUSEL (iSkills-style "REAL # / VERIFIED" video row)
   ========================================================= */
.story-carousel-section { background: var(--dark); padding: 70px 0 60px; overflow: hidden; }
.story-carousel-heading { color: var(--white); font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 10px; }
.story-carousel-heading strong, .story-carousel-heading .accent { color: #3B82F6; }
.story-carousel-sub { color: var(--gray-light); font-size: 15px; margin-bottom: 36px; }
.story-carousel-wrap { overflow-x: auto; scrollbar-width: thin; padding: 4px 0 12px; }
.story-carousel-track { display: flex; gap: 18px; padding: 0 24px; width: max-content; }
.real-card {
  position: relative; width: 230px; aspect-ratio: 3/4.2; border-radius: var(--radius);
  overflow: hidden; background: #111; flex-shrink: 0; display: block;
  box-shadow: var(--shadow-lg); transition: transform .2s ease;
}
.real-card:hover { transform: translateY(-4px); }
.real-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.real-card-noimg { position: absolute; inset: 0; opacity: .55; }
.real-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.real-verified {
  position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--success); color: #fff;
  font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em;
}
.real-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--dark);
  display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow);
}
.real-card-footer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,0.95) 100%);
}
.real-stars { color: #FBBF24; font-size: 13px; margin-bottom: 4px; }
.real-result { color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.real-watch { color: #D1D5DB; font-size: 11px; }
.real-watch strong { color: #fff; }
.story-carousel-hint { color: var(--gray-light); font-size: 13px; margin-top: 20px; }
@media (max-width: 640px) { .real-card { width: 190px; } }

.login-btn { flex-shrink: 0; }
@media (max-width: 640px) { .login-btn { display: none; } }
