/* ==========================================================================
   CYBER BAITHAK — Main Stylesheet
   Theme: Navy #031533 | Orange #F27708 | Green #276517
   Fonts: Space Grotesk (headings) + Inter (body)
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Brand Palette */
  --primary:           #031533;
  --secondary:         #03234D;
  --accent-orange:     #F27708;
  --accent-orange-h:   #E56A00;
  --accent-green:      #276517;
  --accent-green-h:    #1E5410;

  /* Backgrounds */
  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --surface:     #FFFFFF;
  --surface-2:   #F1F5F9;

  /* Text */
  --text:        #031533;
  --text-muted:  #61686C;
  --text-light:  #FFFFFF;

  /* UI */
  --border:      #E5E7EB;
  --border-soft: #EEF2F7;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(3,21,51,.08);
  --shadow-md:  0 8px 28px rgba(3,21,51,.12);
  --shadow-lg:  0 20px 50px rgba(3,21,51,.16);
  --shadow-xl:  0 32px 64px rgba(3,21,51,.22);

  /* Shape */
  --radius:    14px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: 200ms ease;
}

/* ==========================================================================
   DARK THEME OVERRIDES
   ========================================================================== */
[data-theme="dark"] {
  --bg:          #0D1117;
  --bg-alt:      #161B22;
  --surface:     #161B22;
  --surface-2:   #1C2333;
  --text:        #E6EDF3;
  --text-muted:  #8B949E;
  --border:      #30363D;
  --border-soft: #21262D;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.3);
  --shadow-md:  0 8px 28px rgba(0,0,0,.45);
  --shadow-lg:  0 20px 50px rgba(0,0,0,.55);
  --shadow-xl:  0 32px 64px rgba(0,0,0,.65);
}

[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] .navbar-cb { background: rgba(13,17,23,0.95); border-color: var(--border); }
[data-theme="dark"] .navbar-cb.scrolled { background: rgba(13,17,23,.98); }
[data-theme="dark"] .brand-logo .brand-name { color: var(--text); }
[data-theme="dark"] .nav-link-cb { color: var(--text-muted) !important; }
[data-theme="dark"] .nav-link-cb:hover, [data-theme="dark"] .nav-link-cb.active { color: var(--text) !important; background: var(--surface-2); }
[data-theme="dark"] .hero-text-col { background: var(--bg); }
[data-theme="dark"] .hero-img-col::before { background: linear-gradient(to right, var(--bg) 0%, transparent 20%); }
[data-theme="dark"] .hero-h1 { color: var(--text); }
[data-theme="dark"] .hero-eyebrow { color: var(--accent-orange); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5 { color: var(--text); }
[data-theme="dark"] .section-title { color: var(--text); }
[data-theme="dark"] .vm-card, [data-theme="dark"] .feature-card, [data-theme="dark"] .speaker-card, [data-theme="dark"] .reg-card, [data-theme="dark"] .cert-card { background: var(--surface); border-color: var(--border); }

[data-theme="dark"] .btn-outline-navy { border-color: var(--text); color: var(--text) !important; }
[data-theme="dark"] .btn-outline-navy:hover { background: var(--text); color: var(--bg) !important; }
[data-theme="dark"] .free-highlight-banner { background: rgba(242,119,8,.08); }
[data-theme="dark"] .req-list li { border-color: var(--border); color: var(--text-muted); }
[data-theme="dark"] .powered-by-section { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .powered-by-inner span { color: var(--text-muted); }
[data-theme="dark"] .powered-by-inner a span { color: var(--text); }
[data-theme="dark"] .section-alt { background: var(--bg-alt); }
[data-theme="dark"] .tricolor-strip { opacity: .8; }

/* Dark theme specific fixes for icons & fonts that remained dark */
[data-theme="dark"] .navbar-toggler i { color: var(--text) !important; }
[data-theme="dark"] .stat-item b { color: var(--text); }
[data-theme="dark"] .vm-icon { color: var(--text); background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .cert-icon { color: var(--text); background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .speaker-links a { color: var(--text); }
[data-theme="dark"] .speaker-links a:hover { color: #fff !important; }
[data-theme="dark"] .bi-building { color: var(--text) !important; }
[data-theme="dark"] .powered-by-section a { color: var(--text) !important; }


/* Mobile collapse menu container style */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-top: 0.8rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
  }
}

/* Mobile Floating Register Button */
.mobile-float-reg-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1030;
  background: var(--accent-orange);
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(242,119,8,.4);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}
.mobile-float-reg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,119,8,.5);
}
@media (min-width: 992px) {
  .mobile-float-reg-btn {
    display: none !important;
  }
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(242,119,8,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(242,119,8,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,119,8,0); }
}

@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(39,101,23,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(39,101,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(39,101,23,0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

@keyframes rotateBadge {
  from { transform: rotate(-3deg) scale(0.9); opacity: 0; }
  to   { transform: rotate(0deg) scale(1);   opacity: 1; }
}

@keyframes borderPulse {
  0%, 100% { border-color: var(--accent-orange); }
  50%      { border-color: var(--accent-green); }
}



@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes waveIn {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent-orange); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   TRICOLOR STRIP
   ========================================================================== */
.tricolor-strip {
  height: 4px;
  background: linear-gradient(90deg, #F27708 0%, #F27708 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #276517 66.6%, #276517 100%);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-cb {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .8rem 0;
  transition: background var(--ease), box-shadow var(--ease);
  z-index: 1040;
}
.navbar-cb.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.98);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.brand-logo .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -.02em;
}
.brand-logo .brand-name span { color: var(--accent-orange); }

.nav-link-cb {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-muted) !important;
  padding: .4rem .6rem !important;
  border-radius: 8px;
  transition: color var(--ease), background var(--ease);
  margin: 0 .05rem;
  position: relative;
}
.nav-link-cb::after {
  content: '';
  position: absolute;
  bottom: 2px; left: .6rem; right: .6rem;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav-link-cb:hover, .nav-link-cb:focus {
  color: var(--primary) !important;
  background: var(--bg-alt);
}
.nav-link-cb:hover::after, .nav-link-cb.active::after { transform: scaleX(1); }
.nav-link-cb.active { color: var(--primary) !important; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-cb,
.btn-orange-cb,
.btn-outline-navy,
.btn-green-cb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer on hover */
.btn-primary-cb::after,
.btn-orange-cb::after,
.btn-green-cb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity .2s;
}
.btn-primary-cb:hover::after,
.btn-orange-cb:hover::after,
.btn-green-cb:hover::after {
  opacity: 1;
  animation: shimmer .8s linear;
}

.btn-primary-cb {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn-primary-cb:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3,21,51,.25);
}

.btn-orange-cb {
  background: var(--accent-orange);
  color: #fff !important;
  border-color: var(--accent-orange);
}
.btn-orange-cb:hover {
  background: var(--accent-orange-h);
  border-color: var(--accent-orange-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,119,8,.35);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn-outline-navy:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-green-cb {
  background: var(--accent-green);
  color: #fff !important;
  border-color: var(--accent-green);
}
.btn-green-cb:hover {
  background: var(--accent-green-h);
  border-color: var(--accent-green-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39,101,23,.35);
}

.theme-toggle-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(15deg);
}
[data-theme="dark"] .theme-toggle-btn {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--accent-orange);
}
[data-theme="dark"] .theme-toggle-btn:hover {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

/* Helpline / Phone CTA */
.btn-helpline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--primary) !important;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .92rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.3);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-helpline:hover {
  background: var(--accent-orange);
  color: #fff !important;
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}
.btn-helpline i {
  animation: pulseRing 2s infinite;
  background: var(--accent-green);
  color: #fff;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO — FULL WIDTH LAYOUT
   ========================================================================== */
header.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 0; /* accounted by grid */
}

div.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #162a45 100%);
  padding: 6.5rem 1rem 5.5rem;
  text-align: center;
  position: relative;
  min-height: auto;
}
div.hero-section::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
div.hero-section .hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(242,119,8,0.15); border: 1px solid rgba(242,119,8,0.35);
  color: var(--accent-orange); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 50px; margin-bottom: 1.2rem;
}
div.hero-section .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 0.75rem;
}
div.hero-section .hero-title span { color: var(--accent-orange); }
div.hero-section .hero-subtitle { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 480px; margin: 0 auto; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  flex: 1;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 4rem 5rem max(2rem, calc((100vw - 1200px) / 2 + 1.5rem));
  background: var(--bg);
  position: relative;
  z-index: 1;
}

/* Dot grid on text col */
.hero-text-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(3,21,51,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-text-col > * { position: relative; z-index: 1; }

.hero-img-col {
  position: relative;
  overflow: hidden;
}

.hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
}

.hero-img-col:hover .hero-full-img { transform: scale(1.04); }

/* Gradient fade on left edge of image */
.hero-img-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 20%);
  z-index: 1;
  pointer-events: none;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  animation: fadeInLeft .7s ease both;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
  animation: fadeInUp .8s .1s ease both;
}
.hero-h1 .highlight {
  color: var(--accent-orange);
  position: relative;
  display: inline-block;
}
.hero-h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--accent-green);
  border-radius: 2px;
  animation: waveIn .9s .8s ease both;
}

/* FREE highlight badge inline in hero */
.free-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, #fff8f0, #fff3e0);
  border: 2px solid var(--accent-orange);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  animation: scaleIn .6s .2s ease both, pulseRing 3s 1.5s infinite;
}
.free-inline-badge i { font-size: .9rem; }

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 32rem;
  margin-bottom: 2rem;
  animation: fadeInUp .8s .25s ease both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.4rem;
  animation: fadeInUp .8s .35s ease both;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  animation: fadeInUp .8s .45s ease both;
}
.stat-item b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item span {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: .25rem;
  display: block;
}

/* Floating badge on hero image */
.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3,21,51,.92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.1);
  min-width: 180px;
  z-index: 2;
  animation: float 4s ease-in-out infinite, fadeInUp .9s .6s ease both;
}
.hero-badge .hb-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-orange);
  font-weight: 700;
}
.hero-badge .hb-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: .2rem 0;
}
.hero-badge .hb-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* FREE big badge on image */
.hero-free-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: .7rem 1.2rem;
  border-radius: 12px;
  z-index: 2;
  animation: rotateBadge .6s .8s ease both, pulseRing 2.5s 2s infinite;
  box-shadow: 0 4px 16px rgba(242,119,8,.4);
  text-align: center;
  line-height: 1.2;
}
.hero-free-tag small {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
}

/* ==========================================================================
   SECTION SHELLS
   ========================================================================== */
.section-cb { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: .5rem;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .85rem;
  letter-spacing: -.015em;
}

.section-sub {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 1rem;
}

/* ==========================================================================
   FREE HIGHLIGHT BANNER (in registration section)
   ========================================================================== */
.free-highlight-banner {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
  animation: borderPulse 3s infinite;
  position: relative;
  overflow: hidden;
}
.free-highlight-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
}
.fhb-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}
.fhb-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: .3rem;
}
.fhb-text p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin: 0; }

/* ==========================================================================
   ABOUT / VISION CARDS
   ========================================================================== */
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vm-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,21,51,.07);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.vm-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .7rem; }
.vm-card p  { color: var(--text-muted); line-height: 1.78; margin: 0; }

/* ==========================================================================
   FEATURE CARDS (What We Cover)
   ========================================================================== */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 1.8rem; margin-bottom: .9rem; display: block; }
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ==========================================================================
   SPEAKERS
   ========================================================================== */
.speaker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
}
.speaker-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.speaker-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  transition: transform .4s ease;
}
.speaker-card:hover .speaker-photo { transform: scale(1.04); }
.speaker-body { padding: 1.4rem 1.5rem 1.6rem; }
.speaker-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .15rem; }
.speaker-role  { color: var(--accent-orange); font-weight: 600; font-size: .86rem; margin-bottom: .15rem; }
.speaker-org   { color: var(--text-muted); font-size: .83rem; margin-bottom: 1rem; }
.speaker-links a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--primary);
  margin-right: .45rem;
  border: 1px solid var(--border);
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.speaker-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   REGISTRATION CARDS
   ========================================================================== */
.reg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  height: 100%;
}
.reg-card h3 { font-weight: 800; font-size: 1.3rem; margin-bottom: .65rem; }
.reg-card p  { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.req-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.req-list li {
  display: flex; gap: .6rem; align-items: flex-start;
  color: var(--text-muted);
  font-size: .91rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.req-list li:last-child { border-bottom: none; }
.req-list li i { color: var(--accent-green); margin-top: .2rem; flex-shrink: 0; }

/* ==========================================================================
   CERTIFICATE CARDS
   ========================================================================== */
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,21,51,.07);
  color: var(--primary);
  font-size: 1.8rem;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.cert-card:hover .cert-icon {
  background: var(--accent-orange);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}
.cert-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.cert-card p  { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ==========================================================================
   VOLUNTEER SECTION
   ========================================================================== */
.volunteer-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.volunteer-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(242,119,8,.12);
  animation: float 5s ease-in-out infinite;
}
.volunteer-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(39,101,23,.15);
  animation: float 7s 1s ease-in-out infinite;
}
.volunteer-banner .vb-content { position: relative; z-index: 1; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--ease);
}
.badge-pill:hover { background: rgba(255,255,255,.22); }

/* Volunteer requirement note */
.vol-requirement-note {
  background: rgba(242,119,8,.15);
  border: 1px solid rgba(242,119,8,.4);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1rem;
}
.vol-requirement-note i { color: var(--accent-orange); flex-shrink: 0; margin-top: .15rem; }
.vol-requirement-note span { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.6; }
.vol-requirement-note strong { color: var(--accent-orange); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem;
  background: linear-gradient(0deg, rgba(3,21,51,.88) 0%, transparent 100%);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F27708 0%, #FFFFFF 50%, #276517 100%);
}
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-strip p  { color: rgba(255,255,255,.75); }

/* ==========================================================================
   POWERED BY JSI (before footer)
   ========================================================================== */
.powered-by-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.powered-by-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.powered-by-inner span {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.jsi-logo-link {
  display: inline-flex;
  align-items: center;
  transition: transform var(--ease), opacity var(--ease);
}
.jsi-logo-link:hover { transform: scale(1.05); opacity: .85; }
.jsi-logo-link img { height: 34px; width: auto; object-fit: contain; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-cb {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 0;
}

.footer-brand img {
  height: 48px; width: auto; object-fit: contain;
  margin-bottom: .8rem;
}
.footer-cb h5 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1.1rem;
  letter-spacing: .02em;
}
.footer-cb a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--ease);
}
.footer-cb a:hover { color: var(--accent-orange); }
.footer-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  margin-right: .45rem;
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.footer-social a:hover {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

/* Helpline in footer */
.footer-helpline {
  background: rgba(39,101,23,.25);
  border: 1px solid rgba(39,101,23,.5);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.footer-helpline .fh-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.footer-helpline .fh-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-top: .1rem;
}
.footer-helpline .fh-icon {
  width: 40px; height: 40px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  animation: pulseGreen 2.5s infinite;
}

/* Footer disclaimer — highlighted box */
.footer-disclaimer {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid var(--accent-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0 0;
}
.footer-disclaimer p {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin: 0;
}
.footer-disclaimer a { color: var(--accent-orange) !important; text-decoration: underline; }
.footer-disclaimer strong { color: rgba(255,255,255,.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding: 1.4rem 0;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.footer-bottom strong { color: rgba(255,255,255,.8); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(242,119,8,.4);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 1000;
  border: none;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-orange-h); transform: translateY(-2px); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-stagger.in > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.reveal-stagger.in > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.reveal-stagger.in > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .hero-text-col { padding: 7rem 3rem 5rem 3rem; }
}

@media (max-width: 991.98px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-text-col {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
    align-items: center;
  }
  .hero-text-col::before { display: none; }
  .hero-h1 .highlight::after { display: none; }
  .hero-img-col {
    height: 55vw;
    min-height: 300px;
    max-height: 480px;
  }
  .hero-img-col::before { background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%); }
  .hero-lead { margin: 0 auto 1.8rem; }
  .stat-row { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-badge { bottom: 1rem; }
  .hero-free-tag { top: 1rem; right: 1rem; }
  .volunteer-banner { padding: 2.5rem 2rem; }
  .free-highlight-banner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 575.98px) {
  .hero-h1 { font-size: 1.85rem; }
  .section-cb { padding: 4rem 0; }
  .vm-card, .reg-card, .cert-card { padding: 1.8rem 1.4rem; }
  .footer-cb { padding: 3rem 0 0; }
  .volunteer-banner { padding: 2rem 1.5rem; }
  .powered-by-section { padding: 1rem 0; }
}

/* ==========================================================================
   FLOW DIAGRAM
   ========================================================================== */
.flow-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .flow-container { flex-direction: row; justify-content: center; align-items: flex-start; gap: 0.5rem; } }
.flow-step { text-align: center; flex: 1; max-width: 180px; }
.flow-icon { width: 60px; height: 60px; background: rgba(242, 119, 8, 0.1); color: var(--accent-orange); border: 2px dashed var(--accent-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; transition: all 0.3s ease; }
.flow-step:hover .flow-icon { background: var(--accent-orange); color: #fff; transform: scale(1.1); border-style: solid; }
.flow-content h4 { font-size: 1.1rem; color: var(--text); font-weight: 700; margin-bottom: 0.5rem; }
.flow-content p { font-size: 0.85rem; color: var(--text-muted); }
.flow-connector { display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 1.5rem; padding: 1rem 0; }
@media (min-width: 768px) { .flow-connector { padding: 0; margin-top: 20px; } }
@keyframes slideRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes slideDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.flow-connector .bi-chevron-right { animation: slideRight 1.5s infinite ease-in-out; }
.flow-connector .bi-chevron-down { animation: slideDown 1.5s infinite ease-in-out; }

/* ==========================================================================
   TESTIMONIALS MARQUEE
   ========================================================================== */
.marquee-container { width: 100%; overflow: hidden; white-space: nowrap; padding: 1rem 0; position: relative; }
.marquee-container::before, .marquee-container::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 2; }
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-content { display: inline-flex; animation: scroll-left 25s linear infinite; gap: 1.5rem; padding-left: 1.5rem; }
.marquee-container:hover .marquee-content { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 0.75rem)); } }
.testimonial-card { white-space: normal; width: 320px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.t-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--accent-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; margin-right: 1rem; flex-shrink: 0; }
.t-name { font-weight: 700; color: var(--dark-navy); font-size: 0.95rem; }
.t-rating { font-size: 0.85rem; margin-top: 2px; }
.t-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; font-style: italic; }

.marquee-centered {
    animation: none !important;
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding-left: 0 !important;
}
