/* =========================================================
   GLOBAL BRAND SYSTEM
   Single-color, navy-based palette
========================================================= */

:root {
  /* Hero background image (overridden per page when needed) */
  --hero-img: url('/static/images/hero.png');

  /* Brand color family (ONLY ONE HUE) */
  --brand: #0B3D91;          /* primary navy */
  --brand-dark: #071f4a;     /* deeper navy */
  --brand-deep: #030f2a;     /* for strongest text/background */
  --brand-soft: #e7edf9;     /* soft background tint */
  --brand-softer: #f3f6fd;   /* very subtle tint */

  /* Neutrals derived around brand */
  --bg-main: #f5f7fb;
  --bg-elevated: #ffffff;
  --text-main: #1f2937;
  --text-muted: #5b6678;
  --border-soft: rgba(7,31,74,0.08);
  --border-strong: rgba(7,31,74,0.18);
  --shadow-soft: 0 8px 18px rgba(7,31,74,0.12);
  --shadow-strong: 0 20px 40px rgba(7,31,74,0.24);
}

*,
*::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(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
}

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

/* =========================================================
   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(15,23,42,0.12);
}

/* 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(7,31,74,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(--brand-dark) !important;
}

/* Menu links */
.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) !important;
}

/* Brand underline on hover */
.premium-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--brand);
  box-shadow: 0px 0px 6px rgba(7,31,74,0.45);
  transition: width 0.26s ease;
}
.premium-link:hover::after {
  width: 100%;
}

/* Dropdown: open on hover for 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(--border-soft);
  min-width: 210px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.12);
  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-dark);
  background: rgba(7,31,74,0.06) !important;
}

/* Navbar colors (same brand color in both states) */
.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) !important;
}

/* Caret icon */
.caret-icon {
  font-size: 10px;
  margin-left: 4px;
  transition: transform .25s ease;
  position: relative;
  top: -1px;
  color: inherit !important;
}
.nav-item.show .caret-icon {
  transform: rotate(180deg);
}
/* Remove Bootstrap default caret */
.dropdown-toggle::after {
  display: none !important;
}

/* Navbar buttons: consistent brand system */
.login-btn,
.apply-btn {
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 14px;
  padding: 0.45rem 1.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

/* Primary CTA: filled brand gradient */
.apply-btn {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(7,31,74,0.35);
}

/* Secondary CTA: ghost brand */
.login-btn {
  background: #ffffff;
  color: var(--brand-dark) !important;
  border: 1px solid rgba(7,31,74,0.45);
}

/* Hover */
.login-btn:hover {
  background: rgba(7,31,74,0.04);
  box-shadow: 0 8px 16px rgba(7,31,74,0.15);
}
.apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7,31,74,0.45);
}

/* Mobile navbar adjustments */
.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(15,23,42,0.18);
    padding: 12px 10px 10px;
  }
  .main-menu .nav-item {
    text-align: left;
  }
  .login-btn,
  .apply-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }
}

/* =========================================================
   HERO (Generic)
========================================================= */

.hero {
  height: 100vh;
  min-height: 620px;
  background: var(--hero-img) center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

/* Generic overlay used on home hero */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(247,249,254,0.96) 0%, rgba(243,247,255,0.85) 40%, rgba(235,241,255,0.3) 80%);
  z-index: 1;
}

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

/* top label chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7,31,74,0.06);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

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

/* hero subtitle */
.hero-subtitle {
  font-size: 15px;
  max-width: 520px;
  color: var(--text-muted);
  opacity: 0.98;
}

/* hero CTAs */
.hero-actions .hero-cta-btn,
.hero-cta-btn {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(7,31,74,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-actions .hero-cta-btn:hover,
.hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7,31,74,0.5);
}

/* secondary hero button */
.hero-secondary-btn {
  border-radius: 999px;
  border: 1px solid rgba(7,31,74,0.25);
  padding: 0.7rem 1.4rem;
  background: #ffffffd9;
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-dark);
  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: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.1);
}

/* 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(--brand-dark);
}
.metric-label {
  display: block;
  font-size: 12px;
  opacity: 0.75;
}

/* hero right-side card (home) */
.hero-side-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
}
.hero-side-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-dark);
}
.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);
  margin-top: 3px;
}
.hero-side-btn {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-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 10px 24px rgba(7,31,74,0.45);
}

/* 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(247,249,254,0.96) 0%,
      rgba(243,247,255,0.88) 45%,
      rgba(237,242,255,0.85) 100%
    );
  }
  .hero-metrics {
    gap: 14px;
  }
}

/* =========================================================
   HERO VARIANT: PREMIUM (service pages)
   Uses same brand color, different overlay
========================================================= */

.hero--premium {
  min-height: 90vh;
  background: var(--hero-img) center/cover no-repeat;
  position: relative;
  padding-top: 100px;
}
.hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(247,249,254,0.88),
    rgba(237,242,255,0.72),
    rgba(235,241,255,0.4)
  );
  backdrop-filter: blur(1px);
}
.hero--premium .container {
  position: relative;
  z-index: 2;
}
.hero-title--premium {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.2;
}
.hero-subtitle--premium {
  max-width: 620px;
  font-size: 1.02rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* hero stats in premium hero */
.hero-stats .stat-box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2px;
}
.hero-stats .stat-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA variants for premium hero */
.hero-btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: white !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(7,31,74,0.35);
  transition: 0.25s ease;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7,31,74,0.55);
}
.hero-btn-ghost {
  background: #ffffff;
  color: var(--brand-dark) !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  border: 1px solid rgba(7,31,74,0.22);
  transition: 0.25s ease;
}
.hero-btn-ghost:hover {
  background: rgba(7,31,74,0.04);
}

/* =========================================================
   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(15,23,42,0.09);
  border-radius: 14px;
  height: 100%;
  border: 1px solid rgba(7,31,74,0.06);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.18);
  border-color: rgba(7,31,74,0.25);
}

/* 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(--brand-dark);
  margin-bottom: 6px;
}
.service-card-body p {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* Read-more link */
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link::after {
  content: "→";
  font-size: 12px;
}
.service-link:hover {
  color: var(--brand);
}

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

/* =========================================================
   PROCESS SECTION – PREMIUM TIMELINE
========================================================= */

.process-section {
  position: relative;
  padding: 90px 0 80px;
  background: radial-gradient(circle at top left, var(--brand-soft) 0%, var(--bg-main) 45%, #e9efff 100%);
  color: var(--text-main);
  overflow: hidden;
}

.process-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--brand-dark);
  background: rgba(7,31,74,0.06);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.process-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-dark);
  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(7,31,74,0.05),
    rgba(7,31,74,0.5),
    rgba(7,31,74,0.05)
  );
  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;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Circle */
.process-circle {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 14px 26px rgba(7,31,74,0.5);
  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(--brand-dark);
  box-shadow: 0 6px 12px rgba(15,23,42,0.2);
}

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

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

/* Responsive */
@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;
  }
}

/* ===========================
   PROCESS SECTION - PREMIUM
=========================== */

/* wrapper */
.process-section {
    padding: 70px 0;
    position: relative;
    background: linear-gradient(90deg, #f7ffee, #f0fff4, #eefbf9);
}

/* connecting thin line */
.process-flow {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: nowrap;
    margin-top: 20px;
}

.process-flow::before {
    content: "";
    position: absolute;
    top: 110px;          /* aligns with center of icons */
    left: 6%;
    right: 6%;
    height: 2px;
    background: rgba(140, 208, 48, 0.35);
    z-index: 0;
}

/* each item */
.process-step {
    text-align: center;
    width: 25%;
    position: relative;
    z-index: 2;
}

/* BIG ICON CIRCLE */
.process-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon i {
    font-size: 80px;       /* BIG icon */
    color: #ffffff;
    filter: drop-shadow(0px 5px 8px rgba(0,0,0,0.3));
}

/* step number */
.process-step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffb41c;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* title */
.process-title {
    font-size: 20px;
    font-weight: 700;
    color: #073b00;
    margin-bottom: 10px;
}

/* subtitle */
.process-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #2b3e2b;
}

/* hover */
.process-step:hover .process-icon i {
    transform: scale(1.06);
    transition: 0.3s ease;
}
/* ================================
   PROCESS SECTION – NEW PREMIUM LAYOUT
================================ */

/* Big Icon - keep your same icons */
.process-step i,
.process-step svg {
    font-size: 78px !important;       /* BIG icon */
    color: #1e1e1e;                   /* adjust icon color */
    display: block;
    margin: 0 auto 16px auto;         /* put icon on top center */
}

/* Adjust step number */
.process-step-number {
    font-size: 18px;
    margin-bottom: 22px !important;
    font-weight: 600;
    color: #222;
}

/* Headings */
.process-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0B3D91;   /* brand navy or change to lemon green */
}

/* Description text */
.process-desc {
    font-size: 16px;
    line-height: 1.55;
    color: #2e2e2e;
    max-width: 260px;
    margin: 0 auto;
}

/* Thin connecting line alignment fix for bigger icons */
.process-flow::before {
    top: 105px !important;  
    height: 2px;
    background: rgba(142, 210, 45, 0.4);   /* light green line */
}

/* Step container */
.process-step {
    text-align: center;
    padding: 0 10px;
}

/* =========================================================
   BANK PARTNERS – PREMIUM GRID WITH BRAND COLOR
========================================================= */

.partners-strip.partners-premium {
  padding: 80px 0 90px;
  background: radial-gradient(circle at top left, var(--brand-soft) 0%, var(--bg-main) 55%, #e4ebff 100%);
  position: relative;
  overflow: hidden;
}

/* Soft blobs in brand tint */
.partners-strip.partners-premium::before,
.partners-strip.partners-premium::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}
.partners-strip.partners-premium::before {
  width: 180px;
  height: 180px;
  background: rgba(7,31,74,0.22);
  top: -40px;
  left: -40px;
}
.partners-strip.partners-premium::after {
  width: 220px;
  height: 220px;
  background: rgba(7,31,74,0.26);
  bottom: -60px;
  right: -40px;
}
.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(--brand-dark);
  background: rgba(255,255,255,0.9);
  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;
  color: var(--brand-dark);
  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(7,31,74,0.14);
  box-shadow: 0 24px 60px rgba(15,23,42,0.22);
  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(--brand-dark);
  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(107,114,128,0.7), transparent);
}

/* Glass wrapper */
.partners-rail-wrapper {
  margin-top: 32px;
  position: relative;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,245,255,0.98));
  box-shadow: 0 40px 90px rgba(15,23,42,0.22);
  padding: 26px 28px;
  overflow: hidden;
}

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

/* Each logo chip */
.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, #f4f7ff 0%, #e2ebff 100%);
  border: 1px solid rgba(148,163,184,0.75);
  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(7,31,74,0.7);
  box-shadow: 0 24px 48px rgba(15,23,42,0.26);
}
.partner-chip:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

/* edge 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);
}

/* Note */
.partners-note {
  margin-top: 18px;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive partners */
@media (max-width: 991.98px) {
  .partners-strip.partners-premium {
    padding: 70px 0 75px;
  }
  .partners-badge-row {
    justify-content: space-around;
  }
}
@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;
  }
}

/* =========================================================
   INFO CARDS + LISTS (service pages)
========================================================= */

.info-card {
  background: #f4f6ff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
  border: 1px solid rgba(7,31,74,0.08);
}
.info-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
}
.info-card__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.info-card__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-main);
}
.info-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* Check list */
.list-check {
  list-style: none;
  padding-left: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
}
.list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--brand);
}

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

.sq-footer {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
}
.footer-tagline {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

/* Footer CTA button (if used) */
.footer-cta-btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.55rem 1.5rem;
  background: transparent;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-cta-btn:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* Column Titles */
.footer-title {
  font-size: 15px;
  font-weight: 700;
  position: relative;
  margin-bottom: 14px;
}
.footer-title::after {
  content: "";
  width: 35px;
  height: 2px;
  background: var(--brand);
  position: absolute;
  bottom: -6px;
  left: 0;
  border-radius: 5px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 7px;
}
.footer-links a {
  font-size: 13.5px;
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.88;
  transition: 0.25s;
}
.footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  color: #fff;
  margin: 0 5px;
  font-size: 16px;
  transition: 0.25s;
}
.footer-social a:hover {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0px 0px 8px rgba(7,31,74,0.7);
}

/* Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.24);
  font-size: 13px;
  color: #e5e5e5;
}

/* =========================================================
   MISC UTILITIES
========================================================= */

.section-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-dark);
}

/* new for process */

/* ===========================================
   PREMIUM PROCESS SECTION (BIG SVG ICONS)
=========================================== */

.process-section {
  position: relative;
  padding: 90px 0 80px;
  background: radial-gradient(circle at top left, #f5fff7 0%, #f6f8fa 40%, #eef5ff 100%);
  color: var(--slate);
  overflow: hidden;
}

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

/* Thin connecting line */
.process-flow::before {
  content: "";
  position: absolute;
  top: 105px;      /* aligned to middle of circles */
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(155, 222, 55, 0.05),
    rgba(155, 222, 55, 0.6),
    rgba(155, 222, 55, 0.05)
  );
  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;
}

/* Big gradient circle */
.process-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%,
      #fafff2 0%,
      var(--brand-primary) 40%,
      var(--brand-primary-dark) 100%);
  box-shadow:
    0 18px 40px rgba(50, 90, 15, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Step number pill on top */
.process-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #180808;
  color: var(--brand-primary-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

/* SVG icon inside circle */
.process-circle svg {
  width: 64px;
  height: 64px;
  fill: #ffffff;
}

/* Title & text */
.process-step h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main, #0b1720);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted, #4b5a4b);
  margin: 0;
}

/* Hover micro-interaction */
.process-step:hover .process-circle {
  transform: translateY(-4px);
  box-shadow:
    0 24px 55px rgba(50, 90, 15, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}
.process-step:hover .process-circle svg {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 991.98px) {
  .process-flow {
    flex-wrap: wrap;
    row-gap: 36px;
  }
  .process-flow::before {
    left: 10%;
    right: 10%;
  }
}

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


/* ===========================================
   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%; }
}
