/* ==========================================================================
   যৌতুক ডট কম — custom styles (palette sampled from reference design)
   ========================================================================== */

:root {
  --maroon-900: #6b1b1a;
  --maroon-800: #7a1f1d;
  --charcoal-900: #1c1c1c;
  --charcoal-800: #252525;
  --red-600: #b81f1e;
  --red-500: #d3312c;
  --orange-500: #e8890d;
  --orange-600: #d87706;
  --cream-100: #fdf6ee;
  --cream-200: #f4d8a6;
  --blue-700: #2c4a6e;
  --blue-400: #7f94b0;
  --green-600: #25d366;
  --green-700: #1d9f4e;
  --ink-900: #1f1a1a;
  --ink-600: #5a5150;

  --font-heading: "Baloo Da 2", "Hind Siliguri", sans-serif;
  --font-body: "Hind Siliguri", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--ink-600);
  max-width: 780px;
  font-size: 1.05rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

section {
  padding: 3.5rem 0;
}

/* ---------------- Header ---------------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 20;
}

.site-header .navbar {
  padding: 0.9rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--maroon-900) !important;
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--ink-900);
}

.site-header .nav-link:hover {
  color: var(--orange-600);
}

.btn-orange {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 1.4rem;
}

.btn-orange:hover {
  background: var(--orange-600);
  color: #fff;
}

.navbar-toggler {
  padding: 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--maroon-900);
}

/* ---------------- Hero + Reveal shared wrap ---------------- */
.hero-wrap {
  position: relative;
  background: radial-gradient(120% 100% at 50% 0%, #000 0%, var(--maroon-800) 45%, var(--maroon-900) 100%);
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}

.emoji-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.emoji {
  position: absolute;
  font-size: 2rem;
  opacity: 0.55;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.e1 { top: 6%; left: 6%; }
.e2 { top: 14%; left: 18%; font-size: 2.4rem; }
.e3 { top: 6%; left: 30%; }
.e4 { top: 4%; left: 45%; font-size: 2.6rem; }
.e5 { top: 6%; left: 60%; }
.e6 { top: 6%; left: 74%; }
.e7 { top: 4%; left: 90%; }
.e8 { top: 15%; left: 82%; font-size: 2.2rem; }
.e9 { top: 24%; left: 92%; }
.e10 { top: 32%; left: 82%; }
.e11 { top: 40%; left: 90%; }
.e12 { top: 46%; left: 78%; font-size: 2.4rem; }
.e13 { top: 55%; left: 88%; }
.e14 { top: 24%; left: 4%; }
.e15 { top: 40%; left: 8%; }
.e16 { top: 15%; left: 12%; }
.e17 { top: 32%; left: 20%; }
.e18 { top: 46%; left: 12%; }
.e19 { top: 55%; left: 24%; }
.e20 { top: 55%; left: 55%; }

.hero-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  max-width: 620px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.trophy-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--maroon-800), var(--maroon-900));
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--maroon-900);
  margin-bottom: 0.6rem;
}

.hero-sub {
  color: var(--ink-600);
  margin-bottom: 1.25rem;
}

.hero-quote {
  background: var(--cream-100);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-900);
  margin-bottom: 1.5rem;
}

.reveal-block {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  max-width: 720px;
}

.warning-icon {
  font-size: 2.6rem;
  color: var(--orange-500);
  margin-bottom: 1rem;
}

.reveal-title {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.reveal-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* ---------------- Law section ---------------- */
.law-section {
  background: var(--charcoal-800);
  color: #fff;
}

.law-section .section-heading {
  color: #fff;
}

.law-section .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.heading-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.6rem;
  background: var(--orange-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.heading-icon-light {
  background: rgba(255, 255, 255, 0.15);
}

.tag-pill {
  background: var(--red-600);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.icon-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
}

.religion-section .icon-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.icon-card-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-card-badge-outline {
  background: var(--cream-200);
  color: var(--orange-600);
}

.icon-card-title {
  color: var(--orange-500);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.icon-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.religion-section .icon-card-text {
  color: var(--ink-600);
}

.law-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.law-footnote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ---------------- Stats section ---------------- */
.stats-section {
  background: var(--red-600);
  color: #fff;
}

.stats-statement {
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  margin: 1.5rem 0 0.5rem;
}

.stat-card {
  background: var(--red-500);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

.stat-eyebrow {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.stat-number-sm {
  font-size: 1.6rem;
}

.stat-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.stat-source {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.illustration-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.stats-footnote {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------- Religion divider ---------------- */
.religion-divider {
  background: #fff;
  padding-bottom: 0;
  text-align: center;
}

.religion-divider .section-lead {
  margin-inline: auto;
}

.scallop-divider {
  width: 100%;
  display: block;
  margin-top: 2rem;
}

/* ---------------- Religion sections ---------------- */
.religion-section {
  background: #fff;
  padding-top: 0;
}

.religion-section-cream {
  background: var(--cream-100);
}

.religion-bar {
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin: 2rem 0 1.5rem;
  color: #fff;
}

.religion-bar h3 {
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.religion-bar-islam {
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
}

.religion-bar-hindu {
  background: linear-gradient(90deg, var(--red-500), var(--orange-600));
}

.religion-bar-christian {
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
}

.religion-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ---------------- Result / Share ---------------- */
.result-wrap {
  position: relative;
  background: radial-gradient(120% 100% at 50% 0%, #000 0%, var(--maroon-800) 45%, var(--maroon-900) 100%);
  padding: 4.5rem 0;
  overflow: hidden;
}

.result-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  max-width: 560px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.progress-ring {
  display: block;
  margin: 0 auto;
  transform: rotate(-90deg);
}

.progress-ring-track {
  fill: none;
  stroke: #eee;
  stroke-width: 12;
}

.progress-ring-bar {
  fill: none;
  stroke: var(--green-700);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 502.4;
  stroke-dashoffset: 502.4;
  transition: stroke-dashoffset 1.4s ease-out;
}

.progress-ring-label {
  margin-top: -120px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--green-700);
}

.result-title {
  color: var(--maroon-900);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.result-quote {
  color: var(--ink-600);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.share-label {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.btn-whatsapp {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
}

.btn-whatsapp:hover {
  color: #fff;
  opacity: 0.9;
}

.btn-facebook {
  background: #1877f2;
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
}

.btn-facebook:hover {
  color: #fff;
  opacity: 0.9;
}

.btn-copy {
  background: var(--cream-100);
  color: var(--ink-900);
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--maroon-900);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer-brand {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col-title {
  color: var(--orange-500);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--orange-500);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .law-image {
    min-height: 240px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 2.5rem 0;
  }

  .hero-card,
  .result-card {
    padding: 2rem 1.25rem;
  }

  .emoji {
    font-size: 1.4rem;
  }

  .stat-card {
    height: auto;
  }

  .illustration-image,
  .religion-image {
    height: 200px;
  }

  .tag-pill {
    font-size: 0.75rem;
  }
}
