/* ==========================================================
   Durbeen Fintech LLP - Modern Brand Style Guide & Design System
   Colors:
     - Primary Orange: #f34d01
     - Dark Navy: #0f172a
     - Slate Body Text: #334155
     - Cream Background: #fffcf7
     - Supporting Accent Blue: #0284c7
     - White Cards: #ffffff
   ========================================================== */

:root {
  --primary-orange: #f34d01;
  --primary-orange-hover: #dc4200;
  --primary: #f34d01;
  --primary-hover: #dc4200;
  --accent-blue: #0284c7;
  --accent-blue-light: #f0f9ff;
  --bg-cream: #fffcf7;
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --text-navy: #0f172a;
  --navy: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-card: #f1f5f9;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   NAVIGATION BAR
   ========================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem max(2rem, calc((100% - 1280px) / 2 + 2rem));
  background: rgba(255, 252, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
  height: 68px;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.75rem max(2rem, calc((100% - 1280px) / 2 + 2rem));
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 42px;
  max-height: 42px;
  flex-shrink: 0;
}

.nav-brand img,
.nav-logo,
img.nav-logo {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item a {
  color: var(--text-navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.nav-item a:hover {
  color: var(--primary-orange);
}

.nav-item a.active {
  color: var(--primary-orange);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-orange);
  padding-bottom: 2px;
}

.nav-chevron {
  font-size: 0.65rem;
  opacity: 0.7;
}



.btn-nav-cta {
  background: transparent;
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange);
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-cta:hover {
  background: var(--primary-orange);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(243, 77, 1, 0.25);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-navy);
  cursor: pointer;
}

/* ==========================================================
   BUTTONS & CTAs
   ========================================================== */
.btn-primary {
  background-color: var(--primary-orange);
  color: var(--bg-white);
  border: 1.5px solid var(--primary-orange);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  border-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 77, 1, 0.28);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background-color: var(--primary-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 77, 1, 0.2);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-ghost:hover {
  background-color: var(--primary-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 77, 1, 0.2);
}

/* ==========================================================
   CTA STRIP (Calculators, Blog, Articles)
   ========================================================== */
.cta-strip {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 3.5rem auto;
  max-width: 900px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  color: var(--text-navy);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
}

.cta-strip h2 em {
  font-style: italic;
  color: var(--primary-orange);
}

.cta-strip p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================
   HOMEPAGE HERO
   ========================================================== */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5.5rem 0;
  background-color: #fffdfa;
  background-size: auto 100%;
  background-position: right top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fffdfa 0%,
    #fffdfa 38%,
    rgba(255, 253, 250, 0.94) 52%,
    rgba(255, 253, 250, 0.4) 70%,
    rgba(255, 253, 250, 0) 85%
  );
  z-index: 1;
  pointer-events: none;
}

.home-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.hero-text-block {
  max-width: 500px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-navy);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================
   FLOATING TRUST BANNER (HOMEPAGE)
   ========================================================== */
.trust-banner-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  padding: 0 2rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.trust-banner-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  padding: 1.8rem 1rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.8rem;
  border-right: 1px solid var(--border-light);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.trust-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-orange);
  stroke-width: 1.8;
  fill: none;
}

.trust-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.35;
}

/* ==========================================================
   INNER PAGE HERO
   ========================================================== */
.page-header {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(15, 23, 42, 0.55) 40%,
    rgba(255, 252, 247, 0.18) 100%
  );
  z-index: 1;
}

.page-header-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f97316;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.page-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #f97316;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.page-subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  line-height: 1.7;
}

.breadcrumb-nav {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #f97316;
}

.breadcrumb-nav span {
  color: #f97316;
  font-weight: 500;
}

/* ==========================================================
   SECTIONS & LAYOUT
   ========================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-white);
}

.section-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.section-heading-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.section-tag {
  color: var(--primary-orange);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================
   SERVICES GRID (6 HORIZONTAL CARDS - MATCHING MOCKUP)
   ========================================================== */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.services-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.6rem 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.12);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff1eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-orange);
  stroke-width: 1.8;
  fill: none;
}

.service-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex-grow: 1;
  text-align: center;
}

.service-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0 auto;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 0.5rem;
}

/* ==========================================================
   INNER PAGE TRUST STATS BAR
   ========================================================== */
.page-stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
}

.page-stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.page-stat-item {
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.page-stat-item:last-child {
  border-right: none;
}

.page-stat-value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--primary-orange);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.page-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================
   SECTION INTRO WITH CARDS HEADING AREA
   ========================================================== */
.section-intro-bar {
  margin-bottom: 3rem;
  max-width: 760px;
}

/* ==========================================================
   CONTACT FORM INPUTS - POLISHED
   ========================================================== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-navy);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.88rem 1.1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--bg-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(243, 77, 1, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================
   ABOUT PAGE — FOUNDER CARD ENHANCED
   ========================================================== */
.team-founder-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-left: 5px solid var(--primary-orange);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

/* Team avatar — orange ring */
.member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(243,77,1,0.15) 0%, rgba(243,77,1,0.06) 100%);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid rgba(243,77,1,0.22);
}

/* ==========================================================
   NAV SCROLL ANIMATION (works on all pages via JS)
   ========================================================== */
.site-nav.nav-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* ==========================================================
   CALCULATOR TOOL BADGE
   ========================================================== */
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(2,132,199,0.2);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ==========================================================
   RESPONSIVE ADDITIONS
   ========================================================== */
@media (max-width: 1024px) {
  .page-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 7.5rem 1.5rem 3.5rem;
  }
  .page-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-founder-card {
    padding: 2rem 1.5rem;
    border-left-width: 4px;
  }
}

/* ==========================================================
   NRI SOLUTIONS SECTION (LANDMARKS WATERMARK & 2x3 MATRIX)
   ========================================================== */
.section-nri {
  background-color: #f0f7fc;
  background-image: url('../nri-landmarks.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 580px auto;
  position: relative;
  padding: 5.5rem 0;
}

.nri-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

.nri-content-left {
  max-width: 480px;
}

.nri-content-left .section-tag {
  color: var(--primary-orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.nri-content-left .section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

.nri-content-left .section-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.nri-grid-box {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.nri-mini-card {
  padding: 1.8rem 1.2rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nri-mini-card:hover {
  background-color: rgba(243, 77, 1, 0.02);
}

.nri-mini-card:nth-child(3n) {
  border-right: none;
}

.nri-mini-card:nth-child(n+4) {
  border-bottom: none;
}

.nri-mini-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--primary-orange);
}

.nri-mini-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-orange);
  stroke-width: 1.8;
  fill: none;
}

.nri-mini-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.35;
}

/* ==========================================================
   WHY CLIENTS TRUST DURBEEN STRIP (MATCHING MOCKUP)
   ========================================================== */
.why-trust-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 3.5rem 4rem;
}

.why-trust-container {
  max-width: 1280px;
  margin: 0 auto;
}

.why-trust-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 2.5rem;
}

.why-trust-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--primary-orange);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.why-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-trust-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1.5rem;
  border-right: 1px solid var(--border-light);
}

.why-trust-item:last-child {
  border-right: none;
}

.why-trust-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-trust-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-orange);
  stroke-width: 1.8;
  fill: none;
}

.why-trust-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.35;
}

/* ==========================================================
   TESTIMONIALS SECTION (MATCHING MOCKUP)
   ========================================================== */
.testimonials-heading::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--primary-orange);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  flex-grow: 1;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-body {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.testimonial-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.testimonial-nav-btn:hover {
  transform: scale(1.08);
  background: #d94e02;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.testimonial-dot.active {
  background: var(--primary-orange);
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================
   ABOUT US - TEAM SECTION
   ========================================================== */
.team-founder-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.founder-title-badge {
  color: var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 1.5rem;
}

.founder-bio p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.team-member-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.25s ease;
}

.team-member-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.member-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--bg-white);
  padding: 5rem 4rem;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.2rem;
}

/* ==========================================================
   FOOTER (PERFECTLY ALIGNED 4-COLUMN LAYOUT)
   ========================================================== */
.site-footer {
  background-color: #faf8f5;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 0;
  color: var(--text-body);
}

.footer-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2.1fr 1.1fr 1.6fr 1.5fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.4rem;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  max-width: 320px;
}

.app-download-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.app-badges-flex {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #000000;
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid #1e293b;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-badge-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-col-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 1.4rem;
  height: 24px;
  display: flex;
  align-items: center;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.footer-link-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--primary-orange);
}

.compliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 1.2rem 0;
  padding: 0;
}

.compliance-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.amfi-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.amfi-badge-card svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.amfi-badge-card-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.amfi-badge-card-text span {
  color: #16a34a;
}

.social-icons-flex {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
  display: block;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.social-linkedin { background: #0077b5; }
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-facebook { background: #1877f2; }
.social-youtube { background: #ff0000; }
.social-x { background: #000000; }

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-orange);
  stroke-width: 1.8;
  flex-shrink: 0;
}

.footer-bottom-bar {
  background: #1a2c42;
  color: #cbd5e1;
  padding: 1.2rem 0;
  width: 100%;
}

.footer-bottom-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.disclaimer-text {
  max-width: 600px;
  line-height: 1.5;
}

/* ==========================================================
   MOBILE & RESPONSIVE QUERIES
   ========================================================== */
@media (max-width: 1024px) {
  .site-nav {
    padding: 0.8rem 2rem;
  }
  .home-hero {
    padding: 6.5rem 0 3rem;
  }
  .page-header {
    padding: 7.5rem 0 3.5rem;
  }
  .home-hero-container,
  .page-header-container,
  .trust-banner-wrapper,
  .section-container,
  .service-detail-container,
  .footer-container,
  .footer-bottom-container {
    padding: 0 2rem;
  }
  .trust-banner-card {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 0.5rem;
  }
  .trust-item:nth-child(3) {
    border-right: none;
  }
  .services-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nri-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 960px) {
  .site-nav {
    padding: 0.75rem 1.25rem;
  }
  .nav-menu {
    display: none;
  }
  .nav-mobile-toggle {
    display: block !important;
  }
  .btn-nav-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0.75rem 1.25rem;
  }
  .nav-brand img,
  img.nav-logo,
  .nav-logo {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 160px !important;
  }
  .nav-menu {
    display: none;
  }
  .nav-mobile-toggle {
    display: block !important;
  }
  .btn-nav-cta {
    display: none !important;
  }
  .page-header {
    padding: 6.5rem 0 3rem;
  }
  .page-title {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    overflow-wrap: break-word;
    word-break: normal;
  }
  .section-heading {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem);
    line-height: 1.25;
    overflow-wrap: break-word;
  }
  .hide-on-mobile {
    display: none;
  }
  .page-stats-bar {
    padding: 0;
  }
  .page-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-stat-item {
    padding: 1.2rem 0.75rem;
  }
  .page-stat-value {
    font-size: clamp(1.35rem, 4.5vw, 1.8rem);
  }
  .home-hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .trust-banner-wrapper {
    margin-top: 1rem;
    padding: 0 1.25rem;
  }
  .home-hero-container,
  .page-header-container,
  .section-container,
  .service-detail-container,
  .footer-container,
  .footer-bottom-container {
    padding: 0 1.25rem;
  }
  .trust-banner-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .trust-item {
    border-right: none;
    padding: 0.5rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .services-grid-6 {
    grid-template-columns: 1fr;
  }
  .nri-grid-box {
    grid-template-columns: 1fr;
    padding: 1.8rem;
  }
  .why-trust-strip {
    padding: 3rem 1.5rem;
  }
  .why-trust-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer {
    padding: 3rem 1.5rem 1.5rem;
  }
  .footer-bottom-bar {
    padding: 1.2rem 1.25rem;
  }
  .footer-bottom-container,
  .footer-bottom-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .cta-strip {
    padding: 2.5rem 1.25rem;
    margin: 2.5rem 1rem;
  }
  .cta-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    box-sizing: border-box;
  }
}


.section-nri {
  background-color: #f0f7fc;
  background-image: url('../nri-landmarks.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 550px auto;
  position: relative;
}

@media (max-width: 1200px) {
  .services-grid-home,
  .services-grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid-home,
  .services-grid-6 {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-nav-btn {
    display: none;
  }
  .trust-banner-card {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .site-nav {
    padding: 0.75rem 1rem;
  }
  .page-header {
    padding: 6rem 0 2.5rem;
  }
  .home-hero-container,
  .page-header-container,
  .trust-banner-wrapper,
  .section-container,
  .service-detail-container,
  .footer-container,
  .footer-bottom-container {
    padding: 0 1rem;
  }
  .page-title {
    font-size: 1.85rem;
  }
  .page-subtitle {
    font-size: 0.95rem;
  }
  .page-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-stat-item {
    padding: 1rem 0.4rem;
  }
  .page-stat-value {
    font-size: 1.35rem;
  }
  .page-stat-label {
    font-size: 0.72rem;
  }
  .section {
    padding: 3rem 0;
  }
  .service-card {
    padding: 1.8rem 1.2rem 1.4rem;
  }
}

/* ===================================================
   DEEP DIVE DETAILED SERVICE SECTIONS (SERVICES PAGE)
   =================================================== */
.services-deepdive {
  padding: 0 0 4rem;
}

.service-detail-block {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  scroll-margin-top: 80px;
}

.service-detail-block:nth-child(even) {
  background-color: #faf7f2;
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

/* Roadmap / Architecture Card Side */
.service-roadmap-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2.2rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-roadmap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.service-roadmap-card h3 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

.service-roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.service-roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.service-roadmap-check {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.service-roadmap-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.service-roadmap-text strong {
  color: var(--navy);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* Info Side */
.service-detail-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-detail-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(224, 90, 43, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.service-detail-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}

.service-detail-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.service-detail-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.service-detail-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.service-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-detail-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .service-detail-block {
    padding: 3.5rem 0;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-grid.reverse {
    direction: ltr;
  }
  .service-detail-info {
    order: -1;
  }
  .service-roadmap-card {
    padding: 1.8rem 1.4rem;
  }
}

/* ===================================================
   EDITORIAL BLOG ARTICLE STYLES
   =================================================== */
.article-hero {
  position: relative;
  padding: 8.5rem 1.5rem 4.5rem;
  background: linear-gradient(135deg, #0c1b33 0%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/hero-bg.jpg') right center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.article-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(243, 77, 1, 0.18);
  color: #ff7328;
  border: 1px solid rgba(243, 77, 1, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.article-hero h1 em {
  font-style: italic;
  color: #ff9248;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  color: #94a3b8;
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.article-body {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
  min-width: 0;
}

.article-body p {
  margin-bottom: 1.6rem;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #0f172a;
  line-height: 1.28;
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e8f0;
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 2.2rem 0 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.8rem 1.5rem;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body strong {
  color: #0f172a;
  font-weight: 600;
}

/* Table of Contents & Sidebar */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
}

.sidebar-widget-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.sidebar-widget .toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-widget .toc li a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sidebar-widget .toc li a:hover {
  color: #f34d01;
  background: rgba(243, 77, 1, 0.06);
  padding-left: 0.9rem;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 2.5rem;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.data-table th {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.2rem;
}

.data-table td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* Pull Quotes */
.pull-quote {
  margin: 2.5rem 0;
  padding: 1.8rem 2.2rem;
  background: #fffcf7;
  border-left: 4px solid #f34d01;
  border-radius: 0 12px 12px 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: #0f172a;
  margin-bottom: 0;
}

/* Number Grid */
.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.number-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.number-card .num {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 700;
  color: #f34d01;
  margin-bottom: 0.4rem;
}

.number-card .lbl {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* Highlight Box */
.highlight-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  color: #0369a1;
}

/* Related Articles Grid */
.related-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid #e2e8f0;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.related-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0.6rem 0 1rem;
}

/* ===================================================
   MODERN CALCULATOR SUITE STYLES
   =================================================== */
.page-hero {
  position: relative;
  padding: 8.5rem 1.5rem 4.5rem;
  background: linear-gradient(135deg, #0c1b33 0%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/hero-bg.jpg') center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f34d01;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero h1 em {
  font-style: italic;
  color: #ff9248;
}

.page-hero .hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* Calculator Container & Panels */
.calc-section {
  background: #faf7f2;
  padding: 4rem 1.5rem 5rem;
}

.calc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left Panel: Inputs */
.calc-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.calc-panel-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-group {
  margin-bottom: 2.2rem;
}

.range-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.range-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.range-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f34d01;
  background: rgba(243, 77, 1, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(243, 77, 1, 0.15);
  display: inline-block;
  min-width: 90px;
  text-align: right;
}

/* Custom Input Range */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  accent-color: #f34d01;
  margin: 0.5rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f34d01;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(243, 77, 1, 0.4);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Right Panel: Results */
.results-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.result-main {
  background: #fff6f0;
  border: 1px solid rgba(243, 77, 1, 0.22);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  text-align: center;
}

.result-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.result-value {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: #f34d01;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.result-sub {
  font-size: 0.82rem;
  color: #64748b;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.2rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.result-row-label {
  color: #475569;
}

.result-row-value {
  font-weight: 700;
  color: #0f172a;
}

.result-row-value.positive {
  color: #059669;
}

.result-row-value.neutral {
  color: #0284c7;
}

/* Donut Chart & Legend */
.chart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #334155;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Tips & Advisory Section */
.tips-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.tips-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  margin-bottom: 2.5rem;
}

.tips-section h2 em {
  font-style: italic;
  color: #f34d01;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tip-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tip-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.tip-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sidebar-widget {
    position: static;
    order: -1;
  }
  .number-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .calc-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .results-panel {
    position: static;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
}