:root {
  --brand-navy: #1c355e;
  --brand-green: #00ae42;
  --brand-light: #f4f7fb;
  --text-body: #666666;
}

body {
  font-family: "Jost", sans-serif;
  color: var(--text-body);
  background-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-navy);
  font-weight: 700;
}

.display-4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.lead,
span {
  font-size: 17px !important;
  line-height: 1.8;
  font-weight: 500;
  color: #666666;
}

p {
  font-size: 17px !important;
  color: #666666;
}

.text-green {
  color: var(--brand-green) !important;
}

.bg-navy {
  background-color: var(--brand-navy) !important;
}

/* Spacing */
.section-space {
  padding: 30px 0 !important;
}

.section-space-sm {
  padding: 30px 0 !important;
}

/* HERO SECTION */
.premium-hero {
  position: relative;
  padding-top: 30px;
  /* Space for fixed header */
  padding-bottom: 30px;
  overflow: hidden;
}

/* WHY INVEST - Sticky Layout */
.feature-list-item {
  display: flex;
  align-items: flex-start;
  align-items: center;
  padding: 15px 5px;
  border-bottom: 1px solid #f0f0f0;
  transition: 0.3s;
}

.feature-list-item:hover {
  transform: translateX(10px);
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(28, 53, 94, 0.05);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

/* HOW WE HELP - Storytelling */
.help-list-item {
  background: white;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #eee;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 17px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: 0.3s;
}

.help-list-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.help-list-icon {
  color: var(--brand-green);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* TYPES OF FUNDS - Minimal Cards */
.fund-type-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.fund-type-card:hover {
  border-color: var(--brand-green);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.fund-type-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-green);
  transform: scaleX(0);
  transition: 0.4s;
  transform-origin: left;
}

.fund-type-card:hover::after {
  transform: scaleX(1);
}

/* DOCUMENTS - Pill Grid */
.doc-item-pill {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eef2f6;
  padding: 15px 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.doc-item-pill:hover {
  border-color: var(--brand-green);
  background: #fcfcfc;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.doc-icon {
  color: var(--brand-green);
  background: rgba(0, 174, 66, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* TABS Styling Override */
.dashboard-tabs .nav-link.active {
  background-color: var(--brand-navy);
  color: #fff;
}

.dashboard-tabs .nav-link {
  color: var(--brand-navy);
  background-color: #f4f4f4;
}

/* CTA SECTION */
.premium-cta-box {
  background: var(--brand-navy);
  border-radius: 30px;
  padding: 80px 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.premium-cta-box h3,
.premium-cta-box p {
  color: white;
}

.premium-cta-box .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Table Override */
.table-custom thead {
  background-color: var(--brand-navy);
  color: #fff;
}

.table-custom th,
.table-custom td {
  padding: 15px 20px;
  border-color: #f0f0f0;
}

@media (max-width: 991px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .premium-cta-box {
    padding: 40px 20px;
  }
}

.dashboard-container-md {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(28, 53, 94, 0.06);
  /* Soft, deep shadow */
  border: 1px solid #f0f4f8;
}

/* --- 1. Modern Pill Tabs --- */
.dashboard-tabs {
  background: #f8faff;
  padding: 6px;
  border-radius: 60px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  border: 1px solid #eef2f6;
}

.dashboard-tabs .nav-link {
  color: var(--brand-navy);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.dashboard-tabs .nav-link i {
  margin-right: 8px;
  opacity: 0.7;
}

/* Active Tab Style - Deep Navy with Green Glow */
.dashboard-tabs .nav-link.active {
  background: var(--brand-navy);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(28, 53, 94, 0.25);
  transform: translateY(-1px);
}

.dashboard-tabs .nav-link.active i {
  opacity: 1;
  color: var(--brand-green);
}

.dashboard-tabs .nav-link:hover:not(.active) {
  background: #eef2f6;
  color: var(--brand-green);
}

/* --- 2. The Universal Logo Card (Used for everything) --- */
.fund-card-premium {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Lift + Green Border + Shadow */
.fund-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 174, 66, 0.4);
}

/* --- 3. The Logo Wrapper (Crucial for PNGs) --- */
.logo-wrapper {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 8px;
  /* Padding ensures logo doesn't touch edges */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Make images fit perfectly */
.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ensures logo isn't cropped or stretched */
  filter: grayscale(0%);
  /* Optional: set to 100% if you want b/w logos initially */
  transition: 0.3s;
}

/* --- 4. Text & Info Styles --- */
.fund-info-col {
  flex-grow: 1;
}

.fund-name-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-navy);
  line-height: 1.3;
  margin-bottom: 6px;
  display: block;
}

/* Badges */
.status-badge {
  font-size: 0.7rem !important;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.5px;
}
.badge-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;

  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #1b5e20;

  border: 1px solid rgba(27, 94, 32, 0.25);
  box-shadow:
    0 4px 10px rgba(0, 174, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: all 0.3s ease;
}
.badge-head::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ae42;
  box-shadow: 0 0 0 rgba(0, 174, 66, 0.6);
  animation: onlinePulse 1.6s infinite;
}

@keyframes onlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 174, 66, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 174, 66, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 174, 66, 0);
  }
}

.badge-online {
  background: #e8f5e9;
  color: #1b5e20;
}

.badge-usa {
  background: #e3f2fd;
  color: #0d47a1;
}

.badge-can {
  background: #ffebee;
  color: #b71c1c;
}

.badge-lump {
  background: #fff8e1;
  color: #ff6f00;
}

.dashboard-container-md {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(28, 53, 94, 0.06);
  /* Soft, deep shadow */
  border: 1px solid #f0f4f8;
}

/* --- 1. Modern Pill Tabs --- */
.dashboard-tabs {
  background: #f8faff;
  padding: 6px;
  border-radius: 60px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  border: 1px solid #eef2f6;
}

.dashboard-tabs .nav-link {
  color: var(--brand-navy);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.dashboard-tabs .nav-link i {
  margin-right: 8px;
  opacity: 0.7;
}

/* Active Tab Style - Deep Navy with Green Glow */
.dashboard-tabs .nav-link.active {
  color: var(--brand-navy);
  box-shadow: 0 8px 20px rgba(28, 53, 94, 0.25);
  transform: translateY(-1px);
}

.dashboard-tabs .nav-link.active i {
  opacity: 1;
  color: var(--brand-green) !important;
}

.dashboard-tabs .nav-link:hover:not(.active) {
  background: #eef2f6;
  color: var(--brand-green);
}

/* --- Premium Calculator Styles --- */
.calc-container-md {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(28, 53, 94, 0.06);
  border: 1px solid #f0f4f8;
}

/* Calculator Tabs */
.calc-tabs {
  background: #f1f5f9;
  padding: 6px;
  border-radius: 12px;
  display: inline-flex;
  margin-bottom: 30px;
}

.calc-tabs .nav-link {
  color: var(--brand-navy);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.calc-tabs .nav-link.active {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 5px 15px rgba(28, 53, 94, 0.2);
}

/* Range Sliders Customization */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px !important;
  background: #e2e8f0;
  border-radius: 5px;
  outline: none;
  margin: 20px 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--brand-green);
  cursor: pointer;
  transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Input Display Box */
.input-display {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  padding: 8px 15px;
  border-radius: 8px;
  color: var(--brand-navy);
  font-weight: 700;
  width: 100px;
  text-align: right;
}

/* Result Cards */
.result-box {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: #fcfdfc;
  border: 1px solid #f0f0f0;
}

.result-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-top: 5px;
}

.text-highlight {
  color: var(--brand-green);
}

/* Chart container-md */
.chart-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* --- Premium CTA Section --- */
/* --- Premium CTA Section (Light Mode) --- */
.cta-premium-wrapper {
  /* background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%); */
  /* White to soft green */
  border-radius: 30px;
  padding: 60px 40px;
  position: relative;
  /* overflow: hidden; */
  color: var(--brand-navy);
  /* Dark Text */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  /* Soft dark shadow */
  border: 1px solid #e2e8f0;
}

/* Content Z-Index */
.cta-content-layer {
  position: relative;
  z-index: 2;
}

/* Typography */
.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(to right, #1c355e, #00ae42);
  /* Navy to Green Gradient Text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-text {
  font-size: 1.1rem;
  color: #64748b;
  /* Slate Grey for readability on white */
  margin-bottom: 30px;
  line-height: 1.8;
}
.cta-icon-circle {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  border: 1px solid #eef2f6;
  box-shadow: 0 10px 30px rgba(0, 174, 66, 0.15);
  /* Greenish shadow */
}

/* Buttons */
.btn-cta-green {
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 174, 66, 0.3);
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-green:hover {
  background: #00993a;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 174, 66, 0.4);
  color: white;
}

/* Outline Button (Updated for Light Background) */
.btn-cta-outline {
  background: #ffffff;
  color: var(--brand-navy);
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  /* Visible border */
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-outline:hover {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(28, 53, 94, 0.15);
}
.arch-container-md {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.arch-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  text-align: center;
}

.arch-card h4 {
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 15px;
}

.arch-card p {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 30px;
  min-height: 48px;
}

.arch-connector-line {
  height: 8px;
  background-color: #1c355e; /* Orange color from image */
  flex-grow: 1;
  min-width: 50px;
  max-width: 100px;
  display: none; /* Hidden on mobile, shown on lg */
}

.arch-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 12px solid #1c355e; /* Orange color */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.arch-circle span {
  font-weight: 800;
  font-size: 1.2rem;
  color: #000;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Dashed Line section inside cards */
.arch-types-row {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  align-items: flex-start;
}

.arch-type-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.dashed-line {
  height: 40px;
  width: 0;
  border-left: 2px dashed #1c355e;
  margin-bottom: 10px;
}

.type-label {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.type-subtext {
  font-size: 0.75rem;
  color: #666;
  margin-top: 5px;
  max-width: 100px;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .arch-connector-line {
    display: block;
  }
  .arch-container-md {
    flex-wrap: nowrap;
  }
}
.bank-partners-section {
  background: #f9fbfd;
  padding: 30px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #00ae42;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #1c355e;
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 60px;
  font-size: 17px;
  color: #6b7280;
  line-height: 1.6;
}

.bank-logos {
  row-gap: 30px;
}

.bank-logo-card {
  height: 120px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.bank-logo-card img {
  padding: 5px;
  height: 58px;
  width: auto;
  filter: grayscale(00%);
  opacity: 0.85;
  transition: all 0.35s ease;
}
@media (max-width: 575px) {
  .bank-logo-card {
    height: 100px;
  }
  .bank-logo-card img {
    max-height: 50px;
    max-width: 150px;
  }
  .dashboard-tabs .nav-link {
    font-weight: 500;
    padding: 12px 12px;
    border-radius: 50px;
    font-size: 15px;
    letter-spacing: 0.3px;
  }
}

/* Hover effect */
.bank-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(28, 53, 94, 0.12);
  border-color: #005cb9;
}

.bank-logo-card:hover img {
  filter: grayscale(100%);
  opacity: 1;
}

.dashboard-container-md {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-custom {
  min-width: 700px; /* allows horizontal scroll on small screens */
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .table-custom th,
  .table-custom td {
    font-size: 14px;
    padding: 10px;
    white-space: nowrap;
  }
}
/* Custom Colors */
.text-navy {
  color: #0c264b !important;
}

/* The Main Card */
.feature-card {
  background: #fff; /* Light grey/blue background from img */
  border: 1px solid #e2e8f0;
  border-radius: 24px; /* Highly rounded corners */
  padding: 20px;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transform: translateY(-8px);
}

/* Icon Section */
.feature-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

.feature-icon-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 2px dashed #0c264b; /* Dashed circle border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The dark circular step number */
.feature-number {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #0c264b;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Typography to match image */
.feature-title {
  color: #0c264b;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.feature-text {
  color: #5e6d82;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}
