/* =========================
   Hero base
   ========================= */
.hero-section-white {
  background-color: var(--bg-white) !important;
  overflow: hidden;
  padding-top: 5rem !important;
}

/* Subtitle on white */
.hero-subtitle {
  font-size: 0.98rem;
  color: #6b7280;
}

.hero-right-image{
      width: 50vw;
    z-index: 99;
    height: auto !important;
    padding-top: 10px;
    border-left: 10px solid #1c75bb;
    position: absolute;
}


/* =========================
     Buttons
     ========================= */
.btn-white-outline-dark {
  background-color: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-white-outline-dark:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.btn-green-lg {
  background: linear-gradient(90deg, #009444 0%, #009444 100%);
  color: #fff;
  font-weight: 500;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  padding: 1.5rem 2rem;
}

.btn-green-lg:hover,
.btn-green-lg:focus {
  background: linear-gradient(90deg, #27c373 0%, #42e695 100%);
  color: #fff;
}

/* 4. Transparent bg + blue border */
.btn-transparent-outline {
  background: hsl(0deg 0% 100% / 9%);
  color: #ffffff;
  border: 1px solid hsl(0deg 0% 100% / 24%);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
}

.btn-transparent-outline:hover,
.btn-transparent-outline:focus {
  background: hsl(0deg 0% 100% / 24%);
  color: #ffffff;
  border-color: #ffffff;
}

/* Add arrow icon style if needed */
.btn-custom .arrow {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

/* =========================
     Right Image Slider
     ========================= */
/* .banner-wrapper .col-lg-6{
  padding: 0px !important;
}  */
     
.hero-slider {
  max-width: 100%;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 20px 45px var(--shadow-strong);
  position: relative;
}

/* Full image, cover entire card */
.hero-slider-img {
  width: 100%;
  height: 100%;
}

/* Custom indicators (dots) aligned center bottom */
.hero-slider .custom-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.hero-slider .custom-indicators button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 3px;
}

.hero-slider .custom-indicators button.active {
  width: 9px;
  height: 9px;
  background-color: #ffffff;
}

/* Remove default Bootstrap indicator appearance */
.hero-slider .custom-indicators [data-bs-target] {
  box-sizing: content-box;
}

/* Swiper dots */
.heroSwiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid;
  opacity: 1;
  margin: 0 3px !important;
  border-color: var(--dark-green);
  display: none;
}

.heroSwiper .swiper-pagination-bullet-active {
  width: 9px;
  height: 9px;
  background-color: var(--dark-green);
  border-color: var(--dark-green); /* highlight active bullet border */
}

.heroSwiper .swiper-pagination {
  bottom: -8px !important; /* move up from bottom of image */
}

/* === Wrapper & layout === */
.allocation-flow-wrapper {
  position: relative;
  width: 100%;
}

.allocation-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.75rem;
  padding: 40px 0px; /* space above/below cards */
  margin: 0 auto;
}

/* === Cards === */
.allocation-card {
  position: relative;
  z-index: 1; /* above line/dots */
  flex: 0 1 240px; /* control card width */
  max-width: 210px;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.3rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.allocation-icon {
  margin-bottom: 0.9rem;
}

.allocation-icon img {
  max-width: 56px;
}

.allocation-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.allocation-card p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #6b7280;
  margin-bottom: 0;
}

/* === Dashed horizontal connector === */
.allocation-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 49%; /* vertical position of line */
  z-index: 0;
  pointer-events: none;
}

.allocation-line-inner {
  position: relative;
  margin: 0 auto;
  max-width: 800px; /* roughly matches 4 cards span */
  border-top: 3px dashed #2e76c7;
}

.pad-mob {
  padding: 50px 30px !important;
  background: var(--text-white);
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft-2);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* === Dots between cards (in the line, not on cards) === */
.allocation-node {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #2e76c7;
  box-shadow: 0 0 0 4px #ffffff;
}

/* ======================
   Testimonial cards
====================== */
.testimonial-card {
  background: var(--text-white);
  border-radius: 1rem;
  border: 1px solid var(--border-soft-2);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 1.5rem 1.4rem 1.6rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-badge {
  background: #e6f8ee;
  color: var(--dark-green);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.testimonial-stars {
  color: var(--accent-star);
  font-size: 0.85rem;
}

/* ======================
   Testimonials Slider
====================== */
.testimonials-swiper-container {
  position: relative;
  padding: 0 60px;
}

.testimonials-swiper {
  width: 100%;
  padding: 0px 0 50px !important; /* Increase bottom padding to 70px */
  overflow: visible;
}

/* IMPORTANT: Override for slider context */
.testimonials-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* Make sure testimonial-card takes full height in slider */
.testimonials-swiper .testimonial-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Custom Navigation Buttons */
.testimonial-swiper-button-prev,
.testimonial-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--dark-green);
  transition: all 0.3s ease;
}

.testimonial-swiper-button-prev:hover,
.testimonial-swiper-button-next:hover {
  background: var(--dark-green);
  color: var(--text-white);
}

.testimonial-swiper-button-prev {
  left: 0;
}

.testimonial-swiper-button-next {
  right: 0;
}

/* Pagination */
.testimonials-swiper .swiper-pagination {
  bottom: 20px; /* Position it inside the padding area */
  position: absolute;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--dark-green);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* ======================
   Top AI feature cards
====================== */
.ai-feature-card {
  background: var(--text-white);
  border-radius: 1rem;
  border: 1px solid var(--border-soft-2);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: #e6f8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.ai-feature-icon img {
  width: 24px;
  height: 24px;
}

/* ======================
   Indicator / Coverage / Growth Cards
====================== */
.indicator-card {
  background: var(--text-white);
  border-radius: 1rem;
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 4px 24px var(--shadow-soft);
  padding: 1.2rem 1rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cover-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem auto;
}

.cover-icon img {
  width: 36px;
  height: 36px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-black);
}

.coverage-row {
  background: var(--bg-light) !important;
  border-radius: 12px;
  min-height: 70px;
  margin-bottom: 0.7rem;
}

.fund-title {
  font-size: 1.07rem;
  color: var(--text-black);
}

.fund-track {
  font-size: 1.01rem;
  color: var(--text-grey);
}

.card-coverage {
  background: var(--text-white);
  border-radius: 1rem;
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 4px 24px var(--shadow-soft);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: .2rem;
  transition: box-shadow 0.13s, border 0.19s;
}

.card-coverage:hover {
  box-shadow: 0 8px 28px var(--shadow-strong);
  border-color: #d1d5db;
}

.growth-card {
  min-height: 370px;
  border-radius: 18px;
  background: var(--primary-gradient);
  box-shadow: 0 3px 24px rgba(0, 148, 68, 0.2);
  padding: 2.4rem 1.6rem;
  color: var(--text-white);
}

/* ======================
   Smart Fund Allocation cards
====================== */
.allocation-card {
  background: var(--text-white);
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft-2);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  padding: 2.2rem 1.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.allocation-step {
  font-size: 1.8rem;
  font-weight: 700;
  opacity: .35;
  color: var(--text-black);
}

.allocation-icon {
  width: 68px;
  height: 68px;
  border-radius: 1.4rem;
  background: #e6f8ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.allocation-icon img {
  width: 34px;
  height: 34px;
}

/* Allocation circles (use theme colors) */
.alloc-circle {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
}

.hero-buttons {
  order: 3;
}

.hero-features {
  order: 2;
}


.testimonial-text {
  margin-top: 0.25rem;
}

.testimonial-text .toggle-content {
  display: none;
}

.testimonial-text.is-open .toggle-content {
  display: block;
}

.testimonial-text.is-open .teaser {
  display: none;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: #059669;
  font-weight: 600;
  padding: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}


.fa-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

/* background images you attached */
.fa-card-1 {
  background: url("../image/card-01-bg.png") center/cover no-repeat;
}
.fa-card-2 {
  background: url("../image/card-02-bg.png") center/cover no-repeat;
}
.fa-card-3 {
  background: url("../image/card-03-bg.png") center/cover no-repeat;
}
.fa-card-4 {
  background: url("../image/card-04-bg.png") center/cover no-repeat;
}

/* subtle overlay for readability */
.fa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

.fa-card-body {
  position: relative;
  padding: 1.9rem 1.8rem 2rem;
  text-align: left;
}

.fa-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.fa-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* hover */
.fa-card:hover::before {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  transition: background 0.25s ease;
}
/* 


/* Mobile-only sticky CTA (desktop unchanged) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding:0px;
}



.sticky-cta .btn-custom {
  border-radius: 0px;
}
