/* ============================================
   MoneyMitra — Finance/Loan Website Styles
   ============================================ */

:root {
  --navy: #161a4a;
  --navy-2: #1d2266;
  --blue: #1c5efb;
  --blue-dark: #0f3fc9;
  --blue-light: #eaf1ff;
  --ink: #16193a;
  --grey: #5c6079;
  --grey-light: #8a8dab;
  --bg-soft: #f5f7fc;
  --white: #ffffff;
  --green-check: #1cc98c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(22, 26, 74, 0.08);
  --shadow-md: 0 12px 32px rgba(22, 26, 74, 0.12);
  --shadow-lg: 0 24px 60px rgba(22, 26, 74, 0.18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input { font-family: var(--font); }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.loaded { opacity: 0; visibility: hidden; }
.loader-coin {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #4d8bff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  animation: coinSpin 1s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(28, 94, 251, .6);
}
@keyframes coinSpin {
  0%, 100% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.1); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.9rem;
  font-weight: 600; font-size: .95rem;
  border-radius: 50px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px rgba(28, 94, 251, .35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(28, 94, 251, .45);
}
.btn-block { width: 100%; }
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(28, 94, 251, .55);
  animation: pulseRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(28, 94, 251, .5); }
  75% { box-shadow: 0 0 0 18px rgba(28, 94, 251, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 94, 251, 0); }
}

/* ===== Eyebrow / Section Titles ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.eyebrow-line { width: 26px; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow-light { color: #8fb2ff; }
.eyebrow-light .eyebrow-line { background: #8fb2ff; }
.eyebrow.center, .section-title.center { justify-content: center; text-align: center; width: 100%; }
p.eyebrow.center { display: flex; }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700; line-height: 1.25; color: var(--navy);
  margin-bottom: 1.1rem;
}
.section-title.center { margin: 0 auto 2.8rem; max-width: 600px; }
.section-text { color: var(--grey); font-size: 1rem; max-width: 540px; }

.accent { color: var(--blue); }

/* ===== Glassmorphism card ===== */
.glass-card {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

/* ===== Scroll Reveal ===== */
.reveal-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ===== Navbar ===== */
a.brand img {
    width: 120px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0);
  transition: background .4s var(--ease),
              box-shadow .4s var(--ease),
              padding .4s var(--ease);
  padding: 1.4rem 0;
}

.navbar.scrolled {
  background: #00000061;
  box-shadow: var(--shadow-sm);
  padding: .8rem 0;
  backdrop-filter: blur(10px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #17c17a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar.scrolled .brand,
.hero ~ * .brand {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 500;
  font-size: .95rem;
  color: #fff;
  position: relative;
  padding: .3rem 0;
  transition: color .3s;
}

.navbar:not(.scrolled) .nav-link {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .35s var(--ease);
}

.navbar:not(.scrolled) .nav-link::after {
  background: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-mobile-only {
  display: none;
}

/* =========================
   Desktop Button
   ========================= */
.desktop-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Mobile Download Button
   ========================= */
@media (max-width: 768px) {

  /* Hide navigation menu */
  .nav-links {
    display: none !important;
  }

  /* Hide hamburger completely */
  .hamburger {
    display: none !important;
  }

  /* SAME desktop button mobile me bhi show karo */
  .desktop-only {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Logo + button layout */
  .navbar-inner {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .brand img {
    width: 100px;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}
.hero-bg {
  position: absolute;
  inset: -10% -5% -5% -5%;
  background: url('images/banner.jpg') center center / cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 18, 55, 0.72) 12%,
    rgba(15, 18, 55, 0.42) 50%,
    rgba(15, 18, 55, 0.14) 100%
  );
}

.floating-icons { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fi {
  position: absolute; color: rgba(255,255,255,.18); font-size: 2.4rem;
  animation: floatIcon 8s ease-in-out infinite;
}
.fi-1 { top: 18%; right: 30%; animation-delay: 0s; }
.fi-2 { top: 65%; right: 6%; font-size: 3rem; animation-delay: 1.2s; }
.fi-3 { top: 40%; right: 15%; animation-delay: 2.4s; }
.fi-4 { top: 78%; right: 38%; animation-delay: .6s; font-size: 1.8rem; }
.fi-5 { top: 12%; right: 45%; animation-delay: 1.8s; font-size: 1.6rem; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(8deg); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: 3rem 0;
}

.hero-copy { color: #fff; }
.hero .eyebrow { color: #9fc0ff; }
.hero .eyebrow-line { background: #9fc0ff; }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 2.2rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span,
.hero-title .line { }
.hero-title .line {
  opacity: 0; transform: translateY(100%);
  animation: lineUp .9s var(--ease) forwards;
}
.hero-title .line[data-line="1"] { animation-delay: .2s; }
.hero-title .line[data-line="2"] { animation-delay: .4s; }
.hero-title .line[data-line="3"] { animation-delay: .6s; }
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating loan form */
.hero-form {
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.form-title { color: var(--navy); font-size: 1.15rem; font-weight: 700; margin-bottom: .2rem; }

.field { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input {
  padding: .85rem 1rem; border-radius: 10px;
  border: 1.5px solid #e3e7f4; background: var(--bg-soft);
  font-size: .92rem; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.field input::placeholder { color: var(--grey-light); }
.field input:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(28, 94, 251, .12);
}
.field input:invalid.touched { border-color: #ff5c5c; }
.field-error {
  display: none; font-size: .76rem; color: #ff5c5c; margin-top: -.2rem;
}
.field input.touched:invalid ~ .field-error { display: block; }

.form-success {
  display: none; align-items: center; gap: .5rem;
  color: var(--green-check); font-size: .88rem; font-weight: 600;
  text-align: center; justify-content: center;
}
.form-success.show { display: flex; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 1.2rem; z-index: 2;
  animation: bounceDown 2s ease-in-out infinite;
  opacity: .8;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
/* Form spacing fix */
#formFields {
  display: flex;
  flex-direction: column;
  gap: 22px; /* fields ke beech spacing */
}

#formFields .field {
  margin: 0;
}

#formFields .field label {
  display: block;
  margin-bottom: 8px; /* label aur input ke beech gap */
  font-weight: 600;
}

#formFields input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #dfe3f2;
  border-radius: 16px;
  font-size: 1rem;
}

#formFields .btn {
  margin-top: 10px; /* button ko thoda neeche */
}

/* Download section spacing */
#downloadSection {
  padding-top: 10px;
}

#downloadSection .btn {
  margin-top: 18px;
}

/* ===== About ===== */
.about { padding: 7rem 0; background: var(--white); overflow: hidden; }
.about-inner {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center;
}
.about-media { position: relative; }
.media-collage { position: relative; }
.collage-img {
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.collage-img-small {
  position: absolute; bottom: -14%; right: -12%;
  width: 55%; aspect-ratio: 1/1;
  border: 5px solid #fff;
}
.img-zoom { overflow: hidden; }
.img-zoom { transition: transform .6s var(--ease); }
.collage-img.img-zoom:hover, .founder-photo.img-zoom:hover, .features-media img.img-zoom:hover, .service-visual img.img-zoom:hover {
  transform: scale(1.05);
}

.badge-card {
  position: absolute; top: -8%; left: -8%;
  background: var(--blue); color: #fff;
  padding: 1.6rem 1.4rem; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
  animation: cardFloat 6s ease-in-out infinite;
}
.badge-icon {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; margin: 0 auto .6rem; font-size: 1.2rem;
}
.badge-count { font-size: 2rem; font-weight: 800; }
.badge-label { font-size: .8rem; opacity: .9; }

.falling-money { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.falling-money i {
  position: absolute; color: #d9e3f7; font-size: 1.6rem;
  animation: fallDrift 7s linear infinite;
}
.falling-money i:nth-child(1) { left: -8%; top: 10%; animation-delay: 0s; }
.falling-money i:nth-child(2) { left: -4%; top: 50%; animation-delay: 2.3s; font-size: 1.2rem; }
.falling-money i:nth-child(3) { left: 90%; top: 20%; animation-delay: 4.6s; font-size: 1.4rem; }
@keyframes fallDrift {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(240px) rotate(180deg); opacity: 0; }
}

.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; margin-top: 1.6rem;
}
.check-grid li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.check-grid i { color: var(--green-check); }

.about-copy.reveal-up.in-view {
    margin-left: 20px;
}

/* ===== Services (dark) ===== */
.services {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 6rem 0 6rem; position: relative; overflow: hidden; color: #fff;
}
.marquee { overflow: hidden; white-space: nowrap; margin: 0 0 3.5rem; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; }
.marquee-track { display: inline-flex; animation: marqueeScroll 24s linear infinite; }
.marquee-track span {
  font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.5);
  padding-right: 2.5rem; display: inline-flex; align-items: center; gap: 1.5rem;
}
.marquee-track span i { -webkit-text-stroke: 0; color: var(--blue); font-size: .6em; margin: 0 1.5rem 0 0; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; position: relative; z-index: 2; }

.service-list { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.service-item {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  cursor: pointer; position: relative;
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.service-item:last-child { border-bottom: none; }
.service-num { font-size: 1.6rem; font-weight: 800; color: rgba(255,255,255,.28); transition: color .35s; }
.service-name { font-size: 1.35rem; font-weight: 700; flex: 1; transition: color .35s; }
.service-arrow { opacity: 0; transform: translateX(-10px); transition: all .35s var(--ease); color: #fff; }
.service-item:hover, .service-item.active {
  background: var(--blue); padding-left: 2.2rem;
}
.service-item:hover .service-num, .service-item.active .service-num { color: rgba(255,255,255,.6); }
.service-item:hover .service-arrow, .service-item.active .service-arrow { opacity: 1; transform: translateX(0); }

.service-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-visual img { width: 75%; height: 100%; object-fit: cover; min-height: 300px; }

.money-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .06; }
.money-decor i { position: absolute; font-size: 10rem; }
.money-decor i:first-child { top: -10%; right: -5%; transform: rotate(-15deg); }
.money-decor i:last-child { bottom: -15%; left: -5%; transform: rotate(20deg); }

/* ===== Features ===== */
.features { padding: 7rem 0; background: var(--bg-soft); }
.features-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.features-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.features-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.feature-row { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.8rem; }
.feature-card {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: #fff; padding: 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(circle at 30% 20%, rgba(28,94,251,.18), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-card h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: .3rem; }
.feature-card p { color: var(--grey); font-size: .9rem; }

/* ===== Process / Timeline ===== */
/* ===== SIMPLE PROCESS DESIGN ===== */
.process {
  padding: 7rem 0;
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.timeline-step {
  text-align: center;
}

/* Image wrapper */
.step-media-wrap {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
}

/* Circle image */
.step-media {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #f5f8ff;
  position: relative;
  z-index: 2;
  transition: transform .35s ease;
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blue oval under image */
.step-shadow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 26px;
  background: #1d6cf2;
  border-radius: 50%;
  opacity: .18;
  filter: blur(2px);
  transition: all .35s ease;
}

/* Hover effect */
.timeline-step:hover .step-media {
  transform: translateY(-6px) scale(1.04);
}

.timeline-step:hover .step-shadow {
  width: 118px;
  opacity: .32;
  transform: translateX(-50%) scale(1.08);
}

/* Step badge */
.step-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d6cf2;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(29,108,242,.25);
  z-index: 3;
}

/* Heading */
.timeline-step h4 {
  color: #172b73;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .9rem;
}

/* Text */
.timeline-step p {
  color: #5a6785;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 260px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===== Founder ===== */
.founder { padding: 2rem 0 7rem; background: var(--bg-soft); }
.founder-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 2.4rem; align-items: center;
  padding: 2.6rem; margin-top: 1rem;
}
.founder-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow-md); }
.founder-text p { color: var(--grey); font-size: .95rem; margin-bottom: 1rem; }
.founder-text p:last-child { margin-bottom: 0; }
.founder-text strong { color: var(--navy); }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 5rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { margin-top: 1rem; font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col a { display: block; margin-bottom: .7rem; font-size: .9rem; transition: color .3s, transform .3s; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col p { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; margin-bottom: .9rem; line-height: 1.6; }
.footer-col p i { color: var(--blue); margin-top: .2rem; }
.footer-bottom { text-align: center; padding: 1.6rem 0; font-size: .85rem; }
.footer-bottom a { color: #8fb2ff; }
.footer-bottom {
    padding: 1.6rem 0;
    font-size: .85rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copyright {
    text-align: left;
}

.footer-bottom a {
    color: #8fb2ff;
    transition: color .3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}


/* Legal Links */

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-legal-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    padding: 0 .9rem;
    transition: color .3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}


/* Divider between links */

.footer-legal-links a:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.2);
}


/* Mobile */

@media (max-width: 700px) {

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        text-align: center;
        order: 2;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        order: 1;
        row-gap: .6rem;
    }

}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-4px); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form { max-width: 460px; }
  .about-inner, .features-inner, .services-inner { grid-template-columns: 1fr; }
  .features-media { order: -1; }
  .founder-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .desktop-only { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(300px, 80%);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.6rem; box-shadow: var(--shadow-lg);
    transition: right .45s var(--ease); z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links .nav-link { color: var(--navy) !important; }
  .nav-links .nav-link::after { background: var(--blue) !important; }
  .nav-link-mobile-only { display: block; }

  .hero { padding-top: 5.5rem; }
  .badge-card { position: static; margin-top: -3rem; margin-left: auto; width: fit-content; }
  .collage-img-small { display: none; }
  .check-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { width: 160px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-form { padding: 1.6rem 1.4rem; }
}
