/* ============ PAKDEMY — style.css (light theme) ============ */
:root {
  --bg: #f7f8fd;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #10142b;
  --muted: #5b6178;
  --p1: #123a6b;   /* logo navy */
  --p2: #16a34a;   /* logo green */
  --p3: #0ea5e9;   /* sky */
  --grad: linear-gradient(92deg, #123a6b, #16a34a 60%, #0ea5e9);
  --shadow: 0 20px 50px rgba(16, 20, 43, 0.08);
  --radius: 20px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--p2); color: #fff; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content:center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px rgba(22, 163, 74, 0.3);
  text-align:center;
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(14, 165, 233, 0.4); }
.btn-ghost {
  background: #fff; color: var(--text);
  border-color: var(--border); box-shadow: var(--shadow);
}
.btn-ghost:hover { border-color: var(--p2); color: var(--p2); }
.btn-outline {
  background: #fff; color: var(--text);
  border-color: rgba(18, 58, 107, 0.35); width: 100%; justify-content: center;
}
.btn-outline:hover { background: rgba(22, 163, 74, 0.08); border-color: var(--p2); color: var(--p2); }
.btn-nav { padding: .55rem 1.3rem; font-size: .85rem; background: var(--grad); color: #fff; }
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ============ Navbar ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 5vw;
  transition: padding .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  opacity: 0; transition: opacity .35s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(16, 20, 43, 0.06);
  padding: .6rem 5vw;
}
.navbar.scrolled::before { opacity: 1; }
.logo img { height: 44px; width: auto; transition: height .3s; }
.navbar.scrolled .logo img { height: 36px; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-link {
  font-size: .92rem; color: var(--muted); position: relative; padding: .25rem 0;
  transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 5vw 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28;
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; background: #16a34a; top: -10%; left: -8%; }
.orb-2 { width: 420px; height: 420px; background: #0ea5e9; bottom: -12%; right: -6%; }
.orb-3 { width: 300px; height: 300px; background: #123a6b; top: 38%; left: 55%; opacity: .16; }
.grid-overlay {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(16, 20, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 43, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1.1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  color: var(--muted); font-size: .85rem; margin-bottom: 1.6rem;
  box-shadow: var(--shadow);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 94, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,94,.5); }
  70% { box-shadow: 0 0 0 10px rgba(22,163,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,94,0); }
}
.hero-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.08; letter-spacing: -2px; margin-bottom: 1.4rem; color: var(--text);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; will-change: transform; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 560px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-float-card {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1.1rem; border-radius: 16px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: left; will-change: transform;
  backdrop-filter: blur(4px);
}
.hero-float-card strong { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--text); }
.hero-float-card small { color: var(--muted); font-size: .72rem; }
.fc-icon { font-size: 1.4rem; }
.card-float-1 { top: 34%; left: -15%; animation: floaty 6s ease-in-out infinite; }
.card-float-2 { top: 44%; right: -15%; animation: floaty 7s ease-in-out infinite .8s; }
.card-float-3 { bottom: 10%; left: 4%; animation: floaty 6.5s ease-in-out infinite .4s; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--muted); font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
  z-index: 5;
}
.scroll-line {
  display: block; width: 1.5px; height: 56px;
  background: var(--border); border-radius: 2px; overflow: hidden;
}
.scroll-line-inner {
  display: block; width: 100%; height: 40%;
  background: var(--grad);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}
.scroll-hint:hover { color: var(--text); }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(18,58,107,.06), rgba(22,163,74,.07));
  padding: 1rem 0;
}
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: 2px; color: var(--muted); padding-right: .5rem;
}

/* ============ Sections ============ */
.section { padding: 7rem 5vw; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-tag {
  display: inline-block; padding: .35rem 1rem; border-radius: 999px;
  background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .3);
  color: #15803d; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -1.5px;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; margin-bottom: 1rem; color: var(--text);
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ============ Courses ============ */
.courses { background: var(--bg-2); }
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
  max-width: 1200px; margin: 0 auto;
}
.course-card {
  position: relative; padding: 1.4rem 1.6rem 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .3s, box-shadow .3s;
}
.course-card:hover { border-color: rgba(22, 163, 74, .45); box-shadow: 0 30px 60px rgba(16,20,43,.14); }
.course-card.featured {
  background: linear-gradient(165deg, rgba(22,163,74,.07), rgba(14,165,233,.06)), #fff;
  border-color: rgba(22, 163, 74, .4);
}
.card-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.14), transparent 70%);
  top: -130px; right: -130px; pointer-events: none;
}
.course-img-wrap {
  position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 1.3rem;
  transform: translateZ(30px);
}
.course-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .6s ease;
}
.course-card:hover .course-img { transform: scale(1.06); }
.course-icon { font-size: 2.2rem; margin-bottom: .9rem; transform: translateZ(40px); }
.course-badge {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px;
  background: rgba(14, 165, 233, .12); border: 1px solid rgba(14, 165, 233, .4); color: #0369a1;
  backdrop-filter: blur(6px);
}
.course-badge.hot { background: rgba(22, 163, 74, .14); border-color: rgba(22, 163, 74, .45); color: #15803d; }
.course-card h3 {
  font-family: var(--font-head); font-size: 1.4rem; margin-bottom: .6rem; color: var(--text);
  transform: translateZ(30px);
}
.course-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 1.1rem; transform: translateZ(20px); }
.course-list { list-style: none; margin-bottom: 1.2rem; transform: translateZ(20px); }
.course-list li {
  font-size: .88rem; color: var(--text); padding: .3rem 0 .3rem 1.5rem; position: relative;
}
.course-list li::before {
  content: '✦'; position: absolute; left: 0; color: var(--p2); font-size: .75rem;
}
.course-meta {
  display: flex; gap: 1.2rem; font-size: .8rem; color: var(--muted);
  margin-bottom: 1rem; padding-top: .9rem; border-top: 1px solid var(--border);
  transform: translateZ(20px);
}
.course-price {
  display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem;
  transform: translateZ(20px);
}
.price {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--p2);
}
.price-old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.course-card .btn { margin-top: auto; }

/* ============ Video ============ */
.video-section { background: var(--bg); }
.video-ceo {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.6rem;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem 1.3rem .5rem .55rem; box-shadow: var(--shadow);
  text-align: left;
}
.video-ceo img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(22, 163, 74, .5);
}
.video-ceo-meta strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--text); line-height: 1.25; }
.video-ceo-meta small { color: var(--muted); font-size: .74rem; }
.video-ceo-live {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-left: .4rem; padding-left: .9rem; border-left: 1px solid var(--border);
  color: var(--muted); font-size: .74rem; white-space: nowrap;
}
.video-wrap {
  position: relative; max-width: 960px; margin: 0 auto;
  border-radius: 24px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(16, 20, 43, .18);
  aspect-ratio: 16 / 9; background: #0b0e1a;
}
/* blurred backdrop fills the sides of portrait videos — no zoom, no crop */
.video-bg {
  position: absolute; inset: 0;
  background: url('../assets/img/video-thumb.png') center / cover no-repeat;
  filter: blur(30px) brightness(.55) saturate(1.2);
  transform: scale(1.2);
}
.video-wrap video {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block;
}
/* thumbnail shown until first play */
.video-thumb {
  position: absolute; inset: 0; z-index: 2;
  background: url('../assets/img/video-thumb.png') center / cover no-repeat;
  transition: opacity .5s ease;
}
.video-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,26,.1), rgba(11,14,26,.45));
}
.video-wrap.started .video-thumb { opacity: 0; pointer-events: none; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); display: grid; place-items: center; z-index: 3;
  box-shadow: 0 15px 40px rgba(22, 163, 74, .4);
  transition: opacity .3s, transform .3s;
}
.video-play::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, .5);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.video-play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.video-wrap.playing .video-play { opacity: 0; }
.video-wrap.playing:hover .video-play { opacity: .9; }
.video-label {
  position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 3;
  padding: .4rem .95rem; border-radius: 999px;
  background: rgba(11, 14, 26, .6); backdrop-filter: blur(8px);
  color: #fff; font-size: .78rem; letter-spacing: .5px;
  border: 1px solid rgba(255, 255, 255, .18);
}

/* ============ Instructors ============ */
.instructors-grid {
  display: flex; flex-direction: column; gap: 6rem;
  max-width: 1000px; margin: 0 auto;
}
.instructor-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 3.5rem; align-items: center;
}
.instructor-card.reverse { grid-template-columns: 1fr 300px; }
.instructor-card.reverse .instructor-img-wrap { order: 2; }
.instructor-card.reverse .instructor-info { order: 1; }
.instructor-img-wrap { position: relative; }
.instructor-img {
  border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  will-change: transform;
}
.img-ring {
  position: absolute; inset: -14px; border-radius: calc(var(--radius) + 8px);
  border: 1.5px dashed rgba(22, 163, 74, .4);
  animation: spin 24s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.instructor-course {
  display: inline-block; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
  background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .35); color: #15803d;
}
.instructor-course.alt { background: rgba(14, 165, 233, .1); border-color: rgba(14, 165, 233, .35); color: #0369a1; }
.instructor-info h3 {
  font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -1px; margin-bottom: .3rem; color: var(--text);
}
.instructor-role { color: var(--p3); font-size: .95rem; margin-bottom: 1rem; }
.instructor-bio { color: var(--muted); font-size: .98rem; margin-bottom: 1.6rem; max-width: 520px; }
.instructor-stats { display: flex; gap: 2.4rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.instructor-stats strong {
  display: block; font-family: var(--font-head); font-size: 1.7rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.instructor-stats small { color: var(--muted); font-size: .78rem; }
.instructor-socials { display: flex; gap: .7rem; }
.instructor-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  background: #fff; border: 1px solid var(--border); color: var(--muted);
  box-shadow: var(--shadow);
  transition: .3s;
}
.instructor-socials a:hover {
  color: #fff; border-color: var(--p2); background: var(--p2);
  transform: translateY(-3px);
}

/* ============ Certification ============ */
.certification { background: var(--bg-2); }
.cert-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.certificate {
  background: #fff; border-radius: 18px; padding: 14px;
  box-shadow: 0 35px 80px rgba(16, 20, 43, .16);
  transform-style: preserve-3d; will-change: transform;
}
.cert-border {
  border: 2px solid var(--p2); outline: 1px solid rgba(18, 58, 107, .35); outline-offset: -8px;
  border-radius: 12px; padding: 2.2rem 1.8rem; text-align: center;
  background: linear-gradient(160deg, rgba(22,163,74,.05), rgba(14,165,233,.05));
}
.cert-logo { height: 42px; margin: 0 auto 1.2rem; }
.cert-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  letter-spacing: 1px; color: var(--p1); margin-bottom: 1.4rem;
}
.cert-name { font-size: .8rem; color: var(--muted); }
.cert-student {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text);
  border-bottom: 1px solid var(--border); display: inline-block; padding: 0 1.5rem .2rem;
  margin: .3rem 0 .8rem;
}
.cert-desc { font-size: .8rem; color: var(--muted); }
.cert-course {
  font-family: var(--font-head); font-weight: 600; color: var(--p2);
  font-size: 1.05rem; margin: .3rem 0 1.6rem;
}
.cert-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.cert-sign { flex: 1; }
.sign-line { display: block; height: 1px; background: var(--text); margin-bottom: .3rem; }
.cert-sign small { font-size: .68rem; color: var(--muted); }
.cert-seal {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-size: 1.4rem; box-shadow: 0 8px 20px rgba(22,163,74,.35);
}
.cert-id { margin-top: 1.2rem; font-size: .68rem; letter-spacing: 1px; color: var(--muted); }
.cert-features { list-style: none; display: grid; gap: 1.3rem; }
.cert-features li { display: flex; gap: 1rem; align-items: flex-start; }
.cf-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cert-features strong { font-family: var(--font-head); font-size: 1rem; color: var(--text); display: block; }
.cert-features p { color: var(--muted); font-size: .9rem; }

/* ============ Stats ============ */
.stats { border-block: 1px solid var(--border); background: var(--bg); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1000px; margin: 0 auto; text-align: center;
}
.stat-item h2 {
  font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item p { color: var(--muted); font-size: .9rem; }

/* ============ Testimonials ============ */
.testimonials { background: var(--bg-2); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
  max-width: 1200px; margin: 0 auto;
}
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(16,20,43,.14); }
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 1rem; }
.testimonial-card > p { color: var(--muted); font-size: .95rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--av, var(--p1)); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.t-author strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--text); }
.t-author small { color: var(--muted); font-size: .78rem; }

/* ============ CTA ============ */
.cta-box {
  position: relative; max-width: 860px; margin: 0 auto; text-align: center;
  padding: 4.5rem 2rem; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(22,163,74,.1), rgba(14,165,233,.08)), #fff;
  border: 1px solid rgba(22, 163, 74, .3);
  box-shadow: var(--shadow);
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.cta-orb-1 { width: 260px; height: 260px; background: #16a34a; top: -100px; left: -80px; opacity: .25; }
.cta-orb-2 { width: 220px; height: 220px; background: #0ea5e9; bottom: -90px; right: -60px; opacity: .22; }
.cta-box h2 {
  position: relative; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -1px; margin-bottom: .8rem; color: var(--text);
}
.cta-box p { position: relative; color: var(--muted); margin-bottom: 2rem; }
.cta-form {
  position: relative; display: flex; gap: .8rem; max-width: 480px; margin: 0 auto;
}
.cta-form input {
  flex: 1; padding: .85rem 1.3rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: .92rem; outline: none;
  transition: border-color .3s;
}
.cta-form input:focus { border-color: var(--p2); }

/* ============ Footer ============ */
.footer { padding: 4.5rem 5vw 2rem; border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand .logo img { height: 48px; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: .95rem; margin-bottom: 1rem; color: var(--text); }
.footer-col a { display: block; color: var(--muted); font-size: .88rem; padding: .3rem 0; transition: color .25s; }
.footer-col a:hover { color: var(--p2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding-top: 1.6rem;
  border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem;
  flex-wrap: wrap; gap: .6rem;
}

/* ============ Reveal states (before GSAP runs) ============ */
.reveal-up, .reveal-card { opacity: 0; }

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .hero-float-card { display: none; }
}
@media (max-width: 1024px) {
  .courses-grid, .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; }
  .cert-grid { grid-template-columns: 1fr; gap: 3rem; }
  .instructor-card, .instructor-card.reverse { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .instructor-card.reverse .instructor-img-wrap { order: 0; }
  .instructor-card.reverse .instructor-info { order: 0; }
  .instructor-img-wrap { max-width: 280px; margin: 0 auto; }
  .instructor-bio { margin-inline: auto; }
  .instructor-stats, .instructor-socials { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 101; }
  .btn-nav { display: none; }
  .cta-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 5rem 6vw; }
  .logo img { height: 36px; }
}
