/* --- 1. Global Variables & Typography --- */
:root {
  --primary-navy: #1c355e;
  --dark-navy: #0f203c;
  --neon-green: #00ae42;
  --bright-green: #25d366;
  --soft-green: #e8f5e9;
  --text-grey: #1c355e;
  --light-bg: #f8faff;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

body {
  font-family: "jost", sans-serif;
  color: var(--primary-navy);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* --- 2. Titles & Sections --- */
.page-heading {
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 25px;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.fintech-title {
  font-weight: 800;
  position: relative;
  margin-bottom: 35px;
  display: inline-block;
  color: var(--primary-navy);
  font-size: 1.75rem;
}

.fintech-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--neon-green);
  bottom: -8px;
  left: 0;
  border-radius: 4px;
}

/* --- 3. Hero Section --- */
.hero-box {
  background: linear-gradient(135deg, #1c355e 0%, #0f203c 100%);
  color: white;
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--card-shadow);
}

.hero-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.1;
}

.hero-box::after {
  content: "\f201";
  /* Chart Icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  bottom: -30px;
  font-size: 180px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-15deg);
}

.hero-title {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.hero-text {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 90%;
  position: relative;
  z-index: 2;
  color: #e0e7ff;
}

/* --- 4. Feature Cards --- */
.feature-card-numbered {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-card-numbered:hover {
  transform: translateY(-8px);
  border-color: var(--neon-green);
  box-shadow: var(--hover-shadow);
}

.card-icon-circle {
  width: 55px;
  height: 55px;
  background: var(--soft-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--neon-green);
  font-size: 1.4rem;
  transition: 0.3s;
}

.feature-card-numbered:hover .card-icon-circle {
  background: var(--neon-green);
  color: white;
}

.card-number-watermark {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 3rem;
  font-weight: 900;
  color: #f3f4f6;
  line-height: 1;
  z-index: 0;
}

.feature-card-numbered p {
  position: relative;
  z-index: 1;
  font-weight: 500;
  margin-bottom: 0;
}

/* --- 5. Service Cards (Lordicon) --- */
.service-box-lordicon {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.service-box-lordicon:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(0, 174, 66, 0.3);
}

.service-box-lordicon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neon-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-box-lordicon:hover::after {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 75px;
  height: 75px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.service-box-lordicon:hover .service-icon-wrap {
  background: var(--soft-green);
}

.service-content h5 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

/* --- 6. Tabs & Fund Lists --- */
/* --- Premium Dashboard container-md --- */
.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(--primary-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(--primary-navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 53, 94, 0.25);
  transform: translateY(-1px);
}

.dashboard-tabs .nav-link.active i {
  opacity: 1;
  color: var(--neon-green);
}

.dashboard-tabs .nav-link:hover:not(.active) {
  background: #eef2f6;
  color: var(--neon-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(--primary-navy);
  line-height: 1.3;
  margin-bottom: 6px;
  display: block;
}

/* Badges */
.status-badge {
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.5px;
}

.badge-online {
  background: #e8f5e9;
  color: #1b5e20;
}

.badge-usa {
  background: #e3f2fd;
  color: #0d47a1;
}

.badge-can {
  background: #ffebee;
  color: #b71c1c;
}

.badge-lump {
  background: #fff8e1;
  color: #ff6f00;
}

/* --- 5. Return Box (For Top Performers) --- */
.return-metric {
  text-align: right;
  background: #f0fdf4;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #dcfce7;
  min-width: 90px;
}

.return-label {
  font-size: 0.65rem;
  color: #166534;
  font-weight: 600;
  display: block;
}

.return-val {
  font-size: 1.1rem;
  color: #15803d;
  font-weight: 800;
}

/* --- 8. Sidebar & Form --- */
.sidebar-modern {
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.sidebar-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-navy), var(--neon-green));
}
.form-floating-custom input{
  background: transparent !important;
 color: var(--text-grey);
}
.form-floating-custom input:focus {
  background: white;
  border-color: var(--neon-green);
  box-shadow: 0 0 0 4px rgba(0, 174, 66, 0.1);
}
.form-control-custom {
  height: 55px;
  background: #f9fafb;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding-left: 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  background: white;
  border-color: var(--neon-green);
  box-shadow: 0 0 0 4px rgba(0, 174, 66, 0.1);
}

.btn-submit-creative {
  width: 100%;
  padding: 16px;
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(28, 53, 94, 0.2);
}

.btn-submit-creative:hover {
  background: var(--neon-green);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 174, 66, 0.3);
}

/* --- 9. Support Card --- */
.support-card-premium {
  background: linear-gradient(150deg, #1c355e 0%, #061224 100%);
  border-radius: 20px;
  padding: 40px 30px;
  color: white;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-phone-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: block;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  margin: 20px 0;
  transition: 0.3s;
}

.support-phone-btn:hover {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: white;
  transform: translateY(-3px);
}

/* --- 10. FAQ & Tables --- */
.faq-toggle {
  cursor: pointer;
  border-radius: 12px;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.3s;
}

.faq-toggle:hover,
.faq-toggle:not(.collapsed) {
  background: #f0fdf4;
  /* Very light green */
  border-color: var(--neon-green);
  color: var(--primary-navy);
}

.faq-toggle i {
  color: var(--neon-green);
}

.table-custom {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-custom thead {
  background: var(--primary-navy);
  color: white;
}

.table-custom th {
  font-weight: 600;
  border: none;
  padding: 18px;
}

.table-custom td {
  padding: 15px 18px;
  border-color: #f0f0f0;
  color: #666666;
}

.table-custom tr:hover td {
  background: #fafafa;
}

.btn-theme-purple {
  background: linear-gradient(45deg, #6a1b9a, #8e24aa);
  color: white;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-theme-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(106, 27, 154, 0.4);
  color: white;
}

/* Helpers */
.text-green {
  color: var(--neon-green);
}

.bg-soft-green {
  background-color: var(--soft-green);
  color: #155724;
  border-radius: 12px;
  padding: 20px;
}

.sidebar-sticky-wrapper {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* --- Premium Light Vault Section --- */
.docs-section-light {
  background: linear-gradient(135deg, #f9fbfd 0%, #f1f5f9 100%);
  /* Subtle light gradient */
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* Background Pattern decoration (Subtle Circles) */
.docs-section-light::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 174, 66, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
}

/* The Grid */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* The Light Document Card */
.doc-strip-card-light {
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  /* Soft shadow */
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Lift + Border Highlight */
.doc-strip-card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(28, 53, 94, 0.08);
  border-color: var(--neon-green);
}

/* Left Accent Line on Hover */
.doc-strip-card-light::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--neon-green);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.doc-strip-card-light:hover::before {
  transform: scaleY(1);
}

/* Text Styling */
.doc-text-group {
  display: flex;
  flex-direction: column;
}

.doc-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.doc-desc {
  font-size: 0.85rem;
  color: #64748b;
  /* Soft Grey */
  font-weight: 500;
}

/* Icon Styling */
.icon-box-light {
  width: 48px;
  height: 48px;
  background: #f0fdf4;
  /* Very light green bg */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 1.2rem;
  transition: 0.3s;
  flex-shrink: 0;
  margin-left: 15px;
}

.doc-strip-card-light:hover .icon-box-light {
  background: var(--primary-navy);
  color: #ffffff;
}

/* "Mandatory" Tag */
.tag-required-light {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e0e7ff;
  /* Light Blue bg */
  color: var(--primary-navy);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* --- 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(--primary-navy);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.calc-tabs .nav-link.active {
  background: var(--primary-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(--neon-green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--neon-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(--primary-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(--primary-navy);
  margin-top: 5px;
}

.text-highlight {
  color: var(--neon-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(--primary-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;
}

/* Buttons */
.btn-cta-green {
  background: var(--neon-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(--primary-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(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(28, 53, 94, 0.15);
}

/* Icon Circle (Updated for Light Background) */
.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 */
}
