/* =====================================================
   CONNECT SURE STYLES
   ===================================================== */
:root {
  --ocean: #113F63;       /* menu, footer, headings */
  --ocean-deep: #0B2C47;
  --slate: #F4F8FA;       /* page background */
  --white: #FFFFFF;       /* cards and forms */
  --text: #222222;        /* body text */
  --sky: #7BC3F0;         /* buttons, links, selected */
  --line: #D1E3EE;        /* borders */
  --muted: #5A6B7B;
  --sky-soft: rgba(123, 195, 240, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 63, 99, .06), 0 2px 8px rgba(17, 63, 99, .04);
  --shadow: 0 10px 30px -12px rgba(17, 63, 99, .18);
  --shadow-lg: 0 24px 60px -20px rgba(17, 63, 99, .35);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--slate); color: var(--text);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ocean); line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--muted); }
.justify { text-align: justify;  }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 104px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }

/* Icons */
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ---------- Small labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem var(--font-head);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ocean); margin-bottom: 14px;
}
.eyebrow::before { content: none; }
.eyebrow.light { color: var(--sky); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #dcecf7;
  font-size: .85rem; font-weight: 500; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(123,195,240,.25); }

/* ---------- Justified section headers ---------- */
.head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px;
  margin-bottom: 52px; flex-wrap: wrap;
}
.head-title { max-width: 620px; }
.head-side { max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.head-side p { font-size: 1.02rem; }
.head-controls { flex-direction: row; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  border-radius: 12px; font: 600 .95rem var(--font-head); border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--sky); color: var(--ocean); box-shadow: 0 8px 24px -10px rgba(123,195,240,.9); }
.btn-primary:hover { transform: translateY(-2px); background: #8dccf3; box-shadow: 0 14px 30px -10px rgba(123,195,240,.9); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { background: var(--white); color: var(--ocean); }
.btn-dark { background: var(--ocean); color: var(--white); }
.btn-dark:hover { background: var(--ocean-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ocean); font: 600 .95rem var(--font-head);
  padding-bottom: 3px; border-bottom: 2px solid var(--sky);
}
.text-link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  color: var(--ocean); display: grid; place-items: center; cursor: pointer; transition: .25s var(--ease);
}
.round-btn:hover { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
.round-btn .ic { width: 20px; height: 20px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 60; background: rgba(17, 63, 99, .97);
  border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.brand-name { font: 800 1.35rem var(--font-head); color: var(--white); letter-spacing: -0.02em; }
.brand-name span { color: var(--sky); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.78); font: 500 .92rem var(--font-head); padding: 10px 14px;
  border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--sky); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a.active { color: var(--white); }
.nav-links a.active::after, .nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  margin-left: 10px; background: var(--sky); color: var(--ocean); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
}
.nav-links .nav-cta:hover { background: #8dccf3; color: var(--ocean); }
.nav-links .nav-cta .ic { width: 16px; height: 16px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px 0; border-radius: 2px; transition: .3s var(--ease); }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Pages ---------- */
.page { display: none; }
.page.active { display: block; animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Background pattern ---------- */
.hero-pattern, .cta-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 85% 10%, rgba(123,195,240,.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(123,195,240,.12), transparent 40%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ocean); color: var(--white); overflow: hidden; padding: 88px 0 150px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-copy > p { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 560px; margin-bottom: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .9rem; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--sky); }
.hero-visual { position: relative; }
.hero-img {
  border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: linear-gradient(135deg, #1a5a8a, var(--ocean-deep));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; background: var(--white); color: var(--text);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font: 700 .95rem var(--font-head); color: var(--ocean); }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sky-soft); color: var(--ocean); display: grid; place-items: center; }
.fc-icon .ic { width: 20px; height: 20px; }
.fc-1 { left: -28px; bottom: 44px; }
.fc-2 { right: -20px; top: 36px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -78px; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.stat { display: flex; align-items: center; gap: 20px; padding: 34px 36px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ocean), #1d5d8f); color: var(--sky);
}
.stat-icon .ic { width: 26px; height: 26px; }
.stat-value { font: 800 2.6rem/1 var(--font-head); color: var(--ocean); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-value .suffix { color: var(--sky); }
.stat-label { margin-top: 6px; font-size: .92rem; font-weight: 500; }

/* ---------- Service cards (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--ocean), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc-num { position: absolute; right: 22px; top: 20px; font: 700 .8rem var(--font-head); color: var(--line); letter-spacing: .05em; }
.svc p { font-size: .93rem; flex: 1; }
.svc .text-link { border: 0; padding: 0; font-size: .88rem; }
.svc-cta {
  background: linear-gradient(150deg, var(--ocean), var(--ocean-deep)); border: 0; color: var(--white); justify-content: space-between;
}
.svc-cta h3 { color: var(--white); font-size: 1.3rem; }
.svc-cta p { color: rgba(255,255,255,.75); }
.svc-cta .text-link { color: var(--sky); }

.f-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--sky-soft); color: var(--ocean); transition: background .3s, color .3s;
}
.f-icon .ic { width: 24px; height: 24px; }
.svc:hover .f-icon, .feature:hover .f-icon, .perk:hover .f-icon { background: var(--ocean); color: var(--sky); }

/* ---------- Features ---------- */
.why { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-intro h2 { margin-bottom: 18px; }
.why-img { margin-top: 30px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature {
  background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.section:not(.section-alt) .feature { background: var(--white); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.feature .f-icon { margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .93rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-size: .85rem; font-weight: 500; color: var(--ocean); background: var(--white); border: 1px solid var(--line); padding: 5px 14px; border-radius: 99px; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; transition: box-shadow .3s, transform .3s var(--ease);
}
.review:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.stars { display: flex; gap: 3px; color: #F5B524; }
.stars .ic { width: 18px; height: 18px; }
.stars .off { color: var(--line); }
.review-quote { width: 34px; height: 34px; color: var(--sky); opacity: .6; }
.review p { color: var(--text); font-size: .98rem; line-height: 1.75; flex: 1; }
.review-person { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.initials {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ocean), #1d5d8f); color: var(--white); font: 700 .9rem var(--font-head);
}
.review-person b { display: block; font: 700 .98rem var(--font-head); color: var(--ocean); }
.review-person small { color: var(--muted); font-size: .85rem; }

/* ---------- Earnings calculator ---------- */
.earn {
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.earn-sliders { padding: 44px; display: flex; flex-direction: column; gap: 34px; }
.slider-row { display: flex; flex-direction: column; gap: 14px; }
.slider-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider-head label { display: flex; align-items: center; gap: 12px; font: 600 1rem var(--font-head); color: var(--ocean); }
.slider-head label .f-icon { width: 40px; height: 40px; border-radius: 11px; }
.slider-head label .f-icon .ic { width: 20px; height: 20px; }
.slider-value {
  min-width: 92px; text-align: center; font: 800 1.2rem var(--font-head); color: var(--ocean); background: var(--slate);
  border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-variant-numeric: tabular-nums;
}
.range {
  --fill: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; cursor: pointer; outline: none;
  background: linear-gradient(90deg, var(--ocean) 0%, var(--sky) var(--fill), var(--line) var(--fill));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white);
  border: 5px solid var(--ocean); box-shadow: 0 4px 14px rgba(17,63,99,.35); transition: transform .15s;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 5px solid var(--ocean); box-shadow: 0 4px 14px rgba(17,63,99,.35); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(123,195,240,.45); }
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-weight: 500; }

.earn-result {
  position: relative; background: linear-gradient(160deg, var(--ocean), var(--ocean-deep)); color: var(--white);
  padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 22px; overflow: hidden;
}
.earn-result .cta-pattern { opacity: .8; }
.earn-result > *:not(.cta-pattern) { position: relative; }
.res-label { font: 600 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.res-main { font: 800 clamp(2.2rem, 4vw, 3.1rem)/1.05 var(--font-head); color: var(--sky); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.res-sub { color: rgba(255,255,255,.7); font-size: .92rem; margin-top: 6px; }
.res-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.res-item span { display: block; font-size: .78rem; color: rgba(255,255,255,.6); }
.res-item b { font: 700 1.08rem var(--font-head); color: var(--white); font-variant-numeric: tabular-nums; }
.res-item.wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.res-item.wide b { color: var(--sky); font-size: 1.25rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; margin: 104px 0; padding: 64px; border-radius: 28px;
  background: linear-gradient(135deg, var(--ocean), #1a5a8a); display: flex; justify-content: space-between;
  align-items: center; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.cta > *:not(.cta-pattern) { position: relative; }
.cta h2 { color: var(--white); margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.75); max-width: 520px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--ocean); padding: 84px 0 76px; overflow: hidden; }
.page-hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; }
.page-hero h1 { color: var(--white); }
.page-hero-inner > p { color: rgba(255,255,255,.75); max-width: 420px; font-size: 1.05rem; }
.crumb { color: rgba(255,255,255,.6); font-size: .88rem; font-weight: 500; margin-bottom: 14px; }
.crumb span { margin: 0 8px; color: var(--sky); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin-bottom: 20px; }
.split p + p { margin-top: 14px; }
.split-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); background: var(--line); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.journey {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; background: var(--white);
  border: 1px solid var(--line); border-radius: 24px; padding: 52px; box-shadow: var(--shadow-sm);
}
.journey h2 { margin-bottom: 18px; }
.journey p { font-size: 1.04rem; line-height: 1.85; }
.journey-mark {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean), #1d5d8f); color: var(--sky);
}
.journey-mark .ic { width: 34px; height: 34px; }

/* ---------- Services detail ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail-grid.two { grid-template-columns: repeat(2, 1fr); }
.detail {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.section-alt .detail { background: var(--slate); }
.detail:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.detail-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #1a5a8a, var(--ocean-deep)); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.detail:hover .detail-img img { transform: scale(1.06); }
.detail-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,44,71,.55), transparent 55%); }
.detail-icon { margin-top: -74px; margin-bottom: 6px; position: relative; z-index: 2; background: var(--ocean); color: var(--sky); width: 56px; height: 56px; box-shadow: var(--shadow); border: 3px solid var(--white); }
.detail-body { padding: 44px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.detail-body p { font-size: .95rem; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.checks li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--text); line-height: 1.45; }
.checks .ic { width: 18px; height: 18px; color: var(--white); background: var(--sky); border-radius: 50%; padding: 3px; margin-top: 1px; }

/* ---------- CEO ---------- */
.ceo { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.ceo-card {
  position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 18px 18px 28px; text-align: center; box-shadow: var(--shadow);
}
.ceo-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--line); margin-bottom: 22px; }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-card p { font-size: .92rem; }
.ceo-brand {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px 6px 8px; border-radius: 99px;
  background: var(--slate); border: 1px solid var(--line); font: 700 .82rem var(--font-head); color: var(--ocean);
}
.ceo-brand img { width: 22px; height: 22px; }
.letter {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 60px 64px; box-shadow: var(--shadow-sm);
}
.letter-quote { position: absolute; right: 48px; top: 40px; width: 64px; height: 64px; color: var(--sky); opacity: .25; }
.letter p { color: var(--text); font-size: 1.06rem; line-height: 1.9; text-align: justify;  }
.letter p + p { margin-top: 18px; }
.letter .salute { font: 600 1.2rem var(--font-head); color: var(--ocean); margin-bottom: 26px; }
.ayat {
  margin: 40px 0; background: var(--slate); border: 1px solid var(--line); border-left: 5px solid var(--ocean);
  border-radius: 16px; padding: 34px 36px;
}
.ayat .arabic { font-family: "Amiri", serif; font-size: 2rem; line-height: 2.1; color: var(--ocean); text-align: right; }
.ayat .translation { font-style: italic; margin-top: 16px !important; text-align: left; color: var(--text); }
.ayat cite { display: block; margin-top: 14px; font: 700 .9rem var(--font-head); font-style: normal; color: var(--ocean); letter-spacing: .02em; }
.letter .closing { margin-top: 36px !important; color: var(--muted); }
.signature { font-family: "Amiri", serif; font-size: 2.2rem !important; font-style: italic; color: var(--ocean) !important; margin-top: 6px !important; text-align: left !important; }
.sig-title { font-size: .92rem !important; color: var(--muted) !important; margin-top: 0 !important; }

/* ---------- Staff ---------- */
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm);
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn {
  padding: 9px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted);
  font: 600 .88rem var(--font-head); cursor: pointer; transition: .2s; display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover { color: var(--ocean); background: var(--slate); }
.filter-btn.active { background: var(--sky); color: var(--ocean); }
.filter-btn small { font-size: .72rem; background: rgba(17,63,99,.08); padding: 1px 7px; border-radius: 99px; }
.filter-btn.active small { background: rgba(17,63,99,.15); }
.search-box {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px;
  background: var(--slate); min-width: 240px; transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(123,195,240,.25); }
.search-box .ic { width: 18px; height: 18px; color: var(--muted); }
.search-box input { border: 0; background: transparent; padding: 11px 0; font: 400 .92rem var(--font-body); width: 100%; outline: none; color: var(--text); }
.filter-count { margin: 26px 0 18px; font-size: .92rem; font-weight: 500; }
.filter-count b { color: var(--ocean); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.staff-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise .45s var(--ease) both;
}
.staff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.staff-photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--slate), var(--line)); display: grid; place-items: center; overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-photo .ic { width: 42%; height: 42%; color: #a9c6d8; }
.staff-info { padding: 18px 16px 22px; }
.staff-info h3 { font-size: 1rem; margin-bottom: 8px; }
.dept-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ocean);
  background: var(--sky-soft); padding: 4px 12px; border-radius: 99px;
}
.dept-chip .ic { width: 14px; height: 14px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Careers ---------- */
.perks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.perk {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.perk:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.perk b { font: 700 1rem var(--font-head); color: var(--ocean); margin-top: 6px; }
.perk p { font-size: .88rem; }
.jobs { display: flex; flex-direction: column; gap: 14px; }
.job {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 28px; align-items: center; background: var(--slate);
  border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; transition: .3s var(--ease);
}
.job:hover { background: var(--white); border-color: var(--sky); box-shadow: var(--shadow); }
.job-title { display: flex; align-items: center; gap: 16px; }
.job-title .f-icon { width: 46px; height: 46px; background: var(--white); border: 1px solid var(--line); }
.job-title h3 { font-size: 1.05rem; }
.job-title small { color: var(--muted); font-size: .85rem; }
.job-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.job-meta .ic { width: 17px; height: 17px; color: var(--ocean); }
.job .btn { padding: 11px 20px; font-size: .88rem; }

.apply-wrap { display: grid; grid-template-columns: 1fr 1.6fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--white); }
.apply-side { position: relative; background: linear-gradient(160deg, var(--ocean), var(--ocean-deep)); padding: 52px 44px; color: var(--white); }
.apply-side h2 { color: var(--white); margin-bottom: 12px; }
.apply-side > p { color: rgba(255,255,255,.72); }
.steps { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(123,195,240,.5); color: var(--sky); font: 700 .9rem var(--font-head);
}
.steps b { display: block; font: 600 .98rem var(--font-head); }
.steps small { color: rgba(255,255,255,.6); font-size: .85rem; }
.apply-form { padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font: 600 .84rem var(--font-head); color: var(--ocean); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--slate);
  font: 400 .95rem var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 3px rgba(123,195,240,.25); }
.form-grid .invalid { border-color: #c0392b !important; }
.file-box {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line);
  border-radius: 11px; background: var(--slate); font: 500 .92rem var(--font-body); color: var(--muted); cursor: pointer; transition: border-color .2s;
}
.file-box:hover { border-color: var(--sky); }
.file-box .ic { width: 22px; height: 22px; color: var(--ocean); }
.file-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-box.invalid { border-color: #c0392b; }
.form-error { color: #c0392b; font-size: .9rem; min-height: 1.3em; margin-bottom: 14px; }
.success {
  display: flex; gap: 10px; align-items: center; margin-top: 20px; background: #E9F7F0; color: #1E7A50;
  border: 1px solid #BFE5D1; padding: 16px 18px; border-radius: 12px; font-weight: 500; font-size: .95rem;
}
.success .ic { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ocean-deep); color: rgba(255,255,255,.7); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { color: rgba(255,255,255,.62); max-width: 380px; margin-top: 18px; font-size: .95rem; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; letter-spacing: 0; }
.footer-grid a:not(.brand) { display: block; padding: 5px 0; font-size: .93rem; color: rgba(255,255,255,.68); transition: color .2s, transform .2s; }
.footer-grid a:not(.brand):hover { color: var(--sky); transform: translateX(3px); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .88rem; color: rgba(255,255,255,.5); }

/* ---------- Chatbot ---------- */
.chat-launch {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  border: 0; background: var(--ocean); color: var(--sky); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(17,63,99,.6); transition: transform .3s var(--ease);
}
.chat-launch:hover { transform: scale(1.07); }
.chat-launch .ic { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform .3s var(--ease), opacity .3s; }
.chat-launch .ic-close { opacity: 0; transform: rotate(-90deg); }
.chat-launch.open .ic-open { opacity: 0; transform: rotate(90deg); }
.chat-launch.open .ic-close { opacity: 1; transform: none; }
.chat-launch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sky); animation: ring 2.4s infinite; }
.chat-launch.open::after { display: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
.chat {
  position: fixed; right: 26px; bottom: 102px; z-index: 95; width: 390px; max-width: calc(100vw - 32px);
  height: 580px; max-height: calc(100vh - 130px); background: var(--white); border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(17,63,99,.45); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden; animation: chatIn .35s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px; background: linear-gradient(135deg, var(--ocean), #1a5a8a); color: var(--white); }
.chat-head b { font: 700 .98rem var(--font-head); display: block; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .78rem; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.chat-avatar img { width: 30px; height: 30px; object-fit: contain; }
.chat-close { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat-close:hover { background: rgba(255,255,255,.2); }
.chat-close .ic { width: 18px; height: 18px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--slate); display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .9rem; line-height: 1.6; animation: rise .3s var(--ease); color: var(--text); }
.msg.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.msg.user { background: var(--ocean); color: var(--white); border-bottom-right-radius: 5px; align-self: flex-end; }
.msg b { color: var(--ocean); }
.msg ul { padding-left: 18px; margin: 4px 0; }
.msg a { color: #1f6fa8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.typing { display: flex; gap: 5px; padding: 15px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 6px; padding: 12px 14px 0; overflow-x: auto; background: var(--white); scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button {
  flex-shrink: 0; border: 1px solid var(--line); background: var(--white); color: var(--ocean); border-radius: 99px;
  padding: 6px 13px; font: 600 .78rem var(--font-head); cursor: pointer; transition: .2s;
}
.chat-chips button:hover { background: var(--sky); border-color: var(--sky); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px 14px; background: var(--white); }
.chat-input input {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 .92rem var(--font-body);
  background: var(--slate); outline: none; color: var(--text);
}
.chat-input input:focus { border-color: var(--sky); background: var(--white); }
.chat-input button { width: 46px; border-radius: 12px; border: 0; background: var(--sky); color: var(--ocean); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.chat-input button:hover { background: #8dccf3; }
.chat-input .ic { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.show { opacity: 1; transform: none; }

[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ocean); padding: 12px 16px 22px; border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,.35); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a.active { background: rgba(255,255,255,.08); }
  .nav-links .nav-cta { margin: 10px 0 0; justify-content: center; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 130px; }
  .hero-grid, .why, .split, .ceo, .earn, .apply-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .fc-1 { left: 12px; } .fc-2 { right: 12px; }
  .why-intro, .ceo-card { position: static; }
  .ceo-card { max-width: 360px; }
  .grid-3, .detail-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-auto-columns: calc((100% - 24px) / 2); }
  .job { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .job-title { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta { padding: 48px; margin: 80px 0; }
  .letter { padding: 44px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.15rem; }
  .stats { grid-template-columns: 1fr; margin-top: -90px; }
  .stat { padding: 22px 24px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat-value { font-size: 2.1rem; }
  .svc-grid, .why-grid, .grid-3, .detail-grid, .detail-grid.two, .perks, .form-grid, .checks, .res-list { grid-template-columns: 1fr; }
  .reviews { grid-auto-columns: 88%; }
  .review { padding: 26px; }
  .earn-sliders, .earn-result, .apply-form, .apply-side { padding: 28px 22px; }
  .cta { padding: 36px 26px; border-radius: 22px; }
  .journey { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .letter { padding: 32px 22px; }
  .letter p { text-align: left; }
  .letter-quote { display: none; }
  .ayat { padding: 24px 20px; }
  .ayat .arabic { font-size: 1.55rem; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .job { grid-template-columns: 1fr; }
  .job .btn { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px; }
  .fc-1 { left: 8px; bottom: 16px; } .fc-2 { right: 8px; top: 16px; }
  .chat { right: 16px; bottom: 92px; }
  .chat-launch { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Salary calculator extras ---------- */
.close-rate {
  display: flex; align-items: center; gap: 14px; background: var(--slate); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px;
}
.close-rate b { display: block; font: 800 1.5rem/1.1 var(--font-head); color: var(--ocean); font-variant-numeric: tabular-nums; }
.close-rate small { color: var(--muted); font-size: .86rem; }
.res-note {
  display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; line-height: 1.55;
  color: rgba(255,255,255,.78) !important; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px;
}
.res-note .ic { width: 18px; height: 18px; color: var(--sky); margin-top: 2px; }
.review-person b { font-size: 1.02rem; }

/* ---------- Ayat word by word ---------- */
.letter .wbw-title { margin-top: 26px !important; font: 700 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ocean) !important; text-align: left !important; }
.wbw { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wbw-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 88px; padding: 12px 14px 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-align: center;
  transition: border-color .2s, transform .2s var(--ease);
}
.wbw-item:hover { border-color: var(--sky); transform: translateY(-2px); }
.wbw-item b { font-family: "Amiri", serif; font-size: 1.45rem; line-height: 1.6; color: var(--ocean); font-weight: 700; }
.wbw-item small { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ---------- Careers: now hiring ---------- */
.hiring { margin-top: 28px; }
.hiring span { font: 700 .76rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.hiring ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hiring li { font-size: .86rem; font-weight: 600; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(123,195,240,.4); padding: 6px 14px; border-radius: 99px; }
@media (max-width: 640px) { .wbw-item { min-width: 0; flex: 1 1 28%; } .wbw-item b { font-size: 1.25rem; } }

/* ---------- Ayat line translations ---------- */
.letter .ayat .line-en { font-style: italic; color: var(--text); text-align: left; margin: 2px 0 18px !important; padding-left: 14px; border-left: 3px solid var(--sky); font-size: 1rem; }
.ayat .arabic + .line-en { margin-top: 4px !important; }
.ayat .line-en + .arabic { margin-top: 0 !important; }
.ceo-photo img { object-position: center 30%; }

/* ---------- Ayat: Urdu lines and tighter spacing ---------- */
.letter .ayat { margin: 28px 0; padding: 20px 24px; }
.ayat .arabic { font-size: 1.85rem; line-height: 1.9; margin: 0 !important; }
.letter .ayat .line-ur {
  font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; font-size: 1.12rem; line-height: 2.1;
  color: var(--text); text-align: right; margin: 0 0 10px !important; padding-right: 12px; border-right: 3px solid var(--sky);
}
.letter .ayat .translation { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line); }
.ayat cite { margin-top: 8px; }
@media (max-width: 640px) { .letter .ayat { padding: 16px; } .letter .ayat .line-ur { font-size: 1rem; } }

/* ---------- WhatsApp note ---------- */
.wa-note { margin-top: 12px; font-size: .86rem; }
.calc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .calc-tiles { grid-template-columns: 1fr; } }
