@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Dancing+Script:wght@400..700&family=Outfit:wght@100..900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #042048;
  --primary-dark: #02122b;
  --secondary: #27055b;
  --secondary-light: #16a3a6;
  --accent: #ffc107;
  --accent-hover: #e0ac00;
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #1a202c;
  --text-body: #4a5568;
  --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --radius-lg: 16px;
  --radius-btn: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

strong,
b,
.fw-bold:not(.btn),
.text-bold {
  color: #3f0896 !important;
}

body {
  background-color: var(--light);
  font-family: 'Outfit', sans-serif;
  color: var(--text-body);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
}


/*---------------------header-area-css-----------------------*/
header {
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-logo {
  max-width: 150px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem 1.1rem !important;
  text-transform: capitalize;
  letter-spacing: 0.65px;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffc107;
}


/*---------------------hero-area-css-----------------------*/

.hero-area {
  position: relative;
  overflow: hidden;
}

.babberpart {
  background: linear-gradient(135deg, #240554 0%, #660ef0 100%);
  min-height: 80vh;
  /* Increased height for better impact */
  display: flex;
  align-items: center;
  padding: 90px 8% 80px 8%;
  position: relative;
  z-index: 1;
}

/* Gradient Overlay - Removed since background is now gradient */
.babberpart::before {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease-out;
}

.babberpart h1 {
  color: var(--white);
  text-transform: capitalize;
  font-weight: 700;
  font-size: 4.5rem;
  /* Larger font size */
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.babberpart h1 span {
  color: var(--accent);
  display: block;
  /* Break line for emphasis */
}

.babberpart p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  max-width: 600px;
  margin-bottom: 20px;
  font-weight: 300;
}

.babberpart ul {
  color: var(--white);
  font-size: 1.1rem;
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  /* Reduced margin to bring button closer? Or kept same? User said "below global lenders". */
  display: flex;
  flex-direction: column;
  /* Stack items vertically so "Global Lenders" is effectively above the button visually in a list */
  align-items: flex-start;
  /* Align left */
  gap: 15px;
}

.babberpart ul li {
  color: var(--white);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.babberpart ul li i {
  color: var(--accent);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Hero Image Styling */

.hero-img-main {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  /* Removed mask-image to show full new image */
  transform: scale(1.45) translateY(85px) translateX(-4px);
  transform-origin: bottom;
  border-radius: 25px;
}

.btn {
  font-size: 1.1rem;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-warning {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.btn-warning:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-light:hover {
  background-color: var(--white);
  color: var(--secondary);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


/* Hero Flag Marquee */
.hero-flag-marquee {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track-flags {
  display: inline-flex;
  gap: 30px;
  animation: scrollFlags 20s linear infinite;
  align-items: center;
}

.marquee-track-flags img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@keyframes scrollFlags {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Mobile Responsiveness for Hero */
@media (max-width: 991px) {
  .babberpart h1 {
    font-size: 3rem;
  }

  .babberpart::before {
    background: linear-gradient(180deg, rgba(102, 14, 240, 0.95) 0%, rgba(102, 14, 240, 0.9) 100%);
  }

  .babberpart {
    padding: 130px 5% 60px 5%;
    min-height: auto;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .babberpart ul {
    justify-content: center;
    align-items: center;
    /* Center align on mobile */
  }

  .hero-img-main {
    margin-top: 40px;
    max-width: 100%;
  }
}

/*-----------------------Body rapid-css-----------------------*/
.body_wrap {
  padding: 2% 10% 0 10%;
  /* Reduced top padding from 3% to 2% */
  display: block;
  width: 100%;
}

.titlepart h2 {
  font-size: 34px !important;
  font-weight: 700 !important;
  text-align: center;
  color: #3f0896;
  /* font-family inherited */
}

.titlepart h6 {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-align: center;
  font-style: italic;
  color: var(--primary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  margin-top: 25px;
}

.stat-card {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: .3s ease;
  border: 4px solid rgba(232, 232, 232, 0.5);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.bg1 {
  background: #ffedc0;
  color: #ffc107;
}

.bg2 {
  background: #fff1d6;
  color: #f0a500;
}

.bg3 {
  background: #ffe3e3;
  color: #ff4d4d;
}

.bg4 {
  background: #ffedc0;
  color: #efab00;
}

.bg5 {
  background: #e6ffe9;
  color: #22c55e;
}

.bg6 {
  background: #ffedc0;
  color: #efab00;
}

.stat-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  margin: 8px 0 5px;
  font-weight: 700;
  color: #3f0896;
}

.stat-card p {
  font-size: 17px;
  color: var(--text-body);
  font-weight: 500;
}


/*-----------------------Footer-css-----------------------*/
.main-footer {
  background: var(--primary);
  background: var(--gradient-main);
  color: var(--white);
}

.main-footer .copy-right b,
.main-footer h6 {
  color: #ffffff !important;
  font-size: 20px !important;
}

.copy-right {
  font-size: 14px !important;
  color: #fff;
}

h5.copy-right {
  font-size: 24px !important;
  color: #fff;
  font-weight: 600;
  font-family: 'Outfit', sans-serif !important;
}

footer .list-unstyled li a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Outfit', sans-serif !important;
  margin-bottom: 12px;
  display: block;
  width: fit-content;
}

footer .list-unstyled li a:hover {
  color: #ffc107;
}


/*-----------------------Problem-Solution-css-----------------------*/

.problem-solution {
  padding: 85px 0 35px 0;
  /* Reduced by ~15px */
}

.ps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------------- LEFT ---------------- */

/* .ps-left{
    background:#f8fbff;
    border-radius:18px;
    padding:32px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
} */
.ps-left h2 {
  font-size: 34px;
  color: #042048;
  text-align: center;
  margin-bottom: 2px;
}

.ps-left h2 span {
  color: #3e0896;
  font-weight: 800;
}

.ps-left h6 {
  text-align: center;
  color: var(--primary);
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  font-style: italic;
  margin-top: 2px;
}





/* Problem List Container - Horizontal Row */
.problem-list {
  display: flex;
  flex-direction: row;
  gap: 60px;
  /* Increased gap for connectors */
  max-width: 1200px;
  margin: 60px auto;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card Base Style */
.problem-item {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 35px;
  /* Rounded corners like reference */
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: transform 0.3s ease;
  text-align: center;
  border: 2px solid #e0e0e0;
  /* Default border fallback */
}


/* Desktop-Specific Styles for Problem Cards (992px+) */
@media (min-width: 992px) {
  .problem-item {
    min-width: 0;
    /* flexible width */
    border-width: 2px;
  }

  /* Card 1: Gold */
  .problem-item:nth-child(1) {
    border-color: #FEC64F;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* No Glow */
  }

  .problem-item:nth-child(1) .p-icon {
    background: #FFF9E6;
    color: #FEC64F;
    border-radius: 20px;
    /* Not Circle */
  }

  /* Card 2: Purple */
  .problem-item:nth-child(2) {
    border-color: #27055b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* No Glow */
  }

  .problem-item:nth-child(2) .p-icon {
    background: #F3EFFF;
    color: #27055b;
    border-radius: 20px;
    /* Not Circle */
  }

  /* Card 3: Gold */
  .problem-item:nth-child(3) {
    border-color: #FEC64F;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* No Glow */
  }

  .problem-item:nth-child(3) .p-icon {
    background: #FFF9E6;
    color: #FEC64F;
    border-radius: 20px;
    /* Not Circle */
  }

  /* Connectors (Wavy Lines) */
  .problem-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -65px;
    /* Position in gap */
    width: 70px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
    pointer-events: none;
    display: none !important;
    /* Override none */
    z-index: 1;
  }

  /* Wave: Card 1 -> 2 (Gold to Purple) */
  .problem-item:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg width='70' height='20' viewBox='0 0 70 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 C 20 10, 20 10, 35 10 C 50 10, 50 10, 70 10' stroke='%2327055b' stroke-width='2'/%3E%3C/svg%3E");
  }

  /* Wave: Card 2 -> 3 (Purple to Gold) */
  .problem-item:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg width='70' height='20' viewBox='0 0 70 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 C 20 10, 20 10, 35 10 C 50 10, 50 10, 70 10' stroke='%23FEC64F' stroke-width='2'/%3E%3C/svg%3E");
  }

  /* No connector after last card */
  .problem-item:last-child::after {
    display: none !important;
  }
}

.problem-item:hover {
  transform: translateY(-5px);
}

/* Reset alignments - Remove zigzag specifics */
.problem-item:nth-child(odd),
.problem-item:nth-child(even) {
  align-self: auto;
  margin: 0;
  text-align: center;
  flex-direction: column;
  /* Keep default solid border unless overridden by media query */
}

/* Icons */
.p-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  position: static;
  margin-bottom: 10px;
  color: var(--primary);
  box-shadow: none;
  border: none;
}

/* Colors for Horizontal Layout */
/* Colors for Horizontal Layout */
.problem-item:nth-child(1) .p-icon {
  background: #FFF9E6;
  color: #FEC64F;
}

.problem-item:nth-child(2) .p-icon {
  background: #F3EFFF;
  color: #27055b;
}

.problem-item:nth-child(3) .p-icon {
  background: #FFF9E6;
  color: #FEC64F;
}

/* Disable connectors by default (enabled in media query above) */
.problem-item::after {
  display: none;
}

/* Text */
.p-text {
  flex: 1;
  margin-top: 0;
}

.p-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #042048;
  margin-bottom: 8px;
}

.p-text p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* The specific trailing text in the problem-list container */
.problem-list>h6 {
  width: 100%;
  text-align: center;
  font-size: 28px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #042048;
  margin-top: 40px;
}

.problem-list>h6 .highlight-text {
  color: #3f0896;
  /* Purple color */
  font-weight: 800;
  /* Extra bold */
  font-size: 32px;
  /* Increased size by ~3pt */
}

/* ---------------- RIGHT ---------------- */

.ps-right h2 {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
  /* Center aligned */
}

.ps-right h2 span {
  color: #3f0896;
  font-weight: 800;
}

.solution-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

/* Trailer Text in Problem Section */
/* .ps-left>h6:last-of-type {
  width: 100%;
  text-align: center;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #042048 !important;
  margin-top: 50px;
  display: block;
} */

.avatar-row {
  display: flex;
  gap: 20px;
  align-items: center;
  /* Perfect vertical alignment */
}

.avatar-row img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #FEC64F;
  object-fit: cover;
  /* Ensure image fits perfectly */
  flex-shrink: 0;
  transform: translateY(-35px);
}

.avatar-row p {
  font-size: 17px;
  line-height: 1.6;
  color: #042048;
  margin: 0;
}

.avatar-row p strong {
  color: #3e0896;
}

.final-text {
  font-size: 24px;
  /* Increased by ~3-4 points from base */
  font-weight: 700;
  color: #000;
  /* Matching strong color */
}

@media (min-width: 992px) {
  .avatar-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .avatar-row img {
    transform: none;
    /* Remove offset */
    margin-bottom: 10px;
  }

  .avatar-row p {
    font-size: 20px;
    /* Increased size */
    max-width: 80%;
    /* Less space (width) */
    margin: 0 auto;
  }
}



.solution-card ul {
  margin: 25px 0;
  padding: 0;
  list-style: none;
  /* Remove bullets */
  text-align: center;
  /* Center align */
}

.solution-card li {
  margin-bottom: 0.8px;
  font-family: 'Outfit', sans-serif;
  /* Normal Font */
  font-style: italic;
  font-weight: 700;
  /* Bold */
  font-size: 20px;
  /* Adjusted size */
  color: #3f0896;
  line-height: 1.4;
  font-weight: 700;
}

/* .cursive-text {
  font-family: 'Brush Script MT', cursive;
  /* Fallback cursive */
/* font-style: italic;
font-weight: 400;
font-size: 1.3em; */
/* Slightly larger */
/* color: */
/* Brand Teal */
/* } */

*/ .btn-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/*-----------------------Feature-css-----------------------*/

.feature-section {
  padding: 35px 0 35px 0;
  /* Reduced by 15px */
  border-top: 1px solid #e3edf8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* card */

/* card */

.feature-card {
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

/* icon */

.f-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.f-icon.gold {
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent-hover);
}

.f-icon.teal {
  background: rgba(39, 5, 91, 0.1);
  color: var(--secondary);
}

.f-icon.navy {
  background: rgba(4, 32, 72, 0.1);
  color: var(--primary);
}

.feature-card:hover .f-icon {
  transform: scale(1.1);
}

/* text */

.feature-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #042048;
  letter-spacing: -0.5px;
}

.feature-card .sub {
  font-weight: 600;
  color: #096F71;
  margin-bottom: 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 15px;
  color: #5b6b82;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card ul {
  margin: 0 0 25px;
  padding-left: 0;
  list-style: none;
  flex-grow: 1;
}

.feature-card li {
  font-size: 15px;
  color: #042048;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.feature-card li i {
  color: #22c55e;
  margin-top: 3px;
  font-size: 16px;
}

/* button */

.feature-card .btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.f-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
}


/*-----------------------How-it-works-css-----------------------*/
.how-it-works {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.hiw-process-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

/* Connector between steps (Dot - Line - Dot) */
.step-connector {
  position: absolute;
  top: 40px;
  /* Center of the 80px icon */
  left: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  /* Gap to avoid overlapping icons */
}

/* Connecting Line */
.c-line {
  flex-grow: 1;
  height: 2px;
  border-top: 3px dashed #d1d5db;
  opacity: 0.6;
  margin: 0 10px;
}

/* Dots */
.c-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-purple {
  background-color: #7f1da6;
  box-shadow: 0 0 0 4px #eee;
}

.dot-gold {
  background-color: #ffc107;
  box-shadow: 0 0 0 4px #eee;
}



/* Remove old global line styles if present */
.process-line-container {
  display: none;
}

/* Step Layout */
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Icon Styling */
.icon-container {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 25px;
  box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid #fff;
  /* White border for clean look */
}

.hiw-step:hover .icon-box {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Colors matching brand - Reference Style */
.bg-purple {
  background: #f3e5f5;
  /* Light Lilac */
  color: #7b1fa2;
  /* Darker Purple Icon */
  box-shadow: none !important;
}

.bg-gold {
  background: #fff9e6;
  /* Light Cream/Yellow */
  color: #ffc107;
  /* Gold Icon */
  box-shadow: none !important;
}

/* Teal removed from design, kept for fallback if needed */
.bg-teal {
  background: #e0f2f1;
  color: #20bf6b;
  box-shadow: none !important;
}

/* The Dot on the line */
/* The Dot on the line using pseudo element for better positioning relative to column */
/* Clean up old pseudo-element dots */
.hiw-step::after {
  display: none !important;
}

.step-dot {
  display: none;
  /* using pseudo element instead */
}

/* Typography */
.hiw-step h4 {
  font-size: 22px;
  font-weight: 700;
  color: #042048;
  margin-bottom: 15px;
}

.hiw-step p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.step-card p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #042048;
  font-family: 'Outfit', sans-serif !important;
  text-transform: capitalize;
}

/* VIDEO */

.hiw-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .15);
}

.hiw-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*-----------------------Beyond-css-----------------------*/

.beyond-section {
  background: linear-gradient(135deg, #540cc8 0%, #3e0896 100%);
  padding: 65px 0;
  /* Reduced from 80px by 15px */
  color: var(--white);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Optional: Decorative overlay effect */
.beyond-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.beyond-container {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.beyond-text {
  padding: 20px 30px 20px 50px;
}

.beyond-text h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.beyond-text .sub {
  margin: 0 0 35px;
  font-size: 20px;
  font-weight: 300;
  opacity: .95;
  color: #aed9da;
}

.points {
  list-style: none;
  padding: 0;
}

.points li {
  margin-bottom: 20px;
  font-size: 18px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 500;
}

.points i {
  color: var(--primary);
  background: var(--accent);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  flex-shrink: 0;
}

/* RIGHT SIDE */

.beyond-visual {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 670px;
  /* padding: 0 20px; */
}

.logo-row {
  display: flex;
  gap: 16px;
}

.logo-row img {
  width: 70px;
  padding: 8px;
  border-radius: 10px;
}

/* scholarship cards */

.scholar-cards {
  display: flex;
  gap: 15px;
  padding: 0 10px;
}

.s-card {
  flex: 1;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: .3s;
}

.s-card:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-3px);
}

/* MARQUEE */

.lender-marquee {
  overflow: hidden;
  border-radius: 14px;
  padding: 20px 0;
  position: relative;
  /* Fade Overlay Effect */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  /* Ensure track takes full width of children */
  animation: marquee 35s linear infinite;
  /* Smoother speed */
}

.marquee-track img {
  height: 60px;
  object-fit: contain;
  background: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  /* Prevent shrinking */
}

.marquee-track2 {
  gap: 20px;
}

.marquee-track2 img {
  height: 80px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* HOVER PAUSE */
.lender-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Marquee Headings for Lenders and Universities */
.marquee-heading {
  color: #fff;
  font-weight: 700;
  font-size: 31px;
  /* Increased by 7px */
  text-align: center;
  margin-bottom: 15px;
  /* Reduced from 25px */
  margin-top: 30px;
}

/*-----------------------FAQ-css-----------------------*/

.faq-section {
  padding: 65px 15px;
  /* Reduced by 15px */
  color: #042048;
}

.faq-container {
  max-width: 1000px;
  margin: auto;
}

.faq-title {
  font-size: 32px;
  margin-bottom: 30px;
}

/* ITEM */

.faq-item {
  border-bottom: 1px solid rgba(49, 49, 49, 0.14);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #042048;
  padding: 22px 0;
  text-align: left;
  font-size: 26px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  font-size: 28px;
  transition: .3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  opacity: .9;
  line-height: 1.7;
  font-size: 18px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}


/*-----------------------Contact-css-----------------------*/

.contact-section {
  padding: 0px 0;
}

.contact-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */

.contact-left {
  text-align: center;
}

.contact-left .tag {
  color: #3f0896;
  /* Match Titlepart/FAQ Header */
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  letter-spacing: normal;
  text-transform: none;
}

.contact-left h2 {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  line-height: 1.4;
  margin-top: 5px;
}

/* RIGHT CARD */

.contact-card {
  border: 2px solid #27055b;
  /* Purple */
  border-radius: 50px;
  padding: 50px;
}

.contact-card h3 {
  color: #27055b;
  /* Purple */
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-card p {
  color: #444;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* FORM */

.contact-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  padding: 14px 16px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}

.contact-card textarea {
  min-height: 140px;
  resize: none;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: #27055b;
  /* Purple */
}

/* BUTTON */

.contact-card button {
  margin-top: 10px;
  align-self: flex-end;
  background: #27055b;
  /* Purple */
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: .3s;
  font-weight: 600;
}

.contact-card button:hover {
  background: #1a0340;
  /* Darker Purple */
}


/*-----------------------Final-css-----------------------*/

.final-cta {
  padding: 50px 15px;
  background: linear-gradient(135deg, #540cc8 0%, #3e0896 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  border-radius: 20px 20px 0 0;
}

.main-footer {
  background: linear-gradient(135deg, #3e0896 0%, #2a056b 100%);
  /* Slightly darker continuation */
  color: #fff;
  position: relative;
  z-index: 1;
}

.main-footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: 0.3s;
}

.main-footer a:hover {
  color: #ffc107;
}

/* glow circles */

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent);
  opacity: .12;
  filter: blur(120px);
  border-radius: 50%;
}

.final-cta::before {
  top: -80px;
  left: -80px;
}

.final-cta::after {
  bottom: -80px;
  right: -80px;
}

/* box */

.cta-box {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 18px;
}

.cta-box p {
  color: #e0f7f6;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/*---------------------Hamburger Animation-----------------------*/
.navbar-toggler {
  border: none !important;
  padding: 0 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--accent);
  /* Warning yellow color to match theme */
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.animated-icon span:nth-child(1) {
  top: 0px;
}

.animated-icon span:nth-child(2) {
  top: 10px;
}

.animated-icon span:nth-child(3) {
  top: 20px;
}

/* Open state: When aria-expanded is "true" on the button */
.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

/* Feature Row Design */
.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 32px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.feature-text .sub-text {
  font-size: 18px;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.feature-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 16px;
}

/* Image & Overlay Wrapper */
.feature-visual {
  flex: 1;
  position: relative;
}

.feature-visual img.main-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Floating Overlay List */
.overlay-list {
  position: absolute;
  top: 30%;
  left: -40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.overlay-header {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.overlay-item {
  background: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
  width: fit-content;
  min-width: 220px;
}

.overlay-item i {
  color: var(--primary);
  font-size: 14px;
}

/*-----------------------Reviews Carousel Design-----------------------*/
/*-----------------------Reviews Carousel Design-----------------------*/
.reviews-section {
  padding: 0;
  overflow: hidden;
  position: relative;
  /* background: #fdfdfd; */
  text-align: center;
}

.reviews-heading {
  font-size: 34px !important;
  font-weight: 700 !important;
  text-align: center;
  color: #3f0896;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.reviews-heading span {
  color: #ffc107;
}

/* Marquee Carousel Effect */
.review-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  /* Increased from 40px for more display area */
  /* Space for scaling */
}

.marquee-content {
  display: flex;
  gap: 40px;
  animation: scroll-reviews 60s linear infinite;
  width: max-content;
  padding: 0;
  /* Full width */
  align-items: center;
  /* Center items vertically */
}

.marquee-content img {
  width: 450px;
  height: auto;
  /* Fixed card width */
  border-radius: 20px;
  /* No shadow or bg requested */
  box-shadow: none;
  background: transparent;
  padding: 0;
  /* Internal padding like a card */
  border: 1px solid rgba(0, 0, 0, 0.15);
  /* Thin light dark border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Desktop: Smaller testimonials */
@media (min-width: 992px) {
  .marquee-content img {
    width: 350px;
    /* Reduced size for desktop */
  }
}

/* Hover Effect mimicking "Active" focus */
.marquee-content img:hover {
  transform: scale(1.1);
  /* Pop up effect */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 20px));
  }
}

/*-----------------------Media Growth Section-----------------------*/
.media-section {
  padding: 50px 0;
  /* Increased padding for better breathing room */
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.media-card {
  background: #fff;
  border-radius: 20px;
  /* Match feature cards */
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* Center align content horizontally */
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.media-logo-wrapper {
  height: 60px;
  /* Fixed height for logo area */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  width: 100%;
}

.media-logo {
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.media-card:hover .media-logo {
  transform: scale(1.05);
}

.media-card h3 {
  font-size: 1.5rem;
  /* Slightly larger */
  color: #3f0896;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}

.media-card p {
  font-size: 1.05rem;
  color: #5b6b82;
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: center;
}

.media-card .btn {
  align-self: center;
  /* Center button */
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: auto;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .media-card {
    padding: 30px;
    min-height: auto;
  }
}/ *   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   * /  
 / *   N E W   D E S K T O P   F E A T U R E S   S E C T I O N   ( Z i g - Z a g )                       * /  
 / *   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   * /  
  
 . d e s k t o p - f e a t u r e s   {  
         p a d d i n g - t o p :   1 . 3 7 5 r e m ;  
         / *   R e d u c e d   b y   ~ 1 0 p x   f o r   t i g h t e r   s p a c i n g   * /  
         p a d d i n g - b o t t o m :   2 r e m ;  
         / *   F u r t h e r   r e d u c e d   f o r   1 5 p x   s p a c i n g   d e c r e a s e   * /  
 }  
  
 . s e c t i o n - h e a d i n g   {  
         f o n t - s i z e :   3 4 p x   ! i m p o r t a n t ;  
         f o n t - w e i g h t :   7 0 0   ! i m p o r t a n t ;  
         c o l o r :   # 3 f 0 8 9 6 ;  
         m a r g i n - b o t t o m :   2 r e m ;  
         / *   R e d u c e d   f r o m   3 r e m   * /  
 }  
  
 . f e a t u r e - e y e b r o w   {  
         f o n t - s i z e :   1 4 p x ;  
         f o n t - w e i g h t :   8 0 0 ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         l e t t e r - s p a c i n g :   1 p x ;  
         c o l o r :   # f f f ;  
         / *   W h i t e   t e x t   * /  
         b a c k g r o u n d :   # 3 f 0 8 9 6 ;  
         / *   P u r p l e   b a c k g r o u n d   * /  
         p a d d i n g :   8 p x   2 0 p x ;  
         b o r d e r - r a d i u s :   5 0 p x ;  
         / *   P i l l   s h a p e   * /  
         m a r g i n - b o t t o m :   1 0 p x ;  
         / *   R e d u c e d   f r o m   1 5 p x   * /  
         d i s p l a y :   i n l i n e - b l o c k ;  
         / *   C h a n g e d   t o   i n l i n e - b l o c k   f o r   p i l l   s h a p e   * /  
 }  
  
 . f e a t u r e - t i t l e   {  
         f o n t - s i z e :   4 2 p x ;  
         f o n t - w e i g h t :   8 0 0 ;  
         c o l o r :   # 0 4 2 0 4 8 ;  
         m a r g i n - b o t t o m :   1 2 p x ;  
         / *   R e d u c e d   f r o m   2 0 p x   * /  
         l i n e - h e i g h t :   1 . 2 ;  
 }  
  
 . f e a t u r e - d e s c   {  
         f o n t - s i z e :   1 8 p x ;  
         c o l o r :   # 5 5 6 9 8 7 ;  
         l i n e - h e i g h t :   1 . 6 ;  
         m a r g i n - b o t t o m :   2 0 p x ;  
         / *   R e d u c e d   f r o m   3 0 p x   * /  
         m a x - w i d t h :   9 0 % ;  
 }  
  
 . f e a t u r e - l i s t   {  
         l i s t - s t y l e :   n o n e ;  
         p a d d i n g :   0 ;  
         m a r g i n :   0   0   3 5 p x   0 ;  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
         g a p :   1 5 p x ;  
 }  
  
 . f e a t u r e - l i s t   l i   {  
         f o n t - s i z e :   1 7 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   # 0 4 2 0 4 8 ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 2 p x ;  
 }  
  
 . f e a t u r e - l i s t   l i   i   {  
         c o l o r :   # 3 f 0 8 9 6 ;  
         / *   P u r p l e   C h e c k m a r k   * /  
         f o n t - s i z e :   1 . 2 r e m ;  
 }  
  
 . b t n - p u r p l e - p i l l   {  
         b a c k g r o u n d :   # F E C 6 4 F ;  
         / *   G o l d / Y e l l o w   * /  
         c o l o r :   # 0 4 2 0 4 8 ;  
         / *   D a r k   t e x t   * /  
         p a d d i n g :   1 4 p x   3 2 p x ;  
         b o r d e r - r a d i u s :   5 0 p x ;  
         f o n t - w e i g h t :   7 0 0 ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         d i s p l a y :   i n l i n e - f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 0 p x ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;  
         b o r d e r :   2 p x   s o l i d   # F E C 6 4 F ;  
 }  
  
 . b t n - p u r p l e - p i l l : h o v e r   {  
         b a c k g r o u n d :   t r a n s p a r e n t ;  
         c o l o r :   # F E C 6 4 F ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;  
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 2 5 4 ,   1 9 8 ,   7 9 ,   0 . 3 ) ;  
 }  
  
 . f e a t u r e - i m a g e - w r a p p e r   {  
         p o s i t i o n :   r e l a t i v e ;  
         p a d d i n g :   2 0 p x ;  
         b a c k g r o u n d :   # f 8 f a f f ;  
         / *   V e r y   l i g h t   s u b t l e   b a c k i n g   * /  
         b o r d e r - r a d i u s :   2 4 p x ;  
         t e x t - a l i g n :   c e n t e r ;  
 }  
  
 . f e a t u r e - i m a g e - w r a p p e r   i m g   {  
         m a x - w i d t h :   1 0 0 % ;  
         h e i g h t :   a u t o ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ;  
         / *   T h i n   l i g h t   d a r k   b o r d e r   * /  
         b o r d e r - r a d i u s :   1 6 p x ;  
         / *   M a t c h   r o u n d e d   c o r n e r s   * /  
         / *   o p t i o n a l   h o v e r   e f f e c t   * /  
         t r a n s i t i o n :   t r a n s f o r m   0 . 4 s   e a s e ;  
 }  
  
 . f e a t u r e - i m a g e - w r a p p e r : h o v e r   i m g   {  
         t r a n s f o r m :   s c a l e ( 1 . 0 2 ) ;  
 }  
 