:root {
  --brand-dark: #064e3b;
  --brand-primary: #059669;
  --brand-primary-hover: #047857;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-title: #0f172a;
  --text-body: #1e293b;
  --text-muted: #475569;
  --border-subtle: #cbd5e1;
  --border-focus: #059669;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 48px rgba(6, 78, 59, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-canvas);
  font-size: 1rem;
  line-height: 1.7;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
  body { padding-bottom: 75px; }
}


h1, h2, h3, h4, h5, h6, .logo-text, .result-amount, .stat-num, .step-number {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
a:hover, a:focus-visible { color: var(--brand-primary-hover); text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; width: 100%; }
@media(min-width: 640px) { .container { padding: 0 24px; } }

/* Integrated Ultra-Premium FinTech Header Navigation */
.header-wrapper {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #022c22 100%);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  width: 100%;
}
header {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 6px 14px;
}
@media(min-width: 640px) { header { padding: 8px 20px; } }

.header-flex { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 767px) {
  .header-flex { justify-content: center; }
}

.logo-group { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}
@media(min-width: 640px) { .logo-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 1.15rem; } }

.logo-text { font-size: 1.02rem; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; white-space: nowrap; }
@media(min-width: 640px) { .logo-text { font-size: 1.2rem; } }
.logo-text span { color: #f59e0b; }

.nav-links { display: none; align-items: center; gap: 24px; list-style: none; }

/* Navigation Links Styling - High Contrast Crisp White */
.nav-links a, .nav-link, a.nav-link, .nav-dropdown-trigger {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.95 !important;
  transition: all 0.2s ease !important;
}

.nav-links a:hover, .nav-link:hover, a.nav-link:hover, .nav-dropdown-trigger:hover {
  color: #fbbf24 !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.45) !important;
}

@media (min-width: 992px) { .nav-links { display: flex; } }

/* Navigation Dropdown Menu System */
.nav-dropdown-item {
  position: relative;
}

.dropdown-caret {
  font-size: 0.75rem;
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-dropdown-item:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(6, 78, 59, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 8px 0;
  margin-top: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.nav-dropdown-item:hover .dropdown-menu,
.nav-dropdown-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24 !important;
  padding-left: 22px;
}



/* Header CTA Buttons */
.header-cta { display: flex; align-items: center; gap: 10px; }

.header-phone-btn, a.header-phone-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  white-space: nowrap;
}
@media (min-width: 640px) { .header-phone-btn { display: inline-flex; } }
.header-phone-btn:hover, a.header-phone-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
  text-decoration: none !important;
}

.btn-header-wa, a.btn-header-wa {
  display: none;
  background: #ffffff;
  color: #064e3b !important;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .btn-header-wa { display: inline-flex; }
}
.btn-header-wa:hover, a.btn-header-wa:hover {
  background: #f8fafc;
  color: #047857 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
  text-decoration: none !important;
}
.wa-badge-icon {
  width: 20px;
  height: 20px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.25) 0%, transparent 45%),
              linear-gradient(135deg, var(--brand-dark) 0%, #022c22 100%);
  color: #ffffff;
  padding: 20px 0 44px 0;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}
@media(min-width: 768px) { .hero { padding: 32px 0 64px 0; } }

.hero-breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 16px;
  font-weight: 500;
}
@media(min-width: 640px) { .hero-breadcrumbs { font-size: 0.9rem; margin-bottom: 20px; } }
.hero-breadcrumbs a { color: rgba(255, 255, 255, 0.9); transition: color 0.2s; }
.hero-breadcrumbs a:hover { color: #ffffff !important; text-decoration: underline; }

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media(min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .hero-grid > div:first-child {
    flex: 1 1 54%;
    min-width: 0;
  }
  .hero-grid > div:last-child {
    flex: 0 0 380px;
    max-width: 420px;
  }
}
@media(min-width: 1200px) {
  .hero-grid {
    gap: 36px;
  }
  .hero-grid > div:last-child {
    flex: 0 0 410px;
  }
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold-light);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
@media(min-width: 640px) { .badge-gold { padding: 6px 14px; font-size: 0.8rem; margin-bottom: 18px; } }

.hero h1 { font-size: clamp(1.7rem, 4.8vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.03em; }
.hero-sub { font-size: 0.98rem; opacity: 0.94; margin-bottom: 20px; line-height: 1.6; font-weight: 400; }
@media(min-width: 640px) { .hero-sub { font-size: 1.08rem; margin-bottom: 24px; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero-badge-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
}
@media(min-width: 640px) { .hero-badge-pill { padding: 8px 18px; font-size: 0.88rem; } }

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-title);
  padding: 20px 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
@media(min-width: 640px) { .hero-card { padding: 30px; border-radius: 24px; } }

.hero-card h3 { font-size: 1.18rem; color: var(--brand-dark); margin-bottom: 16px; font-weight: 800; letter-spacing: -0.02em; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--text-title); }
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text-title);
  transition: all 0.2s;
}
@media(min-width: 640px) { .form-group input, .form-group select { padding: 13px 16px; font-size: 0.98rem; } }

.form-group input:focus-visible, .form-group select:focus-visible {
  outline: none;
  background: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

/* ULTRA-MODERN HIGH-CONTRAST FINTECH BUTTON SYSTEM */
.btn-primary, a.btn-primary, button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
  color: #ffffff !important;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  font-family: var(--font-heading);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
@media(min-width: 640px) { .btn-primary, a.btn-primary, button.btn-primary { padding: 14px 24px; font-size: 1rem; } }

.btn-primary:hover, a.btn-primary:hover, button.btn-primary:hover,
.btn-primary:focus-visible, a.btn-primary:focus-visible, button.btn-primary:focus-visible {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 28px rgba(6, 78, 59, 0.45);
  text-decoration: none !important;
  outline: none;
}

.btn-primary:active, a.btn-primary:active, button.btn-primary:active,
.header-phone-btn:active, .btn-header-wa:active,
.nearby-pill-card:active, .other-city-pill:active, .faq-question:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.3) !important;
}

/* Scroll Reveal Animation Engine */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.section-title { text-align: center; margin: 36px 0 20px 0; }
@media(min-width: 768px) { .section-title { margin: 48px 0 24px 0; } }
.section-title h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--brand-dark); font-weight: 800; letter-spacing: -0.025em; }
.section-title p { color: var(--text-muted); font-size: 0.95rem; margin-top: 6px; }

.content-card {
  background: var(--bg-surface);
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
@media(min-width: 640px) { .content-card { padding: 36px; border-radius: 20px; margin: 32px 0; } }
.content-card h2 { font-size: 1.35rem; color: var(--brand-dark); margin-bottom: 14px; font-weight: 800; letter-spacing: -0.025em; }
.content-card p { font-size: 0.98rem; line-height: 1.7; color: var(--text-body); margin-bottom: 14px; font-weight: 450; }

/* DATA TABLE CONTAINER (COMPARISON MATRIX) FIX */
.data-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow-x: auto;
  max-width: 100%;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  text-align: left;
  min-width: 600px;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
@media(min-width: 640px) { .data-table th, .data-table td { padding: 16px 22px; } }
.data-table th {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #022c22 100%);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
}
.data-table tr:hover { background: var(--bg-subtle); }

/* USES GRID (PURPOSE AND USES) FIX */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media(min-width: 640px) {
  .uses-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
  }
}
.use-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 14px 12px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-dark);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
@media(min-width: 640px) { .use-item { padding: 16px 14px; font-size: 0.98rem; } }
.use-item:hover { transform: translateY(-2px); border-color: var(--brand-primary); }

/* STEPS GRID (HOW TO APPLY PROCESS CARDS) FIX */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media(min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media(min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.step-card {
  background: var(--bg-surface);
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media(min-width: 640px) { .step-card { padding: 28px 22px; } }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card h3 { font-size: 1.08rem; color: var(--brand-dark); margin: 12px 0 8px 0; font-weight: 800; }
.step-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }

.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent-gold-light);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 auto;
}

/* BENTO FEATURE CARDS GRID FIX */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media(min-width: 992px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.feature-card {
  background: var(--bg-surface);
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media(min-width: 640px) { .feature-card { padding: 30px; border-radius: 20px; } }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.15rem; color: var(--brand-dark); margin-bottom: 16px; font-weight: 800; border-bottom: 2px solid var(--brand-primary); padding-bottom: 8px; display: inline-block; }
.feature-card ul { list-style: none; }
.feature-card li { font-size: 0.92rem; margin-bottom: 12px; padding-left: 24px; position: relative; color: var(--text-body); font-weight: 500; }
@media(min-width: 640px) { .feature-card li { font-size: 0.98rem; margin-bottom: 14px; padding-left: 26px; } }
.feature-card li::before { content: "✓"; color: var(--brand-primary); font-weight: 800; position: absolute; left: 0; }

/* EMI CALCULATOR SECTION FIX */
.calc-card {
  background: var(--bg-surface);
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}
@media(min-width: 640px) { .calc-card { padding: 36px 40px; border-radius: 24px; margin-top: 36px; } }

.calc-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media(min-width: 992px) { .calc-grid { grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; } }
.slider-group { margin-bottom: 20px; }
.slider-header { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--text-title); }
.slider-header span.val { color: var(--brand-primary); font-weight: 800; font-family: var(--font-heading); }
input[type=range] { width: 100%; accent-color: var(--brand-primary); cursor: pointer; height: 8px; border-radius: 4px; }

.calc-result-box {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #022c22 100%);
  color: #ffffff;
  padding: 24px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
}
@media(min-width: 640px) { .calc-result-box { padding: 32px; border-radius: 22px; } }

.result-label { font-size: 0.88rem; opacity: 0.85; font-weight: 600; }
.result-amount { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #ffffff; margin: 8px 0; letter-spacing: -0.03em; }
.result-breakdown { width: 100%; margin-top: 16px; font-size: 0.88rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px; }
.breakdown-row { display: flex; justify-content: space-between; padding: 6px 0; }

/* ── Customer Reviews Carousel ── */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16,185,129,0.15);
}
.reviews-header h2 { margin: 0; }
.reviews-rating-summary { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.big-rating {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1;
  font-family: var(--font-heading);
}
.stars-row { font-size: 1.1rem; color: #f59e0b; letter-spacing: 2px; }
.rating-count { font-size: 0.8rem; color: var(--text-muted); }

.reviews-carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(16,185,129,0.13);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(1,67,37,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.review-card:hover {
  box-shadow: 0 8px 24px rgba(1,67,37,0.1);
  transform: translateY(-2px);
}
.review-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 18px;
}
.review-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  color: var(--brand-primary);
  line-height: 1;
  font-style: normal;
  opacity: 0.6;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(16,185,129,0.1);
}
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.review-footer > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.review-footer > div:nth-child(2) strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-footer > div:nth-child(2) span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.review-stars-sm {
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}
.reviews-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16,185,129,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}
.reviews-dots .dot.active {
  background: var(--brand-primary);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
  .review-card { flex: 0 0 100%; }
  .reviews-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* AREA PILLS FIX */
.area-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media(min-width: 640px) {
  .area-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
  }
}
.area-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 10px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-title);
  box-shadow: var(--shadow-sm);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.2s;
}
@media(min-width: 640px) {
  .area-pill {
    padding: 99px 18px;
    font-size: 0.92rem;
    width: auto;
  }
}
.area-pill:hover { transform: translateY(-2px); border-color: var(--brand-primary); }

/* MODERN FINTECH NEARBY & OTHER LOCATIONS PILLS GRID (HOVER TEXT COLOR FIX) */
.nearby-pills-container, .other-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .nearby-pills-container, .other-locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (min-width: 1024px) {
  .nearby-pills-container, .other-locations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.nearby-pill-card, a.nearby-pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--text-title) !important;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  will-change: transform;
}

.pill-title {
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 1.02rem;
  transition: color 0.25s ease;
}
.pill-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
  transition: color 0.25s ease;
}

/* CRITICAL HOVER FIX: Force ALL child titles, text, and arrows inside .nearby-pill-card to turn 100% WHITE on hover */
.nearby-pill-card:hover, a.nearby-pill-card:hover,
.nearby-pill-card:focus-visible, a.nearby-pill-card:focus-visible {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #022c22 100%) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.35);
  text-decoration: none !important;
}

.nearby-pill-card:hover *, a.nearby-pill-card:hover *,
.nearby-pill-card:hover .pill-title, a.nearby-pill-card:hover .pill-title,
.nearby-pill-card:hover .pill-subtitle, a.nearby-pill-card:hover .pill-subtitle,
.nearby-pill-card:focus-visible *, a.nearby-pill-card:focus-visible * {
  color: #ffffff !important;
}

.nearby-pill-card .pill-arrow {
  color: var(--brand-primary);
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 0.25s ease, color 0.25s ease;
}
.nearby-pill-card:hover .pill-arrow, a.nearby-pill-card:hover .pill-arrow {
  color: #10b981 !important;
  transform: translateX(5px);
}

/* Clickable Text Pills Grid for Other Locations */
.other-city-pill, a.other-city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark) !important;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  will-change: transform;
}
.other-city-pill:hover, a.other-city-pill:hover {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.25);
  text-decoration: none !important;
}
.other-city-pill:hover * { color: #ffffff !important; }

/* HARDWARE-ACCELERATED SMOOTH SINGLE-EXPANDED FAQ ACCORDION */
section#faqs, #faqs {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  margin-top: 36px;
  margin-bottom: 40px;
}

#faqs h2 {
  color: var(--brand-dark);
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  font-weight: 800;
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 24px;
}

.faq-container { width: 100%; max-width: 100%; margin: 0; }
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.active {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}
.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--brand-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.faq-question:hover {
  background-color: var(--bg-subtle);
}
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--brand-primary);
  font-weight: 800;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.faq-item.active .faq-question::after {
  content: "−";
  color: #d97706;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.7;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  will-change: max-height, opacity;
}
.faq-item.active .faq-answer {
  max-height: 350px;
  opacity: 1;
  padding: 0 20px 20px 20px;
}

/* Single-Line Mobile Bottom Action Dock */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}
@media (min-width: 768px) {
  .sticky-bar { display: none; }
}

.btn-call, a.btn-call, .btn-whatsapp, a.btn-whatsapp {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  font-size: clamp(0.78rem, 3.4vw, 0.88rem);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.btn-call, a.btn-call {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}
.btn-whatsapp, a.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-svg-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* FinTech Premium 4-Column Footer */
footer { 
  background: linear-gradient(180deg, #022c22 0%, #064e3b 100%); 
  color: #e2e8f0; 
  padding: 36px 0 20px 0; 
  font-size: 0.95rem; 
  width: 100%; 
  overflow-x: hidden; 
  border-top: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 32px;
}
@media(min-width: 768px) { footer { padding: 48px 0 24px 0; font-size: 1rem; margin-top: 36px; } }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media(min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; } }

.footer-brand h4 { color: #ffffff; font-size: 1.25rem; margin-bottom: 16px; font-weight: 800; font-family: var(--font-heading); letter-spacing: -0.02em; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; color: #94a3b8; margin-bottom: 16px; }

.footer-links h5 { color: #ffffff; font-size: 1.05rem; margin-bottom: 18px; font-weight: 700; font-family: var(--font-heading); letter-spacing: -0.01em; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  text-decoration: none !important;
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: #34d399 !important;
  text-decoration: none !important;
  outline: none;
}


.disclaimer-box { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.82rem; line-height: 1.6; color: #94a3b8; }

/* Area Pills & Other Location Redirect Pills */
.area-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.area-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  height: auto !important;
  width: auto !important;
}

.area-pill:hover {
  background: #f0fdf4 !important;
  border-color: #16a34a !important;
  color: #15803d !important;
  transform: translateY(-2px) !important;
}

.other-city-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px 18px !important;
  border-radius: 9999px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--brand-dark) !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.other-city-pill:hover {
  background: #064e3b !important;
  border-color: #064e3b !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(6,78,59,0.2) !important;
}

.other-city-pill:hover span {
  color: #ffffff !important;
}

/* GLOBAL LOAN MODAL COMPONENT */
.loan-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 44, 34, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.loan-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.loan-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 32px 24px 24px 24px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.loan-modal-overlay.open .loan-modal-content {
  transform: translateY(0) scale(1);
}

.loan-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-subtle);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.loan-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.loan-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.loan-modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 10px 0 6px 0;
  font-family: var(--font-heading);
}

.loan-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.loan-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.modal-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
}

.modal-btn-wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
}

.modal-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.modal-btn-call {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  color: #ffffff !important;
}

.modal-btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.4);
}

.modal-btn-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.modal-btn-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.modal-btn-text small {
  font-size: 0.8rem;
  opacity: 0.88;
  font-weight: 500;
}

.loan-modal-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--bg-subtle);
  padding-top: 14px;
}

/* SINGLE-BUTTON MOBILE STICKY APPLY DOCK */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 14px;
  z-index: 10000;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
  .mobile-sticky-bar { display: none; }
}

.mobile-sticky-apply-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.mobile-sticky-apply-btn:active {
  transform: scale(0.98);
}

/* HEADER SINGLE APPLY BUTTON STYLING */
.btn-header-apply, button.btn-header-apply {
  display: none;
  background: #ffffff;
  color: #064e3b !important;
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 800;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  white-space: nowrap;
  cursor: pointer;
}

@media (min-width: 768px) {
  .btn-header-apply, button.btn-header-apply {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  .header-cta {
    display: none !important;
  }
}

.btn-header-apply:hover, button.btn-header-apply:hover {
  background: #f8fafc;
  color: #047857 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

/* MOBILE RESPONSIVE MODAL & UI OVERRIDES (MAX-WIDTH: 640PX) */
@media (max-width: 640px) {
  .loan-modal-overlay {
    align-items: flex-end;
    padding: 0;
    background: rgba(2, 44, 34, 0.82);
  }

  .loan-modal-content {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    padding: 24px 18px 28px 18px;
    transform: translateY(100%);
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
  }

  .loan-modal-overlay.open .loan-modal-content {
    transform: translateY(0);
  }

  .loan-modal-close {
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    background: #f1f5f9;
  }

  .loan-modal-header {
    margin-bottom: 18px;
  }

  .loan-modal-header .badge-gold {
    font-size: 0.68rem;
    padding: 4px 10px;
    letter-spacing: 0.03em;
  }

  .loan-modal-header h3 {
    font-size: 1.22rem;
    margin: 8px 0 4px 0;
  }

  .loan-modal-header p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .loan-modal-actions {
    gap: 10px;
    margin-bottom: 16px;
  }

  .modal-btn {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .modal-btn-icon {
    font-size: 1.35rem;
  }

  .modal-btn-text strong {
    font-size: 0.94rem;
  }

  .modal-btn-text small {
    font-size: 0.75rem;
  }

  .loan-modal-footer {
    font-size: 0.72rem;
    line-height: 1.35;
    padding-top: 10px;
  }
}

/* MOBILE STICKY DOCK PADDING OFFSET */
@media (max-width: 767px) {
  footer {
    padding: 36px 0 16px 0 !important;
  }
  .disclaimer-box {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* RESPONSIVE 3-IMAGE CAROUSEL SYSTEM (FINTECH INTEGRATED THEME) */
.carousel-section {
  max-width: 1140px;
  margin: 36px auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.carousel-header h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  color: var(--brand-dark);
  font-weight: 800;
  margin: 8px 0 10px 0;
  font-family: var(--font-heading);
}

.carousel-intro {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
}

.carousel-closing {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 18px;
  font-style: italic;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 18px;
  outline: none;
}

.carousel-wrapper:focus-visible {
  box-shadow: 0 0 0 3px var(--brand-primary);
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  padding: 4px 2px;
}

.carousel-track {
  display: flex !important;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll-images 25s linear infinite;
}
/* User explicitly requested NO pause on hover */
.carousel-track:hover {
  animation-play-state: running !important;
}

@keyframes marquee-scroll-images {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* Hide manual controls since it's an auto-marquee now */
.carousel-nav, .carousel-dots {
  display: none !important;
}


.carousel-slide {
  width: 280px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .carousel-slide {
    width: 350px;
  }
}

.carousel-card {
  background: #ffffff;
  border: 1px solid rgba(4, 120, 87, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(2, 44, 34, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2, 44, 34, 0.14);
  border-color: var(--brand-primary);
}

.carousel-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #ffffff;
}

.slide-caption {
  display: none !important;
}

.slide-caption strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 4px;
}

.slide-caption small {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.carousel-nav {
  display: none !important;
}

.carousel-dots {
  display: none !important;
}

/* ── Hero Features Pill Style (3+2 layout) ── */
.hero-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 16px 9px 10px;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  /* 3 per row on desktop */
  flex: 0 1 calc(33.33% - 7px);
  min-width: 0;
}

.pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.hero-pill-item:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Tablet: 2 per row */
@media (max-width: 900px) and (min-width: 601px) {
  .hero-pill-item {
    flex: 0 1 calc(50% - 5px);
    font-size: 0.86rem;
  }
}

/* Mobile: auto-wrap, fill naturally */
@media (max-width: 600px) {
  .hero-features-pills {
    gap: 8px;
  }
  .hero-pill-item {
    flex: 0 1 calc(50% - 4px);
    font-size: 0.82rem;
    padding: 8px 12px 8px 8px;
  }
  .pill-icon {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-pill-item {
    flex: 0 1 100%;
    font-size: 0.82rem;
  }
}




/* Canva Hero Ribbon Badge & 5-Feature Grid */
.hero-key-features {
  margin-top: 20px;
}

.hero-ribbon-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #fde8e8 0%, #fee2e2 100%);
  color: #991b1b;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  padding: 8px 28px 8px 16px;
  border-radius: 6px 0 0 6px;
  clip-path: polygon(0 0, 91% 0, 100% 50%, 91% 100%, 0 100%);
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(153, 27, 27, 0.25);
  letter-spacing: -0.01em;
}

/* ── Hero Features Grid → Pill Style (global for all location/profession pages) ── */
.hero-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reset old 5th-item grid hack */
.hero-feature-item:nth-child(5) {
  grid-column: unset;
  justify-content: unset;
  max-width: unset;
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-left: none; /* remove old accent bar */
  border-radius: 9999px; /* pill shape */
  padding: 9px 16px 9px 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  position: relative;
  /* 3 per row on desktop */
  flex: 0 1 calc(33.33% - 7px);
  min-width: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-feature-item::after {
  display: none; /* remove old gradient overlay */
}

.hero-feature-item:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  border-left: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Icon circle — matches .pill-icon style */
.hero-feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.hero-feature-text {
  font-size: 0.88rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-feature-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Tablet: 2 per row */
@media (max-width: 900px) and (min-width: 601px) {
  .hero-feature-item {
    flex: 0 1 calc(50% - 5px);
    font-size: 0.86rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-features-grid {
    gap: 8px;
  }
  .hero-feature-item {
    flex: 0 1 calc(50% - 4px);
    font-size: 0.82rem;
    padding: 8px 12px 8px 8px;
  }
  .hero-feature-icon {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-feature-item {
    flex: 0 1 100%;
  }
}



/* ── Testimonial Auto-Carousel ── */
.testimonial-carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 4px 2px 16px;
}

.testimonial-card-inner {
  margin: 0 auto;
  max-width: 680px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Dot navigation */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.t-dot.active {
  background: var(--brand-primary);
  width: 28px;
  border-radius: 5px;
}

/* Prev / Next arrow buttons */
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.t-nav-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.t-nav-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: scale(1.1);
}

/* ── Global: prevent image drag / filename tooltip ── */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto; /* keep links clickable */
}

/* ── Localities We Serve List ── */
.localities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.localities-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s ease;
  cursor: default;
}

.localities-list li:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.12);
}

@media (max-width: 600px) {
  .localities-list li {
    font-size: 0.82rem;
    padding: 5px 11px;
  }
}

/* ── Other Locations We Serve — Link List ── */
.other-locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.other-locations-list li a {
  display: inline-flex;
  align-items: center;
  background: rgba(1, 67, 37, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.other-locations-list li a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  text-decoration: none;
}

@media (max-width: 600px) {
  .other-locations-list li a {
    font-size: 0.8rem;
    padding: 5px 11px;
  }
}

/* ── Customer Reviews Section ── */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.reviews-header h2 {
  margin: 0;
}

.reviews-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.big-rating {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1;
  font-family: var(--font-heading);
}

.stars-row {
  font-size: 1.2rem;
  color: #f59e0b;
  letter-spacing: 2px;
}

.rating-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.review-card {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 8px 28px rgba(1, 67, 37, 0.1);
  transform: translateY(-2px);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.reviewer-info {
  flex: 1;
  min-width: 0;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviewer-info span {
  font-size: 0.77rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  flex: 1;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.review-tags span {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--brand-dark);
}

.review-date {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: auto;
}












/* Ultra-Premium Reviews & Testimonials Card System */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid rgba(4, 120, 87, 0.16);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(2, 44, 34, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 44, 34, 0.12);
  border-color: rgba(4, 120, 87, 0.35);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #064e3b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.reviewer-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-name {
  display: block !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: var(--brand-dark) !important;
  line-height: 1.3 !important;
}

.reviewer-sub {
  display: block !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.3 !important;
}


/* Marquee Testimonials */
.reviews-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex !important;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.marquee-track:hover {
  animation-play-state: running !important;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Scrolls exactly half the total width (since we duplicated the 3 items) */
}
.marquee-track .review-card {
  width: 350px;
  flex: 0 0 auto;
  white-space: normal;
}

@media (max-width: 768px) {
  .marquee-track .review-card {
    width: 280px;
  }
}


/* Header Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown .dropdown-menu li {
  margin: 0;
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #1f2937 !important; /* Dark text on white background */
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
.nav-dropdown .dropdown-menu a:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important; /* Primary brand color on hover */
  text-shadow: none !important;
}
/* Hide mobile toggle button & mobile dropdown completely on desktop (>991px) */
@media (min-width: 992px) {
  .mobile-menu-toggle,
  .mobile-dropdown-menu {
    display: none !important;
  }
}

/* Mobile Header Layout & Floating White Dropdown Menu (<992px) */
@media (max-width: 991px) {
  .header-wrapper {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 100%) !important;
    padding: 8px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  header {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important;
    padding: 6px 14px !important;
    margin: 0 10px !important;
  }

  .header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .logo-text {
    font-size: 0.95rem !important;
  }

  /* Hide desktop links and top apply button on mobile header capsule */
  .nav-links,
  .header-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto !important;
  }

  .mobile-menu-toggle:hover, .mobile-menu-toggle.active {
    background: #f59e0b;
    border-color: #f59e0b;
  }

  /* Floating White Dropdown Menu Card */
  .mobile-dropdown-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
  }

  .mobile-dropdown-menu.open {
    display: block !important;
    animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.mobile-dropdown-content {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 18px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links > li {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 4px;
}

.mobile-nav-links > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e293b !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  background: #f0fdf4;
  color: #059669 !important;
  padding-left: 12px;
}

.nav-item-icon {
  font-size: 1.1rem;
}

.mobile-dropdown-section {
  padding: 10px 4px 4px 4px;
}

.mobile-section-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mobile-sub-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-sub-links a {
  padding: 9px 12px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #f1f5f9;
}

.mobile-sub-links a:hover {
  background: #ecfdf5;
  color: #059669 !important;
  border-color: #a7f3d0;
}

.mobile-sub-links a .arrow {
  color: #94a3b8;
  font-size: 0.82rem;
}

.mobile-dropdown-cta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* Layout Shift (CLS) & Performance Optimization */
#dynamic-lead-form-container {
  min-height: 480px;
  display: block;
  contain-intrinsic-size: 480px;
}







