/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #125fec;
  --navy-dark: #082a4a;
  --blue: #1e6fd9;
  --blue1: #40b8e7;
  --blue-dark: #1558b0;
  --orange: #ff7a00;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --bg: #f8f9fc;
  --white: #ffffff;
  --text: #1f2d3d;
  --muted: #6b7a8d;
  --border: #e3e8ef;
  --radius: 8px;
   /* backgrounds */
  --bg: #eef4ff;          /* page / section background */
  --paper: #ffffff;       /* cards */

  /* text */
  --ink: #0f1b3d;         /* headings (navy) */
  --ink-soft: #46557a;    /* body text */

  /* accent (blue) */
  --teal: #2f6bff;        /* highlight word "you" */
  --teal-deep: #2150d8;   /* eyebrow text, icons */
  --teal-soft: #e0e9ff;   /* icon background */
  --aqua-deep: #2f6bff;   /* eyebrow line */

  /* borders + shadows */
  --line-soft: #e1e9fb;
  --shadow-sm: 0 4px 14px rgba(15, 27, 61, 0.06);
  --shadow-md: 0 16px 36px rgba(33, 80, 216, 0.16);
    /* spacing */
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-6: 3.5rem;

  /* radius */
  --r-md: 16px;
  --r-lg: 28px;

  /* layout */
  --maxw-wide: 1200px;

  /* type */
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", Consolas, monospace;
  --text-xs: 0.78rem;
  --text-sm: 0.95rem;
  --text-xl: 1.5rem;

  /* motion */
  --dur: 0.25s;
  --dur-slow: 0.7s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 20px;
}
.logo-section { display: flex; }
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  width: 220px;
  height: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.logo-arabic {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.main-nav { display: flex; gap: 6px; }
.nav-item {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav-item:hover { color: var(--blue); background: #f0f6ff; }

.header-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.btn-expert {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.btn-expert:hover { border-color: var(--blue); color: var(--blue); }
.phone-icon { font-size: 16px; }
.btn-signin {
  background: var(--navy);
  color: #fff;
  padding: 9px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.btn-signin:hover { background: var(--navy-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 20px 14px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #eef5ff 0%, #fff 50%, #f0f6ff 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,111,217,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,111,217,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
.hero-content {
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue1) 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(230,57,70,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.hero-text h1 {
  font-size: 42px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-features { display: flex; 
  /* flex-direction: column;  */
  /* gap: 14px;  */
  margin-bottom: 32px; }
.hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #fff;
  padding: 8px 0;
  transition: transform 0.2s;
}
.hero-feature:hover { transform: translateX(8px); }
.feature-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  /* height: 44px; */
  background: linear-gradient(135deg, #eef5ff 0%, #dbeafe 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30,111,217,0.15);
}

.hero-stats {
  display: flex;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Promo Banner ===== */
.promo-banner {
  /* margin-top: 100px; */
  flex: 1;
  max-width: 520px;
}
.banner-content {
  background: linear-gradient(135deg, #122761 0%, #0667a0 100%);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  display: flex;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.banner-text { flex: 1; }
.banner-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.banner-text h2 {
  font-size: 20px;
  margin-bottom: 6px;
  line-height: 1.3;
}
.banner-sub {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 14px;
}
.banner-offers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.offer {
  font-size: 13px;
  opacity: 0.9;
}
.btn-view-plans {
  background: var(--white);
  color: var(--navy);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-view-plans:hover { background: #f0f6ff; }

.banner-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 150px;
}

.person-img {
  height: 120px;        /* make this smaller or bigger as needed */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.person-placeholder {
  font-size: 64px;
  opacity: 0.9;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}
.dot.active { background: var(--blue); }

/* ===== Section ===== */
.section { padding: 40px 0; }

/* ===== Product Grid ===== */
.product-grid { margin-bottom: 24px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.product-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(30,111,217,0.12);
  transform: translateY(-2px);
}
.product-icon { font-size: 36px; margin-bottom: 10px; }
.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.product-tag {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.product-tag.discount { background: #dcfce7; color: #15803d; }
.product-tag.feature { background: #dbeafe; color: #1d4ed8; }

.view-all-wrapper { text-align: center; }
.btn-view-all {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 10px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-view-all:hover { background: var(--blue); color: #fff; }

/* ===== AI Banner ===== */
.ai-banner {
  /* background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-dark) 100%); */
  padding: 24px 0;
}
.ai-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-icon { font-size: 32px; }
.ai-content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.btn-try-now {
  background: var(--white);
  color: var(--purple);
  border: none;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-try-now:hover { background: #f0f0f0; }

/* ===== Banner Cards Section ===== */
.banner-cards-section { background: var(--white); }
.banner-cards { margin-bottom: 20px; }
.banner-card {
  border-radius: 12px;
  padding: 24px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card-asset      { background: url("../img/a2.png") center/cover no-repeat; }
.card-investment { background: url("../img/a1.png") center/cover no-repeat; }
.card-health     { background: url("../img/a3.png") center/cover no-repeat; }
.card-icon { font-size: 40px; margin-bottom: 12px; }
.banner-card h3 { font-size: 18px; margin-bottom: 8px; }
.banner-card p { font-size: 13px; opacity: 0.95; margin-bottom: 16px; flex: 1; }
.btn-card {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-card:hover { background: #f0f0f0; }

/* ===== Why Section ===== */
.why-section { background: var(--bg); }
.why-content { gap: 40px; }
.why-text {
  position: relative;
}
.why-text h2 {
  font-size: 28px;
  color: var(--navy);
  line-height: 1.3;
  max-width: 400px;
}
.bg-shapes {
  position: absolute;
  left: -20px;
  top: -10px;
  opacity: 0.1;
}
.shape.circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  margin-right: 10px;
}
.shape.cross {
  display: inline-block;
  font-size: 40px;
  color: var(--blue);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.why-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Calculators Section ===== */
.calculators-section { background: var(--white); }
.section-title {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 28px;
}
.calculators-grid { margin-bottom: 24px; }
.calc-category {
  background: var(--bg);
  border-radius: 10px;
  padding: 20px;
}
.calc-category h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 14px;
}
.calc-list {
  list-style: none;
}
.calc-list li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0 6px 20px;
  position: relative;
  cursor: pointer;
}
.calc-list li:hover { color: var(--blue); }
.calc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
}
.calc-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.btn-link {
  background: transparent;
  border: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.btn-link:hover { text-decoration: underline; }

/* ===== PB Advantage Section ===== */
.pb-advantage-section { background: var(--bg); }
.pb-advantage {
  background: linear-gradient(135deg, #afc5e7 0%, #7dc4f3 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.pb-advantage h2 {
  font-size: 24px;
  color: #92400e;
  margin-bottom: 12px;
}
.pb-advantage p {
  font-size: 15px;
  color: #b45309;
  max-width: 700px;
  margin: 0 auto 16px;
}
.btn-link-arrow {
  color: #92400e;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.btn-link-arrow:hover { text-decoration: underline; }

/* ===== Help Section ===== */
.help-section { background: var(--white); }
.help-content { gap: 40px; }
.help-text h2 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 12px;
}
.help-text > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 450px;
}
.contact-card {
  background: var(--bg);
  border-radius: 10px;
  padding: 20px;
  flex: 1;
}
.contact-icon { font-size: 32px; margin-bottom: 10px; }
.contact-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 14px;
  color: var(--muted);
}
.help-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
}
.illustration-placeholder {
  font-size: 80px;
  opacity: 0.3;
}

/* ===== Brands Section ===== */
.brands-section { background: var(--bg); }
.brands-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.brand-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: #cfd8dc;
  padding: 56px 0 0;
}
.footer-grid { padding-bottom: 40px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #cfd8dc;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
}
.footer-col a:hover { color: #7db4f0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 20px;
  text-align: center;
  font-size: 12.5px;
  color: #7d93ad;
}

/* ===== Live Chat Button ===== */
.live-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30,111,217,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
  z-index: 200;
}
.live-chat:hover { transform: scale(1.1); background: var(--blue-dark); }
.chat-icon { font-size: 24px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-features { align-items: center; }
  .promo-banner { max-width: 100%; }
  .banner-content { flex-direction: column; text-align: center; }
  .banner-offers { align-items: center; }
  .ai-banner-inner { flex-direction: column; gap: 16px; text-align: center; }
  .banner-cards { grid-template-columns: 1fr; }
  .why-content { flex-direction: column; }
  .why-cards { grid-template-columns: 1fr; }
  .calculators-grid { grid-template-columns: 1fr; }
  .calc-actions { flex-direction: column; }
  .help-content { flex-direction: column; }
  .help-illustration { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .hero-text h1 { font-size: 26px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
.hero-content {
  background-image: url("../img/b3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  /* border-radius: 16px;       */
  /* padding: 40px 20px;        optional, gives the text breathing room */
}
.overlap-container {
  padding: 10px;
  border-radius: 2%;
  background-color: #fff;
  position: relative;
  z-index: 10;
  margin-top: -40px;   /* how much it overlaps; adjust to taste */
}
/* .header {
  border-top: 14px solid #0b4fc4;   
  border-bottom: 4px solid #0b4fc4;  
} */
 .top-bar {
  background: #022C81;     /* match your hero blue */
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact,
.top-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-social { gap: 16px; }

.top-bar a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover { opacity: .8; }
@media (max-width: 576px) {
  .top-contact a:first-child { display: none; }
}
.ai-banner {
        /* the dark blue from your screenshot */
  padding: 24px 0;              /* space above and below the image */
}

.ai-banner-inner {
  position: relative;           /* lets the button sit on the image */
  display: block;
  padding: 0;
  max-width: 1200px;            /* image width, adjust as needed */
}

.ai-banner-inner {
  position: relative;           /* lets the button sit on the image */
  display: block;               /* cancel any flex layout */
  padding: 0;
}

.ai-banner-img {
  display: block;
  width: 100%;               
  height: auto;                 /* keeps the proportions */
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 79, 196, .25);
}

.btn-try-now {
  position: absolute;
  right: 4%;
  bottom: 12%;
  padding: 12px 32px;
  white-space: nowrap;          /* stops "Try Now" wrapping onto two lines */
  background: #fff;
  color: #0b4fc4;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-try-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

@media (max-width: 576px) {
  .btn-try-now {
    padding: 8px 18px;
    font-size: 13px;
    right: 3%;
    bottom: 8%;
  }
}
.container--wide   { max-width: var(--maxw-wide); }
.section-head { max-width: 60ch; margin-bottom: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: var(--space-3); }
.section-head--center .lede { margin-inline: auto; }
/* ---------- Reveal animation (JS-gated: visible by default if JS is off) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* When GSAP is loaded it owns .reveal — keep the CSS state neutral so inline GSAP styles rule cleanly */
.js.has-gsap .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--aqua-deep);
  border-radius: 2px;
}
/* ---------- Feature cards (why us) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feature-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.feature-card .f-ico {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: var(--space-4);
}
.feature-card .f-ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: var(--text-xl); margin-bottom: 0.6rem; }
.feature-card p  { font-size: var(--text-sm); }

/* ---------- Responsive (must come AFTER the base rules) ---------- */
@media (max-width: 880px) {
  .feature-grid, .team-grid, .testi-grid, .plans, .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .feature-grid, .team-grid, .testi-grid, .plans, .stats-grid, .form-grid {
    grid-template-columns: 1fr;
  }
}
.section {
  background: var(--bg);
}

.feature-card {
  border-color: var(--line-soft);
}
.feature-card:hover {
  border-color: #bcd0ff;
}

.feature-card .f-ico {
  background: var(--teal-soft);
  color: var(--teal-deep);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.feature-card:hover .f-ico {
  background: var(--teal);
  color: #fff;
}

.feature-card h3 { color: var(--ink); }
.feature-card p  { color: var(--ink-soft); }
/* ---------- Calculators section (CSS only) ---------- */
.calculators-section {
    background-image: url("../img/b4.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.calculators-section .section-title {
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.calculators-section .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff, #e0e5f1);
}

/* keeps the section height steady when slides change */
#calculatorsGrid { min-height: 340px; }

/* card */
.calc-category {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  animation: calcIn 0.55s var(--ease) both;   /* replays on every slide change */
}
#calculatorsGrid > div:nth-child(2) .calc-category { animation-delay: 90ms; }
#calculatorsGrid > div:nth-child(3) .calc-category { animation-delay: 180ms; }

.calc-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #bcd0ff;
}

/* soft curved shape + icon, top right (no JS needed) */
.calc-category::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -45px;
  width: 210px;
  height: 160px;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: 0.8;
}
.calc-category::after {
  content: url("../img/ins/calculator.png");
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  zoom: 0.4;
}

.calc-category h3 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed #cdd9f3;
}

/* list rows */
.calc-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.calc-list li {
  position: relative;
  padding: 0.65rem 2rem 0.65rem 1rem;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.calc-list li::before { content: none; }     /* removes the old arrow */
.calc-list li::after {
  content: "→";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translate(-8px, -50%);
  color: var(--teal);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.calc-list li:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
  padding-left: 1.3rem;
}
.calc-list li:hover::after { opacity: 1; transform: translate(0, -50%); }

@keyframes calcIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* buttons */
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: var(--space-6);
}
.btn-link {
  font: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--white);
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-link:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.28);
}

/* dots */
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.banner-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d7f5;
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.banner-dots .dot:hover { background: #9db7f2; }
.banner-dots .dot.active { width: 32px; background: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .calc-category { animation: none; }
}
/* ---------- Why section (list layout, no cards) ---------- */
.why-section { background: var(--bg); }

.why-text {
  position: sticky;
  top: 6rem;                 /* stays in view while the list scrolls (desktop) */
  align-self: flex-start;
}
.why-text h2 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.8rem;
}
.why-text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), #7aa2ff);
}

/* list */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: why;
  border-top: 1px solid #cdd9f3;
}

.why-item {
  counter-increment: why;
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;       /* number | text */
  column-gap: 1.5rem;
  padding: 1.8rem 0.5rem;
  border-bottom: 1px solid #cdd9f3;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* big number */
.why-item::before {
  content: counter(why, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);   /* outlined number */
  transition: color var(--dur) var(--ease);
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.why-item p {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

/* arrow on the right */
.why-item::after {
  content: "→";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translate(-10px, -50%);
  font-size: 1.5rem;
  color: var(--teal);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* hover */
.why-item:hover { padding-left: 1.2rem; background: linear-gradient(90deg, rgba(47,107,255,.07), transparent 70%); }
.why-item:hover::before { color: var(--teal); }
.why-item:hover h3 { color: var(--teal-deep); }
.why-item:hover::after { opacity: 1; transform: translate(0, -50%); }

/* mobile */
@media (max-width: 991px) {
  .why-text { position: static; margin-bottom: var(--space-4); }
}
@media (max-width: 560px) {
  .why-item { grid-template-columns: 3rem 1fr; column-gap: 1rem; }
  .why-item::before { font-size: 2rem; }
}
.why-illustration {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-top: 2rem;
  filter: drop-shadow(0 18px 24px rgba(33, 80, 216, 0.15));
  animation: whyFloat 6s ease-in-out infinite;
}

@keyframes whyFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .why-illustration { margin-inline: auto; max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-illustration { animation: none; }
}
/*Logo SLider*/
.logo-slider {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    /* background: #fff; */
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.logo-track img {
    width: 140px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
 .stats {
      max-width: 1220px;
      margin: auto;
      padding: 72px 28px 80px;
  }
  .stats .section-title {
    text-align: center;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
}
.help-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(33, 80, 216, 0.15));
}

@media (max-width: 991px) {
  .help-illustration { margin-bottom: var(--space-4); }
  .help-img { max-width: 300px; }
}
/* ---------- How it works ---------- */
.how-section {
  background: var(--bg);
  padding-top: 0;
}

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}
.steps::before {                              /* dashed line behind circles */
  content: "";
  position: absolute;
  top: 36px;                                  /* half of the 72px circle */
  left: calc(100% / 6 - 3rem);
  right: calc(100% / 6 - 3rem);
  border-top: 2px dashed var(--teal);
  opacity: 0.8;
}
.step {
  position: relative;
  text-align: center;
  padding-inline: 1rem;
}
.s-num {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-deep);
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(33, 80, 216, 0.16);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.step:hover .s-num {
  background: var(--teal);
  color: #fff;
  transform: translateY(-4px);
}
.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.step p {
  max-width: 30ch;
  margin: 0 auto;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: 5rem;
  padding: clamp(2.2rem, 1.5rem + 2vw, 3.4rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--teal);
  border-radius: 56px;
  text-align: center;
}
.stats-band::after {                          /* lighter circle on the right */
  content: "";
  position: absolute;
  top: -20%;
  right: -6%;
  width: 28%;
  height: 140%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.stat { position: relative; z-index: 1; }
.stat strong {
  display: block;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat span {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .steps::before { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; border-radius: 32px; row-gap: 2rem; }
}