/* NAV TRIGGER */
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.group:hover .nav-trigger {
  color: #0f766e;
}

/* ARROW */
.arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.group:hover .arrow {
  transform: rotate(180deg);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 44px;
  left: 0;
  width: 300px;
  background: white;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 50;
}

.group:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MEGA DROPDOWN */
.mega-dropdown {
  position: absolute;
  top: 44px;
  left: 0;
  width: 440px;
  background: white;
  padding: 22px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.group:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* DROPDOWN ITEM */
.dropdown-item {
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: #f1f5f9;
}

/* HERO FORM */
.hero-form {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15,118,110,0.15);
}


/* COMPACT TRUST STRIP */
.trust-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  font-size: 14px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.trust-value {
  font-weight: 800;
  color: #0f766e;
  font-size: 15px;
}

.trust-text {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: #e5e7eb;
}


/* =========================
   TRENDING LOANS – WOW LEVEL
   ========================= */

/* SECTION WRAPPER SAFETY */
section {
  position: relative;
}

/* CARD BASE */
.wow-card {
  position: relative;
  border-radius: 28px;
  padding: 28px 22px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;

  /* CENTERING */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  transition: all 0.4s ease;
}

/* HOVER EFFECT */
.wow-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* GLOW LAYER */
.wow-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.7),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.wow-card:hover .wow-glow {
  opacity: 1;
}

/* ILLUSTRATION / ICON */
.wow-illus {
  width: 64px;
  height: 64px;
  font-size: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;
}

/* TITLE */
.wow-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-top: 6px;
  line-height: 1.2;
}

/* SUBTEXT */
.wow-card p {
  margin-top: 6px;
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

/* CTA BUTTON */
.wow-card button {
  margin-top: 18px;
  padding: 10px 24px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;

  border: none;
  cursor: pointer;
  color: #ffffff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wow-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================
   COLOR THEMES
   ========================= */

/* GREEN – BUSINESS */
.wow-card.green {
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}
.wow-card.green h3 {
  color: #15803d;
}
.wow-card.green button {
  background: #15803d;
}

/* RED – PERSONAL */
.wow-card.red {
  background: linear-gradient(135deg, #fef2f2, #ffffff);
}
.wow-card.red h3 {
  color: #b91c1c;
}
.wow-card.red button {
  background: #b91c1c;
}

/* BLUE – PROFESSIONAL */
.wow-card.blue {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}
.wow-card.blue h3 {
  color: #1d4ed8;
}
.wow-card.blue button {
  background: #1d4ed8;
}

/* ORANGE – SECURED */
.wow-card.orange {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}
.wow-card.orange h3 {
  color: #c2410c;
}
.wow-card.orange button {
  background: #c2410c;
}

/* PURPLE – INSTANT */
.wow-card.purple {
  background: linear-gradient(135deg, #faf5ff, #ffffff);
}
.wow-card.purple h3 {
  color: #7e22ce;
}
.wow-card.purple button {
  background: #7e22ce;
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */
@media (max-width: 768px) {
  .wow-card {
    padding: 24px 18px 28px;
  }

  .wow-illus {
    font-size: 40px;
  }
}


/* SECTION */
.business-section {
  padding: 32px 0;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 60%
  );
}

.business-content {
  max-width: 600px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f766e;              /* theme teal */
  margin-bottom: 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ICON */
.title-icon {
  font-size: 22px;
  line-height: 1;
}

/* UNDERLINE */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 52px;
  background: linear-gradient(
    90deg,
    #14b8a6,
    #5eead4,
    #14b8a6
  );
  border-radius: 999px;

  animation: underlineLoop 2.2s ease-in-out infinite;
}

/* ANIMATION */
@keyframes underlineLoop {
  0% {
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0.4;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 1;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
    opacity: 0.4;
  }
}



/* CONTAINER */
.business-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  justify-items: center;   /* ⭐ important */
}

/* LEFT IMAGE */
.business-image {
  display: flex;
  justify-content: center;
}

.business-image img {
  width: 100%;
  max-width: 920px;   /* image bigger */
  height: auto;
}

/* RIGHT CONTENT */
.business-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  max-width: 560px;
}

/* BUTTON */
.apply-btn {
  margin-top: 24px;
  padding: 12px 32px;

  background: transparent;
  color: #15803d;
  border: 1px solid #15803d;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.apply-btn:hover {
  background: #ecfdf5;
}


@media (max-width: 900px) {
  .business-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .business-image img {
    max-width: 360px;
  }

  .business-content {
    margin: auto;
  }
}

/* =========================
   PERSONAL LOAN SECTION
   ========================= */

.personal-section {
  padding: 24px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 70%
  );
}

.personal-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  justify-items: center;
}

/* LEFT CONTENT */
.personal-content {
  max-width: 600px;
}

.personal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
}

/* RIGHT IMAGE */
.personal-image {
  display: flex;
  justify-content: center;
  background: radial-gradient(
    circle at center,
    #eef2ff 0%,
    transparent 70%
  );
}

.personal-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  mix-blend-mode: multiply;
}

/* MOBILE */
@media (max-width: 900px) {
  .personal-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .personal-content {
    margin: auto;
  }

  .personal-image img {
    max-width: 360px;
  }
}

/* FLOAT ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}


.business-image img,
.personal-image img {
  animation: float 4s ease-in-out infinite;
}


@media (max-width: 900px) {
  .section-title {
    font-size: 24px;
    justify-content: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* =========================
   HOW IT WORKS SECTION
   ========================= */

.how-section {
  padding: 50px 0;
  background: #ffffff;
}

.how-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  text-align: center;
}

.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;   
}

/* STEP */
.how-step {
  display: flex;
  align-items: center;
  gap: 0px;

  font-size: 19px;          /* text bigger */
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}

/* NUMBER */
.step-number {
  width: 38px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #0f766e;
  color: white;

  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ICON */
.how-step img {
  width: 60px;              /* icon bigger */
  height: 60px;
  object-fit: cover;
}

/* TEXT */
.step-text {
  line-height: 1.4;
}

/* ARROW */
.how-arrow {
  font-size: 36px;
  color: #0f766e;
  font-weight: 600;
}

/* HOW IT WORKS CARD */
.how-card {
  margin-top: 24px;
  padding: 40px 36px;

  background: linear-gradient(
    135deg,
    #ecfdf5 0%,
    #f8fafc 100%
  );

  border-radius: 28px;

  box-shadow:
    0 18px 40px rgba(15, 118, 110, 0.08);

  border: 1px solid rgba(20, 184, 166, 0.2);
}



/* MOBILE */
@media (max-width: 900px) {

  .how-card {
    padding: 32px 24px;
  }

  .how-steps {
    flex-wrap: wrap;
    gap: 28px;
  }

  .how-arrow {
    display: none;
  }

  .how-step {
    justify-content: center;
    text-align: center;
  }

  .how-step img {
    width: 72px;
    height: 72px;
  }
}


/* =========================
   CREDIT SCORE SECTION
   ========================= */

.credit-score-section {
  padding: 36px 0;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 70%
  );
}

.credit-score-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 56px;
}

/* LEFT */
.credit-left h2 {
  font-size: 26px;          /* smaller, blended */
  font-weight: 600;        /* less aggressive */
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 20px;
}

/* RIGHT IMAGE */
.credit-right {
  display: flex;
  justify-content: center;
}

.credit-right img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

/* CREDIT SCORE BUTTON ONLY */
.credit-btn {
  background: linear-gradient(
    90deg,
    #14b8a6,
    #0f766e
  );
  color: #ffffff;
}

.credit-btn:hover {
  background: linear-gradient(
    90deg,
    #0f766e,
    #115e59
  );
}


/* MOBILE */
@media (max-width: 900px) {
  .credit-score-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .credit-left h2 {
    font-size: 24px;
  }

  .credit-right img {
    max-width: 180px;
  }
}



/* =========================
   PARTNERS / ASSOCIATION
   ========================= */

.partners-section {
  padding: 64px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 70%
  );
}

.partners-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  text-align: center;
}

/* TITLE */
.partners-title {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.partners-title span {
  display: inline-block;
  margin-top: 6px;

  font-size: 34px;          /* highlight thoda bada */
  font-weight: 700;
  color: #0f766e;           /* theme teal */

  position: relative;
}

/* SUBTITLE */
.partners-subtitle {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 40px;
  font-weight: 400;
}

.partners-title span::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 6px auto 0;
  background: #5eead4;
  border-radius: 999px;
}

/* LOGOS GRID */
.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  align-items: center;
}

/* LOGO IMAGE */
.partners-logos img {
  max-width: 140px;
  width: 100%;
  margin: auto;

  filter: none;        /* no grayscale */
  opacity: 1;          /* full visibility */
  transition: transform 0.25s ease;
}

.partners-logos img:hover {
  transform: scale(1.05);
}


.partners-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .partners-title {
    font-size: 22px;
  }

  .partners-subtitle {
    font-size: 14px;
  }

  .partners-logos {
    gap: 24px;
  }

  .partners-logos img {
    max-width: 120px;
  }
}


/* =========================
   WHY CHOOSE – SHORT VERSION
   ========================= */

.why-section {
  padding: 64px 0;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 70%
  );
}

.why-container {
  max-width: 900px;
  margin: auto;
  padding: 0 24px;
}

/* TITLE */
.why-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 40px;
}

.why-title span {
  font-weight: 700;
  color: #0f766e;
}

/* LIST */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 40px;
}

/* POINT */
.why-point {
  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 16px;
  color: #334155;
}

/* ICON */
.why-icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .why-list {
    grid-template-columns: 1fr;
  }

  .why-title {
    font-size: 22px;
  }
}
