/* ================================================
   স্বাধীন পথ — Main Stylesheet
   Google Font: Hind Siliguri (Bengali support)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────── */
:root {
  --primary:       #16a34a;
  --primary-dark:  #15803d;
  --primary-light: #22c55e;
  --primary-bg:    #f0fdf4;
  --accent:        #f97316;
  --accent-dark:   #ea580c;
  --dark:          #111827;
  --gray-800:      #1f2937;
  --gray-700:      #374151;
  --gray-600:      #4b5563;
  --gray-500:      #6b7280;
  --gray-400:      #9ca3af;
  --gray-300:      #d1d5db;
  --gray-200:      #e5e7eb;
  --gray-100:      #f3f4f6;
  --gray-50:       #f9fafb;
  --white:         #ffffff;
  --font:          'Hind Siliguri', sans-serif;
  --shadow-sm:     0 1px 2px rgba(0,0,0,0.06);
  --shadow:        0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 10px 30px rgba(0,0,0,0.12);
  --radius:        10px;
  --radius-lg:     18px;
  --radius-xl:     28px;
  --transition:    all 0.22s ease;
  --container:     1140px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Layout Utilities ──────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1em; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--gray-600); line-height: 1.8; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.1rem; color: var(--gray-600); max-width: 640px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,163,74,0.4); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }

/* ── Navigation ────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}
.nav-logo-text { font-size: 1.25rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2px; }

/* ── Nav item (wrapper for dropdown) ── */
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 7px 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-bg); }
.nav-link-arrow {
  font-size: 0.55rem;
  opacity: 0.55;
  transition: transform 0.2s ease;
  line-height: 1;
}
.nav-item:hover .nav-link-arrow { transform: rotate(180deg); opacity: 0.9; }

/* ── Dropdown panel ── */
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px;
  min-width: 230px;
  z-index: 300;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--primary-bg); color: var(--primary); }
.nav-dropdown .dd-icon { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.nav-dropdown hr {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 6px 4px;
}
.nav-dropdown .dd-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 12px 2px;
}

.nav-cta { margin-left: 12px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-200);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ── Mobile menu accordion groups ── */
.mm-group { border-bottom: 1px solid var(--gray-100); }
.mm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: color 0.15s;
}
.mm-toggle:hover { color: var(--primary); }
.mm-toggle span:first-child { display: flex; align-items: center; gap: 8px; }
.mm-arrow { font-size: 0.65rem; opacity: 0.5; transition: transform 0.22s ease; }
.mm-toggle.open .mm-arrow { transform: rotate(180deg); opacity: 0.9; }
.mm-sub {
  display: none;
  padding: 0 0 8px 28px;
}
.mm-sub.open { display: block; }
.mm-sub a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-600);
  border-bottom: none;
  transition: color 0.15s;
}
.mm-sub a:hover { color: var(--primary); }

/* ── Hero Section ──────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d4f2a 0%, #166534 40%, #15803d 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 20px; line-height: 1.25; }
.hero h1 em { font-style: normal; color: #86efac; }
.hero .lead { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stat { text-align: center; }
.hero-stat .stat-num { font-size: 1.8rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.2); }

/* Hero Visual */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.18); transform: translateX(6px); }
.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hero-card-header > div { min-width: 0; flex: 1; overflow: hidden; }
.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hero-card-icon.green { background: rgba(134,239,172,0.2); }
.hero-card-icon.orange { background: rgba(249,115,22,0.2); }
.hero-card-icon.blue { background: rgba(96,165,250,0.2); }
.hero-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card-arrow { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 1.2rem; }

/* ── Quick Start Banner ────────────────────────── */
.quick-start {
  background: var(--primary-bg);
  border-bottom: 1px solid #bbf7d0;
  padding: 40px 0;
}
.quick-start-inner { display: flex; align-items: center; gap: 40px; }
.quick-start-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.quick-start-links { display: flex; gap: 14px; flex-wrap: wrap; }
.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #bbf7d0;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.quick-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-link .arrow { font-size: 0.8rem; }

/* ── Cards ─────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.icon-green { background: #dcfce7; }
.icon-blue { background: #dbeafe; }
.icon-orange { background: #ffedd5; }
.icon-purple { background: #ede9fe; }
.icon-red { background: #fee2e2; }
.icon-teal { background: #ccfbf1; }
.icon-yellow { background: #fef9c3; }
.icon-pink { background: #fce7f3; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.925rem; color: var(--gray-600); margin-bottom: 18px; }
.card-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-purple { background: #ede9fe; color: #7c3aed; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }

/* ── Feature Cards ─────────────────────────────── */
.feature-card { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-text h4 { margin-bottom: 6px; color: var(--dark); }
.feature-text p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ── Sections ──────────────────────────────────── */
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--gray-400); }
.section-primary { background: var(--primary); color: var(--white); }
.section-primary h2 { color: var(--white); }
.section-primary p { color: rgba(255,255,255,0.85); }

/* ── Blog Cards ────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.blog-card-body { padding: 22px; }
.blog-cat {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 16px; }
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* ── Newsletter Section ────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #0d4f2a 0%, #166534 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.newsletter-section h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  color: var(--dark);
}
.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ── Testimonial ───────────────────────────────── */
.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  border: 1px solid var(--gray-200);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 32px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  font-family: serif;
}
.testimonial-text { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 20px; font-style: italic; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}
.testimonial-name { font-weight: 700; color: var(--dark); }
.testimonial-title { font-size: 0.85rem; color: var(--gray-500); }

/* ── Stats Bar ─────────────────────────────────── */
.stats-bar { background: var(--primary-bg); border: 1px solid #bbf7d0; border-radius: var(--radius-xl); padding: 36px 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat-item .num { font-size: 2.2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-item .label { font-size: 0.875rem; color: var(--gray-600); margin-top: 6px; }

/* ── Article Page Styles ───────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d4f2a 0%, #166534 100%);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 24px; }
.page-hero .meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--dark); }
.article-content h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--dark); }
.article-content p { font-size: 1.05rem; line-height: 1.85; color: var(--gray-700); margin-bottom: 18px; }
.article-content ul, .article-content ol { padding-left: 28px; margin-bottom: 18px; }
.article-content li { font-size: 1.05rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 8px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.callout {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0; font-size: 0.95rem; }
.callout.warning {
  background: #fff7ed;
  border-color: var(--accent);
}
.callout.disclaimer {
  background: #f0f9ff;
  border-color: #0ea5e9;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
}
.comparison-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table tr:hover td { background: var(--primary-bg); }

/* Sidebar */
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--dark); border-bottom: 2px solid var(--primary-bg); padding-bottom: 10px; }
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 8px; }
.toc-list a { font-size: 0.875rem; color: var(--gray-600); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.toc-list a:hover { color: var(--primary); }
.related-list { list-style: none; padding: 0; }
.related-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.related-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.related-list a { font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.related-list a:hover { color: var(--primary); }

/* ── Roadmap Steps ──────────────────────────────── */
.roadmap { position: relative; padding-left: 40px; }
.roadmap-item { position: relative; padding-bottom: 36px; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.roadmap-item:last-child::before { display: none; }
.roadmap-num {
  position: absolute;
  left: -40px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.roadmap-content h4 { margin-bottom: 8px; }
.roadmap-content p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ── Page Header (internal pages) ──────────────── */
.inner-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 52px 0;
}
.inner-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.inner-hero p { font-size: 1.1rem; color: var(--gray-600); max-width: 600px; margin: 0; }

/* ── Contact Form ──────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ── Footer ────────────────────────────────────── */
.footer { background: #0d1f12; color: var(--gray-400); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: var(--gray-500); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--gray-400);
}
.social-btn:hover { background: var(--primary); color: var(--white); }
.footer-col h5 { color: var(--gray-200); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--gray-500); transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-600); margin: 0; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Accordion ─────────────────────────────────── */
.accordion-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.accordion-btn:hover { background: var(--gray-50); color: var(--primary); }
.accordion-btn.active { background: var(--primary-bg); color: var(--primary-dark); }
.accordion-icon { font-size: 1.2rem; transition: var(--transition); }
.accordion-btn.active .accordion-icon { transform: rotate(45deg); }
.accordion-body { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.accordion-body.open { max-height: 500px; padding: 4px 22px 20px; }
.accordion-body p { font-size: 0.95rem; color: var(--gray-600); margin: 0; line-height: 1.8; }

/* ── Alerts ────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.925rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-warning { background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; }
.alert-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  /* Show cards in a horizontal row below hero text on tablet */
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .hero-card { padding: 14px 16px; }
  .hero-card-header { gap: 10px; margin-bottom: 0; }
  .hero-card-icon { width: 34px; height: 34px; border-radius: 8px; font-size: 1rem; }
  .hero-card h4 { font-size: 0.85rem; }
  .hero-card p  { font-size: 0.78rem; }
  .hero-card-arrow { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Stack cards 1-column on small tablets */
  .hero-visual { grid-template-columns: 1fr; gap: 8px; }
  .hero-card { padding: 12px 14px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .hero-stat .stat-num { font-size: 1.4rem; }
  .quick-start-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; } /* too cramped on phone — hide */
}

/* ── AdSense Ad Slots ──────────────────────────── */
.ad-slot {
  margin: 32px 0;
  text-align: center;
  overflow: hidden;
}

/* Leaderboard: 728×90 desktop, 320×50 mobile */
.ad-slot-leaderboard {
  min-height: 90px;
  background: #f8fafc;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.8rem;
}
.ad-slot-leaderboard::before {
  content: 'Advertisement';
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

/* Rectangle: 300×250 */
.ad-slot-rectangle {
  min-height: 250px;
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
  background: #f8fafc;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot-rectangle::before {
  content: 'Advertisement';
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

/* Sidebar: 300×600 */
.ad-slot-sidebar {
  min-height: 250px;
  background: #f8fafc;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.ad-slot-sidebar::before {
  content: 'Advertisement';
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

/* Hide placeholder text when AdSense loads real ads */
.ad-slot ins.adsbygoogle::before { content: none; }

@media (max-width: 768px) {
  .ad-slot-leaderboard { min-height: 50px; }
  .ad-slot-sidebar { min-height: 250px; }
}

/* ================================================
   GROUP A — UX IMPROVEMENTS
   1. Typography  2. Card Hover  3. Callout System
   4. Reading Progress  5. Inline Share  6. Mobile Share Bar
   7. Desktop Share Sidebar  8. Toast
   ================================================ */

/* ── 1. Typography — Bengali optimised ─────────── */
html { font-size: 17px; }
body { line-height: 1.82; }
.article-content p {
  font-size: 1rem;
  line-height: 1.92;
  margin-bottom: 1.45em;
  color: var(--gray-700);
}
.article-content li {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 10px;
}
.article-content h2 { margin-top: 44px; }
.article-content h3 { margin-top: 36px; }

/* ── 2. Card Hover — unified green border ──────── */
.card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
  transform: translateY(-4px);
  border-color: var(--primary) !important;
}
.card:hover h3,
.card:hover .card-title { color: var(--primary); }

/* ── 3. Callout System — 4 types ───────────────── */
/* tip — green */
.callout.tip {
  background: #f0fdf4;
  border-color: var(--primary);
}
.callout.tip::before {
  content: '💡 টিপস';
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
/* info — blue */
.callout.info {
  background: #eff6ff;
  border-color: #3b82f6;
}
.callout.info::before {
  content: 'ℹ️ জানুন';
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1e40af;
  margin-bottom: 8px;
}
/* key-point — purple */
.callout.key-point {
  background: #f5f3ff;
  border-color: #7c3aed;
}
.callout.key-point::before {
  content: '🔑 মূল বিষয়';
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: #6d28d9;
  margin-bottom: 8px;
}
/* warning label */
.callout.warning::before {
  content: '⚠️ সতর্কতা';
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: #c2410c;
  margin-bottom: 8px;
}

/* ── 4. Reading Progress Bar ────────────────────── */
#sp-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #4ade80);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── 5. Inline Share Block ──────────────────────── */
.sp-share-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 32px 0;
}
.sp-share-block .sp-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  flex-shrink: 0;
}
.sp-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.15s, transform 0.12s;
  white-space: nowrap;
}
.sp-btn:hover  { opacity: 0.86; transform: translateY(-1px); color: inherit; }
.sp-btn:active { transform: translateY(0); }
.sp-btn svg    { width: 14px; height: 14px; flex-shrink: 0; }
.sp-wa   { background: #25D366; color: #fff; }
.sp-fb   { background: #1877F2; color: #fff; }
.sp-ms   { background: #0099FF; color: #fff; }
.sp-li   { background: #0A66C2; color: #fff; }
.sp-copy { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.sp-copy.sp-copied { background: #dcfce7; color: var(--primary-dark); border-color: #bbf7d0; }

/* ── 6. Mobile Bottom Share Bar ─────────────────── */
#sp-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.09);
  z-index: 850;
  padding: 6px 12px calc(10px + env(safe-area-inset-bottom));
}
#sp-mobile-bar.sp-show { display: block; }
.sp-mob-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-align: center;
  display: block;
  margin-bottom: 4px;
}
.sp-mob-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 420px;
  margin: 0 auto;
}
.sp-mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  min-width: 56px;
}
.sp-mob-btn:hover, .sp-mob-btn:active { background: var(--gray-100); }
.sp-mob-btn svg  { width: 24px; height: 24px; display: block; }
.sp-mob-btn span { font-size: 0.67rem; font-weight: 600; color: var(--gray-600); }
.sp-mob-dismiss {
  position: absolute;
  top: -11px; right: 10px;
  width: 22px; height: 22px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.65rem;
  color: var(--gray-500);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  line-height: 1;
}

/* ── 7. Desktop Sticky Share Sidebar ────────────── */
#sp-desk-bar {
  display: none;
  position: fixed;
  left: max(10px, calc(50% - 660px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 10px 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
#sp-desk-bar.sp-show { display: flex; }
.sp-desk-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.sp-desk-sep { width: 22px; height: 1px; background: var(--gray-200); margin: 3px 0; }
.sp-desk-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  background: var(--gray-50);
  font-family: var(--font);
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  position: relative;
}
.sp-desk-btn svg { width: 17px; height: 17px; }
.sp-desk-btn:hover { transform: scale(1.1); }
.sp-desk-btn.dwa { color: #25D366; } .sp-desk-btn.dwa:hover { background: #25D366; color: #fff; }
.sp-desk-btn.dfb { color: #1877F2; } .sp-desk-btn.dfb:hover { background: #1877F2; color: #fff; }
.sp-desk-btn.dms { color: #0099FF; } .sp-desk-btn.dms:hover { background: #0099FF; color: #fff; }
.sp-desk-btn.dli { color: #0A66C2; } .sp-desk-btn.dli:hover { background: #0A66C2; color: #fff; }
.sp-desk-btn.dcp { color: var(--gray-500); } .sp-desk-btn.dcp:hover { background: var(--primary); color: #fff; }
/* tooltip */
.sp-desk-btn::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 9px);
  top: 50%; transform: translateY(-50%);
  background: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--font);
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
}
.sp-desk-btn:hover::after { opacity: 1; }

/* ── 8. Toast Notification ──────────────────────── */
#sp-toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark);
  color: #fff;
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-family: var(--font);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
#sp-toast.sp-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive overrides ───────────────────────── */
@media (max-width: 1299px) {
  #sp-desk-bar { display: none !important; }
}
@media (max-width: 767px) {
  .sp-share-block { padding: 13px 15px; gap: 10px; }
  .sp-btn { padding: 7px 10px; font-size: 0.78rem; }
}

/* ── What You'll Learn Box ──────────────────────── */
.wtyl-box {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 24px 18px;
  margin: 0 0 2.2rem;
}
.wtyl-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark, #15803d);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wtyl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
}
.wtyl-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.55;
}
.wtyl-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 600px) {
  .wtyl-list { grid-template-columns: 1fr; }
  .wtyl-box { padding: 16px 18px; }
}

/* (duplicate #sp-progress removed — defined above in section 4) */

/* ── Article Date Meta ──────────────────────────── */
.article-date-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 8px;
  flex-wrap: wrap;
}
.article-date-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Related Articles ───────────────────────────── */
.related-articles {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 24px;
}
.related-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--gray-200);
}
.related-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.15s;
}
.related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(22,163,74,0.1);
  text-decoration: none;
}
.related-icon { font-size: 1.3rem; text-align: center; }
.related-cat {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.related-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}
.related-arrow {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: color 0.2s, transform 0.2s;
}
.related-card:hover .related-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ── Glossary ───────────────────────────────────── */
.glossary-letter {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.glossary-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.glossary-card:hover { border-color: var(--primary); }
.glossary-term { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.glossary-bn {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin: 4px 0 8px;
}
.glossary-def {
  font-size: 0.91rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 8px;
}
.glossary-example {
  font-size: 0.83rem;
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  padding: 7px 12px;
  border-radius: 0 6px 6px 0;
  color: var(--gray-700);
  font-style: italic;
}
.glossary-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: sticky;
  top: 68px;
  background: white;
  padding: 12px 0 10px;
  z-index: 10;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 8px;
}
.glossary-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-bg);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.glossary-jump a:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* ── Pull Quote ─────────────────────────────────── */
.pull-quote {
  border-left: 5px solid var(--primary);
  background: var(--primary-bg);
  border-radius: 0 14px 14px 0;
  padding: 20px 28px;
  margin: 36px 0;
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 18px;
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
  opacity: 0.25;
  font-family: Georgia, serif;
}
.pull-quote-text {
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}
.pull-quote-source {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 10px;
  font-style: normal;
  font-weight: 500;
}

/* ── Affiliate Disclosure ────────────────────────── */
.affiliate-disclosure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 28px;
}
.affiliate-disclosure::before {
  content: '🔗';
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── Last Verified Badge ────────────────────────── */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ── Expertise / Author Signal Box ──────────────── */
.expertise-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--primary-bg);
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 28px;
}
.expertise-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.expertise-info { min-width: 0; }
.expertise-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}
.expertise-meta {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── Related Articles ────────────────────────────── */
.related-articles {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 40px;
}
.related-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.related-grid {
  display: grid;
  gap: 10px;
}
.related-card {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(22,163,74,0.1);
  text-decoration: none;
}
.related-icon { font-size: 1.4rem; text-align: center; }
.related-info { min-width: 0; }
.related-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.related-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}
.related-arrow {
  color: var(--gray-400);
  font-size: 1rem;
  text-align: center;
  transition: color 0.2s;
  font-weight: 700;
}
.related-card:hover .related-arrow { color: var(--primary); }

/* ── Comments Section ───────────────────────────── */
.sp-comments-section { padding: 40px 0 0; }
.sp-comments-box {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 820px;
  margin: 0 auto;
}
.sp-comments-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--gray-100);
}
.sp-comments-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.sp-comments-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.sp-comments-sub   { font-size: 0.85rem; color: var(--gray-500); margin: 0; line-height: 1.5; }
.sp-comments-soon  { text-align: center; padding: 28px 0; color: var(--gray-600); }
.sp-comments-soon p { margin: 0 0 6px; font-size: 1rem; }
.sp-comments-soon-sub { font-size: 0.85rem !important; color: var(--gray-400) !important; }
.sp-comments-soon a { color: var(--primary); text-decoration: underline; }
.sp-load-comments-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--primary-bg);
  border: 2px dashed var(--primary);
  border-radius: 10px;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-style 0.2s;
  margin-bottom: 16px;
}
.sp-load-comments-btn:hover {
  background: var(--primary);
  color: white;
  border-style: solid;
}
@media (max-width: 600px) {
  .sp-comments-box { padding: 20px 18px; }
  .sp-comments-header { gap: 10px; }
}

/* ── Back to Top Button ─────────────────────────── */
#sp-back-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,128,61,0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 1200;
}
#sp-back-top.sp-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#sp-back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,128,61,0.45);
}
#sp-back-top svg { width: 20px; height: 20px; }
/* push up above mobile share bar on small screens */
@media (max-width: 767px) {
  #sp-back-top { bottom: 90px; right: 16px; width: 42px; height: 42px; }
}

/* ── Footer Social Buttons ──────────────────────── */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-social-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-tg  { background: #229ED9; color: #fff; }
.footer-fb  { background: #1877F2; color: #fff; }
.footer-nl  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.footer-social-btn svg { flex-shrink: 0; }

/* ── Print / PDF Button ─────────────────────────── */
.sp-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.sp-print-btn:hover { background: var(--white); border-color: var(--primary); color: var(--primary); }
.sp-print-btn svg { width: 15px; height: 15px; }
.sp-print-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.sp-print-bar-label { font-size: 0.78rem; color: var(--gray-400); }
@media print {
  .nav, nav, .footer, .btn, .newsletter-section,
  .sp-comments-section, #sp-back-top, #sp-mobile-bar,
  #sp-desk-bar, #sp-progress, .sp-share-block,
  .sp-print-btn, .sp-print-bar, .sidebar, .ad-slot,
  .related-articles { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .article-content { max-width: 100% !important; }
  a { color: #000; text-decoration: none; }
  h1, h2, h3 { page-break-after: avoid; }
  p, li { page-break-inside: avoid; }
}

/* ── Article Series Navigation ──────────────────── */
.sp-series-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}
.sp-series-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.sp-series-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.sp-series-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-series-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  background: rgba(255,255,255,0.5);
  transition: background 0.15s;
}
.sp-series-step:hover { background: white; color: var(--primary); }
.sp-series-step.sp-series-active {
  background: var(--primary);
  color: white;
  font-weight: 700;
  pointer-events: none;
}
.sp-series-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(21,128,61,0.15);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sp-series-active .sp-series-num {
  background: rgba(255,255,255,0.25);
  color: white;
}
@media (max-width: 600px) {
  .sp-series-box { padding: 16px 16px; }
}

/* ── Homepage Live Remittance Widget ─────────────────────── */
.remit-widget-section {
  background: linear-gradient(135deg, #0f4c2a 0%, #15803d 60%, #166534 100%);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
}
.remit-widget-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.remit-widget-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.remit-widget-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.remit-widget-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
}
.remit-widget-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.remit-live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.7);
  animation: remit-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes remit-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.remit-widget-more {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 3px 10px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.remit-widget-more:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Rate cards grid */
.remit-widget-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .remit-widget-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .remit-widget-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

.remit-wcard {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 16px 14px;
  position: relative;
  backdrop-filter: blur(4px);
  transition: transform 0.15s, background 0.15s;
}
/* Service link cards */
.remit-wcard-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.remit-wcard:hover { transform: translateY(-3px); background: rgba(255,255,255,0.18); }
.hw-svc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.hw-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.hw-tagline {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin-bottom: 14px;
}
.hw-check-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.4);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.remit-wcard:hover .hw-check-btn {
  background: #4ade80;
  color: #0f4c2a;
}

/* Big rate hero display */
.remit-rate-hero {
  margin-bottom: 20px;
}
.remit-skeleton-single {
  height: 52px;
  width: 260px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.remit-rate-big {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.remit-rate-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.remit-rate-per {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.remit-rate-note {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  max-width: 560px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .remit-rate-num { font-size: 2rem; }
}

/* Skeleton shimmer */
.remit-skeleton {
  pointer-events: none;
}
.remit-skeleton .remit-sk-name,
.remit-skeleton .remit-sk-rate,
.remit-skeleton .remit-sk-payout {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.remit-skeleton .remit-sk-name   { height: 12px; width: 60%; margin-bottom: 10px; }
.remit-skeleton .remit-sk-rate   { height: 10px; width: 80%; margin-bottom: 12px; }
.remit-skeleton .remit-sk-payout { height: 24px; width: 90%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Footer row */
.remit-widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.remit-widget-footer span {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.5);
}
.remit-widget-footer .btn {
  font-size: 0.78rem;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.remit-widget-footer .btn:hover { background: rgba(255,255,255,0.25); }

/* ── Cookie Consent Banner ──────────────────────────────────── */
#sp-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1a1a2e;
  border-top: 3px solid var(--primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#sp-cookie-banner.sp-cookie-show {
  transform: translateY(0);
}
.sp-cookie-text {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}
.sp-cookie-text a {
  color: #4ade80;
  text-decoration: underline;
}
.sp-cookie-text a:hover { color: #86efac; }
.sp-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.sp-cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.sp-cookie-accept:hover { background: #166534; }
.sp-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.sp-cookie-decline:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.4); }
@media (max-width: 540px) {
  #sp-cookie-banner { padding: 14px 16px; }
  .sp-cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ── Article Trust Labels ───────────────────────────────────── */
.sp-trust-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 0 0 32px;
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.sp-trust-bar.sp-trust-finance { border-left-color: #15803d; background: #f0fdf4; }
.sp-trust-bar.sp-trust-career  { border-left-color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; border-left-color: #1d4ed8; }
.sp-trust-bar.sp-trust-affiliate { border-left-color: #b45309; background: #fffbeb; border-color: #fde68a; border-left-color: #b45309; }
.sp-trust-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.sp-trust-bar a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.sp-trust-bar a:hover { color: #166534; }

/* ── Article Author/Review Bar ─────────────────────────────── */
.sp-reviewed-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: var(--gray-600);
}
.sp-reviewed-bar strong { color: var(--dark); }

/* ═══════════════════════════════════════════════════════════════════════════
   LUCIDE SVG ICONS  —  sp-icon class applied to all <i data-lucide> elements
   ═══════════════════════════════════════════════════════════════════════════ */

/* Base inline icon — matches surrounding text size */
.sp-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Larger icons inside topic / feature cards */
.topic-card .sp-icon,
.feature-card .sp-icon,
.card-icon .sp-icon,
[class*="card"] > .sp-icon,
[class*="card"] > *:first-child .sp-icon {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.5;
}

/* Nav icons — slightly smaller */
nav .sp-icon,
.nav-link .sp-icon,
.mobile-nav .sp-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

/* Callout / alert box icons */
.callout .sp-icon,
.alert .sp-icon,
.tip .sp-icon,
.note .sp-icon,
[class*="callout"] .sp-icon,
[class*="alert"] .sp-icon,
.sp-trust-bar .sp-icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.25em;
}

/* Section tag icons */
.section-tag .sp-icon,
.tag .sp-icon,
[class*="tag"] .sp-icon {
  width: 0.9em;
  height: 0.9em;
}

/* Button icons */
button .sp-icon,
.btn .sp-icon,
a.btn .sp-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
}

/* Trust bar — override sp-trust-icon span that held emoji */
.sp-trust-icon .sp-icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
}
