/* ============================================================
   HOME PAGE — v3
   Premium modern design for Avan front page
   ============================================================ */

/* ----- TOKENS (scoped to home) ----- */
:root {
  --h-ink:       #2b173f;
  --h-ink-soft:  #5c4d6e;
  --h-cream:     #faf6ef;
  --h-warm:      #f4ede2;
  --h-surface:   #ffffff;
  --h-gold:      #c99835;
  --h-gold-soft: #f2dba7;
  --h-coral:     #e07852;
  --h-coral-soft:#fbe6dd;
  --h-teal:      #38988e;
  --h-teal-soft: #d6f3ee;
  --h-mint:      #5ec0b3;
  --h-purple:    #7765c9;
  --h-purple-soft:#ece6fa;
  --h-mustard:   #e0a033;
  --h-rose:      #f0c5b5;
}

/* ----- HERO SECTION ----- */
.hp-hero-v3 {
  position: relative;
  padding: 24px 0 0;
  overflow: hidden;
}

.hp-hero-grid-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Eyebrow */
.hp-eyebrow-v3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--h-surface);
  border: 1px solid rgba(43,23,63,.06);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--h-ink-soft);
  max-width: 100%;
}

.hp-eyebrow-v3-dots {
  display: flex;
}

.hp-eyebrow-v3-dots span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--h-surface);
  display: block;
}

.hp-eyebrow-v3-dots span:nth-child(1) { background: var(--h-mustard); z-index: 3; }
.hp-eyebrow-v3-dots span:nth-child(2) { background: var(--h-teal); margin-right: -7px; z-index: 2; }
.hp-eyebrow-v3-dots span:nth-child(3) { background: var(--h-coral); margin-right: -7px; z-index: 1; }

/* Hero text */
.hp-hero-v3 h1 {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 16px 0 14px;
}

.hp-hero-v3 .hp-hl-v3 {
  display: inline-block;
  position: relative;
  z-index: 0;
}

.hp-hero-v3 .hp-hl-v3::after {
  content: "";
  position: absolute;
  inset: 6px -4px -2px -4px;
  background: var(--h-gold-soft);
  border-radius: 16px 4px 20px 4px / 4px 18px 4px 16px;
  z-index: -1;
}

.hp-hero-v3 .hp-lead-v3 {
  font-size: 15px;
  line-height: 1.9;
  color: var(--h-ink-soft);
  max-width: 500px;
  margin: 0;
}

/* Hero actions */
.hp-actions-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

/* Hero proof strip */
.hp-proof-v3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.hp-proof-avs-v3 {
  display: flex;
}

.hp-proof-avs-v3 span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--h-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.hp-proof-avs-v3 span + span { margin-right: -10px; }

.hp-proof-avs-v3 span:nth-child(1) { background: linear-gradient(135deg, var(--h-mustard), var(--h-coral)); }
.hp-proof-avs-v3 span:nth-child(2) { background: linear-gradient(135deg, var(--h-teal), var(--h-mint)); }
.hp-proof-avs-v3 span:nth-child(3) { background: linear-gradient(135deg, var(--h-purple), #5e4eb8); }

.hp-proof-text-v3 {
  font-size: 12px;
  color: var(--h-ink-soft);
}

.hp-proof-text-v3 strong {
  display: block;
  color: var(--h-ink);
  font-size: 13px;
}

/* Hero visual — classroom photo */
.hp-visual-v3 {
  position: relative;
  min-height: 300px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(155deg, #f2dba7 0%, #f5c8b5 35%, #e8d5c4 100%);
  box-shadow: 0 20px 60px rgba(43,23,63,.10);
}

.hp-visual-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hp-floating-v3 {
  position: absolute;
  z-index: 2;
  background: var(--h-surface);
  border-radius: 24px;
  padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(43,23,63,.07);
  display: flex;
  align-items: center;
  gap: 10px;
  top: 14px;
  right: 14px;
  max-width: 190px;
}

.hp-floating-v3 .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--h-teal), var(--h-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

.hp-floating-v3 strong {
  font-size: 13px;
  line-height: 1.3;
  display: block;
}

.hp-floating-v3 span {
  font-size: 10px;
  color: var(--h-ink-soft);
  display: block;
  margin-top: 2px;
}

.hp-chip-v3 {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 14px;
  background: var(--h-ink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 20px 60px rgba(43,23,63,.10);
  font-size: 13px;
  font-weight: 800;
}

/* ----- BUTTONS (home specific) ----- */
.hp-btn-v3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 16px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hp-btn-v3:active { transform: scale(.97); }

.hp-btn-dark-v3 {
  background: var(--h-ink);
  color: #fff;
  box-shadow: 0 8px 30px rgba(43,23,63,.07);
}

.hp-btn-dark-v3:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 60px rgba(43,23,63,.10);
}

.hp-btn-outline-v3 {
  background: var(--h-surface);
  color: var(--h-ink);
  border: 2px solid rgba(43,23,63,.10);
}

.hp-btn-outline-v3:hover {
  transform: translateY(-1px);
  border-color: var(--h-ink);
}

.hp-btn-accent-v3 {
  background: linear-gradient(135deg, var(--h-gold), var(--h-mustard));
  color: var(--h-ink);
  box-shadow: 0 12px 32px rgba(201,152,53,.22);
}

.hp-btn-accent-v3:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(201,152,53,.35);
}

.hp-btn-lg-v3 {
  padding: 18px 32px;
  font-size: 15px;
  border-radius: 24px;
}

.hp-btn-sm-v3 {
  padding: 10px 18px;
  font-size: 12px;
}

/* ----- TICKER ----- */
.hp-ticker-v3 {
  margin-top: 18px;
  overflow: hidden;
  background: var(--h-ink);
  padding: 18px 0;
  position: relative;
  width: 100%;
}

.hp-ticker-track-v3 {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  animation: hp-tick-v3 30s linear infinite;
  width: fit-content;
}

.hp-ticker-track-v3 span { opacity: .9; flex-shrink: 0; }
.hp-ticker-track-v3 span.sep { opacity: .35; font-weight: 400; flex-shrink: 0; }

@keyframes hp-tick-v3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- SECTIONS ----- */
.hp-section-v3 {
  padding-block: 96px;
}

.hp-section-head-v3 {
  margin-bottom: 48px;
  max-width: 600px;
}

.hp-section-head-v3.center {
  margin-inline: auto;
  text-align: center;
}

.hp-kicker-v3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 999px;
}

.hp-section-head-v3 h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 16px 0 8px;
}

.hp-section-head-v3 p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--h-ink-soft);
  margin: 0;
}

/* ----- PILLARS ----- */
.hp-pillars-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hp-pillar-v3 {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 32px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(43,23,63,.07);
}

.hp-pillar-v3::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -28px;
  width: 100px;
  height: 100px;
  border-radius: 42% 58% 35% 65% / 48% 52% 48% 52%;
  background: rgba(255,255,255,.14);
}

.hp-pillar-v3:nth-child(1) { background: linear-gradient(150deg, #f5c460, #e8984a); color: var(--h-ink); }
.hp-pillar-v3:nth-child(2) { background: linear-gradient(150deg, var(--h-teal), var(--h-mint)); color: #fff; }
.hp-pillar-v3:nth-child(3) { background: linear-gradient(150deg, var(--h-coral), var(--h-rose)); color: #fff; }
.hp-pillar-v3:nth-child(4) { background: linear-gradient(150deg, var(--h-purple), #5e4eb8); color: #fff; }

.hp-pillar-icon-v3 {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,23,63,.85);
  color: #fff;
  font-size: 26px;
  position: relative;
  z-index: 1;
}

.hp-pillar-v3:nth-child(4) .hp-pillar-icon-v3 {
  background: var(--h-gold-soft);
  color: var(--h-ink);
}

.hp-pillar-v3 h3 {
  font-size: 24px;
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.hp-pillar-v3 p {
  font-size: 13px;
  position: relative;
  z-index: 1;
  opacity: .88;
  margin-top: 6px;
  line-height: 1.85;
}

/* ----- COURSES ----- */
.hp-courses-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hp-course-v3 {
  background: var(--h-surface);
  border-radius: 32px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(43,23,63,.05);
  border: 1px solid rgba(43,23,63,.04);
}

.hp-course-top-v3 {
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hp-course-top-v3::before {
  content: "";
  position: absolute;
  top: -32px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50% 50% 38% 62% / 47% 53% 47% 53%;
  background: rgba(255,255,255,.14);
}

.hp-course-v3:nth-child(1) .hp-course-top-v3 { background: linear-gradient(150deg, #f5c460, #e8984a); color: var(--h-ink); }
.hp-course-v3:nth-child(2) .hp-course-top-v3 { background: linear-gradient(150deg, var(--h-purple), #5e4eb8); color: #fff; }

.hp-course-head-v3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hp-course-icon-v3 {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(43,23,63,.88);
  color: #fff;
}

.hp-course-v3:nth-child(2) .hp-course-icon-v3 {
  background: var(--h-gold-soft);
  color: var(--h-ink);
}

.hp-course-badge-v3 {
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(43,23,63,.85);
  color: var(--h-mint);
}

.hp-course-v3:nth-child(2) .hp-course-badge-v3 {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.hp-course-top-v3 h3 {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 24px;
}

.hp-course-top-v3 > p {
  position: relative;
  z-index: 1;
  font-size: 12px;
  opacity: .82;
  margin-top: 4px;
}

.hp-course-meta-v3,
.hp-course-foot-v3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}

.hp-course-meta-v3 {
  font-size: 12px;
  color: var(--h-ink-soft);
  font-weight: 700;
}

.hp-course-foot-v3 {
  border-top: 1px dashed rgba(43,23,63,.08);
}

.hp-course-price-v3 small {
  display: block;
  font-size: 10px;
  color: var(--h-ink-soft);
  font-weight: 700;
}

.hp-course-price-v3 strong {
  font-size: 20px;
}

.hp-course-cta-v3 {
  background: var(--h-ink);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hp-course-v3:nth-child(2) .hp-course-cta-v3 {
  background: var(--h-warm);
  color: var(--h-ink);
}

/* ----- EVENTS ----- */
.hp-events-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hp-event-feature-v3 {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(43,23,63,.07);
  background: linear-gradient(150deg, #f5c460, #e8984a);
  color: var(--h-ink);
}

.hp-event-feature-v3::before {
  content: "";
  position: absolute;
  top: -36px;
  left: -22px;
  width: 150px;
  height: 150px;
  border-radius: 43% 57% 34% 66% / 49% 44% 56% 51%;
  background: rgba(255,255,255,.14);
}

.hp-event-feature-v3 .stamp {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: var(--h-ink);
  color: var(--h-gold-soft);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
}

.hp-event-feature-v3 .date {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 18px;
}

.hp-event-feature-v3 .date strong {
  font-size: 60px;
  line-height: .85;
  letter-spacing: -.03em;
}

.hp-event-feature-v3 .date span {
  font-size: 20px;
  font-weight: 800;
}

.hp-event-feature-v3 h3 {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 24px;
}

.hp-event-feature-v3 p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(43,23,63,.70);
  margin-top: 4px;
}

.hp-event-card-v3 {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--h-surface);
  border: 1px solid rgba(43,23,63,.05);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(43,23,63,.05);
}

.hp-event-date-v3 {
  width: 70px;
  height: 70px;
  flex: none;
  border-radius: 16px;
  background: var(--h-teal-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hp-event-date-v3 strong {
  font-size: 26px;
  line-height: 1;
}

.hp-event-date-v3 span {
  font-size: 10px;
  font-weight: 800;
  color: var(--h-teal);
  margin-top: 3px;
}

.hp-event-copy-v3 small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--h-teal);
  letter-spacing: .04em;
}

.hp-event-copy-v3 strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin-top: 4px;
}

.hp-event-copy-v3 p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--h-ink-soft);
}

/* ----- CTA BANNER ----- */
.hp-cta-v3 {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--h-ink);
  color: #fff;
  padding: 48px 24px;
  box-shadow: 0 20px 60px rgba(43,23,63,.10);
}

.hp-cta-v3::before,
.hp-cta-v3::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hp-cta-v3::before {
  top: -40px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--h-mustard), var(--h-coral));
  opacity: .45;
}

.hp-cta-v3::after {
  bottom: -50px;
  right: -24px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--h-purple), #5e4eb8);
  opacity: .32;
}

.hp-cta-inner-v3 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hp-cta-v3 .hp-kicker-v3 {
  background: var(--h-gold-soft);
  color: var(--h-ink);
}

.hp-cta-v3 h2 {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
}

.hp-cta-v3 p {
  margin-top: 8px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.9;
}

.hp-cta-actions-v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.hp-cta-actions-v3 .hp-btn-v3 {
  min-height: 52px;
  justify-content: space-between;
}

.hp-cta-actions-v3 .hp-btn-accent-v3 {
  background: linear-gradient(135deg, var(--h-mustard), var(--h-coral));
  color: var(--h-ink);
}

.hp-cta-actions-v3 .hp-btn-outline-v3 {
  background: var(--h-surface);
  color: var(--h-ink);
  border-color: transparent;
}

/* ----- WRAPPER ----- */
.hp-wrap-v3 {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box !important;
}

/* ============================================================
   TABLET — 640px+
   ============================================================ */
@media (min-width: 640px) {
  .hp-visual-v3 { min-height: 380px; }
  .hp-actions-v3 { grid-template-columns: auto auto; justify-content: flex-start; }
  .hp-pillars-v3 { grid-template-columns: 1fr 1fr; }
  .hp-courses-v3 { grid-template-columns: 1fr 1fr; }
  .hp-events-v3 { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .hp-cta-inner-v3 { grid-template-columns: 1fr 1fr; align-items: center; }
  .hp-cta-actions-v3 { max-width: 320px; margin-right: auto; }
}

/* ============================================================
   DESKTOP — 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .hp-hero-v3 { padding-top: 48px; }
  .hp-hero-grid-v3 {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
  }
  .hp-visual-v3 { min-height: 480px; }
  .hp-floating-v3 { top: 20px; right: 20px; max-width: 210px; padding: 16px 18px; }
  .hp-chip-v3 { bottom: 22px; left: 18px; padding: 14px 22px; font-size: 15px; }
  .hp-pillars-v3 { grid-template-columns: repeat(4, 1fr); }
  .hp-pillar-v3:nth-child(2),
  .hp-pillar-v3:nth-child(4) { margin-top: 32px; }
  .hp-pillar-v3 { min-height: 260px; }
  .hp-section-v3 { padding-block: 96px; }
  .hp-cta-v3 { padding: 64px; }
}

/* WIDE — 1280px+ */
@media (min-width: 1280px) {
  .hp-wrap-v3 { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-ticker-track-v3 { animation: none; }
  .hp-floating-v3 { animation: none; }
  .hp-reveal { opacity: 1 !important; transform: none !important; }
  .hp-badge-pulse { animation: none; }
}

/* ============================================================
   ENHANCED ANIMATIONS & MODERN EFFECTS
   ============================================================ */

/* -- Hero background blobs -- */
.hp-hero-v3::before,
.hp-hero-v3::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.hp-hero-v3::before {
  width: 420px; height: 420px;
  background: var(--h-gold-soft);
  opacity: .35;
  top: -120px; right: -180px;
}
.hp-hero-v3::after {
  width: 340px; height: 340px;
  background: var(--h-teal-soft);
  opacity: .3;
  bottom: -100px; left: -140px;
}

/* -- Floating card animation -- */
.hp-floating-v3 {
  animation: hpFloat 5s ease-in-out infinite;
}
@keyframes hpFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

/* -- Chip badge pulse -- */
.hp-chip-v3 {
  animation: hpBadgePulse 3s ease-in-out infinite;
}
@keyframes hpBadgePulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(43,23,63,.10); }
  50%      { box-shadow: 0 24px 72px rgba(43,23,63,.18); }
}

/* -- Buttons: enhanced hover -- */
.hp-btn-v3 {
  position: relative;
  overflow: hidden;
}
.hp-btn-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.25) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.hp-btn-v3:hover::after { opacity: 1; }
.hp-btn-dark-v3:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(43,23,63,.12); }
.hp-btn-accent-v3:hover { transform: translateY(-2px) scale(1.02); }

/* -- Ticker: smoother + pause on hover -- */
.hp-ticker-track-v3 {
  animation-duration: 28s;
}
.hp-ticker-v3:hover .hp-ticker-track-v3 {
  animation-play-state: paused;
}

/* -- Section heading: staggered fade -- */
.hp-section-head-v3 {
  animation: hpFadeUp .7s cubic-bezier(.16,1,.3,1) both;
}
@keyframes hpFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -- Pillars: hover lift + scroll reveal -- */
.hp-pillar-v3 {
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
  cursor: default;
}
.hp-pillar-v3:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(43,23,63,.12);
}
.hp-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.hp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Course cards: hover glow -- */
.hp-course-v3 {
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
}
.hp-course-v3:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(43,23,63,.10);
}
.hp-course-top-v3 {
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.hp-course-v3:hover .hp-course-top-v3 {
  transform: scale(1.02);
}

/* -- Event cards: hover effect -- */
.hp-event-card-v3 {
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}
.hp-event-card-v3:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,23,63,.08);
}
.hp-event-feature-v3 {
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.hp-event-feature-v3:hover {
  transform: scale(1.01);
}

/* -- CTA: blob animation -- */
.hp-cta-v3::before {
  animation: hpCtaBlob1 8s ease-in-out infinite;
}
.hp-cta-v3::after {
  animation: hpCtaBlob2 10s ease-in-out infinite;
}
@keyframes hpCtaBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -15px) scale(1.12); }
  66%      { transform: translate(-10px, 10px) scale(.95); }
}
@keyframes hpCtaBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-18px, 15px) scale(1.12); }
}

/* -- Hero visual: subtle parallax-like zoom on hover -- */
.hp-visual-v3 img {
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.hp-visual-v3:hover img {
  transform: scale(1.04);
}

/* -- Eyebrow: subtle entrance -- */
.hp-eyebrow-v3 {
  animation: hpFadeUp .5s cubic-bezier(.16,1,.3,1) .05s both;
}
.hp-hero-v3 h1 {
  animation: hpFadeUp .6s cubic-bezier(.16,1,.3,1) .1s both;
}
.hp-hero-v3 .hp-lead-v3 {
  animation: hpFadeUp .6s cubic-bezier(.16,1,.3,1) .15s both;
}
.hp-actions-v3 {
  animation: hpFadeUp .6s cubic-bezier(.16,1,.3,1) .2s both;
}
.hp-proof-v3 {
  animation: hpFadeUp .6s cubic-bezier(.16,1,.3,1) .25s both;
}
.hp-visual-v3 {
  animation: hpFadeUp .7s cubic-bezier(.16,1,.3,1) .15s both;
}
