@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DHANMONEYPLUS - OFFICIAL LOGO COLOR PALETTE & DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Official Logo Colors */
  --primary: #00843D;           /* Official Vibrant Emerald Green ("MONEYPLUS" & Arrow) */
  --primary-hover: #00662f;
  --primary-light: #e6f4ec;
  --primary-glow: rgba(0, 132, 61, 0.25);
  
  --navy-dark: #06204B;          /* Official Deep Navy Blue ("DHAN" & Left Bars) */
  --navy-card: #08285c;
  --navy-border: #143875;
  
  --accent-gold: #c69214;        /* Official Metallic Gold (Rupee Coin & Lines) */
  --accent-gold-dark: #9e730c;

  --text-dark: #061838;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #00843D;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(6, 32, 75, 0.06);
  --shadow-lg: 0 12px 30px rgba(6, 32, 75, 0.1);
  --shadow-xl: 0 20px 40px rgba(6, 32, 75, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Standardized Typography Scale */
  --font-size-h1: 44px;
  --font-size-h2: 34px;
  --font-size-h3: 22px;
  --font-size-h4: 18px;
  --font-size-body: 15px;
  --font-size-sm: 13px;
  --font-size-xs: 11px;

  --line-height-heading: 1.25;
  --line-height-body: 1.6;
  --line-height-tight: 1.2;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-subtle: -0.01em;
  --letter-spacing-normal: 0em;
  --letter-spacing-wide: 0.02em;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 100px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-subtle);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-name, .section-title, .stat-number, .calc-input-display {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-tight);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-wide);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 61, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--navy-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 132, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 132, 61, 0); }
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 76px;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
  image-rendering: -webkit-optimize-contrast;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.footer-brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.2s ease;
}

.footer-brand-logo-img:hover {
  transform: scale(1.02);
}

.logo-icon-svg {
  width: 52px;
  height: 44px;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

/* RECEPTION WALL VISUAL CARD IN ABOUT HERO */
.about-hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.reception-wall-visual {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px 20px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 16px 40px rgba(6, 32, 75, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reception-wall-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--primary) 50%, var(--accent-gold) 100%);
}

.reception-wall-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(6, 32, 75, 0.12);
}

.reception-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
}

.reception-logo-img {
  height: 115px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(6, 32, 75, 0.1));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

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

.brand-tagline-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.brand-tagline-line {
  height: 1px;
  background: var(--accent-gold);
  flex-grow: 1;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.8px;
  text-transform: capitalize;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mobile-drawer-cta {
  display: none !important;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy-dark);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: 20px;
  color: var(--navy-dark);
}

.text-gradient {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-subtle);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

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

.trust-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}

/* --- HERO DASHBOARD GRAPHIC --- */
.hero-dashboard-mockup {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.mockup-top-bar {
  background: var(--navy-dark);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.mockup-logo-text span {
  color: var(--primary);
}

.mockup-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 380px;
}

.mockup-sidebar {
  background: #041635;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  font-size: 11px;
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.sidebar-item.active, .sidebar-item:hover {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.mockup-content {
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portfolio-overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.portfolio-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-dark);
  font-family: var(--font-heading);
}

.portfolio-gain {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 20px;
}

.chart-area-container {
  height: 180px;
  width: 100%;
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 10px;
}

#heroPortfolioChart {
  width: 100%;
  height: 100%;
}

.mockup-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.widget-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.widget-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* --- STATS BANNER --- */
.stats-banner {
  background: var(--navy-dark);
  padding: 44px 0;
  color: #ffffff;
}

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

.stat-item {
  text-align: center;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: rgba(198, 146, 20, 0.15);
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-gold);
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
}

.stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}

/* --- SECTION TITLE WITH GOLD ACCENT BAR --- */
.section-title {
  text-align: center;
  font-size: var(--font-size-h2);
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--navy-dark);
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-subtle);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- WHAT ARE YOU PLANNING FOR? --- */
.planning-section {
  padding: 80px 0;
  background: #ffffff;
}

.planning-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.planning-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.planning-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.planning-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}

.planning-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
}

/* --- INVESTMENT SOLUTIONS --- */
.solutions-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.solution-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.solution-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.solution-tag-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold-dark);
  background: rgba(198, 146, 20, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.solution-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.solution-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* --- PLAN BEFORE YOU INVEST (CALCULATOR MENU BAR & ENGINE) --- */
.calculators-section {
  padding: 80px 0;
  background: #ffffff;
}

.calc-menu-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 28px;
  background: #f1f5f9;
  padding: 10px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
}

.calc-menu-item {
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-menu-item.active, .calc-menu-item:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.calc-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.calc-arrow-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.calculator-card-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-controls-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-input-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.calc-input-label {
  font-weight: 600;
  color: var(--navy-dark);
}

.calc-input-display {
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

/* STRICT 260px DONUT CHART */
.donut-chart-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
}

#calcDonutChart {
  width: 260px !important;
  height: 260px !important;
  display: block;
}

.donut-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.donut-center-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.donut-center-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.donut-legend-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-dark);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.calc-summary-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.summary-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.summary-box-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.summary-box-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-dark);
  font-family: var(--font-heading);
}

.summary-box-val.highlight {
  color: var(--primary);
}

/* --- ABOUT TIMELINE CONNECTED LINE --- */
.journey-section {
  padding: 80px 0;
  background: #ffffff;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 32px;
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #cbd5e1;
  z-index: 1;
}

.timeline-grid::after {
  content: '➔';
  position: absolute;
  top: 29px;
  right: 8%;
  font-size: 18px;
  color: #cbd5e1;
  z-index: 1;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 20px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-card.active, .timeline-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.timeline-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px var(--primary-glow);
  position: relative;
  z-index: 3;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- WHAT WE STAND FOR - VALUES GRID --- */
.values-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.value-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- SERVICES & TECH SPLIT GRID --- */
.services-tech-section {
  padding: 80px 0;
  background: #ffffff;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.services-list-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-item-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-icon-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-row-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
}

.service-row-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.tech-card-dark {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.tech-card-dark h3 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

.tech-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.tech-item {
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- FUTURE VISION & OUR PROMISE --- */
.vision-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vision-cards-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vision-product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.vision-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
  transition: all var(--transition-fast);
}

.promise-box-dark {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  box-shadow: var(--shadow-xl);
}

.promise-box-dark h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 12px;
}

.promise-box-dark p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

.signature-text {
  border-top: 1px solid var(--navy-border);
  padding-top: 16px;
  margin-top: 24px;
  text-align: right;
  font-size: 13px;
  color: #94a3b8;
}

/* --- DASHBOARD SHOWCASE & WHY US --- */
.dashboard-showcase-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dash-card-dark {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.dash-card-dark h2 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 24px;
}

.dash-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.dash-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #cbd5e1;
}

.dash-icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.why-us-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-us-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.why-us-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.why-us-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
}

.why-us-content p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- INSIGHTS SECTION --- */
.insights-section {
  padding: 80px 0;
  background: #ffffff;
}

.insights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.articles-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-img-wrap {
  height: 120px;
  position: relative;
}

.article-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.article-content {
  padding: 16px;
}

.article-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.article-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.newsletter-card {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-card h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 8px;
}

.newsletter-card p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  outline: none;
}

/* --- PRE-FOOTER BANNER --- */
.pre-footer-banner {
  background: var(--navy-dark);
  border-top: 1px solid var(--navy-border);
  padding: 40px 0;
  color: #ffffff;
}

.pre-footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pre-footer-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.handshake-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(198, 146, 20, 0.15);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent-gold);
}

.pre-footer-info h3 {
  font-size: 22px;
  color: #ffffff;
}

.pre-footer-info p {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 2px;
}

/* --- SITE FOOTER --- */
.site-footer {
  background: #04122b;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-col p {
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-contact-item {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13px;
  color: #94a3b8;
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* --- BREADCRUMB --- */
.breadcrumb-bar {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* --- MODAL OVERLAY --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 32, 75, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}


/* --- SERVICES / INVEST PAGE SPECIFIC STYLES --- */
.market-widget-dark {
  background: #06204B;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  padding: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.market-widget-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.nifty-card-left {
  border-right: 1px dashed rgba(255, 255, 255, 0.15);
  padding-right: 20px;
}

.nifty-title {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.nifty-price {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 2px;
}

.nifty-change {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
}

.nifty-chart-wrap {
  width: 100%;
  height: 100px;
  margin: 14px 0 10px;
}

.timeframe-pills {
  display: flex;
  gap: 6px;
}

.tf-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.tf-pill.active, .tf-pill:hover {
  background: #00843D;
  color: #ffffff;
}

.allocation-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  margin-top: 10px;
}

.alloc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alloc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px 0 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: #00843D;
  color: #ffffff;
  border-color: #00843D;
  box-shadow: 0 4px 12px rgba(0, 132, 61, 0.2);
}

.solution-bullet-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.solution-bullet-list li::before {
  content: "• ";
  color: #00843D;
  font-weight: bold;
}

.why-invest-dark-banner {
  background: #06204B;
  padding: 50px 0;
  color: #ffffff;
  text-align: center;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.why-invest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.why-invest-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-invest-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #C69214;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  background: rgba(198, 146, 20, 0.1);
  color: #C69214;
}

.why-invest-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.why-invest-item-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.popular-paths-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.path-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: #00843D;
  box-shadow: var(--shadow-md);
}


/* --- TOOLS & INSIGHTS PAGE SPECIFIC STYLES --- */
.laptop-mockup-graphic {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.laptop-screen-content {
  background: #06204B;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #ffffff;
}

.insights-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 36px 0 40px;
}

.insight-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.insight-pill-btn.active, .insight-pill-btn:hover {
  background: #06204B;
  color: #ffffff;
  border-color: #06204B;
  box-shadow: 0 4px 12px rgba(6, 32, 75, 0.2);
}

.featured-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.featured-article-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.featured-article-card:hover {
  transform: translateY(-4px);
  border-color: #00843D;
  box-shadow: var(--shadow-md);
}

.article-thumb-header {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
}

.article-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #00843D;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.snapshot-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.snapshot-grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.snapshot-card-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fund-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.fund-rating-row:last-child {
  border-bottom: none;
}

.fund-rating-row > div {
  flex: 1;
  min-width: 0;
}

.fund-badge-pos {
  background: rgba(34, 197, 94, 0.12);
  color: #00843D;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.fund-badge-neu {
  background: rgba(234, 179, 8, 0.15);
  color: #c69214;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.fund-review-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(6, 32, 75, 0.04);
  border: 1px solid rgba(6, 32, 75, 0.1);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.market-ticker-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #f8fafc;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  margin-bottom: 16px;
}

.ticker-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-dark);
}

.ticker-change {
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
}

.news-list-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dark);
}

.news-list-bullets li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 8px;
}

.news-list-bullets li:last-child {
  border-bottom: none;
}

.quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.tool-mini-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tool-mini-card:hover {
  background: #ffffff;
  border-color: #00843D;
  box-shadow: var(--shadow-sm);
}

.expert-cta-banner-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.learning-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.learning-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.learning-card:hover {
  transform: translateY(-4px);
  border-color: #00843D;
  box-shadow: var(--shadow-md);
}


/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: #00843D;
  box-shadow: var(--shadow-md);
}

.contact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 132, 61, 0.1);
  color: #00843D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.contact-form-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card-dark {
  background: #06204B;
  border-radius: var(--radius-xl);
  border: 1px solid var(--navy-border);
  padding: 36px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-break: break-word;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.office-info-item:last-child {
  margin-bottom: 0;
}

.office-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #C69214;
  flex-shrink: 0;
}

.faq-section {
  padding: 70px 0;
  background: #f8fafc;
}

.faq-grid {
  max-width: 840px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #00843D;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  display: none;
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #00843D;
}

/* --- GLOBAL MOBILE RESPONSIVENESS (320px - 768px) --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

canvas {
  max-width: 100% !important;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid, .dash-grid, .split-grid, .vision-grid, .calc-grid, .market-widget-grid, .snapshot-grid-3col, .snapshot-grid-2col, .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .nifty-card-left {
    border-right: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .planning-grid, .solutions-grid, .values-grid, .popular-paths-grid, .featured-insights-grid, .learning-cards-grid, .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-invest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-grid::before, .timeline-grid::after {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .articles-subgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header {
    height: 64px;
    padding: 0;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 200px;
    margin: 0;
  }
  .footer-brand-logo-img {
    height: 56px;
    max-width: 250px;
    padding: 5px 12px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 3px solid var(--primary);
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(6, 32, 75, 0.18);
    z-index: 9999;
    gap: 10px;
    align-items: flex-start;
  }
  .main-nav.mobile-active .nav-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
    width: 100%;
  }
  .mobile-menu-btn {
    display: block;
    font-size: 22px;
    background: none;
    border: none;
    color: var(--navy-dark);
    cursor: pointer;
    padding: 4px 6px;
  }
  .header-actions .btn-primary {
    display: none !important;
  }
  .main-nav.mobile-active .mobile-drawer-cta {
    display: block !important;
  }
  .hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .section-title {
    font-size: 22px;
  }
  .section-subtitle {
    font-size: 13px;
  }

  /* STATS BANNER MOBILE */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px 0;
  }
  .stat-icon-wrapper {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin: 0 auto 8px;
  }
  .stat-number {
    font-size: 20px;
  }
  .stat-label {
    font-size: 11px;
  }

  /* CALCULATOR SECTION MOBILE */
  .calculator-card-container {
    padding: 20px 14px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .calc-menu-bar {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 24px;
    padding: 6px 10px;
    gap: 8px;
    width: 100%;
  }
  .calc-menu-bar::-webkit-scrollbar {
    display: none;
  }
  .calc-menu-item {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .calc-nav-wrapper {
    padding: 10px 12px;
    gap: 6px;
  }
  #activeCalcTitle {
    font-size: 14px !important;
  }
  .calc-arrow-btn {
    padding: 6px 12px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .calc-summary-boxes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    text-align: left;
  }
  .summary-box-title {
    font-size: 12px;
    margin-bottom: 0;
  }
  .summary-box-val {
    font-size: 15px;
    margin-top: 0;
  }

  /* GRIDS & SECTION OVERRIDES */
  .planning-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .solutions-grid, .values-grid, .popular-paths-grid, .featured-insights-grid, .learning-cards-grid, .contact-cards-grid, .why-us-list, .vision-cards-subgrid, .snapshot-grid-3col, .snapshot-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-invest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .tech-card-dark, .dash-card-dark, .newsletter-card, .promise-box-dark {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .mini-calcs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .contact-form-box {
    padding: 20px 16px;
  }
  .contact-info-card-dark {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .office-info-item {
    gap: 12px;
    margin-bottom: 16px;
  }
  .office-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .market-widget-grid {
    padding: 20px 14px;
  }
  .pre-footer-wrapper {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
  }
  .pre-footer-info {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  /* RESPONSIVE MULTI-LINE PILL BAR (ALL OPTIONS VISIBLE, NO HORIZONTAL SCROLLING) */
  .filter-pills-bar, .calc-option-bar, .insights-filter-pills, .calc-menu-bar, .services-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-x: visible;
    gap: 8px;
    margin: 16px 0;
    padding: 8px;
    border-radius: var(--radius-lg);
  }

  .calc-menu-item, .filter-btn, .insight-pill-btn, .calc-option-btn {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.3;
    border-radius: 20px;
  }
  .modal-box {
    max-width: 94%;
    padding: 20px 16px;
    margin: 10px;
  }
  .laptop-mockup-graphic, .hero-dashboard-mockup {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .logo-icon-svg {
    width: 38px;
    height: 34px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-tagline {
    font-size: 8px;
  }
  .trust-badges-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .trust-pill {
    padding: 8px 10px;
    font-size: 11px;
    justify-content: flex-start;
  }
  .hero-content h1 {
    font-size: 26px;
  }
  .header-actions .btn-primary {
    font-size: 10px;
    padding: 6px 8px;
  }
  .donut-chart-wrapper {
    width: 200px !important;
    height: 200px !important;
    margin: 12px auto !important;
  }
  #calcDonutChart {
    width: 200px !important;
    height: 200px !important;
  }
  .stat-item:last-child {
    grid-column: 1 / -1;
  }
  .market-ticker-box {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }
  .market-ticker-box > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .calc-menu-bar, .filter-pills-bar, .calc-option-bar, .insights-filter-pills, .services-filter-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }
  .calc-menu-item, .filter-btn, .insight-pill-btn, .calc-option-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px 6px !important;
    font-size: 11px !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero-content h1 {
    font-size: 22px;
  }
  .planning-grid, .mini-calcs-grid {
    grid-template-columns: 1fr;
  }
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 8px;
  line-height: 1.5;
}







