/* ===== 1. COLORS & SIZES (change here to change the whole site) ===== */
:root {
  --navy: #102A43;
  --blue: #1D4ED8;
  --blue-dark: #1E40AF;
  --teal: #0F766E;
  --text: #243B53;
  --line: #D9E2EC;
}

/* ===== 2. BASIC RESET ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ===== 3. HEADER ===== */
.header {
  position: sticky;        /* stays on top while scrolling */
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header.scrolled { box-shadow: 0 2px 12px rgba(16, 42, 67, 0.1); }

.header-box {
  max-width: 1180px;
  margin: 0 auto;
  height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ----- Logo ----- */
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--blue); color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

.logo-img {
  height: 45px;      /* change this number to make the logo bigger or smaller */
  width: auto;       /* keeps the logo proportions */
  display: block;
}

@media (max-width: 960px) {
  .logo-img { height: 34px; }   /* logo size on mobile */
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 18px; }
.logo-text small { font-size: 12px; color: var(--teal); font-weight: 500; }

/* ----- Menu links (desktop) ----- */
.menu { flex: 1; display: flex; justify-content: center; gap: 4px; }
.menu a {
  padding: 10px 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.menu a:hover,
.menu a.active { color: var(--navy); border-bottom-color: var(--teal); }

.menu-call, .menu-note { display: none; }   /* hidden on desktop */

/* ----- Right side ----- */
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
}
.btn:hover { background: var(--blue-dark); }

.menu-btn {
  display: none;            /* hidden on desktop */
  width: 44px; height: 44px;
  font-size: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
}

/* ===== 4. MOBILE (screens 960px and smaller) ===== */
@media (max-width: 960px) {
  .header-box { height: 64px; padding: 0 16px; gap: 12px; }
  .logo-text small { display: none; }
  .btn { padding: 9px 14px; font-size: 14px; }
  .menu-btn { display: block; }

  /* menu becomes a full-width panel below the header */
  .menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 16px 24px;
    overflow-y: auto;
  }
  .menu.open { display: flex; }          /* JS adds "open" */

  .menu a {
    padding: 16px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .menu a.active { color: var(--blue); }

  .menu .menu-call {
    display: block;
    margin-top: 20px;
    text-align: center;
    border: 2px solid var(--blue);
    border-radius: 10px;
    color: var(--blue);
    font-weight: 600;
  }
  .menu .menu-note { display: block; margin: 16px 0 0; font-size: 13px; }
}

/* very small phones */
@media (max-width: 380px) {
  .logo-text b { font-size: 16px; }
  .btn { padding: 9px 10px; font-size: 13px; }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #F5F8FC;                 /* soft background colour */
}

/* soft curved shapes in the background (change colours here) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero::before {
  width: 900px; height: 900px;
  top: -420px; right: -260px;
  background: #E3ECFB;
}
.hero::after {
  width: 600px; height: 600px;
  bottom: -330px; left: -200px;
  background: #E2F1EF;                 /* light teal */
}

.hero-box {
  position: relative;
  z-index: 1;                          /* keeps content above the shapes */
  max-width: 1180px;
  margin: 0 auto;
  padding: 31px 11px 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;   /* about 60 / 40 */
  gap: 32px;
  align-items: center;
}

/* ----- Left text ----- */
.hero-text { padding-bottom: 0px; margin-left: -20px; }
.hero-text { padding-bottom: 0px; }

.hero-tag {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 54px);   /* 34px mobile, 54px desktop */
  line-height: 1.15;
  color: var(--navy);
}
.hero-desc {
  margin: 0 0 20px;
  font-size: 18px;
  max-width: 560px;
}

.hero-points { list-style: none; margin: 0 0 28px; padding: 0; }
.hero-points li { position: relative; padding-left: 28px; margin-bottom: 8px; font-weight: 500; }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  font-size: 12px; line-height: 20px; text-align: center;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-buttons .btn { padding: 9px 23px; font-size: 16px; }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: rgba(29, 78, 216, 0.08); }

.hero-note { margin: 0; font-size: 14px; max-width: 560px; }

/* ----- Right image ----- */
.hero-image { position: relative; align-self: center; }
.hero-image img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;                      /* sits on the bottom edge of the hero */
}
.hero-card {
  position: absolute;
  left: 0; bottom: 40px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.12);
  display: flex; flex-direction: column;
  font-size: 14px;
}
.hero-card b { color: var(--navy); font-size: 16px; }

/* ----- Mobile ----- */
@media (max-width: 960px) {
  .hero-box { grid-template-columns: 1fr; padding-top: 40px; gap: 0; }
  .hero-text { padding-bottom: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-buttons .btn { width: 100%; text-align: center; }  /* full-width buttons */
  .hero-image img { max-width: 340px; }
  .hero-card { left: 8px; bottom: 24px; }
}
/* ----- Typing heading ----- */
.hero h1.typing-title { color: var(--blue); position: relative; }   /* blue text */

.typing-title .ghost { visibility: hidden; }

.typing-title .typed {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}

/* blinking cursor, removed when typing finishes */
.typing-title .typed.typing::after {
  content: "|";
  margin-left: 2px;
  font-weight: 400;
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ===== ABOUT SECTION (bento grid) ===== */
.abt { padding: 90px 20px; background: #fff; }
.abt-box { max-width: 1180px; margin: 0 auto; }

/* ----- Heading row ----- */
.abt-head {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
  
}
.abt-head h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.6vw, 38px);   /* fits in 1 or 2 lines */
  line-height: 1.25;
  color: #0F766E;                    /* title colour */
}
.abt-head p {
  margin: 0 auto;
  max-width: 780px;
  font-size: 18px;
  color: var(--text);                    /* subtitle colour */
}

/* ----- Grid ----- */
.abt-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas:
    "products month day"
    "products steps steps";
  gap: 20px;
}
.abt-products { grid-area: products; }
.abt-month    { grid-area: month; }
.abt-day      { grid-area: day; }
.abt-steps    { grid-area: steps; }

.abt-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.abt-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(16, 42, 67, 0.14); }
.abt-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.abt-card p { margin: 0; font-size: 15px; }

/* ----- Blue products card ----- */
.abt-products { background: var(--blue); color: #fff; }
.abt-products::after {                       /* soft circle decoration */
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; bottom: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.abt-products h3 { color: #fff; font-size: 22px; margin-bottom: 22px; }

.abt-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease;
}
.abt-row:last-child { margin-bottom: 0; }
.abt-row:hover { background: rgba(255, 255, 255, 0.22); transform: translateX(6px); }
.abt-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  background: #fff;
  border-radius: 12px;
}
.abt-row b { display: block; font-size: 16px; }
.abt-row span { font-size: 14px; opacity: .92; }

/* ----- Tiles ----- */
.abt-big {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
}
.abt-month { background: #E2F1EF; }
.abt-month .abt-big, .abt-month h3 { color: var(--teal); }
.abt-day { background: #E3ECFB; }
.abt-day .abt-big, .abt-day h3 { color: var(--blue); }

/* ----- Two steps card ----- */
.abt-steps { background: #F5F8FC; border: 1px solid var(--line); }
.abt-steps h3 { color: var(--navy); margin-bottom: 18px; }

.abt-flow { display: flex; align-items: stretch; gap: 12px; margin-bottom: 18px; }
.abt-step { flex: 1; padding: 16px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.abt-step b { display: block; margin-bottom: 2px; }
.abt-step span { font-size: 14px; }
.abt-s1 { border-top: 4px solid var(--teal); }
.abt-s1 b { color: var(--teal); }
.abt-s2 { border-top: 4px solid var(--blue); }
.abt-s2 b { color: var(--blue); }

.abt-arrow { align-self: center; width: 14px; height: 14px; border-top: 3px solid #9FB3C8; border-right: 3px solid #9FB3C8; transform: rotate(45deg); flex-shrink: 0; }
.abt-small { font-size: 14px; }

/* ----- Scroll reveal (keep only ONE copy of this in your file) ----- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.show { opacity: 1; transform: none; }
.abt-card.reveal.show:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Tablet ----- */
@media (max-width: 960px) {
  .abt { padding: 56px 16px; }
.abt-head { margin-bottom: 30px; }
.abt-head p { font-size: 16px; }
  .abt-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "products products"
      "month day"
      "steps steps";
  }
}


/* ----- Mobile ----- */
@media (max-width: 600px) {
  .abt-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "products" "month" "day" "steps";
  }
  .abt-card { padding: 22px; }
  .abt-flow { flex-direction: column; }
  .abt-arrow { transform: rotate(135deg); }
  .abt-card:hover { transform: none; }
  .abt-row:hover { transform: none; }
}

/* ===== HOW IT WORKS (colour ribbon, one row) ===== */
.rb { padding: 56px 20px; background: #fff; }
.rb-box { max-width: 1180px; margin: 0 auto; }

.rb-head { text-align: center; margin-bottom: 32px; }
.rb-head h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.25; color: #0F766E; }
.rb-head p { margin: 0; font-size: 17px; }

/* ----- desktop: 7 arrow shapes in one row ----- */
.rb-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.rb-item { --c: var(--blue); text-align: center; }

.rb-shape {
  display: flex; align-items: center; justify-content: center;
  height: 56px;
  margin-right: -14px;                    /* arrows overlap slightly */
  font-size: 22px; font-weight: 700;
  color: #fff;
  background: var(--c);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  transition: transform .2s ease, filter .2s ease;
}
.rb-item:first-child .rb-shape {          /* first arrow has a flat left edge */
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  border-radius: 10px 0 0 10px;
}
.rb-item:last-child .rb-shape {           /* last arrow has a flat right edge */
  margin-right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
  border-radius: 0 10px 10px 0;
}
.rb-item:hover .rb-shape { transform: translateY(-4px); filter: brightness(1.1); }

.rb-text { padding: 12px 8px 0; }
.rb-text h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.3; color: var(--c); }
.rb-text p { margin: 0; font-size: 13px; line-height: 1.4; }

.rb-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

/* ----- tablet / mobile: vertical list ----- */
@media (max-width: 960px) {
  .rb { padding: 44px 16px; }
  .rb-head { text-align: left; margin-bottom: 24px; }
  .rb-head p { font-size: 16px; }

  .rb-list { grid-template-columns: 1fr; row-gap: 12px; }
  .rb-item { display: flex; align-items: center; gap: 14px; text-align: left; }

  .rb-shape,
  .rb-item:first-child .rb-shape,
  .rb-item:last-child .rb-shape {
    flex-shrink: 0;
    width: 44px; height: 44px;
    margin: 0;
    font-size: 18px;
    clip-path: none;
    border-radius: 50%;
  }
  .rb-text { padding: 0; }
  .rb-text h3 { font-size: 16px; }
  .rb-text p { font-size: 14px; }
  .rb-item:hover .rb-shape { transform: none; }
  .rb-note { text-align: left; }
}

/* ===== PRODUCTS (wide rows, no icons) ===== */
.pw { padding: 90px 20px; background: #F5F8FC; }
.pw-box { max-width: 1180px; margin: 0 auto; }

.pw-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.pw-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; color: var(--navy); }
.pw-head p { margin: 0; font-size: 18px; }
.pw-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.25;
  color:  #0F766E;          /* change this colour */
}

.pw-list { display: flex; flex-direction: column; gap: 20px; }

/* ----- one row: 3 parts ----- */
.pw-row {
  --c: #1D4ED8;                           /* main colour */
  --bg: #E3ECFB;                          /* light colour */
  display: grid;
  grid-template-columns: 340px 1fr auto;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pw-row:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(16, 42, 67, 0.13); }

.pw-blue { --c: #1D4ED8; --bg: #E3ECFB; }
.pw-teal { --c: #0F766E; --bg: #E2F1EF; }
.pw-navy { --c: #102A43; --bg: #E6ECF2; }

/* left coloured panel */
.pw-side {
  position: relative;
  padding: 30px 28px;
  color: #fff;
  background: var(--c);
}
.pw-side::after {                         /* slanted edge */
  content: "";
  position: absolute;
  top: 0; right: -22px; bottom: 0;
  width: 44px;
  background: var(--c);
  transform: skewX(-8deg);
}
.pw-side h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 24px; line-height: 1.25; color: #fff; }
.pw-side p { position: relative; z-index: 1; margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.92); }

/* middle: tags */
.pw-main { position: relative; z-index: 1; padding: 28px 28px 28px 44px; }
.pw-label { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--c); }
.pw-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pw-tags li {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg);
  border-radius: 999px;
}
.pw-small { margin: 14px 0 0; font-size: 13px; opacity: .85; }

/* right: button */
.pw-action { display: flex; align-items: center; padding: 0 28px 0 8px; }
.pw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-weight: 600; font-size: 15px;
  white-space: nowrap;
  color: var(--c);
  background: #fff;
  border: 2px solid var(--c);
  border-radius: 12px;
  transition: background .2s ease, color .2s ease;
}
.pw-btn:hover { background: var(--c); color: #fff; }

/* ----- Tablet and mobile: stack the 3 parts ----- */
@media (max-width: 960px) {
  .pw { padding: 56px 16px; }
  .pw-head { margin-bottom: 32px; text-align: left; }
  .pw-head p { font-size: 16px; }

  .pw-row { grid-template-columns: 1fr; }
  .pw-row:hover { transform: none; }
  .pw-side { padding: 24px 22px; }
  .pw-side::after { display: none; }
  .pw-main { padding: 22px 22px 8px; }
  .pw-action { padding: 8px 22px 24px; }
  .pw-btn { width: 100%; }
}
/* ===== ELIGIBILITY (Who should apply) ===== */
.el { padding: 90px 20px; background: #F5F8FC; }
.el-box { max-width: 1180px; margin: 0 auto; }

.el-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.el-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; color: #1D4ED8; }
.el-head p { margin: 0; font-size: 18px; }

.el-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }

/* ----- requirements ----- */
.el-list { display: flex; flex-direction: column; gap: 16px; }

.el-item {
  --c: #1D4ED8;                           /* number colour */
  --bg: #E3ECFB;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.el-item:hover { transform: translateX(8px); border-color: var(--c); box-shadow: 0 12px 26px rgba(16, 42, 67, 0.12); }

.el-n {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  color: var(--c);
  background: var(--bg);
  border-radius: 14px;
}
.el-item h3 { margin: 0 0 3px; font-size: 18px; line-height: 1.3; color: var(--navy); }
.el-item p { margin: 0; font-size: 15px; }

.el-c1 { --c: #1D4ED8; --bg: #E3ECFB; }
.el-c2 { --c: #0F766E; --bg: #E2F1EF; }
.el-c3 { --c: #6D28D9; --bg: #EDE7FA; }
.el-c4 { --c: #B45309; --bg: #FCEFD9; }

/* ----- highlight card ----- */
.el-side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 30px;
  color: #fff;
  background: linear-gradient(160deg, #1D4ED8 0%, #0F766E 100%);
  border-radius: 20px;
}
.el-side::after {                         /* soft circle */
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -80px; top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.el-side > * { position: relative; z-index: 1; }
.el-side h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.25; color: #fff; }
.el-side p { margin: 0 0 18px; font-size: 16px; color: rgba(255, 255, 255, 0.92); }

.el-note {
  margin-bottom: 22px;
  padding: 14px 16px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}
.el-btn { align-self: flex-start; padding: 12px 24px; font-size: 16px; color: var(--blue); background: #fff; }
.el-btn:hover { background: #E3ECFB; }
.el-side small { margin-top: 10px; font-size: 13px; opacity: .9; }

/* ----- Tablet and mobile ----- */
@media (max-width: 960px) {
  .el { padding: 56px 16px; }
  .el-head { margin-bottom: 32px; text-align: left; }
  .el-head p { font-size: 16px; }
  .el-grid { grid-template-columns: 1fr; gap: 20px; }
  .el-item:hover { transform: none; }
  .el-side { padding: 28px 22px; }
  .el-btn { align-self: stretch; text-align: center; }
}
/* ===== FEES (earnings table + 2 cards) ===== */
.fc { padding: 90px 20px; background: #F5F8FC; }
.fc-box { max-width: 1180px; margin: 0 auto; }

.fc-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.fc-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; color: #1D4ED8; }
.fc-head p { margin: 0; font-size: 18px; }

.fc-free {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  max-width: 820px; margin: 0 auto 36px;
  padding: 14px 20px;
  text-align: center;
  background: #E2F1EF;
  border: 1px dashed var(--teal);
  border-radius: 14px;
}
.fc-free b { color: var(--teal); }

.fc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }

/* ----- table box ----- */
.fc-tablebox {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.07);
}
.fc-tablebox h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.fc-intro { margin: 0 0 20px; font-size: 15px; }

.fc-tablewrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.fc-table { width: 100%; border-collapse: collapse; min-width: 440px; }

.fc-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #102A43, #1D4ED8);
}
.fc-table td { padding: 14px 16px; font-size: 15px; border-top: 1px solid var(--line); }
.fc-table tbody tr { transition: background .2s ease; }
.fc-table tbody tr:hover { background: #F0F5FF; }
.fc-table td:nth-child(2) { color: var(--teal); font-weight: 600; }
.fc-table td b { display: block; font-size: 17px; color: var(--navy); }

/* growing bar under each commission */
.fc-bar { display: block; height: 7px; margin-top: 6px; background: #E6ECF2; border-radius: 7px; overflow: hidden; }
.fc-bar i {
  display: block; height: 100%;
  width: var(--w);
  border-radius: 7px;
  background: linear-gradient(90deg, #0F766E, #1D4ED8);
  transition: width 1.2s ease .3s;
}
.js .fc-tablebox.reveal:not(.show) .fc-bar i { width: 0; }   /* bars grow when the box appears */

.fc-warn {
  margin: 18px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  background: #FCEFD9;
  border-left: 4px solid #B45309;
  border-radius: 10px;
}
.fc-warn b { display: block; margin-bottom: 2px; color: #B45309; }

/* ----- two cards ----- */
.fc-side { display: flex; flex-direction: column; gap: 24px; }

.fc-card {
  --c: #102A43;
  --c2: #2F5D8A;
  position: relative;
  overflow: hidden;
  flex: 1;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--c), var(--c2));
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(16, 42, 67, 0.22); }
.fc-navy  { --c: #102A43; --c2: #2F5D8A; }
.fc-amber { --c: #B45309; --c2: #D97706; }

.fc-card::after {                         /* floating circle */
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  right: -50px; top: -50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: fcFloat 6s ease-in-out infinite;
}
@keyframes fcFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-14px, 16px); }
}
.fc-card > * { position: relative; z-index: 1; }

.fc-tag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.22); border-radius: 999px; }
.fc-big { margin-bottom: 4px; font-size: clamp(34px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; }
.fc-sub { margin: 0 0 14px; font-size: 15px; color: rgba(255, 255, 255, 0.95); }
.fc-easy { margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.55; background: rgba(255, 255, 255, 0.16); border-radius: 12px; }
.fc-easy b { display: block; margin-bottom: 2px; }

.fc-note { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: 14px; }

/* ----- Tablet and mobile ----- */
@media (max-width: 960px) {
  .fc { padding: 56px 16px; }
  .fc-head { margin-bottom: 24px; text-align: left; }
  .fc-head p { font-size: 16px; }
  .fc-grid { grid-template-columns: 1fr; gap: 20px; }
  .fc-tablebox { padding: 20px; }
  .fc-note { text-align: left; }
  .fc-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-card::after { animation: none; }
  .fc-bar i { transition: none; }
}
/* ===== TRAINING (4-week accordion) ===== */
.tr { padding: 90px 20px; background: #fff; }
.tr-box {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

/* ----- left ----- */
.tr-intro { position: sticky; top: 110px; }
.tr-intro h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; color: #1D4ED8; }
.tr-intro p { margin: 0 0 24px; font-size: 17px; max-width: 460px; }

.tr-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.tr-facts div {
  min-width: 100px;
  padding: 12px 18px;
  background: #F5F8FC;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
}
.tr-facts div:nth-child(2) { border-top-color: var(--teal); }
.tr-facts div:nth-child(3) { border-top-color: #B45309; }
.tr-facts b { display: block; font-size: 24px; line-height: 1.2; color: var(--navy); }
.tr-facts span { font-size: 14px; }
.tr-intro .tr-small { margin: 0; font-size: 14px; }

/* ----- accordion ----- */
.tr-acc { display: flex; flex-direction: column; gap: 14px; }

.tr-item {
  --c: #1D4ED8;
  --bg: #E3ECFB;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--c);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.05);
  transition: box-shadow .25s ease, background .25s ease;
}
.tr-w1 { --c: #1D4ED8; --bg: #E3ECFB; }
.tr-w2 { --c: #0F766E; --bg: #E2F1EF; }
.tr-w3 { --c: #6D28D9; --bg: #EDE7FA; }
.tr-w4 { --c: #B45309; --bg: #FCEFD9; }

.tr-item.open { background: var(--bg); box-shadow: 0 12px 26px rgba(16, 42, 67, 0.12); }

.tr-btn {
  width: 100%;
  min-height: 64px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  background: transparent;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
}
.tr-week {
  flex-shrink: 0;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--c);
  border-radius: 999px;
}
.tr-title { flex: 1; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--navy); }

/* plus / minus made with CSS */
.tr-plus { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.tr-plus::before, .tr-plus::after {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 20px; height: 2px;
  background: var(--c);
  border-radius: 2px;
  transition: transform .3s ease;
}
.tr-plus::after { transform: rotate(90deg); }
.tr-item.open .tr-plus::after { transform: rotate(0deg); }

/* smooth open / close */
.tr-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.tr-item.open .tr-panel { grid-template-rows: 1fr; }
.tr-inner { overflow: hidden; }
.tr-inner ul { list-style: none; margin: 0; padding: 0 20px 20px; }
.tr-inner li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 16px; }
.tr-inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c);
}

/* ----- Tablet and mobile ----- */
@media (max-width: 960px) {
  .tr { padding: 56px 16px; }
  .tr-box { grid-template-columns: 1fr; gap: 28px; }
  .tr-intro { position: static; }
  .tr-intro p { font-size: 16px; }
  .tr-btn { gap: 12px; padding: 12px 16px; }
  .tr-title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-panel, .tr-plus::before, .tr-plus::after { transition: none; }
}
/* ===== MOBILE FIXES (paste at the very end of style.css) ===== */

/* Safety: the page never scrolls sideways */
body { overflow-x: clip; }

/* ----- Phones and tablets (960px and smaller) ----- */
@media (max-width: 960px) {

  /* Hero: the desktop shift of -20px was never reset, so text was cut off on the left */
  .hero-box { padding: 24px 16px 0; }
  .hero-text { margin-left: 0; }
  .hero-buttons .btn { width: auto; flex: 1 1 200px; text-align: center; }

  /* About: heading left-aligned like the other sections */
  .abt-head { text-align: left; }
  .abt-head p { margin: 0; }

  /* Stop wide content from stretching these grids */
  .fc-grid, .tr-box, .el-grid { grid-template-columns: minmax(0, 1fr); }

  /* Training facts: 3 equal tiles */
  .tr-facts div { flex: 1; min-width: 90px; }
}

/* ----- Phones (600px and smaller) ----- */
@media (max-width: 600px) {

  /* Header: hide the logo text so logo + button + menu fit on one line */
  .logo-text { display: none; }
  .btn { padding: 9px 12px; font-size: 13px; }

  /* Earnings table: each row becomes a small card instead of scrolling sideways */
  .fc-tablewrap { border: 0; overflow: visible; }
  .fc-table { min-width: 0; }
  .fc-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .fc-table, .fc-table tbody, .fc-table tr, .fc-table td { display: block; width: 100%; }
  .fc-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .fc-table td {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px;
    text-align: right;
  }
  .fc-table td:first-child { border-top: 0; background: #F5F8FC; }
  .fc-table td::before { font-size: 13px; font-weight: 600; color: #486581; text-align: left; }
  .fc-table td:nth-child(1)::before { content: "Monthly eligible revenue"; }
  .fc-table td:nth-child(2)::before { content: "Illustrative blended rate"; }
  .fc-table td:nth-child(3)::before { content: "Gross commission"; display: block; margin-bottom: 4px; }
  .fc-table td:nth-child(3) { display: block; text-align: left; }
}

/* ===== FAQ ===== */
.fq { padding: 90px 20px; background: #F5F8FC; }
.fq-box {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: start;
}

/* ----- left ----- */
.fq-intro { position: sticky; top: 110px; }
.fq-intro h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; color: #0F766E; }
.fq-intro > p { margin: 0 0 28px; font-size: 17px; max-width: 440px; }

.fq-contact {
  position: relative;
  overflow: hidden;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #1D4ED8, #0F766E);
  border-radius: 20px;
}
.fq-contact::after {                       /* soft circle */
  content: "";
  position: absolute;
  width: 150px; height: 150px;
  right: -50px; top: -50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.fq-contact > * { position: relative; z-index: 1; }
.fq-contact h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.fq-contact p { margin: 0 0 16px; font-size: 15px; color: rgba(255, 255, 255, 0.92); }
.fq-link {
  display: block;
  margin-bottom: 10px;
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  transition: background .2s ease;
}
.fq-link:last-child { margin-bottom: 0; }
.fq-link:hover { background: rgba(255, 255, 255, 0.3); }

/* ----- accordion ----- */
.fq-acc { display: flex; flex-direction: column; gap: 12px; }

.fq-item {
  --c: #1D4ED8;
  --bg: #E3ECFB;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(16, 42, 67, 0.05);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.fq-c1 { --c: #1D4ED8; --bg: #E3ECFB; }
.fq-c2 { --c: #0F766E; --bg: #E2F1EF; }
.fq-c3 { --c: #6D28D9; --bg: #EDE7FA; }
.fq-c4 { --c: #B45309; --bg: #FCEFD9; }

.fq-item:hover { border-color: var(--c); }
.fq-item.open { border-color: var(--c); background: var(--bg); box-shadow: 0 12px 26px rgba(16, 42, 67, 0.1); }

.fq-btn {
  width: 100%;
  min-height: 60px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}
.fq-q { flex: 1; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--navy); }

/* plus turns into minus */
.fq-plus {
  position: relative;
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--bg);
  border-radius: 50%;
  transition: background .25s ease;
}
.fq-item.open .fq-plus { background: var(--c); }
.fq-plus::before, .fq-plus::after {
  content: "";
  position: absolute;
  left: 8px; top: 14px;
  width: 14px; height: 2px;
  background: var(--c);
  border-radius: 2px;
  transition: transform .3s ease, background .25s ease;
}
.fq-plus::after { transform: rotate(90deg); }
.fq-item.open .fq-plus::before,
.fq-item.open .fq-plus::after { background: #fff; }
.fq-item.open .fq-plus::after { transform: rotate(0deg); }

/* smooth open / close */
.fq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.fq-item.open .fq-panel { grid-template-rows: 1fr; }
.fq-inner { overflow: hidden; }
.fq-inner p { margin: 0; padding: 0 20px 20px; font-size: 16px; }

/* ----- Tablet and mobile ----- */
@media (max-width: 960px) {
  .fq { padding: 56px 16px; }
  .fq-box { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fq-intro { position: static; }
  .fq-intro > p { font-size: 16px; }
  .fq-btn { gap: 12px; padding: 12px 16px; }
  .fq-q { font-size: 16px; }
  .fq-inner p { padding: 0 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fq-panel, .fq-plus::before, .fq-plus::after { transition: none; }
}
/* ===== FOOTER (short, shaded background) ===== */
.ft {
  position: relative;
  overflow: hidden;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #1D4ED8, #0F766E, #B45309) 1;
  background: linear-gradient(120deg, #E3ECFB 0%, #E2F1EF 55%, #FCEFD9 100%);   /* shading colours */
}
/* soft glows on top of the shading */
.ft::before, .ft::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.ft::before { width: 320px; height: 320px; left: -100px; top: -120px; background: rgba(29, 78, 216, 0.22); }
.ft::after  { width: 320px; height: 320px; right: -90px; bottom: -140px; background: rgba(15, 118, 110, 0.22); }

.ft-box, .ft-bottom { position: relative; z-index: 1; }

.ft-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.5fr;
  gap: 32px;
}
.ft-col { min-width: 0; }
.ft-col h3 { margin: 0 0 10px; font-size: 16px; color: var(--navy); }

/* ----- brand ----- */
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--navy); }
.ft-logo-img { height: 40px; width: auto; display: block; border-radius: 6px; }
.ft-logo b { display: block; font-size: 15px; line-height: 1.25; }
.ft-logo small { font-size: 12px; color: var(--teal); font-weight: 600; }

.ft-visit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 600; font-size: 15px;
  color: #fff;
  background: var(--blue);
  border-radius: 10px;
  transition: background .2s ease;
}
.ft-visit:hover { background: var(--blue-dark); }

.ft-social {                                /* only used when you add real social links */
  display: inline-block;
  margin: 10px 8px 0 0;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
}

/* ----- links in two columns ----- */
.ft-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.ft-links a { display: inline-block; padding: 5px 0; font-size: 14px; transition: color .2s ease; }
.ft-links a:hover { color: var(--blue); text-decoration: underline; }

/* ----- contact ----- */
.ft-contact address { margin: 0 0 8px; font-style: normal; font-size: 14px; line-height: 1.5; }
.ft-row { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.ft-row a { padding: 4px 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.ft-row a:hover { color: var(--blue); text-decoration: underline; }
.ft-person { margin: 6px 0 0; font-size: 13px; }

/* ----- bottom strip ----- */
.ft-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid rgba(16, 42, 67, 0.15);
  font-size: 13px;
}
.ft-bottom p { margin: 0; }
.ft-disclose { flex: 1 1 560px; }
.ft-disclose b { color: #B45309; }

/* ----- Tablet ----- */
@media (max-width: 1000px) {
  .ft-box { grid-template-columns: 1fr 1fr; }
  .ft-contact { grid-column: 1 / -1; }
}

/* ----- Mobile ----- */
@media (max-width: 600px) {
  .ft-box { grid-template-columns: minmax(0, 1fr); padding: 28px 16px 16px; gap: 24px; }
  .ft-visit { width: 100%; }
  .ft-bottom { padding: 14px 16px 18px; flex-direction: column; align-items: flex-start; }
}
/* ===== Hero highlight lines (Option C: arrow ribbons) ===== */
.hl-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 28px;
  max-width: 560px;
}
.hl-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 44px 14px 18px;
  background: var(--hl);
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 10px 0 0 10px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}
.hl-line b { color: #fff; font-weight: 700; }
.hl-ico {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hl-1 { --hl: #1D4ED8; }
.hl-2 { --hl: #0F766E; }
.hl-3 { --hl: #B45309; }

@media (max-width: 600px) {
  .hl-line { font-size: 15px; padding: 12px 38px 12px 14px; }
}
/* ===== Hero heading: fit in 2 lines on desktop ===== */
.hero .hero-text h1.typing-title {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
}
/* ===== Hero spacing adjustments ===== */

/* space between the small tag line and the heading */
.hero .hero-text .hero-tag {
  margin-bottom: 18px;
}

/* heading: more space above and below, slightly more line gap */
.hero .hero-text h1.typing-title {
  margin-top: 0;
  margin-bottom: 28px;
  line-height: 1.25;
}

/* the three highlight lines: more gap between them and more space around the block */
.hero .hero-text .hl-lines {
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 36px;
}

/* a little more breathing room inside each line */
.hero .hero-text .hl-line {
  padding-top: 15px;
  padding-bottom: 15px;
}
/* ===== Mobile header: Register + Language go inside the hamburger ===== */
.menu-register,
.menu-lang {
  display: none;
}

@media (max-width: 900px) {
  .header-right #register-btn,
  .header-right .lang-dropdown {
    display: none !important;
  }

  .menu-register {
    display: block;
    text-align: center;
    margin: 12px 16px 0;
  }
  .menu-lang {
    display: flex;
    gap: 8px;
    margin: 12px 16px 0;
  }
  .menu-lang a {
    flex: 1;
    text-align: center;
    padding: 9px 6px;
    border: 1px solid #1D4ED8;
    border-radius: 8px;
    color: #1D4ED8;
    font-size: 14px;
    text-decoration: none;
  }
  .menu-lang a:hover {
    background: #EFF4FF;
  }
}
/* ===== Mobile: show logo name next to the logo ===== */
@media (max-width: 900px) {
  .header .logo {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .header .logo-text {
    display: flex !important;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }
  .header .logo-text b {
    font-size: 16px;
  }
  .header .logo-text small {
    display: block !important;
    font-size: 11px;
    white-space: nowrap;
  }
  .header .logo-img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
  }
}

/* very small phones: make the text a little smaller so it fits */
@media (max-width: 380px) {
  .header .logo-text b { font-size: 14px; }
  .header .logo-text small { font-size: 10px; }
  .header .logo-img { height: 32px; }
}