/* =========================================================
   GLOBAL BRAND THEME – LEMON GREEN
========================================================= */
:root {
  --hero-img: url('/static/images/hero.png');

  /* Brand */
  --brand-primary: #a8e72f;        /* main lemon green */
  --brand-primary-dark: #78b41e;   /* darker for hover / contrast */
  --brand-primary-soft: #eefadd;   /* very light tint */

  /* Neutral palette */
  --text-main: #141b1f;
  --text-muted: #54616c;
  --paper: #f5f9f1;
  --surface: #ffffff;
  --soft-border: rgba(0,0,0,0.06);
}

/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--text-main);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
}

/* =========================================================
   NAVBAR
========================================================= */

.transparent-nav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.scrolled-nav {
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  color: var(--text-main) !important;
}

/* Navbar toggler */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20,27,31,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Brand */
.brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-main) !important;
}

/* MENU FONT */
.premium-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main) !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-right: 4px;
  transition: color 0.2s ease-in-out;
}

/* Brand hover text */
.premium-link:hover {
  color: var(--brand-primary-dark) !important;
}

/* Brand underline glow */
.premium-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--brand-primary);
  box-shadow: 0px 0px 6px var(--brand-primary);
  transition: width 0.3s ease;
}
.premium-link:hover::after {
  width: 100%;
}

/* Dropdown hover open on desktop */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Dropdown menu */
.dropdown-menu {
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--soft-border);
  min-width: 210px;
  background: #ffffff;
}
.dropdown-menu .dropdown-item {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
  padding: 10px 18px;
  transition: 0.2s ease-in-out;
}
.dropdown-menu .dropdown-item:hover {
  color: var(--brand-primary-dark);
  background: rgba(168,231,47,0.08) !important;
}

/* Navbar colors on transparent + scrolled */
.transparent-nav .nav-link,
.transparent-nav .premium-link,
.transparent-nav .navbar-brand {
  color: var(--text-main) !important;
}

.scrolled-nav .nav-link,
.scrolled-nav .premium-link,
.scrolled-nav .navbar-brand {
  color: var(--text-main) !important;
}

/* Hover states */
.nav-link:hover,
.premium-link:hover,
.scrolled-nav .nav-link:hover {
  color: var(--brand-primary-dark) !important;
}

/* Caret icon */
.caret-icon {
  font-size: 10px;
  margin-left: 4px;
  transition: transform .25s ease;
  position: relative;
  top: -1px;
  color: inherit !important;
}

/* When dropdown opens (rotate caret) */
.nav-item.show .caret-icon {
  transform: rotate(180deg);
}

/* Remove Bootstrap dropdown arrow spacing */
.dropdown-toggle::after {
  display: none !important;
}

/* Navbar layout tweaks */
.main-menu .nav-item {
  margin-bottom: 4px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 12px 10px 10px;
  }

  .main-menu .nav-item {
    text-align: left;
  }
}

/* =========================================================
   NAVBAR BUTTONS (Single brand color)
========================================================= */

.login-btn,
.apply-btn {
  border-radius: 999px !important;
  color: black !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  font-weight: 600;
  font-size: 14px;
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-btn:hover,
.apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59,78,12,0.35);
  opacity: 0.95;
}

@media (max-width: 991.98px) {
  .login-btn,
  .apply-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  min-height: 100vh;
  background-image: var(--hero-img);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

@media (max-width: 1536px) {
  .hero {
    background-size: cover;
  }
}

/* absolutely no overlays */
.hero-overlay {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* hero top chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168,231,47,0.14);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

/* hero title with animated gradient (interactive color) */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw + 10px, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;

  background: linear-gradient(
    120deg,
    var(--brand-primary-dark),
    var(--brand-primary),
    #d9ff7a
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroGradientShift 6s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* hero subtitle */
.hero-subtitle {
  font-size: 15px;
  max-width: 520px;
  color: white;
  opacity: 0.98;
}

/* hero buttons */
.hero-actions .hero-cta-btn {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  color: black;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(59,78,12,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.hero-actions .hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59,78,12,0.45);
  opacity: 0.96;
}

/* secondary hero button – brand outline */
.hero-secondary-btn {
  border-radius: 999px;
  border: 1px solid rgba(120,180,30,0.45);
  padding: 0.7rem 1.4rem;
  background: #ffffffd9;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-secondary-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* hero metrics */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.hero-metrics .metric {
  min-width: 110px;
}

.metric-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-main);
}

.metric-label {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  color: var(--text-muted);
}

/* hero side card */
.hero-side-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(0,0,0,0.04);
}

.hero-side-card h5 {
  font-size: 16px;
  font-weight: 600;
}

.hero-side-list {
  padding-left: 0;
  margin: 0 0 18px 0;
}

.hero-side-list li {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.hero-side-list i {
  font-size: 14px;
  margin-right: 6px;
  color: var(--brand-primary-dark);
  margin-top: 3px;
}

.hero-side-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  padding: 0.6rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-side-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59,78,12,0.5);
}

/* hero responsiveness */
@media (max-width: 991.98px) {
  .hero {
    height: auto;
    padding-top: 110px;
    padding-bottom: 40px;
    background-position: center top;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(245,249,241,0.98) 0%,
      rgba(245,249,241,0.92) 45%,
      rgba(245,249,241,0.88) 100%
    );
  }
  .hero-metrics {
    gap: 14px;
  }
}

/* =========================================================
   OVERLAP SERVICE CARDS
========================================================= */
.services-overlap-wrapper {
  position: relative;
  margin-top: -70px;
  z-index: 3;
  padding-bottom: 40px;
}

@media (max-width: 991.98px) {
  .services-overlap-wrapper {
    margin-top: 0;
    padding-top: 10px;
  }
}

.service-card {
  background: #fff;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-radius: 14px;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  border-color: rgba(168,231,47,0.55);
}

/* Image section */
.service-card-media {
  padding: 8px 8px 0;
}

.service-card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/* Text section */
.service-card-body {
  padding: 12px 14px 16px;
}

.service-card-body h5 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-card-body p {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link::after {
  content: "→";
  font-size: 12px;
}

.service-link:hover {
  color: var(--brand-primary-dark);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .service-card-media img {
    height: 150px;
  }
}

/* =========================================================
   PROCESS SECTION – BRAND TIMELINE
========================================================= */
.process-section {
  position: relative;
  padding: 90px 0 80px;
  background: radial-gradient(circle at top left, var(--brand-primary-soft) 0%, #f5f9f1 45%, #eef6ff 100%);
  color: var(--text-main);
  overflow: hidden;
}

/* small label above title */
.process-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(168,231,47,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.process-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-subtitle {
  font-size: 14.5px;
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Timeline container */
.process-flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* Horizontal connecting line (desktop) */
.process-flow::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(168,231,47,0.1),
    rgba(168,231,47,0.6),
    rgba(168,231,47,0.1)
  );
  z-index: 0;
}

/* Each step */
.process-step {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 230px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Circle with gradient + icon + number badge */
.process-circle {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 14px 26px rgba(59,78,12,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-number {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 6px 12px rgba(15,23,42,0.18);
}

/* Hover interaction */
.process-step:hover .process-circle {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(59,78,12,0.6);
}

/* Bottom note */
.process-note {
  font-size: 13px;
  max-width: 650px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive timeline */
@media (max-width: 991.98px) {
  .process-section {
    padding: 70px 0 60px;
  }

  .process-flow {
    justify-content: center;
    row-gap: 34px;
  }

  .process-flow::before {
    left: 10%;
    right: 10%;
  }
}

@media (max-width: 767.98px) {
  .process-flow {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
  }

  .process-flow::before {
    display: none;
  }

  .process-step {
    max-width: none;
    width: 100%;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .process-circle {
    margin: 0;
    flex-shrink: 0;
  }

  .process-step h5 {
    margin-top: 4px;
  }
}

/* =========================================================
   BANK PARTNERS – PREMIUM STRIP (Brand aligned)
========================================================= */
.partners-strip.partners-premium {
  padding: 80px 0 90px;
  background: radial-gradient(circle at top left, var(--brand-primary-soft) 0%, #f1f6ff 55%, #e7f1ff 100%);
  position: relative;
  overflow: hidden;
}

/* floating blobs */
.partners-strip.partners-premium::before,
.partners-strip.partners-premium::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}
.partners-strip.partners-premium::before {
  width: 180px;
  height: 180px;
  background: rgba(168,231,47,0.45);
  top: -40px;
  left: -40px;
}
.partners-strip.partners-premium::after {
  width: 220px;
  height: 220px;
  background: rgba(120,180,30,0.45);
  bottom: -60px;
  right: -40px;
}

/* content on top */
.partners-premium .container {
  position: relative;
  z-index: 1;
}

/* Heading */
.partners-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255,255,255,0.96);
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  margin-bottom: 12px;
}

.partners-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.partners-subtitle {
  max-width: 540px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats row – pill */
.partners-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(171,183,193,0.6);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.18),
    0 0 0 1px rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
}

.badge-item {
  text-align: left;
}

.badge-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.1;
}

.badge-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.badge-divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(171,183,193,0.9),
    transparent
  );
}

/* Glass rail wrapper */

/* DESKTOP / TABLET logos grid */
.partners-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  align-items: stretch;
  justify-content: center;
  overflow-x: visible;
  padding: 4px 4px;
}

.partner-chip {
  flex: 0 1 calc(33.333% - 28px);
  max-width: 280px;
  height: 96px;
  border-radius: 999px;
  padding: 18px 26px;
  background: radial-gradient(circle at top, #f4f8ff 0%, #e3ecff 100%);
  border: 1px solid rgba(171,183,193,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.partner-chip img {
  max-height: 46px;
  max-width: 100%;
  filter: grayscale(25%);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-chip:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: rgba(168,231,47,0.9);
  box-shadow: 0 24px 48px rgba(15,23,42,0.26);
}
.partner-chip:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

/* fades */
.partners-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
}
.partners-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f8fbff, transparent);
}
.partners-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f8fbff, transparent);
}

/* mobile horizontal rail */
@media (max-width: 767.98px) {
  .partners-rail-wrapper {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .partners-rail {
    flex-wrap: nowrap;
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .partners-rail::-webkit-scrollbar {
    display: none;
  }

  .partner-chip {
    flex: 0 0 80%;
    min-width: 230px;
    max-width: none;
    height: 90px;
    padding: 14px 22px;
  }

  .partners-fade {
    width: 60px;
  }

  .partners-strip.partners-premium {
    padding: 70px 0 75px;
  }

  .partners-badge-row {
    justify-content: space-around;
  }
}

/* =========================================================
   FOOTER
========================================================= */

/* =========================================================
   CLEAN PREMIUM FOOTER — BRAND LEMON GREEN THEME
========================================================= */

/* Remove gradients, remove dark tones */
.sq-footer {
  background: #f6fdf1;                   /* soft, clean, premium background */
  color: #13240c;                        /* deep green/black for readability */
  padding-top: 60px;
  padding-bottom: 40px;
  border-top: 3px solid var(--brand-primary);  /* thin brand accent line */
}

/* Footer brand title */
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #13240c;
}

/* Tagline */
.footer-tagline {
  font-size: 14px;
  color: #3f5930;
  opacity: 0.9;
}

/* Column Headings */
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #13240c;
  margin-bottom: 10px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-primary);        /* brand Lemon green */
  display: block;
  border-radius: 2px;
  margin-top: 6px;
}

/* Footer Links */
.footer-links a {
  color: #1e2b1b;
  font-size: 14px;
  opacity: 0.85;
  transition: 0.25s ease;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-primary);             /* lemon highlight */
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #c8eaaa;
  color: #13240c;
  font-size: 17px;
  margin: 0 5px;
  background: #ffffff;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0px 0px 8px var(--brand-primary);
}

/* CTA Button (Book Call) */
.footer-cta-btn {
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  background: var(--brand-primary);
  border: none;
  color: black;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.footer-cta-btn:hover {
  background: #7ebd28; /* slightly darker lemon */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Footer bottom bar */
.footer-bottom {
  background: transparent;
  color: #3f5930;
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid #dcefd0;
  text-align: center;
}


/* new change */
:root {
  /* override just the brand tones */
  --brand-primary: #9fdc3a;        /* softer lemon green */
  --brand-primary-dark: #6fa824;   /* deeper but not harsh */
}

/* Hero title gradient – less neon, slower, smoother */
.hero-title {
  background: linear-gradient(
    120deg,
    var(--brand-primary-dark),
    var(--brand-primary),
    #d9f7a1
  );
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroGradientShift 10s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Hero primary CTA – match softer green, slightly less shadow */
.hero-actions .hero-cta-btn,
.hero-side-btn,
.login-btn,
.apply-btn {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  box-shadow: 0 6px 14px rgba(70, 104, 23, 0.35);
}

.hero-actions .hero-cta-btn:hover,
.hero-side-btn:hover,
.login-btn:hover,
.apply-btn:hover {
  box-shadow: 0 9px 20px rgba(70, 104, 23, 0.45);
}


/* =========================================================
   PREMIUM BRAND FOOTER BOTTOM
========================================================= */

.footer-bottom {
  background: linear-gradient(
      90deg,
      var(--brand-primary-dark) 0%,
      var(--brand-primary) 70%
  );
  padding: 14px 0;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 40px;
  border-top: none; /* remove previous border */
}

/* Make brand name inside footer-bottom slightly bold */
.footer-bottom strong {
  font-weight: 700;
  color: #ffffff;
}

/* =========================================================
   SOLID BRAND FOOTER BOTTOM
========================================================= */

.footer-bottom {
  background: var(--brand-primary);   /* solid brand green */
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 40px;
  border-top: none;
  margin: 0 !important;
  padding: 14px 0;

}

/* Make brand name bold & clean */
.footer-bottom strong {
  font-weight: 700;
  color: #ffffff;
}

.sq-footer {
  padding-bottom: 0 !important;
}


/* =========================================================
   INTERACTIVE DIAGONAL GRADIENT HERO TITLE
   (top-left → bottom-right movement)
========================================================= */

/* =========================================================
   FAST DIAGONAL GRADIENT HERO TITLE
========================================================= */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw + 10px, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: white;
}

@keyframes heroDiagonalFlow {
  0% {
    background-position: 0% 0%;       /* top-left */
  }
  0% {
    background-position: 100% 0%;     /* top-right */
  }
  33% {
    background-position: 0% 100%;     /* bottom-left */
  }
  100% {
    background-position: 100% 100%;   /* bottom-right */
  }
}

/* ===========================================
   PREMIUM PROCESS STEPS – MEDIUM GREEN DISCS
=========================================== */

.process-section {
  padding: 90px 0 80px;
  background: radial-gradient(circle at top left, #f5fff7 0%, #f3f8f0 50%, #eef7e9 100%);
}

/* wrapper for steps */
.process-flow {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

/* thin line through the discs */
.process-flow::before {
  content: "";
  position: absolute;
  top: 120px;               /* aligned to centre of 110px discs */
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(155, 222, 55, 0.45);  /* lemon-green */
  z-index: 0;
}

/* each step */
.process-step {
  width: 25%;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

/* green circle with glow */
.process-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  border-radius: 50%;

  /* Moving brand gradient */
  background: linear-gradient(
    135deg,
    #d9ff8a 0%,
    #a7ea32 35%,
    #7fb91a 70%,
    #c9ff6a 100%
  );
  background-size: 220% 220%;

  box-shadow:
    0 24px 45px rgba(80, 120, 20, 0.32),
    0 0 0 1px rgba(255,255,255,0.55) inset;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  /* subtle breathing animation */
  animation: sq-circle-gradient 3s ease-in-out infinite alternate;

  transition:
    transform 0.15s ease,
    box-shadow 0.25s ease;
}


/* black pill step number on top */
.process-number {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 48px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #161616;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0,0,0,0.32);
}

/* SVG icons inside circle */
.process-circle svg {
  width: 56px;
  height: 56px;
  fill: #101710;          /* deep brand-dark instead of pure black */
}

/* title & body text */
.process-step h5 {
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #06141f;
}

.process-step p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #38463a;
  max-width: 260px;
  margin: 0 auto;
}

/* small note at bottom */
.process-note {
  font-size: 0.95rem;
  color: #4b5a4b;
  max-width: 900px;
  margin: 30px auto 0;
}

/* hover micro interaction */
.process-step:hover .process-circle {
  transform: translateY(-4px);
  box-shadow:
    0 36px 70px rgba(80, 120, 20, 0.45),
    0 0 0 1px rgba(255,255,255,0.75) inset;
  animation-duration: 2s;   /* a bit faster while hovered */
}


.process-step:hover .process-circle svg {
  transform: scale(1.04);
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .process-flow {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .process-step {
    width: 50%;
  }
  .process-flow::before {
    left: 12%;
    right: 12%;
  }
}

@media (max-width: 767.98px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    width: 100%;
  }
  .process-flow::before {
    display: none;
  }
}

@keyframes sq-circle-gradient {
  0% {
    background-position: 0% 50%;
    box-shadow:
      0 20px 40px rgba(80, 120, 20, 0.30),
      0 0 0 1px rgba(255,255,255,0.55) inset;
  }
  50% {
    background-position: 50% 50%;
    box-shadow:
      0 26px 55px rgba(80, 120, 20, 0.36),
      0 0 0 1px rgba(255,255,255,0.65) inset;
  }
  100% {
    background-position: 100% 50%;
    box-shadow:
      0 32px 65px rgba(80, 120, 20, 0.42),
      0 0 0 1px rgba(255,255,255,0.75) inset;
  }
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(210, 255, 160, 0.0),
    rgba(155, 222, 55, 0.7),
    rgba(210, 255, 160, 0.0)
  );
  background-size: 200% 100%;
  animation: sq-line-glow 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes sq-line-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* =============== BANK PARTNERS – PREMIUM STRIP (Brand aligned) =============== */
/* ========================================================= 
   BANK PARTNERS – PREMIUM STRIP (Brand aligned)
========================================================= */
.partners-strip.partners-premium {
  padding: 80px 0 90px;
  background: radial-gradient(circle at top left, var(--brand-primary-soft) 0%, #f1f6ff 55%, #e7f1ff 100%);
  position: relative;
  overflow: hidden;
}

/* floating blobs */
.partners-strip.partners-premium::before,
.partners-strip.partners-premium::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}
.partners-strip.partners-premium::before {
  width: 180px;
  height: 180px;
  background: rgba(168,231,47,0.45);
  top: -40px;
  left: -40px;
}
.partners-strip.partners-premium::after {
  width: 220px;
  height: 220px;
  background: rgba(120,180,30,0.45);
  bottom: -60px;
  right: -40px;
}

/* content on top */
.partners-premium .container {
  position: relative;
  z-index: 1;
}

/* Heading */
.partners-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255,255,255,0.96);
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  margin-bottom: 12px;
}

.partners-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.partners-subtitle {
  max-width: 540px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats row – pill */
.partners-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(171,183,193,0.6);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.18),
    0 0 0 1px rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
}

.badge-item {
  text-align: left;
}

.badge-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.1;
}

.badge-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.badge-divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(171,183,193,0.9),
    transparent
  );
}

/* DESKTOP / TABLET logos grid */
.partners-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  align-items: stretch;
  justify-content: center;
  overflow-x: visible;
  padding: 4px 4px;
}

.partner-chip {
  flex: 0 1 calc(33.333% - 28px);
  max-width: 280px;
  height: 96px;
  border-radius: 999px;
  padding: 18px 26px;
  background: radial-gradient(circle at top, #f4f8ff 0%, #e3ecff 100%);
  border: 1px solid rgba(171,183,193,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.partner-chip img {
  max-height: 46px;
  max-width: 100%;
  filter: grayscale(25%);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-chip:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: rgba(168,231,47,0.9);
  box-shadow: 0 24px 48px rgba(15,23,42,0.26);
}
.partner-chip:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

/* fades */
.partners-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
}
.partners-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f8fbff, transparent);
}
.partners-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f8fbff, transparent);
}

/* mobile horizontal rail */
@media (max-width: 767.98px) {
  .partners-rail-wrapper {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .partners-rail {
    flex-wrap: nowrap;
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .partners-rail::-webkit-scrollbar {
    display: none;
  }

  .partner-chip {
    flex: 0 0 80%;
    min-width: 230px;
    max-width: none;
    height: 90px;
    padding: 14px 22px;
  }

  .partners-fade {
    width: 60px;
  }

  .partners-strip.partners-premium {
    padding: 70px 0 75px;
  }

  .partners-badge-row {
    justify-content: space-around;
  }
}

.partners-fade,
.partners-fade-left,
.partners-fade-right {
  display: none;
}
/* Glass rail wrapper — now neutral (no big rectangle box) */
.partners-rail-wrapper {
  margin-top: 32px;
  position: relative;

  /* remove the big white box */
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;  /* let chips sit directly on section background */
}