/* ============================================
   Home page — index.njk only
   ============================================ */

/* ---------- Core branding aliases used below ---------- */
:root {
  --primary-accent: var(--orange);
  --primary-teal: var(--teal);
  --neutral-dark: var(--navy);
  --neutral-mid: var(--navy-mid);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-light);
  overflow-x: hidden;
}

/* ---------- Header override (home page only — intentionally different
   from components.css's default site-header: more blur/opacity, bolder
   brand text) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--neutral-dark);
}

.brand-text span.accent {
  color: var(--primary-accent);
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 99px;
  background: var(--primary-teal);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* ---------- Hero Section ---------- */
.hero-sec {
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-tag i {
  color: var(--orange);
}

.hero-left h1 {
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--neutral-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-left h1 .accent {
  color: var(--primary-accent);
  display: block;
}

.hero-left .desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 26px;
  max-width: 520px;
}

.checklist-intro {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 14px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-dark);
}

.checklist-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  padding: 14px 28px;
  font-size: 0.98rem;
  border-radius: 99px;
}

.hero-ctas .btn-primary {
  background: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(14, 144, 169, 0.15);
}

.hero-ctas .btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14, 144, 169, 0.25);
}

.hero-ctas .btn-outline {
  border: 2px solid var(--border-soft);
  background: var(--white);
  color: var(--neutral-dark);
  transition: border-color 0.2s, background 0.2s;
}

.hero-ctas .btn-outline:hover {
  border-color: var(--neutral-dark);
  background: var(--bg-lighter);
}

/* Hero Right: Illustration Layout */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-art-wrapper {
  position: relative;
  width: 100%;
  max-width: 570px;
  aspect-ratio: 1;
}

.hero-bg-circle {
  position: absolute;
  inset: 10% 0 0 10%;
  background: linear-gradient(135deg, #e0f2f5 0%, #c4ebf0 100%);
  border-radius: 50%;
  z-index: 1;
}

.hero-dots-grid {
  position: absolute;
  top: 5%;
  right: 0%;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(#0e90a9 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 2;
  opacity: 0.6;
}

.hero-accent-circle {
  position: absolute;
  bottom: 8%;
  right: 5%;
  width: 70px;
  height: 70px;
  background: var(--primary-accent);
  border-radius: 50%;
  z-index: 3;
  opacity: 0.95;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  margin-top: 10px;
  filter: drop-shadow(0 15px 30px rgba(6, 29, 51, 0.15));
}

/* ---------- Stats Section ---------- */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 24px;
  margin-bottom: 80px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f8fa;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.stat-icon.star { color: #f59e0b; background: #fffbeb; }
.stat-icon.book { color: var(--primary-teal); background: #f0f8fa; }
.stat-icon.clock { color: #06b6d4; background: #ecfeff; }
.stat-icon.people { color: var(--primary-teal); background: #f0f8fa; }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neutral-dark);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.84rem;
  color: var(--text-body);
}

/* ---------- Features / Method Section ---------- */
.features-sec {
  padding: 80px 24px;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neutral-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 1rem;
  color: var(--text-body);
}

.features-grid-home {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card-home {
  background: #fafcfe;
  border: 1px solid rgba(14, 144, 169, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(6, 29, 51, 0.06);
  border-color: rgba(14, 144, 169, 0.18);
}

.feature-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--white);
}

/* Icon Color Themes */
.feature-card-home:nth-child(1) .feature-card-icon-wrap { background: #0da1b5; } /* teal */
.feature-card-home:nth-child(2) .feature-card-icon-wrap { background: #ec5e4f; } /* coral/orange */
.feature-card-home:nth-child(3) .feature-card-icon-wrap { background: #14b8a6; } /* emerald */
.feature-card-home:nth-child(4) .feature-card-icon-wrap { background: #f59e0b; } /* amber */
.feature-card-home:nth-child(5) .feature-card-icon-wrap { background: #0a768b; } /* teal-dark */
.feature-card-home:nth-child(6) .feature-card-icon-wrap { background: #e94e3c; } /* orange */

.feature-card-home h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 12px;
}

.feature-card-home p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ---------- Testimonials ---------- */
.testimonials-sec {
  padding: 90px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card-home {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(6, 29, 51, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--neutral-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Custom CSS-based Avatars with unique premium gradients */
.avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.avatar-fatou {
  background: linear-gradient(135deg, #0e90a9 0%, #14b8a6 100%);
}

.avatar-sarah {
  background: linear-gradient(135deg, #e94e3c 0%, #f59e0b 100%);
}

.avatar-yannick {
  background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--neutral-dark);
}

.profile-role {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* Pagination Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-soft);
  cursor: pointer;
  transition: background 0.3s;
}

.test-dot.active {
  background: var(--primary-teal);
  width: 18px;
  border-radius: 99px;
}

/* ---------- Bottom CTA Banner Section ---------- */
.bottom-banner-sec {
  padding: 40px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.bottom-banner-card {
  background: var(--neutral-dark);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 29, 51, 0.15);
  position: relative;
}

.bottom-banner-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.bottom-banner-left h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.bottom-banner-left h2 span.teal {
  color: #14cdfc;
}

.bottom-banner-left p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.bottom-banner-left .btn-primary {
  background: var(--primary-accent);
  color: var(--white);
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 99px;
  box-shadow: 0 10px 25px rgba(233, 78, 60, 0.35);
  font-weight: 600;
}

.bottom-banner-left .btn-primary:hover {
  background: #d83d2c;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(233, 78, 60, 0.5);
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 18px;
}

.bottom-banner-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09253d;
  padding: 30px;
  overflow: hidden;
}

.bottom-banner-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.banner-dots-bg {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(20, 205, 252, 0.3) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 1;
}

/* ---------- Trust Badges ---------- */
.trust-badges-sec {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 30px 24px;
}

.trust-badges-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.trust-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f8fa;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Dynamic color theme for trust badges */
.trust-badge-item:nth-child(1) .trust-badge-icon { color: #0da1b5; background: #eaf6f8; }
.trust-badge-item:nth-child(2) .trust-badge-icon { color: #ec5e4f; background: #fdf2f1; }
.trust-badge-item:nth-child(3) .trust-badge-icon { color: #14b8a6; background: #f0fdfa; }
.trust-badge-item:nth-child(4) .trust-badge-icon { color: #f59e0b; background: #fffbeb; }

.trust-badge-info {
  display: flex;
  flex-direction: column;
}

.trust-badge-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--neutral-dark);
  line-height: 1.3;
}

.trust-badge-desc {
  font-size: 0.76rem;
  color: var(--text-body);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-sec {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
  }
  .hero-left {
    align-items: center;
  }
  .hero-left .desc {
    margin-left: auto;
    margin-right: auto;
  }
  .checklist {
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-right {
    max-width: 480px;
    margin: 0 auto;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .features-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid-home {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .bottom-banner-card {
    grid-template-columns: 1fr;
  }
  .bottom-banner-left {
    padding: 40px;
    text-align: center;
    align-items: center;
  }
  .bottom-banner-right {
    height: 300px;
    padding: 20px;
  }

  .trust-badges-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 16px;
  }

  .checklist-intro {
    width: 100%;
    max-width: 430px;
    margin-bottom: 12px;
    text-align: left;
  }

  .checklist {
    width: 100%;
    max-width: 430px;
    align-items: stretch;
    gap: 8px;
  }

  .checklist-item {
    align-items: flex-start;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid rgba(14, 144, 169, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: left;
  }

  .checklist-icon {
    width: 19px;
    height: 19px;
    margin-top: 1px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stat-item {
    justify-content: flex-start;
    max-width: 280px;
    margin: 0 auto;
  }

  .features-grid-home {
    grid-template-columns: 1fr;
  }

  .trust-badges-inner {
    grid-template-columns: 1fr;
  }
  .trust-badge-item {
    justify-content: flex-start;
    max-width: 280px;
    margin: 0 auto;
  }
}
