/* ATOPAI - Kids-Friendly Modern Design with Premium Typography */

/* Premium Font Stack - Poppins for body, Fredoka for headings */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400;1,8..60,500&display=swap');

:root {
  /* Blue & Yellow color palette - matching logo */
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --blue-deeper: #1E40AF;
  --yellow: #F59E0B;
  --yellow-light: #FBBF24;
  --yellow-dark: #D97706;
  --orange: #F97316;
  --orange-light: #FB923C;
  --cyan: #0EA5E9;
  --cyan-light: #38BDF8;
  --green: #10B981;
  --green-light: #34D399;
  --teal: #14B8A6;

  /* Backgrounds */
  --bg-start: #F0F9FF;
  --bg-end: #FFFBEB;
  --card-bg: rgba(255, 255, 255, 0.95);

  /* Enhanced Text Colors */
  --ink: #1e293b;
  --ink-light: #334155;
  --ink-soft: #475569;
  --muted: #2563EB;
  --text-secondary: #64748b;

  /* Fun accents - Blue & Yellow themed */
  --gradient-fun: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 50%, var(--yellow) 100%);
  --gradient-cool: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--cyan) 100%);
  --gradient-warm: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 50%, var(--yellow-light) 100%);
  --gradient-text: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);

  /* Keep purple for occasional accents */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
* { box-sizing: border-box; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html, body { height: 100%; margin: 0; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink);
  background-color: var(--bg-end);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.12) 0%, transparent 35%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Page wrapper for sticky footer */
.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Premium Paragraph Styling */
p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.85;
  letter-spacing: 0.015em;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

p.lead, .lead {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--ink-light);
}

/* Headings - Using Fredoka for friendly, rounded look */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

h1, .h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}

h3, .h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4, .h4 {
  font-size: 1.35rem;
  font-weight: 600;
}

/* Floating decorative elements */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

body::before {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
  top: -100px;
  right: -50px;
  animation-delay: -5s;
}

body::after {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.06));
  bottom: -150px;
  left: -100px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* ===== NAVBAR ===== */
.navbar {
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 2px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.1);
  padding: 0.5rem 0;
}

/* Logo styling - PROMINENT */
.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--gradient-fun);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.35),
    0 4px 10px rgba(245, 158, 11, 0.2),
    inset 0 -2px 5px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-glow 3s ease-in-out infinite;
}

.brand-mark:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow:
    0 12px 35px rgba(37, 99, 235, 0.45),
    0 6px 15px rgba(245, 158, 11, 0.3);
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) brightness(1.1);
  transition: transform 0.3s ease;
}

.brand-mark:hover img {
  transform: scale(1.05);
}

/* Wide logo for header */
.brand-mark-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.brand-mark-wide img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.2))
          drop-shadow(0 2px 6px rgba(245, 158, 11, 0.15));
  transition: all 0.3s ease;
}

.brand-mark-wide:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 18px rgba(37, 99, 235, 0.3))
          drop-shadow(0 4px 10px rgba(245, 158, 11, 0.2));
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35), 0 4px 10px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 10px 35px rgba(37, 99, 235, 0.5), 0 6px 15px rgba(245, 158, 11, 0.35); }
}

.brand-name {
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  font-size: 1.9rem;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: none;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink) !important;
  padding: 0.6rem 1rem !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-fun);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

.navbar-nav .nav-link:hover {
  color: var(--blue) !important;
  transform: translateY(-2px);
}

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 16px;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-cool);
  color: white;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
  color: white;
}

.btn-orange {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-orange:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
  color: white;
}

.btn-outline-primary {
  border: 2.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--gradient-fun);
  border-color: transparent;
  color: white;
  transform: translateY(-4px) scale(1.02);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 20px;
}

/* Pulse Button Animation for CTA */
.pulse-btn {
  animation: btn-pulse 2s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

@keyframes btn-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
  }
}

/* ===== BOOTSTRAP ICONS STYLING ===== */
.highlight-icon i,
.skill-icon i,
.methodology-icon i,
.offering-icon i,
.detail-icon i,
.reminder-icon i {
  color: var(--blue);
  font-size: 1.4rem;
}

.highlight-accent .highlight-icon i,
.skill-highlight .skill-icon i,
.methodology-highlight .methodology-icon i,
.offering-highlight .offering-icon i {
  color: var(--orange);
}

.discount-sparkle i {
  color: white;
  font-size: 2rem;
}

.form-section-icon i {
  color: var(--blue);
  font-size: 1.75rem;
}

.urgency-icon i {
  color: var(--orange);
  font-size: 1.75rem;
}

.success-icon i {
  font-size: 2.5rem;
  color: #10B981;
}

.locked-icon i {
  color: var(--orange);
  font-size: 1.5rem;
}

.next-steps-icon i {
  color: var(--blue);
  font-size: 1.75rem;
}

.social-proof i {
  color: var(--yellow);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 0 50px;
  position: relative;
}

.hero-card {
  border: 3px solid rgba(37, 99, 235, 0.2);
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow:
    0 25px 60px rgba(37, 99, 235, 0.15),
    0 10px 25px rgba(245, 158, 11, 0.1);
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-fun);
}

.hero-gradient {
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(6, 182, 212, 0.10) 0%, transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
}

/* Kicker / Eyebrow text */
.kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Hero Headline - Extra polish */
.hero .h1 {
  font-family: 'Fredoka', cursive;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Lead paragraph in hero */
.hero .lead {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink-soft);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.01em;
  max-width: 540px;
}

/* ===== BADGES ===== */
.badge-soft {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.08));
  border: 2px solid rgba(37, 99, 235, 0.18);
  color: var(--blue-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.badge-soft:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* ===== CARDS ===== */
.card {
  border-radius: 24px;
  border: 2px solid rgba(37, 99, 235, 0.15);
  box-shadow:
    0 10px 40px rgba(37, 99, 235, 0.1),
    0 4px 15px rgba(0,0,0,0.05);
  background: var(--card-bg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(37, 99, 235, 0.2),
    0 8px 25px rgba(245, 158, 11, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.card .card-header {
  border-bottom: 2px solid rgba(37, 99, 235, 0.1);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  padding: 1.25rem 1.5rem;
}

.card .card-header .fw-bold {
  font-family: 'Fredoka', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.card .card-body {
  padding: 1.5rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-title {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* ===== ICON PILLS ===== */
.icon-pill {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.icon-pill:nth-of-type(1), .col-md-4:nth-child(1) .icon-pill {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.1));
  border: 2px solid rgba(37, 99, 235, 0.3);
  color: var(--blue);
}

.col-md-4:nth-child(2) .icon-pill {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
  border: 2px solid rgba(245, 158, 11, 0.3);
  color: var(--yellow-dark);
}

.col-md-4:nth-child(3) .icon-pill {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1));
  border: 2px solid rgba(14, 165, 233, 0.3);
  color: var(--cyan);
}

/* ===== FORMS ===== */
.form-control, .form-select {
  font-family: 'Poppins', sans-serif;
  border-radius: 16px;
  border: 2px solid rgba(37, 99, 235, 0.2);
  padding: 0.9rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
}

.form-control::placeholder {
  color: #a0a0b8;
  font-weight: 400;
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  border-color: var(--blue);
  background: white;
}

.form-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1.3rem;
  height: 1.3rem;
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 6px;
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.form-check-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ===== STEPPER ===== */
.stepper {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: 1.15rem;
  border: 2px solid rgba(37, 99, 235, 0.2);
  background: rgba(255,255,255,0.9);
  color: var(--muted);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--gradient-cool);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
  transform: scale(1.1);
}

.step-dot.done {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border-color: var(--green);
  color: var(--green);
}

/* ===== PROGRESS BAR ===== */
.progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-cool);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ===== ALERTS ===== */
.alert-soft {
  border: 2px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  border-radius: 20px;
  padding: 1.25rem;
}

.alert-soft .fw-bold {
  font-family: 'Fredoka', cursive;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ===== PILLS ===== */
.pill {
  font-family: 'Poppins', sans-serif;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 2px solid rgba(37, 99, 235, 0.2);
  background: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
  display: inline-block;
  transition: all 0.3s ease;
}

.pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* ===== MISC ===== */
.hr-soft {
  border-top: 2px solid rgba(37, 99, 235, 0.1);
  margin: 1.5rem 0;
}

/* Refined muted text */
.small-muted {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Bold text styles */
.fw-bold {
  font-weight: 700 !important;
  font-family: 'Fredoka', cursive;
}

.fw-black {
  font-weight: 700 !important;
  font-family: 'Fredoka', cursive;
}

/* ===== LIST STYLING ===== */
ul, ol {
  padding-left: 1.5rem;
}

li {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

li span.fw-bold {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  color: var(--ink);
}

li::marker {
  color: var(--blue);
  font-weight: bold;
}

ol li::marker {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  flex-shrink: 0;
  padding: 35px 0;
  background: transparent;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.footer .small-muted {
  font-size: 0.9rem;
}

/* Mr. 6 Glowing Logo */
.mr6-glow-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4))
          drop-shadow(0 0 12px rgba(245, 158, 11, 0.25));
  transition: all 0.4s ease;
}

.mr6-glow-logo:hover {
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5))
          drop-shadow(0 0 20px rgba(245, 158, 11, 0.35));
  transform: scale(1.05);
}

/* ===== WIZARD STEPS ===== */
.wizard-step {
  animation: fadeInUp 0.4s ease;
}

.wizard-step .fw-bold {
  font-family: 'Fredoka', cursive;
  font-size: 1.1rem;
  color: var(--ink);
}

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

/* ===== FUN ELEMENTS FOR KIDS ===== */
/* Decorative stars/sparkles */
.hero-card::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FBBF24'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.7;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border: 2px solid rgba(37, 99, 235, 0.1);
  }

  .navbar-nav .nav-link {
    padding: 0.8rem 1rem !important;
    border-radius: 12px;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-mark img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .hero .h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 15px;
  }

  .hero {
    padding: 60px 0 30px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .badge-soft {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}

/* ===== NAVBAR TOGGLER ===== */
.navbar-toggler {
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238B5CF6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== SPECIAL TEXT TREATMENTS ===== */
/* Gradient text for emphasis */
.text-gradient {
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Highlighted text */
.text-highlight {
  position: relative;
  display: inline;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(245, 158, 11, 0.15));
  z-index: -1;
  border-radius: 4px;
}

/* Card title text */
.card-title {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* Text for emphasis in cards */
.card .small-muted {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Selection styling */
::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--ink);
}

::-moz-selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--ink);
}

/* ===== WIZARD DISCOUNT HERO BOX ===== */
.discount-hero-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #fffbeb 100%);
  border: 3px solid rgba(37, 99, 235, 0.25);
  border-radius: 28px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(37, 99, 235, 0.15),
    0 8px 25px rgba(245, 158, 11, 0.1),
    inset 0 0 60px rgba(255, 255, 255, 0.8);
}

.discount-hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--yellow), var(--orange));
}

.discount-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 20px;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5); }
}

.discount-icon {
  font-size: 2rem;
}

.discount-text {
  font-family: 'Fredoka', cursive;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.discount-text strong {
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.estimate-section {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.estimate-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.estimate-prices {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 1rem 1.75rem;
  min-width: 160px;
}

.price-value {
  font-family: 'Fredoka', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.price-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.estimate-note {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.program-details {
  margin-bottom: 1.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.detail-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.08));
  border-radius: 12px;
}

.detail-item > div {
  display: flex;
  flex-direction: column;
}

.detail-item strong {
  font-family: 'Fredoka', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.detail-item span {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

.urgency-note {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.1));
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--yellow-dark);
  font-weight: 500;
}

.urgency-note strong {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  color: var(--orange);
}

@media (max-width: 768px) {
  .discount-hero-box {
    padding: 1.5rem;
  }

  .discount-badge {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .discount-text {
    font-size: 1.1rem;
    text-align: center;
  }

  .discount-text strong {
    font-size: 1.5rem;
  }

  .estimate-prices {
    flex-direction: column;
    align-items: center;
  }

  .price-card {
    width: 100%;
    max-width: 280px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BLOG ===== */

/* -- Listing page -- */
.blog-listing {
  padding: 4rem 0 3rem;
}

.blog-listing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.blog-listing-header h1 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.blog-listing-header p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

@media (max-width: 991px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.12);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.blog-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.blog-card-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--ink-light);
}

.blog-card-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-read-more {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.blog-card-read-more:hover {
  gap: 0.6rem;
  color: var(--blue-dark);
}

/* -- Featured / first card in grid -- */
.blog-grid-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

.blog-card-featured {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  grid-column: 1 / -1;
}

.blog-card-featured:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.12);
}

.blog-card-featured .blog-card-img {
  height: 100%;
  min-height: 320px;
}

.blog-card-featured .blog-card-body {
  padding: 2.5rem;
  justify-content: center;
}

.blog-card-featured .blog-card-title {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-card-featured .blog-card-excerpt {
  font-size: 1.05rem;
}

@media (max-width: 767px) {
  .blog-card-featured {
    grid-template-columns: 1fr;
  }
  .blog-card-featured .blog-card-img {
    min-height: 220px;
    height: 220px;
  }
  .blog-card-featured .blog-card-body {
    padding: 1.5rem;
  }
  .blog-card-featured .blog-card-title {
    font-size: 1.4rem;
  }
}

/* -- Single post (Medium-like) -- */
.blog-post-header {
  text-align: center;
  padding: 4rem 0 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.blog-post-meta .sep {
  width: 4px;
  height: 4px;
  background: #9ca3af;
  border-radius: 50%;
  display: inline-block;
}

.blog-post-title {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0;
}

.blog-post-subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 1.25rem;
  margin-bottom: 0;
  letter-spacing: -0.005em;
}

.blog-post-hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Blog post body — all typography explicitly overridden to Source Serif 4 */
.blog-post-body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.4rem; /* ~22.4px — comfortable reading size */
  font-weight: 400;
  line-height: 1.85;
  color: #242424;
  letter-spacing: -0.003em;
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-body p {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.85;
  color: #242424;
  letter-spacing: -0.003em;
  margin-bottom: 1.35rem;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4,
.blog-post-body h5,
.blog-post-body h6 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.blog-post-body h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}

.blog-post-body h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
}

.blog-post-body h4 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.blog-post-body blockquote {
  border-left: 3px solid #242424;
  margin: 2.25rem 0 2.25rem -20px;
  padding: 0.15rem 0 0.15rem 1.75rem;
  font-style: italic;
}

.blog-post-body blockquote p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.7;
  color: #242424;
  margin-bottom: 0.5rem;
}

.blog-post-body pre {
  font-family: 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  background: #282c34;
  color: #abb2bf;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  overflow-x: auto;
  margin: 2rem -1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-post-body code {
  font-family: 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 0.88em;
}

.blog-post-body :not(pre) > code {
  background: #f3f4f6;
  padding: 0.2em 0.45em;
  border-radius: 4px;
  color: #1f2937;
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-post-body a {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.blog-post-body a:hover {
  text-decoration-color: #242424;
}

/* Highlights — Medium-style text markers */
.blog-post-body span[style*="background-color"] {
  padding: 0.05em 0.2em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 1.35rem;
  padding-left: 1.75rem;
}

.blog-post-body li {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.85;
  color: #242424;
  letter-spacing: -0.003em;
  margin-bottom: 0.4rem;
}

.blog-post-body li::marker {
  color: #6b7280;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
}

.blog-post-body ol li::marker {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  color: #6b7280;
}

.blog-post-body strong,
.blog-post-body b {
  font-family: inherit;
  font-weight: 700;
  color: #1e293b;
}

.blog-post-body em,
.blog-post-body i:not([class]) {
  font-family: inherit;
  font-style: italic;
}

.blog-post-body hr {
  border: none;
  text-align: center;
  margin: 3rem 0;
}

.blog-post-body hr::before {
  content: '...';
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.75rem;
  letter-spacing: 0.6em;
  color: #9ca3af;
}

/* ── Step Headings ── */
.blog-post-body .step-heading {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: none;
}

.blog-post-body .step-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #a78bfa 30%, #e5e7eb 70%, transparent 100%);
  border-radius: 4px;
}

.blog-post-body h3.step-heading::after {
  background: linear-gradient(90deg, #10b981 0%, #6ee7b7 30%, #e5e7eb 70%, transparent 100%);
}

.blog-post-body h2.step-heading {
  font-size: 1.85rem;
}

.blog-post-body h3.step-heading {
  font-size: 1.5rem;
}

.blog-post-body .step-heading .step-number {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85em;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 0.3em 0.75em;
  border-radius: 8px;
  margin-right: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.blog-post-body h3.step-heading .step-number {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* ── Blog Subscribe Box ── */
.blog-subscribe-box {
  max-width: 720px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #f0fdf4 100%);
  border: 2px solid #e0e7ff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.blog-subscribe-box h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.blog-subscribe-box .subscribe-tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.blog-subscribe-box form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.blog-subscribe-box .form-control {
  flex: 1 1 200px;
  padding: 0.7rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.blog-subscribe-box .form-control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.blog-subscribe-box .btn-subscribe {
  flex: 0 0 auto;
  width: 100%;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.blog-subscribe-box .btn-subscribe:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.blog-subscribe-box .subscribe-disclaimer {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 1rem;
  line-height: 1.45;
}

.blog-subscribe-box .subscribe-success {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #059669;
  font-weight: 600;
  padding: 1rem 0;
}

/* ── YouTube Video Embeds ── */
.blog-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Image Figures with Captions ── */
.blog-post-body .blog-figure {
  margin: 2.5rem 0;
  text-align: center;
}

.blog-post-body .blog-figure img {
  margin: 0 0 0.75rem 0;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-body .blog-figure figcaption {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.5;
}

/* Wide images - break out of content column */
.blog-post-body .blog-figure.wide,
.blog-post-body .blog-video-embed.wide {
  width: calc(100% + 100px);
  margin-left: -50px;
  margin-right: -50px;
}

/* Post footer / back link */
.blog-post-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid #e5e7eb;
}

.blog-post-footer .btn {
  font-family: 'Poppins', sans-serif;
}

/* -- Homepage latest posts -- */
.blog-home-section {
  padding: 60px 0 40px;
}

.blog-home-section .section-title {
  text-align: center;
  margin-bottom: 0.25rem;
}

.blog-home-section .section-sub {
  text-align: center;
  margin-bottom: 2rem;
}

/* -- Blog responsive -- */
@media (max-width: 767px) {
  .blog-post-header {
    padding: 2.5rem 0 1.5rem;
  }
  .blog-post-subtitle {
    font-size: 1.15rem;
  }
  .blog-post-body,
  .blog-post-body p {
    font-size: 1.2rem;
  }
  .blog-post-body h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }
  .blog-post-body h3 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
  }
  .blog-post-body blockquote {
    margin-left: 0;
    padding-left: 1.25rem;
  }
  .blog-post-body blockquote p {
    font-size: 1.15rem;
  }
  .blog-post-body pre {
    margin: 1.5rem -0.75rem;
    padding: 1.25rem;
    border-radius: 0;
  }
  .blog-post-body li {
    font-size: 1.2rem;
  }

  /* Step headings mobile — extra large & prominent */
  .blog-post-body .step-heading {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
  }
  .blog-post-body h2.step-heading {
    font-size: 1.6rem;
  }
  .blog-post-body h3.step-heading {
    font-size: 1.4rem;
  }
  .blog-post-body .step-heading .step-number {
    font-size: 1.15rem;
    padding: 0.45em 0.9em;
    border-radius: 10px;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.4);
  }
  .blog-post-body h3.step-heading .step-number {
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
  }

  /* Subscribe box mobile */
  .blog-subscribe-box {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }
  .blog-subscribe-box h3 {
    font-size: 1.2rem;
  }
  .blog-subscribe-box .form-control {
    flex: 1 1 100%;
  }

  /* Video embeds mobile */
  .blog-video-embed {
    margin: 1.75rem -1rem;
    border-radius: 0;
    width: calc(100% + 2rem);
  }

  /* Image figures mobile */
  .blog-post-body .blog-figure {
    margin: 1.75rem -1rem;
  }
  .blog-post-body .blog-figure img {
    border-radius: 0;
  }
  .blog-post-body .blog-figure figcaption {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  /* Disable wide breakout on mobile */
  .blog-post-body .blog-figure.wide,
  .blog-post-body .blog-video-embed.wide {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* COMMUNITY CHAT STYLES - WhatsApp-like UI                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Profile Icon Dropdown ─────────────────────────────────────────────────── */
.profile-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 40%, #1d4ed8 100%);
  color: white;
  font-size: 1.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(37, 99, 235, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.25),
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(37, 99, 235, 0.15);
  position: relative;
  cursor: pointer;
}

.profile-icon-circle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 8px;
  width: 16px;
  height: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  border-radius: 50%;
}

.profile-icon-circle:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(255, 255, 255, 1),
    0 0 0 6px rgba(37, 99, 235, 0.25);
}

.profile-icon-circle:active {
  transform: scale(1.05);
}

.profile-icon-circle i {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.profile-icon-circle .user-initial {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.5px;
}

/* Mobile user initial in hamburger menu */
.mobile-user-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}

/* Beautiful Icon Menu Dropdown */
.dropdown-menu {
  border: none;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2), 0 5px 15px rgba(0,0,0,0.08);
  padding: 0.75rem;
  min-width: 260px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-header {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(37, 99, 235, 0.1);
}

.dropdown-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
  color: var(--blue);
  transform: translateX(4px);
}

.dropdown-item i {
  color: var(--blue);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* ─── Chat Section ──────────────────────────────────────────────────────────── */
.chat-section {
  padding: 40px 0 60px;
  min-height: calc(100vh - 200px);
}

/* ─── Login/Verify Wrapper ──────────────────────────────────────────────────── */
.chat-login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.chat-login-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #fffbeb 100%);
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-radius: 28px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow:
    0 25px 60px rgba(37, 99, 235, 0.15),
    0 10px 30px rgba(245, 158, 11, 0.1);
}

.chat-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.chat-login-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.25));
}

.chat-login-header h1 {
  font-family: 'Fredoka', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.chat-login-header p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
}

.chat-verify-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.chat-consent-note {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1rem;
}

/* ─── Passcode Inputs ───────────────────────────────────────────────────────── */
.passcode-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.passcode-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-family: 'Fredoka', cursive;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-radius: 14px;
  background: white;
  transition: all 0.2s ease;
}

.passcode-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* ─── Chat Container ────────────────────────────────────────────────────────── */
.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: #e5ddd5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 500px;
  max-height: 700px;
}

/* ─── Chat Header ───────────────────────────────────────────────────────────── */
.chat-header {
  background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-header-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  object-fit: contain;
}

.chat-header-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
}

.chat-header-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.chat-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-user-email {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header-right .btn {
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
}

/* ─── Chat Messages Area ────────────────────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    #e5ddd5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ─── Chat Message Bubble ───────────────────────────────────────────────────── */
.chat-message {
  display: flex;
  max-width: 85%;
}

.chat-message.sent {
  align-self: flex-end;
}

.chat-message.received {
  align-self: flex-start;
}

.chat-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Sent messages (right, green) */
.chat-message.sent .chat-bubble {
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

/* Received messages (left, white) */
.chat-message.received .chat-bubble {
  background: white;
  border-bottom-left-radius: 4px;
}

/* Admin messages (blue tint) */
.chat-message.admin .chat-bubble {
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border-left: 3px solid var(--blue);
}

.chat-sender {
  font-family: 'Fredoka', cursive;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.chat-message.admin .chat-sender {
  color: var(--blue-dark);
}

.chat-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #303030;
}

.chat-time {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.7rem;
  color: #8696a0;
  text-align: right;
  margin-top: 0.25rem;
}

/* ─── Chat Image ────────────────────────────────────────────────────────────── */
.chat-image-link {
  display: block;
}

.chat-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  display: block;
}

/* ─── Chat Link Preview ─────────────────────────────────────────────────────── */
.chat-link-preview {
  display: block;
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border-left: 4px solid var(--blue);
  transition: background 0.2s ease;
}

.chat-link-preview:hover {
  background: rgba(0, 0, 0, 0.08);
}

.chat-link-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.chat-link-info {
  padding: 0.6rem 0.75rem;
}

.chat-link-title {
  font-family: 'Fredoka', cursive;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.chat-link-desc {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

.chat-link-domain {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  color: #8696a0;
  text-transform: lowercase;
}

/* ─── Chat Input Area ───────────────────────────────────────────────────────── */
.chat-input-area {
  background: #f0f2f5;
  padding: 0.75rem 1rem;
  flex-shrink: 0;
}

.chat-input-area form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-attach-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #54656f;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-attach-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--blue);
}

.chat-text-input {
  flex: 1;
  border: none;
  border-radius: 24px;
  padding: 0.75rem 1.25rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  background: white;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s ease;
}

.chat-text-input:focus {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.chat-text-input::placeholder {
  color: #8696a0;
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

/* ─── Chat Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .chat-container {
    border-radius: 0;
    height: calc(100vh - 160px);
    max-height: none;
  }

  .chat-section {
    padding: 0;
  }

  .chat-section .container {
    padding: 0;
    max-width: 100%;
  }

  .chat-login-card {
    border-radius: 20px;
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .passcode-input {
    width: 44px;
    height: 54px;
    font-size: 1.5rem;
  }

  .chat-user-email {
    display: none;
  }

  .chat-message {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .passcode-input {
    width: 40px;
    height: 50px;
    font-size: 1.3rem;
    gap: 0.35rem;
  }

  .chat-login-header h1 {
    font-size: 1.5rem;
  }
}
