/* ─── BASE RESET & GLOBAL ─── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  font-family: var(--font-base, 'Inter', 'Poppins', sans-serif);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Poppins', 'Inter', sans-serif);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.18;
}

p { font-size: 0.96rem; line-height: 1.72; }

strong { font-weight: 700; }

/* ─── KEYFRAME ANIMATIONS ─── */
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(22px,-22px) scale(1.04); }
  66%       { transform: translate(-16px,16px) scale(0.97); }
}

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

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.3); }
  50%       { box-shadow: 0 18px 45px rgba(37,211,102,0.55); transform: scale(1.01); }
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

@keyframes spinRing { to { transform: rotate(360deg); } }

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

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

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

@keyframes rotateRing {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0); }
}

@keyframes gPulse {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(16,185,129,.45), 0 0 0 6px rgba(16,185,129,.14), 0 0 0 14px rgba(16,185,129,.07);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 28px 80px rgba(16,185,129,.6), 0 0 0 10px rgba(16,185,129,.11), 0 0 0 22px rgba(16,185,129,.04);
    transform: scale(1.04);
  }
}

/* ─── FADE-IN SCROLL ANIMATION ─── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-delay-1, .fd1 { transition-delay: 0.1s; }
.fade-in-delay-2, .fd2 { transition-delay: 0.2s; }
.fade-in-delay-3, .fd3 { transition-delay: 0.3s; }

/* ─── SECTION UTILITIES ─── */
.section { padding: 88px 0; }
.section-bg-light { background: var(--light-bg); }
.section-bg-dark   { background: var(--primary-dark); }

/* ─── SECTION LABEL (pill above heading) ─── */
.section-label, .sl {
  display: inline-block;
  background: rgba(246,185,59,0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(246,185,59,0.28);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

/* ─── SECTION TITLE ─── */
.section-title, .st {
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 44px;
  text-align: center;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.section-title::after, .st::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--grad-accent);
  border-radius: 4px;
  margin: 12px auto 0;
}

/* ─── FLOATING WHATSAPP BUTTON ─── */
.whatsapp-float, .wa-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 32px;
  right: 32px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  line-height: 56px;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  z-index: 100;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  border: 3px solid rgba(255,255,255,0.22);
}

.whatsapp-float:hover, .wa-float:hover {
  background: #20ba61;
  box-shadow: 0 14px 40px rgba(37,211,102,0.6);
  transform: scale(1.1);
  color: white;
}
