@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

/* ===== CSS VARIABLES – LIGHT THEME (default) ===== */
:root {
  --orange: #ff6600;
  --orange-dark: #cc5200;
  --orange-light: #ff944d;
  --orange-glow: rgba(255,102,0,0.25);
  --bg: #f4f6f9;
  --bg2: #ffffff;
  --bg3: #eef0f5;
  --bg4: #e2e6ec;
  --card: #ffffff;
  --border: rgba(255,102,0,0.22);
  --border-neutral: rgba(0,0,0,0.08);
  --text: #59595c;
  --muted: #5a6780;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-o: 0 4px 32px rgba(255,102,0,0.16);
  --navbar-bg: rgba(244,246,249,0.97);
  --scrollbar-track: #eef0f5;
  --hero-overlay: linear-gradient(135deg,rgba(8,10,14,0.82) 0%,rgba(8,10,14,0.68) 60%),
                  radial-gradient(ellipse at 20% 50%,rgba(255,102,0,0.15) 0%,transparent 50%);
}

/* ===== CSS VARIABLES – DARK THEME ===== */
[data-theme="dark"] {
  --bg: #080a0e;
  --bg2: #0f1218;
  --bg3: #161b24;
  --bg4: #1e2430;
  --card: #12161e;
  --border: rgba(255,102,0,0.18);
  --border-neutral: rgba(255,255,255,0.1);
  --text: #e8eaf0;
  --muted: #7a8799;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-o: 0 4px 32px rgba(255,102,0,0.22);
  --navbar-bg: rgba(8,10,14,0.97);
  --scrollbar-track: #0f1218;
  --hero-overlay: linear-gradient(135deg,rgba(8,10,14,0.88) 0%,rgba(8,10,14,0.72) 60%),
                  radial-gradient(ellipse at 20% 50%,rgba(255,102,0,0.12) 0%,transparent 50%),
                  radial-gradient(ellipse at 80% 50%,rgba(255,102,0,0.06) 0%,transparent 50%);
}

/* ===== RESET & BASE ===== */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  transition:background .3s,color .3s;
}
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background:var(--orange); border-radius:3px; }
h1,h2,h3,h4,h5 { line-height:1.2; font-weight:700; color:var(--text); }
h1 { font-size:clamp(2rem,5vw,3.6rem); }
h2 { font-size:clamp(1.7rem,3.5vw,2.6rem); }
h3 { font-size:clamp(1.1rem,2.5vw,1.4rem); }
p { color:var(--muted); line-height:1.8; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes float2 { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-8px) rotate(2deg)} }
@keyframes pulse-ring { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.6);opacity:0} }
@keyframes fade-up { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes slide-down { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ===== UTILITIES ===== */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
section { padding:96px 0; }
.highlight { color:var(--orange); }
.tag {
  display:inline-block; padding:5px 14px;
  background:rgba(255,102,0,.1); color:var(--orange);
  border:1px solid var(--border); border-radius:50px;
  font-size:.75rem; font-weight:600; letter-spacing:1.4px;
  text-transform:uppercase; margin-bottom:16px;
}
.section-header { position:relative; text-align:center; margin-bottom:56px; }
.section-header::before {
  content:''; position:absolute; top:-40px; left:50%; transform:translateX(-50%);
  width:320px; height:160px; max-width:70vw;
  background:radial-gradient(ellipse at center, var(--orange-glow) 0%, transparent 70%);
  opacity:.35; filter:blur(10px); pointer-events:none; z-index:-1;
}
.section-header h2 { margin-bottom:14px; }
.section-header p { max-width:560px; margin:0 auto; font-size:1.02rem; }
.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.text-center { text-align:center; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:8px;
  font-size:.9rem; font-weight:600; cursor:pointer;
  transition:all .28s ease; border:none; font-family:inherit;
}
.btn-primary {
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff; box-shadow:var(--shadow-o);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(255,102,0,.4); }
.btn-outline { background:transparent; color:var(--orange); border:1.5px solid var(--orange); }
.btn-outline:hover { background:var(--orange); color:#fff; transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--text); border:1.5px solid rgba(128,128,128,.25); }
.btn-ghost:hover { border-color:var(--orange); color:var(--orange); }
.btn-sm { padding:9px 18px; font-size:.82rem; }
.btn-lg { padding:15px 32px; font-size:.98rem; }

/* ===== NAVBAR ===== */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  transition:background .3s ease, box-shadow .3s ease, border-color .3s ease, padding .3s ease;
  padding:18px 0;
}
.navbar.scrolled {
  background:var(--navbar-bg);
  padding:12px 0; border-bottom:1px solid var(--border); box-shadow:var(--shadow);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; flex-direction:column; line-height:1; }
.logo-main { font-size:1.3rem; font-weight:800; color:var(--text); letter-spacing:-.4px; }
.logo-main span { color:var(--orange); }
.logo-sub { font-size:.56rem; color:var(--muted); letter-spacing:2px; text-transform:uppercase; margin-top:2px; }
.nav-links { display:flex; align-items:center; gap:2px; list-style:none; }
.nav-links a { padding:8px 13px; color:#fff; font-size:.87rem; font-weight:500; border-radius:6px; transition:all .2s; }
.navbar.scrolled .nav-links a { color:var(--text); }
.navbar.scrolled .nav-links a.active { color:var(--orange); }
.nav-links a:hover { color:var(--orange); background:none; }
.nav-links a.active { color:var(--orange); background:none; }
.nav-actions { display:flex; align-items:center; gap:10px; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width:36px; height:36px; border-radius:8px;
  background:var(--bg3); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--muted); transition:all .2s;
}
.theme-toggle:hover { border-color:var(--orange); color:var(--orange); }
.icon-moon { display:block; }
.icon-sun  { display:none; }
[data-theme="dark"] .icon-moon { display:none; }
[data-theme="dark"] .icon-sun  { display:block; }

/* ===== HAMBURGER ===== */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; }
.hamburger span { display:block; width:22px; height:2px; background:var(--orange); border-radius:2px; transition:all .3s; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display:none; position:fixed; inset:0; background:var(--bg2); z-index:999;
  padding:112px 28px 40px; border-bottom:1px solid var(--border);
  animation:slide-down .3s ease; overflow-y:auto;
}
.mobile-menu.open { display:block; }
.mobile-menu ul { list-style:none; }
.mobile-menu li { border-bottom:1px solid var(--border); }
.mobile-menu li a { display:block; padding:16px 0; color:var(--text); font-size:1rem; font-weight:500; transition:color .2s; }
.mobile-menu li a:hover { color:var(--orange); }
.mobile-actions { margin-top:24px; display:flex; flex-direction:column; gap:10px; }
.mobile-actions .btn { justify-content:center; }

/* ===== HERO ===== */
.hero {
  position:relative; z-index:0; min-height:100vh;
  display:flex; align-items:center; overflow:hidden;
  background-color:var(--bg);
  background-size:cover; background-position:center;
}
.hero-video-bg { position:absolute; inset:0; z-index:-1; overflow:hidden; }
.hero-video {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0;
}
.hero-video.active { opacity:1; }
.hero-slide { display:none; }
.hero-slide.active { display:block; }
.hero::before {
  content:''; position:absolute; inset:0;
  background:var(--hero-overlay); z-index:0;
}
#particles-canvas { position:absolute; inset:0; z-index:1; }
.hero-content { position:relative; z-index:2; max-width:660px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 14px; background:rgba(255,102,0,.12);
  border:1px solid rgba(255,102,0,.3); border-radius:50px;
  font-size:.75rem; color:var(--orange); font-weight:600;
  letter-spacing:1px; text-transform:uppercase; margin-bottom:22px;
  animation:fade-up .6s ease both;
}
.badge-dot { width:6px; height:6px; border-radius:50%; background:var(--orange); position:relative; }
.badge-dot::after { content:''; position:absolute; inset:-3px; border-radius:50%; border:1.5px solid var(--orange); animation:pulse-ring 1.6s ease infinite; }
.hero h1 { color:#fff; margin-bottom:20px; animation:fade-up .65s .08s ease both; }
.hero-desc { color:rgba(255,255,255,.75); font-size:1.1rem; margin-bottom:36px; animation:fade-up .65s .16s ease both; }
.hero-ctas { display:flex; gap:14px; flex-wrap:wrap; animation:fade-up .65s .24s ease both; }
.hero-stats {
  display:flex; gap:36px; margin-top:52px; padding-top:36px;
  border-top:1px solid rgba(255,255,255,.12); flex-wrap:wrap;
  animation:fade-up .65s .32s ease both;
}
.hero-stat h3 { color:var(--orange); font-size:1.7rem; margin-bottom:4px; }
.hero-stat p { font-size:.8rem; margin:0; color:rgba(255,255,255,.6); }

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  position:relative; padding:160px 0 80px;
  min-height:420px; display:flex; align-items:center;
  background-color:var(--bg);
  background-image:url('../images/banner-home.jpg');
  background-size:cover; background-position:center;
  overflow:hidden;
}
.page-banner::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(8,10,14,0.88) 0%,rgba(8,10,14,0.70) 60%),
             radial-gradient(ellipse at 20% 50%,rgba(255,102,0,.1) 0%,transparent 50%);
  z-index:0;
}
.page-banner .container { position:relative; z-index:1; }
.page-banner h1 { color:#fff; margin-bottom:14px; }
.page-banner p { color:rgba(255,255,255,.65); font-size:1.05rem; max-width:560px; }
.breadcrumb {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; color:rgba(255,255,255,.5);
  margin-bottom:16px;
}
.breadcrumb a { color:var(--orange); transition:opacity .2s; }
.breadcrumb a:hover { opacity:.8; }
.breadcrumb svg { color:rgba(255,255,255,.3); }

/* ===== TICKER ===== */
.ticker-wrap { background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:13px 0; overflow:hidden; }
.ticker-inner { display:flex; gap:56px; animation:ticker 28s linear infinite; white-space:nowrap; width:max-content; }
.ticker-item { display:inline-flex; align-items:center; gap:10px; font-size:.82rem; color:var(--muted); }
.ticker-item strong { color:var(--text); font-weight:600; }
.ticker-dot { width:4px; height:4px; border-radius:50%; background:var(--orange); flex-shrink:0; }

/* ===== STATS ===== */
.stats-section { padding:72px 0; background:var(--bg2); border-bottom:1px solid var(--border); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat-item { text-align:center; padding:32px 20px; position:relative; }
.stat-item+.stat-item::before { content:''; position:absolute; left:0; top:25%; height:50%; width:1px; background:var(--border); }
.stat-number { font-size:2.6rem; font-weight:800; color:var(--orange); line-height:1; margin-bottom:8px; }
.stat-label { font-size:.85rem; color:var(--muted); }

/* ===== SERVICES ===== */
.services-section { background:var(--bg); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.svc-card {
  background:var(--card); border:2px solid rgba(120,130,145,.25); border-radius:var(--radius-lg);
  transition:all .3s; position:relative; overflow:hidden; cursor:pointer;
  text-align:left; box-shadow:0 6px 20px rgba(0,0,0,.12);
}
.svc-card:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(0,0,0,.18); }
.svc-img { width:100%; aspect-ratio:16/10; overflow:hidden; background:var(--bg3); }
.svc-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.svc-card:hover .svc-img img { transform:scale(1.06); }
.svc-body { padding:24px 26px 28px; }
.svc-icon {
  width:auto; height:auto; background:none; border-radius:0;
  display:flex; align-items:center; justify-content:flex-start;
  margin-bottom:14px; color:var(--orange); transition:color .3s;
}
.svc-card h3 { margin-bottom:10px; font-size:1.05rem; text-align:left; font-weight:700; }
.svc-card p { font-size:.875rem; text-align:left; }
.svc-link { display:inline-flex; align-items:center; justify-content:flex-start; gap:6px; color:var(--orange); font-size:.82rem; font-weight:600; margin-top:14px; transition:gap .2s; }
.svc-card:hover .svc-link { gap:10px; }
.svc-more-wrap { display:flex; justify-content:center; margin-top:40px; }

/* ===== LOANS ===== */
.loan-types { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:28px; }
.loan-type { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); padding:22px; transition:all .3s; }
.loan-type:hover { border-color:var(--orange); transform:translateY(-2px); }
.loan-type h4 { font-size:.95rem; margin-bottom:6px; }
.loan-type p { font-size:.83rem; }
.loan-rate-badge { display:inline-block; padding:3px 9px; background:rgba(255,102,0,.13); color:var(--orange); border-radius:6px; font-size:.75rem; font-weight:700; margin-top:10px; }
.loan-visual { background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px 36px; text-align:center; animation:float 5s ease-in-out infinite; }
.loan-rate-big { font-size:4.5rem; font-weight:900; color:var(--orange); line-height:1; }
.loan-rate-big sup { font-size:1.6rem; vertical-align:top; padding-top:14px; display:inline-block; }
.loan-subtitle { font-size:.85rem; color:var(--muted); margin-top:8px; margin-bottom:28px; }
.check-list { list-style:none; }
.check-list li { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); font-size:.875rem; color:var(--muted); }
.check-list li:last-child { border-bottom:none; }
.check-list svg { color:var(--orange); flex-shrink:0; }

/* ===== FIXED DEPOSITS ===== */
.deposit-plans { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:52px; }
.dep-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:34px 26px; text-align:center; transition:all .3s; position:relative; }
.dep-card.featured { border-color:var(--orange); box-shadow:var(--shadow-o); background:linear-gradient(145deg,var(--card),rgba(255,102,0,.05)); }
.dep-card:hover { transform:translateY(-4px); }
.pop-badge { position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--orange); color:#fff; font-size:.65rem; font-weight:700; padding:3px 12px; border-radius:50px; letter-spacing:1px; text-transform:uppercase; white-space:nowrap; }
.dep-tenor { font-size:.8rem; color:var(--muted); margin-bottom:10px; font-weight:600; text-transform:uppercase; letter-spacing:1px; }
.dep-rate { font-size:3rem; font-weight:900; color:var(--orange); line-height:1; }
.dep-rate sup,.dep-rate sub { font-size:1.1rem; font-weight:600; }
.dep-rate sub { vertical-align:baseline; }
.dep-desc { font-size:.82rem; margin:14px 0 22px; }
.dep-feats { list-style:none; text-align:left; margin-bottom:24px; }
.dep-feats li { display:flex; align-items:center; gap:8px; padding:7px 0; font-size:.83rem; color:var(--muted); border-bottom:1px solid var(--border); }
.dep-feats li:last-child { border-bottom:none; }
.dep-feats svg { color:var(--orange); flex-shrink:0; }
.dep-steps { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-lg); padding:44px; }
.dep-steps-title { text-align:center; margin-bottom:36px; }
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step { text-align:center; }
.step-num { width:48px; height:48px; border-radius:50%; background:rgba(255,102,0,.1); border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:800; color:var(--orange); margin:0 auto 14px; }
.step h4 { font-size:.9rem; margin-bottom:6px; }
.step p { font-size:.82rem; }

/* ===== MOBILE APP ===== */
.phone-wrap { display:flex; justify-content:center; }
.phone-mockup {
  width:240px; height:480px;
  background:linear-gradient(145deg,#1c2230,#10141c);
  border-radius:40px; border:2px solid rgba(255,102,0,.25);
  box-shadow:0 24px 64px rgba(0,0,0,.6),0 0 40px rgba(255,102,0,.08);
  overflow:hidden; position:relative; animation:float 5.5s ease-in-out infinite;
}
.phone-notch { width:72px; height:16px; background:#080a0e; border-radius:0 0 10px 10px; margin:0 auto; }
.phone-screen { padding:6px 10px 16px; height:calc(100% - 16px); overflow:hidden; }
.p-header { display:flex; justify-content:space-between; align-items:center; padding:4px 0 10px; font-size:.45rem; color:#7a8799; }
.p-bal-wrap { text-align:center; padding:8px 0 12px; }
.p-bal-label { font-size:.48rem; color:#7a8799; }
.p-bal { font-size:1.3rem; font-weight:800; color:#e8eaf0; letter-spacing:-1px; }
.p-card { background:linear-gradient(135deg,var(--orange-dark),var(--orange)); border-radius:12px; padding:12px; margin-bottom:10px; }
.p-card-row { display:flex; justify-content:space-between; align-items:flex-start; }
.p-card-name { font-size:.48rem; color:#fff; font-weight:700; }
.p-chip { width:16px; height:12px; background:linear-gradient(135deg,#f5d769,#c8960c); border-radius:2px; }
.p-card-num { font-size:.42rem; color:rgba(255,255,255,.7); letter-spacing:1.5px; margin-top:14px; }
.p-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; margin-bottom:10px; }
.p-action { text-align:center; }
.p-action-icon { width:26px; height:26px; border-radius:8px; background:rgba(255,102,0,.12); display:flex; align-items:center; justify-content:center; margin:0 auto 3px; font-size:.65rem; }
.p-action span { font-size:.38rem; color:#7a8799; }
.p-txn-label { font-size:.44rem; color:#7a8799; font-weight:600; margin-bottom:5px; }
.p-txn { display:flex; justify-content:space-between; align-items:center; padding:4px 0; border-bottom:1px solid rgba(255,255,255,.04); }
.p-txn:last-child { border-bottom:none; }
.p-txn-name { font-size:.4rem; color:#e8eaf0; font-weight:600; }
.p-txn-date { font-size:.36rem; color:#7a8799; }
.p-txn-amt { font-size:.42rem; font-weight:700; }
.p-txn-amt.cr { color:#4ade80; }
.p-txn-amt.dr { color:#f87171; }
.app-feats { list-style:none; margin:28px 0 36px; }
.app-feats li { display:flex; align-items:flex-start; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); }
.app-feats li:last-child { border-bottom:none; }
.feat-ico { width:38px; height:38px; background:rgba(255,102,0,.1); border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--orange); flex-shrink:0; }
.feat-txt h4 { font-size:.9rem; margin-bottom:3px; }
.feat-txt p { font-size:.82rem; }
.store-btns { display:flex; gap:14px; flex-wrap:wrap; }
.store-btn { display:flex; align-items:center; gap:10px; padding:12px 20px; background:var(--bg3); border:1px solid var(--border); border-radius:12px; transition:all .3s; color:var(--text); }
.store-btn:hover { border-color:var(--orange); transform:translateY(-2px); box-shadow:var(--shadow-o); }
.store-btn svg { color:var(--orange); }
.store-btn small { font-size:.6rem; color:var(--muted); display:block; }
.store-btn strong { font-size:.9rem; }

/* ===== INTERNET BANKING ===== */
.tabs { display:flex; gap:12px; margin-bottom:44px; background:none; padding:0; border-radius:0; width:fit-content; border:none; flex-wrap:wrap; }
.tab { padding:12px 26px; border-radius:50px; font-weight:600; font-size:.87rem; color:var(--muted); cursor:pointer; transition:all .25s; border:1px solid var(--border); background:var(--card); font-family:inherit; }
.tab:hover { border-color:var(--muted); color:var(--text); }
.tab.active { background:#ff6600; color:#fff; border-color:#ff6600; box-shadow:none; }
.panel { display:none; }
.panel.active { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.bank-feats { list-style:none; }
.bank-feats li { display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); }
.bank-feats li:last-child { border-bottom:none; }
.chk { width:20px; height:20px; background:rgba(255,102,0,.13); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.chk svg { color:var(--orange); }
.bank-feats li>div h4 { font-size:.9rem; margin-bottom:3px; }
.bank-feats li>div p { font-size:.82rem; }
/* Dashboard mockup – always dark (represents a screen) */
.dash-mock { background:#12161e; border:1px solid rgba(255,102,0,.18); border-radius:var(--radius-lg); overflow:hidden; }
.dash-bar { background:#161b24; padding:13px 18px; display:flex; align-items:center; gap:7px; border-bottom:1px solid rgba(255,102,0,.12); }
.dd { width:9px; height:9px; border-radius:50%; }
.dash-body { padding:18px; }
.dash-greet { font-size:.7rem; color:#7a8799; margin-bottom:3px; }
.dash-name { font-size:.9rem; font-weight:700; color:#e8eaf0; margin-bottom:14px; }
.dash-bals { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.dash-bal { background:#161b24; border-radius:9px; padding:12px; }
.dash-bal.hi { background:linear-gradient(135deg,var(--orange-dark),var(--orange)); }
.dash-bal .lbl { font-size:.58rem; color:#7a8799; }
.dash-bal.hi .lbl { color:rgba(255,255,255,.7); }
.dash-bal .val { font-size:1rem; font-weight:800; color:#e8eaf0; margin-top:4px; }
.dash-bal.hi .val { color:#fff; }
.dash-acts { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:14px; }
.dash-act { background:#161b24; border-radius:8px; padding:9px 6px; text-align:center; }
.dash-act svg { color:var(--orange); display:block; margin:0 auto 3px; }
.dash-act span { font-size:.5rem; color:#7a8799; }
.dash-txn-hdr { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.dash-txn-hdr span { font-size:.65rem; color:#7a8799; }
.dash-txn-hdr a { font-size:.65rem; color:var(--orange); }
.dash-txn { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.04); }
.dash-txn:last-child { border-bottom:none; }
.txl { display:flex; align-items:center; gap:8px; }
.txav { width:26px; height:26px; border-radius:50%; background:rgba(255,102,0,.13); display:flex; align-items:center; justify-content:center; font-size:.5rem; color:var(--orange); font-weight:700; }
.txname { font-size:.6rem; color:#e8eaf0; font-weight:600; }
.txdate { font-size:.52rem; color:#7a8799; }
.txamt { font-size:.62rem; font-weight:700; }
.txamt.cr { color:#4ade80; }
.txamt.dr { color:#f87171; }

/* ===== ATM CARDS ===== */
.card-3d-wrap { perspective:900px; }
.atm-card {
  width:360px; height:220px; border-radius:18px;
  background:linear-gradient(135deg,#b85a18 0%,var(--orange) 45%,var(--orange-light) 70%,var(--orange) 100%);
  padding:26px 28px; position:relative; overflow:hidden;
  box-shadow:0 24px 56px rgba(255,102,0,.38);
  transform:rotateY(-8deg) rotateX(4deg); transition:transform .5s; margin:0 auto; cursor:pointer;
}
.atm-card:hover { transform:rotateY(0) rotateX(0); }
.atm-card::before { content:''; position:absolute; width:280px; height:280px; border-radius:50%; border:55px solid rgba(255,255,255,.07); top:-100px; right:-80px; }
.atm-card::after { content:''; position:absolute; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.04); bottom:-70px; left:-40px; }
.c-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:22px; position:relative; z-index:1; }
.c-logo { font-size:.8rem; font-weight:800; color:#fff; letter-spacing:-.2px; line-height:1.2; }
.c-chip { width:38px; height:28px; background:linear-gradient(135deg,#f5d769,#c8960c); border-radius:5px; display:grid; place-items:center; }
.c-chip::before { content:''; width:26px; height:18px; border:1.5px solid rgba(0,0,0,.25); border-radius:3px; }
.c-num { font-size:1.1rem; letter-spacing:2.5px; color:#fff; font-family:monospace; margin-bottom:20px; text-shadow:0 1px 3px rgba(0,0,0,.3); position:relative; z-index:1; }
.c-bottom { display:flex; justify-content:space-between; align-items:flex-end; position:relative; z-index:1; }
.c-lbl { font-size:.48rem; color:rgba(255,255,255,.6); margin-bottom:3px; text-transform:uppercase; letter-spacing:1px; }
.c-val { font-size:.8rem; color:#fff; font-weight:700; letter-spacing:.8px; }
.c-network { display:flex; }
.c-circle { width:32px; height:32px; border-radius:50%; opacity:.85; }
.c-circle:first-child { background:rgba(255,255,255,.55); }
.c-circle:last-child { background:rgba(255,255,255,.32); margin-left:-12px; }
.card-types { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
.ctype { padding:7px 16px; border-radius:7px; font-size:.82rem; font-weight:600; border:1px solid var(--border); background:var(--card); color:var(--muted); cursor:pointer; transition:all .2s; }
.ctype.active,.ctype:hover { border-color:var(--orange); color:var(--orange); background:rgba(255,102,0,.08); }

/* ===== POS ===== */
.pos-visual { display:flex; justify-content:center; align-items:center; }
.pos-terminal { background:linear-gradient(145deg,#1c2230,#252d3d); border-radius:22px; width:186px; border:1px solid rgba(255,102,0,.2); box-shadow:0 24px 60px rgba(0,0,0,.5),0 0 40px rgba(255,102,0,.08); animation:float2 6s ease-in-out infinite; }
.pos-screen { background:#091525; margin:14px 14px 0; border-radius:10px; height:110px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(255,102,0,.13); }
.pos-screen .pa { font-size:1.3rem; font-weight:900; color:var(--orange); }
.pos-screen .pl { font-size:.46rem; color:#7a8799; letter-spacing:1px; text-transform:uppercase; }
.pos-screen .ps { font-size:.44rem; color:#4ade80; margin-top:8px; }
.pos-keypad { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; padding:10px 14px 18px; }
.pos-key { background:rgba(255,255,255,.06); border-radius:7px; height:26px; display:flex; align-items:center; justify-content:center; font-size:.6rem; color:#7a8799; font-weight:600; }
.pos-key.g { background:rgba(74,222,128,.14); color:#4ade80; }
.pos-key.r { background:rgba(248,113,113,.14); color:#f87171; }
.pos-key.o { background:rgba(255,102,0,.18); color:var(--orange); }
.benefit-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:28px; }
.benefit { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:22px; transition:all .3s; }
.benefit:hover { border-color:var(--orange); transform:translateY(-2px); }
.benefit svg { color:var(--orange); margin-bottom:10px; }
.benefit h4 { font-size:.9rem; margin-bottom:6px; }
.benefit p { font-size:.82rem; }

/* ===== ABOUT ===== */
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin-top:60px; }
.value-card { background:transparent; border-radius:var(--radius-lg); padding:24px; text-align:left; transition:all .3s; }
.value-card:hover { background:rgba(255,102,0,.06); box-shadow:0 10px 30px -10px var(--orange-glow); transform:translateY(-4px); }
.value-icon { width:50px; height:50px; background:rgba(255,102,0,.1); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; color:var(--orange); }
.value-num {
  display:inline-flex; align-items:center; justify-content:center;
  width:60px; height:60px; border-radius:14px; margin-bottom:28px;
  font-family:'Poppins',Arial,sans-serif; font-weight:700; font-size:1.3rem;
  background:rgba(255,102,0,.1); color:var(--orange); transition:all .3s;
}
.value-card:hover .value-num { background:linear-gradient(135deg,var(--orange),var(--orange-dark)); color:#fff; }
.value-card h4 { margin-bottom:12px; font-size:1.25rem; }
.value-card p { font-size:1rem; line-height:1.6; }

/* ===== ABOUT: OUR COMPANY ===== */
.company-list { list-style:none; display:flex; flex-direction:column; gap:22px; }
.company-list li { padding-left:18px; border-left:2px solid var(--orange); color:var(--muted); font-size:.98rem; line-height:1.7; }

/* ===== ABOUT: GUIDING PRINCIPLES ===== */
.principles-outer {
  max-width:920px; margin:0 auto;
  border-radius:0; overflow:hidden;
  box-shadow:0 30px 60px -12px var(--orange-glow), 0 4px 14px rgba(0,0,0,.1);
}
.principles-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.principle-card {
  padding:72px 46px; text-align:center; transition:all .3s;
  display:flex; flex-direction:column; align-items:center;
}
.principle-card:first-child { background:#f26522; }
.principle-card:last-child { background:#e04e0a; }
.principle-card svg { margin-bottom:22px; color:#fff; }
.principle-card h3 {
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif; font-weight:700;
  font-size:1.3rem; margin-bottom:14px; color:#fff;
}
.principle-card p { color:rgba(255,255,255,.85); font-size:.95rem; line-height:1.7; max-width:260px; }
@media(max-width:640px) {
  .values-grid { grid-template-columns:1fr 1fr; }
  .principles-grid { grid-template-columns:1fr; }
}
.about-stats { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.astat { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:28px 22px; text-align:center; border-top:3px solid var(--orange); transition:all .3s; }
.astat:hover { transform:translateY(-3px); box-shadow:var(--shadow-o); }
.astat .num { font-size:2.2rem; font-weight:800; color:var(--orange); }
.astat .lbl { font-size:.85rem; color:var(--muted); margin-top:6px; }

/* ===== CTA BANNER ===== */
.cta-section { padding:88px 0; background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); text-align:center; }
.cta-inner { max-width:600px; margin:0 auto; }
.cta-inner h2 { margin-bottom:14px; }
.cta-inner p { font-size:1rem; margin-bottom:36px; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ===== CONTACT ===== */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:56px; }
.contact-item { display:flex; align-items:flex-start; gap:15px; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-item:last-child { border-bottom:none; }
.c-ico { width:42px; height:42px; background:rgba(255,102,0,.1); border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--orange); flex-shrink:0; }
.contact-item h4 { font-size:.8rem; color:var(--muted); margin-bottom:3px; }
.contact-item p { color:var(--text); font-size:.9rem; }
.contact-form { background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:36px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.8rem; color:var(--muted); margin-bottom:7px; font-weight:500; }
.form-group input,.form-group select,.form-group textarea {
  width:100%; background:var(--bg3); border:1px solid var(--border); border-radius:8px;
  padding:11px 14px; color:var(--text); font-size:.875rem; outline:none; transition:border-color .2s; font-family:inherit;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(255,102,0,.1); }
.form-group textarea { resize:vertical; min-height:110px; }
.form-group select option { background:var(--bg3); color:var(--text); }
#formMsg { margin-top:14px; font-size:.85rem; text-align:center; padding:11px; border-radius:8px; display:none; }
#formMsg.success { background:rgba(74,222,128,.1); color:#4ade80; border:1px solid rgba(74,222,128,.2); display:block; }
#formMsg.error { background:rgba(248,113,113,.1); color:#f87171; border:1px solid rgba(248,113,113,.2); display:block; }

/* ===== FOOTER ===== */
footer {
  background:var(--bg2);
  border-top:1px solid var(--border);
  position:relative;
  overflow:hidden; /* keeps the oversized watermark from spilling outside the footer */
}

/* Single large logo watermark, right side only — not tiled. The
   background-image itself is set inline in footer.php (via $basePath),
   the same way the visible logo already works. */
.footer-watermark {
  content:"";
  position:absolute;
  top:50%;
  right:-90px;
  width:600px;
  height:1110px; /* matches the logo mark's aspect ratio (157x290) scaled up — adjust if this logo's proportions differ */
  transform:translateY(-50%);
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  opacity:.08;
  pointer-events:none;
  z-index:0;
}

/* Everything inside the footer sits above the watermark layer */
footer .container { position:relative; z-index:1; }

.footer-top { padding:48px 0 8px; }
.footer-logo { display:inline-block; }
.footer-logo img { height:84px; width:auto; display:block; }

.footer-main { padding:32px 0 44px; display:grid; grid-template-columns:1fr 1fr 1fr 1.2fr; gap:36px; }
.socials { display:flex; gap:9px; }
.soc { width:36px; height:36px; background:transparent; border:none; border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--muted); transition:all .2s; }
.soc:hover { color:var(--orange); }

/* Brand colors — always on */
.soc-facebook { color:#1877F2; }
.soc-facebook:hover { color:#1877F2; }

.soc-instagram { color:#E4405F; } /* fallback if gradient unsupported */
.soc-instagram:hover { color:#E4405F; }

.soc-linkedin { color:#0A66C2; }
.soc-linkedin:hover { color:#0A66C2; }
.footer-col h5 { color:var(--text); font-size:.87rem; margin-bottom:18px; font-weight:700; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:var(--muted); font-size:.83rem; transition:color .2s; }
.footer-col ul li a:hover { color:var(--orange); }

.reach-list { list-style:none; }
.reach-list li { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.reach-list li svg { flex-shrink:0; color:var(--orange); margin-top:2px; }
.reach-list li span,
.reach-list li a { color:var(--muted); font-size:.83rem; line-height:1.6; transition:color .2s; }
.reach-list li a:hover { color:var(--orange); }

.footer-regulatory { padding:22px 0; border-top:1px solid var(--border); text-align:center; }
.footer-regulatory p { font-size:.8rem; color:var(--muted); margin:0; }

.footer-bottom { padding:22px 0; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.footer-bottom .footer-copyright { font-size:.77rem; color:var(--muted); }
.footer-legal { display:flex; gap:22px; }
.footer-legal a { font-size:.77rem; color:var(--muted); transition:color .2s; }
.footer-legal a:hover { color:var(--orange); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .stats-grid,.values-grid { grid-template-columns:repeat(2,1fr); }
  .services-grid,.deposit-plans { grid-template-columns:repeat(2,1fr); }
  .footer-main { grid-template-columns:1fr 1fr; }
  .footer-reach { grid-column:1 / -1; }
}
@media(max-width:768px) {
  section { padding:68px 0; }
  .nav-links,.nav-actions { display:none; }
  .hamburger { display:flex; }
  .grid-2,.panel.active,.contact-grid { grid-template-columns:1fr; gap:36px; }
  .services-grid,.deposit-plans,.loan-types,.benefit-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:repeat(2,1fr); }
  .footer-main { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  /* centre the social icons and copyright on mobile */
  .footer-bottom .socials { justify-content:center; align-self:center; width:100%; }
  .footer-bottom .footer-copyright { align-self:center; width:100%; text-align:center; }
  /* same size as desktop (600px wide), pushed so half of it sits inside the screen */
  .footer-watermark { right:-300px; }
  .form-row { grid-template-columns:1fr; }
  .atm-card { width:300px; height:185px; }
  .page-banner { padding:130px 0 60px; min-height:320px; }
}
@media(max-width:480px) {
  .footer-main { grid-template-columns:1fr 1fr; gap:28px 20px; }
  .footer-reach { grid-column:1 / -1; }
  .values-grid,.stats-grid { grid-template-columns:1fr 1fr; }
  .hero-ctas,.cta-btns,.store-btns { flex-direction:column; align-items:center; }
  .tabs { width:100%; }
  .tab { flex:1; padding:11px 10px; font-size:.8rem; text-align:center; }
  .steps { grid-template-columns:1fr; }
  .hero-stats { gap:20px; }
  .about-stats { grid-template-columns:1fr; }
}

/* ===== DROPDOWN SUBMENU ===== */
.has-dropdown { position:relative; }
.has-dropdown > a { display:flex; align-items:center; gap:4px; }
.chevron { transition:transform .25s; flex-shrink:0; }
.has-dropdown:hover .chevron { transform:rotate(180deg); }
.dropdown {
  position:absolute; top:100%; left:50%;
  transform:translateX(-50%) translateY(-6px);
  background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius);
  min-width:215px; padding:16px 6px 6px; box-shadow:var(--shadow); z-index:200;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .22s,visibility .22s,transform .22s;
}
.has-dropdown:hover .dropdown { opacity:1; visibility:visible; pointer-events:all; transform:translateX(-50%) translateY(0); }
.dropdown::before {
  content:''; position:absolute; top:5px; left:50%;
  transform:translateX(-50%) rotate(45deg);
  width:10px; height:10px; background:var(--bg2);
  border-left:1px solid var(--border); border-top:1px solid var(--border);
}
.dropdown a {
  display:flex; align-items:center; gap:10px;
  padding:10px 13px; color:var(--muted); font-size:.85rem;
  border-radius:8px; transition:all .2s; white-space:nowrap;
}
.dropdown a:hover { color:var(--orange); background:rgba(255,102,0,.08); }
.drop-ico {
  width:28px; height:28px; background:rgba(255,102,0,.1); border-radius:7px;
  display:flex; align-items:center; justify-content:center; color:var(--orange); flex-shrink:0;
}
.mobile-sub {
  padding-left:18px; border-left:2px solid var(--border); margin:0;
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .32s ease, opacity .25s ease, margin .32s ease;
}
.mobile-sub a { display:block !important; padding:9px 0 !important; color:var(--muted) !important; font-size:.875rem !important; border-bottom:none !important; }
.mobile-sub a:hover { color:var(--orange) !important; }

/* Click-to-expand mobile dropdowns */
.mobile-has-dropdown { border-bottom:1px solid var(--border); }
.mobile-has-dropdown .mobile-parent-row {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.mobile-has-dropdown .mobile-parent-row a {
  flex:1; border-bottom:none !important; padding:16px 0 !important;
}
.mobile-dropdown-toggle {
  flex-shrink:0; width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:none; border:none; padding:0; cursor:pointer; color:var(--muted); transition:color .2s;
}
.mobile-dropdown-toggle:hover { color:var(--orange); }
.mobile-chevron { transition:transform .28s ease; }
.mobile-has-dropdown.open .mobile-chevron { transform:rotate(180deg); color:var(--orange); }
.mobile-has-dropdown.open .mobile-sub { max-height:260px; opacity:1; margin:2px 0 12px; }

/* ===== PROFILE CARDS (Leadership & Management) ===== */
.profiles-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:28px; margin-bottom:60px; }
.profiles-grid > .profile-card { flex:0 1 calc(33.333% - 19px); }
@media(max-width:1100px) { .profiles-grid > .profile-card { flex-basis:calc(50% - 14px); } }
@media(max-width:540px)  { .profiles-grid > .profile-card { flex-basis:100%; } }

.profile-card {
  position:relative; overflow:hidden; padding:0;
  aspect-ratio:3/4; border-radius:var(--radius-lg);
  border:1px solid var(--border); cursor:pointer;
  transition:transform .3s, border-color .3s, box-shadow .3s;
}
.profile-card:hover { transform:translateY(-7px); border-color:var(--orange); box-shadow:var(--shadow-o); }

.profile-card::before {
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to bottom, transparent 38%, rgba(6,8,14,.94) 100%);
}

.profile-avatar {
  position:absolute; inset:0; width:100%; height:100%;
  border-radius:0; margin:0; border:none; box-shadow:none;
  background:linear-gradient(135deg,var(--orange-dark),var(--orange));
  display:flex; align-items:center; justify-content:center;
  font-size:3.5rem; font-weight:800; color:rgba(255,255,255,.25);
  overflow:hidden; flex-shrink:0;
}
.profile-avatar img { width:100%; height:100%; object-fit:cover; object-position:top center; display:block; border-radius:0; }

.profile-name {
  position:absolute; bottom:52px; left:18px; right:18px; z-index:2;
  font-size:1.05rem; font-weight:700; color:#fff; margin:0; text-align:left;
}
.profile-role {
  position:absolute; bottom:28px; left:18px; right:56px; z-index:2;
  font-size:.68rem; color:var(--orange); font-weight:700;
  letter-spacing:.8px; text-transform:uppercase; display:block; margin:0;
  text-align:left;
}
.profile-divider { display:none; }
.profile-bio    { display:none; }

.team-section-title { display:flex; align-items:center; gap:16px; margin-bottom:40px; }
.team-section-title h2 { margin:0; white-space:nowrap; }
.team-section-title::after { content:''; flex:1; height:1px; background:var(--border); }
.leadership-intro { max-width:820px; margin:0 auto 48px; text-align:center; }
.leadership-intro p { color:var(--muted); font-size:1.02rem; line-height:1.8; }
.leadership-intro p + p { margin-top:14px; }
.section-sep { border:none; border-top:1px solid var(--border); margin:64px 0; }

/* ===== PROFILE CTA ICON ===== */
.profile-cta-icon {
  position:absolute; bottom:14px; right:14px; z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,102,0,.22); color:#fff;
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  transition:background .25s, transform .25s;
  animation:cta-ring 2.4s ease-in-out infinite;
}
.profile-card:hover .profile-cta-icon {
  background:var(--orange);
  transform:scale(1.12);
  animation:none;
}
@keyframes cta-ring {
  0%,100% { box-shadow:0 0 0 0 rgba(255,102,0,.5); }
  55%      { box-shadow:0 0 0 10px rgba(255,102,0,0); }
}

/* ===== PROFILE MODAL ===== */
.profile-modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:1500;
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.profile-modal-overlay.open { opacity:1; visibility:visible; }
.profile-modal {
  background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-lg);
  max-width:540px; width:100%; padding:44px 40px 40px;
  position:relative; max-height:90vh; overflow-y:auto;
  transform:translateY(28px) scale(.96); transition:transform .32s cubic-bezier(.34,1.56,.64,1);
}
.profile-modal-overlay.open .profile-modal { transform:translateY(0) scale(1); }
.modal-close {
  position:absolute; top:14px; right:14px; background:rgba(255,102,0,.1);
  border:1px solid var(--border); cursor:pointer; width:36px; height:36px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:all .2s; z-index:5;
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
}
.modal-close:hover { background:rgba(255,102,0,.22); color:var(--text); }
.modal-avatar-wrap { display:flex; justify-content:center; margin-bottom:22px; }
.modal-avatar {
  width:140px; height:140px; border-radius:50%;
  background:linear-gradient(135deg,var(--orange-dark),var(--orange));
  display:flex; align-items:center; justify-content:center;
  font-size:2.6rem; font-weight:800; color:#fff; letter-spacing:1px;
  border:4px solid rgba(255,102,0,.28); flex-shrink:0;
  box-shadow:0 0 0 10px rgba(255,102,0,.07);
  overflow:hidden;
}
.modal-avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }
.modal-name { text-align:center; font-size:1.18rem; font-weight:700; color:var(--text); margin-bottom:6px; }
.modal-role {
  display:block; text-align:center; font-size:.7rem; color:var(--orange);
  font-weight:700; letter-spacing:.9px; text-transform:uppercase; margin-bottom:18px;
}
.modal-divider { width:44px; height:2px; background:var(--orange); margin:0 auto 22px; border-radius:2px; opacity:.45; }
.modal-bio { font-size:.9rem; color:var(--muted); line-height:1.85; text-align:center; margin:0; }
@media(max-width:480px){
  .profile-modal { padding:36px 22px 28px; }
  .modal-avatar { width:88px; height:88px; font-size:1.7rem; }
}

/* ===== SERVICE DETAIL MODAL ===== */
.svc-modal-overlay {
  position:fixed; inset:0; background:rgba(10,8,6,.72); z-index:1500;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.svc-modal-overlay.open { opacity:1; visibility:visible; }
.svc-modal {
  background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-lg);
  max-width:720px; width:100%; padding:0; overflow:hidden;
  position:relative; max-height:90vh; overflow-y:auto;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  transform:translateY(28px) scale(.96); transition:transform .32s cubic-bezier(.34,1.56,.64,1);
}
.svc-modal-overlay.open .svc-modal { transform:translateY(0) scale(1); }

.svc-modal-grid { display:grid; grid-template-columns:270px 1fr; align-items:stretch; }

.svc-modal-media { position:relative; overflow:hidden; background:var(--bg3); min-height:100%; }
.svc-modal-media img { width:100%; height:100%; object-fit:cover; display:block; }
.svc-modal-media::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(165deg, rgba(232,119,34,.28), rgba(10,8,6,.55) 88%);
  mix-blend-mode:multiply;
}
.svc-modal-media::before {
  content:none;
}

.svc-modal-body { padding:46px 44px 42px 38px; }
.svc-modal-eyebrow {
  display:block; font-size:.68rem; font-weight:700; letter-spacing:2.2px;
  text-transform:uppercase; color:var(--orange); margin-bottom:16px;
}
.svc-modal-title {
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; font-weight:600;
  font-size:1.75rem; line-height:1.18; letter-spacing:-.2px;
  margin-bottom:18px; padding-right:30px; text-align:left; color:var(--text);
}
.svc-modal-desc { font-size:.93rem; color:var(--muted); line-height:1.85; text-align:left; margin:0 0 30px; }
.svc-modal-divider { width:36px; height:2px; background:var(--orange); margin:0 0 20px; border-radius:2px; }
.svc-modal-subhead {
  text-align:left; font-weight:700; margin-bottom:16px;
  letter-spacing:.3px; text-transform:uppercase; color:var(--text); font-size:.78rem;
}
.svc-modal-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.svc-modal-list li { display:flex; align-items:flex-start; gap:12px; font-size:.9rem; color:var(--muted); line-height:1.5; }
.svc-modal-list li::before {
  content:''; width:6px; height:6px; border-radius:50%;
  border:1.5px solid var(--orange); background:transparent;
  margin-top:6px; flex-shrink:0;
}

@media(max-width:640px){
  .svc-modal-grid { grid-template-columns:1fr; }
  .svc-modal-media { aspect-ratio:16/9; }
  .svc-modal-body { padding:34px 26px 30px; }
  .svc-modal-title { font-size:1.45rem; }
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position:fixed; left:0; right:0; bottom:0; z-index:3000;
  background:#0f1218; border-top:1px solid rgba(255,102,0,0.18);
  box-shadow:0 -8px 40px rgba(0,0,0,.35);
  transform:translateY(100%); opacity:0; pointer-events:none;
  transition:transform .42s cubic-bezier(.34,1.36,.64,1), opacity .3s;
}
.cookie-consent.show { transform:translateY(0); opacity:1; pointer-events:all; }

.cookie-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; padding:20px 24px; flex-wrap:wrap;
}
.cookie-text {
  font-size:.85rem; color:#a8b0bf; line-height:1.7;
  margin:0; flex:1; min-width:260px;
}
.cookie-text strong { color:#e8eaf0; font-weight:700; }
.cookie-text .cookie-policy-lnk {
  color:var(--orange); text-decoration:underline; text-underline-offset:3px;
}
.cookie-text .cookie-policy-lnk:hover { color:var(--orange-light); }

.cookie-btns { display:flex; gap:12px; flex-shrink:0; }
.cookie-btn-primary, .cookie-btn-secondary {
  padding:11px 22px; font-size:.85rem; font-weight:600;
  border-radius:8px; cursor:pointer; transition:all .2s; white-space:nowrap;
}
.cookie-btn-primary { background:var(--orange); color:#fff; border:none; }
.cookie-btn-primary:hover { background:var(--orange-dark); }
.cookie-btn-secondary {
  background:transparent; color:#a8b0bf; border:1px solid rgba(255,102,0,0.18);
}
.cookie-btn-secondary:hover { color:#e8eaf0; border-color:var(--orange); }

@media(max-width:700px) {
  .cookie-inner { flex-direction:column; align-items:stretch; gap:16px; padding:18px 16px; }
  .cookie-btns { width:100%; }
  .cookie-btn-primary, .cookie-btn-secondary { flex:1; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position:fixed; right:28px; bottom:28px; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background:var(--bg2); border:1.5px solid var(--orange);
  color:var(--orange); display:flex; align-items:center; justify-content:center;
  cursor:pointer; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, background .2s, color .2s;
}
.back-to-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { background:var(--orange); color:#fff; }
@media(max-width:480px) {
  .back-to-top { right:16px; bottom:16px; width:42px; height:42px; }
}
/* ===== REGULATORY STRIP ===== */
.regulatory-strip {
  padding:10px 0;
  margin-bottom:56px;
}
.regulatory-strip p {
  font-size:.85rem; color:var(--muted); line-height:1.6;
  text-align:center;
}
.regulatory-strip strong { color:var(--text); }

/* ===== OFFERINGS SECTION ===== */
.offerings-section { background:var(--bg); position:relative; padding-top:24px; }
.offerings-section::after {
  content:''; position:absolute; left:0; right:0; bottom:0;
  height:1px; background:var(--border);
}
.services-section { border-top:1px solid var(--border); }
.offerings-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;
}
.offer-list { display:flex; flex-direction:column; }
.offer-item {
  position:relative; padding:22px 0 22px 28px; cursor:pointer;
  border-left:2px solid var(--border); transition:border-color .3s ease;
}
.offer-item h3 {
  font-size:1.1rem; margin-bottom:10px; color:var(--muted); transition:color .3s ease;
}
.offer-item p {
  font-size:.92rem; line-height:1.8; color:var(--muted);
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .4s ease, opacity .35s ease, margin .35s ease;
}
.offer-item.active {
  border-left-color:var(--orange);
}
.offer-item.active h3 { color:var(--orange); }
.offer-item.active p { max-height:200px; opacity:1; }
.offer-item:not(.active):hover h3 { color:var(--text); }
.offer-item:not(.active):hover { border-left-color:var(--muted); }

.offer-media {
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  aspect-ratio:4/3.1;
}
.offer-media img {
  display:block; width:100%; height:100%; object-fit:cover;
  opacity:1; transition:opacity .28s ease;
}
.offer-media img.fading { opacity:0; }

@media(max-width:860px) {
  .offerings-grid { grid-template-columns:1fr; gap:40px; }
  .offer-media { order:-1; aspect-ratio:16/10; }
}

/* Scroll-driven mode (class added by main.js): the section is tall and its
   content stays pinned to the screen while each service opens in turn */
.offerings-section.is-pinned { padding:0; height:calc(100vh + var(--steps, 3) * 70vh); }
.offerings-section.is-pinned .regulatory-strip { display:none; }
.offerings-section.is-pinned .offerings-sticky {
  position:sticky; top:0; height:100vh; height:100svh;
  padding:var(--header-h, 96px) 0 24px;
}
.offerings-section.is-pinned .offerings-sticky > .container {
  height:100%; display:flex; flex-direction:column; justify-content:center;
}
.offerings-section.is-pinned .section-header { margin-bottom:clamp(14px, 3.5vh, 40px); }
.offerings-section.is-pinned .section-header h2 {
  font-size:clamp(1.35rem, min(3.5vw, 5vh), 2.6rem); margin-bottom:0;
}
.offerings-section.is-pinned .offerings-grid {
  flex:0 1 500px; min-height:0; width:100%; grid-template-rows:minmax(0, 1fr);
}
.offerings-section.is-pinned .offer-media { height:100%; min-height:0; aspect-ratio:auto; }
.offerings-section.is-pinned .offer-item { transition:border-color .3s ease, transform .4s ease; }
.offerings-section.is-pinned .offer-item.active { transform:translateX(6px); }
.offerings-section.is-pinned .offer-item.active p { max-height:360px; }
.offerings-section.is-pinned .offer-media img {
  position:absolute; inset:0;
  transform:scale(1.04); transition:opacity .28s ease, transform .9s ease;
}
.offerings-section.is-pinned .offer-media img.fading { transform:scale(1.1); }

/* Shorter laptop screens: tighten the text so everything fits */
@media (min-width:861px) and (max-height:720px) {
  .offerings-section.is-pinned .offer-item { padding-top:14px; padding-bottom:14px; }
  .offerings-section.is-pinned .offer-item h3 { margin-bottom:6px; }
  .offerings-section.is-pinned .offer-item p { font-size:.86rem; line-height:1.65; }
}

/* Phones and tablets: image on top takes whatever height is left over */
@media (max-width:860px) {
  .offerings-section.is-pinned .offerings-sticky { padding:var(--header-h, 80px) 0 12px; }
  .offerings-section.is-pinned .section-header { margin-bottom:14px; }
  .offerings-section.is-pinned .section-header h2 { font-size:clamp(1.2rem, 5.4vw, 1.9rem); }
  .offerings-section.is-pinned .offerings-grid {
    flex:0 1 760px; gap:14px; grid-template-rows:minmax(0, 1fr) auto;
  }
  .offerings-section.is-pinned .offer-item { padding:10px 0 10px 18px; }
  .offerings-section.is-pinned .offer-item h3 { font-size:.98rem; margin-bottom:0; }
  .offerings-section.is-pinned .offer-item p { font-size:.82rem; line-height:1.55; }
  .offerings-section.is-pinned .offer-item.active p { margin-top:6px; }
}

@media (prefers-reduced-motion: reduce) {
  .offerings-section.is-pinned .offer-item.active,
  .offerings-section.is-pinned .offer-media img,
  .offerings-section.is-pinned .offer-media img.fading { transform:none; }
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial-section { padding:0; }
.testimonial-grid {
  display:grid; grid-template-columns:minmax(280px,38%) 1fr;
  min-height:520px;
}
.testimonial-media { position:relative; overflow:hidden; }
.testimonial-media img { width:100%; height:100%; object-fit:cover; display:block; }
.testimonial-content {
  background:var(--orange); color:#fff;
  display:flex; flex-direction:column; justify-content:center;
  padding:64px 72px;
}
.testimonial-quote-mark {
  font-family:Georgia, 'Times New Roman', serif; font-size:3.4rem; line-height:1;
  color:rgba(255,255,255,.55); margin-bottom:8px;
}
.testimonial-text {
  font-size:1.35rem; line-height:1.6; font-weight:500;
  color:#fff; max-width:760px; margin-bottom:28px;
}
.testimonial-author { display:flex; flex-direction:column; gap:4px; }
.testimonial-author strong { font-size:.95rem; color:#fff; }
.testimonial-author span { font-size:.85rem; color:rgba(255,255,255,.75); }

@media(max-width:860px) {
  .testimonial-grid { grid-template-columns:1fr; }
  .testimonial-media { aspect-ratio:16/10; }
  .testimonial-content { padding:44px 28px; }
  .testimonial-text { font-size:1.1rem; }
}

/* ===== FAQ SECTION ===== */
.faq-section { background:var(--bg); }
.faq-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start;
}
.faq-list { display:flex; flex-direction:column; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:20px; background:none; border:none; cursor:pointer;
  padding:20px 0; text-align:left; font-family:inherit;
  font-size:1rem; font-weight:600; color:var(--text);
}
.faq-icon {
  flex-shrink:0; width:22px; height:22px; display:flex; align-items:center; justify-content:center;
  font-size:1.15rem; font-weight:400; color:var(--orange); transition:transform .3s ease;
}
.faq-item.active .faq-icon { transform:rotate(45deg); }
.faq-a {
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .4s ease, opacity .35s ease;
}
.faq-a p { font-size:.92rem; line-height:1.8; color:var(--muted); padding-bottom:20px; }
.faq-item.active .faq-a { max-height:260px; opacity:1; }

.faq-media {
  border-radius:var(--radius-lg); overflow:hidden;
  aspect-ratio:4/3.1;
}
.faq-media img { display:block; width:100%; height:100%; object-fit:cover; }

@media(max-width:860px) {
  .faq-grid { grid-template-columns:1fr; gap:36px; }
  .faq-media { order:-1; aspect-ratio:16/10; }
}

/* ===== INVESTMENT PRODUCTS PAGE ===== */
.invest-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:26px; }
.invest-card {
  flex:1 1 320px; max-width:380px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:38px 32px 34px; text-align:left; position:relative;
  transition:transform .35s ease, box-shadow .35s ease; box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.invest-card:hover { transform:translateY(-5px); box-shadow:0 18px 40px rgba(0,0,0,.14); }
.invest-badge {
  display:inline-block; margin-bottom:16px; padding:4px 12px;
  border:1px solid var(--border); border-radius:50px;
  font-size:.66rem; font-weight:700; letter-spacing:1px;
  color:var(--orange); background:rgba(255,102,0,.06);
}
.invest-card h3 {
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; font-weight:600;
  font-size:1.28rem; line-height:1.25; letter-spacing:-.2px;
  margin-bottom:14px; color:var(--text); text-align:left;
}
.invest-card p { font-size:.9rem; line-height:1.85; color:var(--muted); margin-bottom:22px; text-align:left; }
.invest-card .svc-link { margin-top:0; }

/* ===== INVESTMENT DETAIL MODAL ===== */
.invest-modal-overlay {
  position:fixed; inset:0; background:rgba(10,8,6,.72); z-index:1500;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.invest-modal-overlay.open { opacity:1; visibility:visible; }
.invest-modal {
  background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-lg);
  max-width:560px; width:100%; padding:50px 46px 44px;
  position:relative; max-height:90vh; overflow-y:auto; text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  transform:translateY(28px) scale(.96); transition:transform .32s cubic-bezier(.34,1.56,.64,1);
}
.invest-modal-overlay.open .invest-modal { transform:translateY(0) scale(1); }
.invest-modal-title {
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; font-weight:600;
  font-size:1.7rem; line-height:1.25; letter-spacing:-.2px;
  margin-bottom:16px; color:var(--text); text-align:center;
}
.invest-modal-badge { display:none; margin-bottom:20px; }
.invest-modal-desc { font-size:.92rem; color:var(--muted); line-height:1.85; text-align:left; margin:0 0 18px; }
.invest-modal-desc:last-of-type { margin-bottom:0; }

@media(max-width:600px) {
  .invest-modal { padding:40px 26px 32px; }
  .invest-modal-title { font-size:1.4rem; }
}
/* ===== PORTFOLIO MANAGEMENT PAGE ===== */
.pm-intro { padding:96px 0; background:var(--bg); }
.pm-intro .grid-2 { align-items:start; }
.pm-intro p { margin-bottom:20px; font-size:1rem; }
.pm-intro p:last-child { margin-bottom:0; }
.pm-intro h2 { margin-bottom:18px; }
.mmf-offerings-label { margin-bottom:10px !important; }
.mmf-offering { padding-left:18px; border-left:2px solid var(--orange); }
.mmf-lead {
  max-width:760px; margin:64px auto 0; text-align:center;
  font-size:1.05rem; line-height:1.85; color:var(--muted);
}

/* ===== FUND DETAIL CARD ===== */
.fund-detail-section { padding:0 0 96px; background:var(--bg); }
.fund-card {
  max-width:820px; margin:0 auto;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  border-radius:var(--radius-lg); padding:48px 52px;
  box-shadow:0 30px 60px -12px var(--orange-glow), 0 4px 14px rgba(0,0,0,.1);
}
.fund-card h3 {
  font-family:'Fraunces',Georgia,'Times New Roman',serif; font-weight:600;
  font-size:1.6rem; color:#fff; text-align:center; margin-bottom:28px;
}
.fund-list { list-style:disc; padding-left:22px; display:flex; flex-direction:column; gap:20px; }
.fund-list li { color:#fff; font-size:.98rem; line-height:1.7; }
.fund-list li::marker { color:rgba(255,255,255,.7); }

/* ===== PROFESSIONAL BODIES / PARTNERS ===== */
.partners-section { padding:0 0 96px; background:var(--bg); text-align:center; }
.partners-heading {
  font-family:'Poppins',Arial,sans-serif; font-weight:700;
  font-size:1.2rem; color:var(--text); margin-bottom:40px;
}
.partners-row {
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:48px;
}
.partners-row img { height:64px; width:auto; object-fit:contain; }
.partners-row img:not(:first-child) { height:80px; }
@media(max-width:640px) {
  .fund-card { padding:36px 24px; }
  .partners-row { gap:28px; }
  .partners-row img { height:48px; }
  .partners-row img:not(:first-child) { height:60px; }
}
.pm-hero-media { border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3.3; }
.pm-hero-media img { width:100%; height:100%; object-fit:cover; display:block; }

/* Investment products grid */
.ip-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:26px; align-items:start; }
.ip-card {
  background:var(--card); border:none; border-radius:26px;
  padding:34px 30px 30px; box-shadow:0 30px 60px -12px rgba(0,0,0,.14), 0 4px 14px rgba(0,0,0,.06);
  transition:transform .3s ease, box-shadow .3s ease;
}
.ip-card:hover { transform:translateY(-5px); box-shadow:0 34px 70px -10px rgba(0,0,0,.2), 0 6px 18px rgba(0,0,0,.08); }
.ip-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; cursor:pointer; margin-bottom:24px; }
.ip-head-left { display:flex; align-items:center; gap:14px; }
.ip-icon { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ip-icon.c-purple { background:rgba(108,92,231,.14); color:#6c5ce7; }
.ip-icon.c-green  { background:rgba(16,185,129,.16); color:#059669; }
.ip-icon.c-pink   { background:rgba(239,68,68,.14);  color:#dc2626; }
.ip-icon.c-orange { background:rgba(245,158,11,.16); color:#d97706; }
.ip-icon.c-blue   { background:rgba(59,130,246,.14); color:#2563eb; }
.ip-title { font-family:'Fraunces',Georgia,'Times New Roman',serif; font-weight:600; font-size:1.12rem; line-height:1.3; color:var(--text); text-align:left; }
.ip-chevron { color:var(--muted); flex-shrink:0; margin-top:4px; transition:transform .3s ease, color .25s; }
.ip-card:hover .ip-chevron { color:var(--orange); }
.ip-card.open .ip-chevron { transform:rotate(180deg); }
.ip-body { max-height:0; overflow:hidden; opacity:0; transition:max-height .45s ease, opacity .35s ease; }
.ip-card.open .ip-body { max-height:1400px; opacity:1; }
.ip-row { display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); }
.ip-row:last-child { border-bottom:none; padding-bottom:0; }
.ip-row svg { color:var(--muted); flex-shrink:0; margin-top:3px; }
.ip-row-body { flex:1; }
.ip-row-label { font-size:.68rem; letter-spacing:.7px; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:5px; }
.ip-row-value { font-size:.92rem; color:var(--text); line-height:1.5; }
.ip-pill { display:inline-block; background:#1a1a2e; color:#fff; padding:6px 14px; border-radius:20px; font-size:.83rem; font-weight:700; }
[data-theme="dark"] .ip-pill { background:#161b24; }
.ip-tag { display:inline-block; background:var(--bg3); color:var(--muted); padding:5px 14px; border-radius:20px; font-size:.8rem; font-weight:600; border:1px solid var(--border); }
.ip-desc { font-size:.92rem; color:var(--muted); line-height:1.85; text-align:left; margin:20px 0 0; padding-top:20px; border-top:1px solid var(--border); }
.ip-checklist { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.ip-checklist li { display:flex; align-items:flex-start; gap:10px; font-size:.9rem; color:var(--text); }
.ip-checklist svg { color:#059669; flex-shrink:0; margin-top:2px; }

.ip-cta-wrap { display:flex; justify-content:center; margin-top:48px; }

/* This section's panels hold a single product grid rather than the
   default two-column layout, so override the generic .panel.active rule */
.offerings-section .panel.active { display:block; }

@media(max-width:768px){
  .pm-intro { padding:60px 0; }
}
/* Careers page — benefit cards */
.career-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cbenefit {
  background: var(--card);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 32px;
  text-align: center;
}
.cbenefit h4 { font-size: 1.05rem; margin-bottom: 14px; }
.cbenefit p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .career-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .career-benefits { grid-template-columns: 1fr; }
}
/* ===== OPEN ROLES / JOB LISTING CARDS ===== */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-row {
  display: flex;
  gap: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 34px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  padding: 28px 32px;
  min-height: 210px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.job-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,.16), 0 4px 12px rgba(0,0,0,.08);
}

.job-row-image {
  flex: 0 0 180px;
  width: 180px;
  height: 100%;
  min-height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
}
.job-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-row-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.job-dept {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--orange);
  border: 0;
  border-radius: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.job-type {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  font-size: .8rem;
  font-weight: 700;
}

.job-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text);
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--muted);
}
.job-meta svg { flex-shrink: 0; color: var(--orange); }

.job-desc {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}
.job-desc-clamp .job-desc-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-desc-clamp {
  display: block;
}

.job-readmore {
  display: inline-block;
  margin-top: 4px;
  background: none;
  border: none;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.job-readmore:hover { text-decoration: underline; }

.job-actions {
  margin-top: auto;
  padding-top: 6px;
}

.job-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: .9rem;
  transition: gap .2s ease;
}
.job-apply-link:hover { gap: 12px; }
.job-apply-link svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .job-row { flex-direction: column; min-height: 0; padding: 28px 24px; }
  .job-row-image { width: 100%; height: 200px; min-height: 0; flex: none; }
}

/* ===== JOB DETAILS MODAL ===== */
.job-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,.72);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.job-modal-overlay.open { opacity: 1; visibility: visible; }

.job-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 48px 44px 40px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateY(28px) scale(.96);
  transition: transform .32s cubic-bezier(.34,1.56,.64,1);
}
.job-modal-overlay.open .job-modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.modal-close:hover { border-color: var(--orange); color: var(--orange); }

.job-modal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.job-modal-title {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--text);
}

.job-modal-meta { margin-bottom: 0; }

.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.job-modal-desc {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--muted);
  white-space: pre-line;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .job-modal { padding: 40px 26px 32px; }
  .job-modal-title { font-size: 1.25rem; }
}
/* ===== WHISTLEBLOWING PAGE ===== */
.form-checkbox-row { display:flex; align-items:flex-start; gap:10px; margin-bottom:20px; }
.form-checkbox-row input[type="checkbox"] {
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  margin:2px 0 0;
  border:2px solid var(--orange);
  border-radius:4px;
  background:transparent;
  flex-shrink:0;
  cursor:pointer;
  position:relative;
}
.form-checkbox-row input[type="checkbox"]:checked { background:var(--orange); }
.form-checkbox-row input[type="checkbox"]:checked::after {
  content:"";
  position:absolute;
  left:4px;
  top:0;
  width:4px;
  height:9px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.form-checkbox-row input[type="checkbox"]:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.form-checkbox-row label { font-size:.83rem; color:var(--muted); cursor:pointer; }
.assurance-box {
  display:flex; gap:14px; align-items:flex-start;
  background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px 20px; margin-top:24px;
}
.assurance-box svg { color:var(--orange); flex-shrink:0; margin-top:2px; }
.assurance-box p { font-size:.83rem; color:var(--muted); line-height:1.7; margin:0; }

/* ===== LEGAL / POLICY PAGES ===== */
.legal-wrap { max-width:820px; margin:0 auto; }
.legal-paper {
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:56px 64px; box-shadow:var(--shadow);
}
.legal-updated { text-align:center; margin-bottom:8px; }
.legal-toc {
  background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px 26px; margin-bottom:48px;
}
.legal-toc h5 { font-size:.85rem; color:var(--text); margin-bottom:12px; font-weight:700; }
.legal-toc ol { padding-left:20px; margin:0; columns:2; gap:24px; }
.legal-toc li { margin-bottom:8px; }
.legal-toc a { font-size:.83rem; color:var(--muted); transition:color .2s; }
.legal-toc a:hover { color:var(--orange); }

.legal-section { margin-bottom:44px; scroll-margin-top:110px; }
.legal-section h2 {
  font-size:1.3rem; color:var(--text); margin-bottom:16px;
  padding-bottom:12px; border-bottom:1px solid var(--border);
}
.legal-section h3 { font-size:1rem; color:var(--text); margin:22px 0 10px; }
.legal-section p { font-size:.92rem; color:var(--muted); line-height:1.85; margin-bottom:14px; }
.legal-section ul { padding-left:20px; margin-bottom:14px; }
.legal-section ul li { font-size:.92rem; color:var(--muted); line-height:1.85; margin-bottom:6px; }
.legal-section a { color:var(--orange); text-decoration:underline; text-underline-offset:3px; }

@media(max-width:600px) {
  .legal-toc ol { columns:1; }
  .legal-paper { padding:36px 24px; }
}

/* ===== STAFF / CLIENT LOGIN PAGES ===== */
.login-wrap { max-width:440px; margin:0 auto; }
.login-card { background:var(--card); border:none; border-radius:var(--radius-lg); padding:52px 44px; box-shadow:0 12px 40px rgba(0,0,0,.12); }
.login-icon-badge {
  width:56px; height:56px; margin:0 auto 20px;
  background:rgba(255,102,0,.1); border:1px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--orange);
}
.login-foot { text-align:center; font-size:.85rem; margin-top:22px; }
.login-foot a { color:var(--orange); font-weight:600; }
.login-foot a:hover { text-decoration:underline; }

/* ===== SECURE ACCESS / LOGIN SELECT PAGE ===== */
.portal-grid {
  display:flex; flex-wrap:wrap; justify-content:center; gap:26px;
  max-width:820px; margin:0 auto;
}
.portal-card {
  position:relative; flex:1 1 320px; max-width:380px;
  aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden;
  background-size:cover; background-position:center;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  padding:28px 24px; box-shadow:var(--shadow);
  transition:transform .35s ease, box-shadow .35s ease;
}
.portal-card:hover { transform:translateY(-6px); box-shadow:0 18px 44px rgba(0,0,0,.28); }
.portal-overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,10,14,0) 40%, rgba(8,10,14,.85) 100%);
  z-index:0;
}
.portal-icon {
  position:relative; z-index:1;
  width:56px; height:56px; margin-bottom:14px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,102,0,.16); border:1px solid rgba(255,255,255,.3);
  border-radius:50%; color:#fff;
  transition:background .25s ease;
}
.portal-card:hover .portal-icon { background:var(--orange); }
.portal-card h3 {
  position:relative; z-index:1; color:#fff; text-align:center;
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; font-weight:600;
  font-size:1.3rem; letter-spacing:-.2px;
}
.portal-return { text-align:center; margin-top:40px; }
.portal-return a {
  font-family:'Fraunces', Georgia, 'Times New Roman', serif;
  color:var(--muted); font-size:.92rem; transition:color .2s;
}
.portal-return a:hover { color:var(--orange); }

@media(max-width:600px) {
  .portal-card { aspect-ratio:4/4; }
}
/* ===== BLOG BANNER ===== */
.blog-banner { display:flex; align-items:center; }
.blog-banner-inner { max-width:640px; }
.blog-banner-label {
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--orange); background:rgba(255,102,0,.14);
  border:1px solid rgba(255,102,0,.3); border-radius:50px; padding:6px 16px; margin-bottom:18px;
}

/* ===== BLOG LIST PAGE ===== */
.blog-list-page { padding:72px 0 96px; background:var(--bg); }

/* Category tabs: bold uppercase text with an orange underline on the active one */
.blog-list-tabs {
  display:flex; flex-wrap:wrap; gap:14px 54px; margin-bottom:48px;
}
.blog-list-tab {
  position:relative; padding:6px 0 22px;
  font-size:.95rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  color:var(--nav-ink, #1c1f26); background:none; border:0; border-radius:0;
  transition:color .25s ease;
}
.blog-list-tab::after {
  content:''; position:absolute; left:0; bottom:0; width:100%; height:3px;
  background:var(--orange); transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.blog-list-tab:hover { color:var(--orange); }
.blog-list-tab.active { color:var(--orange); }
.blog-list-tab.active::after { transform:scaleX(1); }
@media (max-width:768px) {
  .blog-list-tabs {
    flex-wrap:wrap; gap:6px 22px; overflow-x:visible; margin-bottom:36px;
  }
  .blog-list-tab { flex:0 0 auto; white-space:nowrap; font-size:.8rem; padding:6px 0 14px; }
}

.blog-list-items {
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-bottom:56px;
}
.blog-list-item {
  display:flex; flex-direction:column; background:var(--card); border:none;
  border-radius:var(--radius-lg); overflow:hidden; transition:transform .3s ease, box-shadow .3s ease;
  box-shadow:0 14px 36px rgba(0,0,0,.16), 0 3px 10px rgba(0,0,0,.08);
}
.blog-list-item:hover { transform:translateY(-6px); box-shadow:0 26px 56px rgba(0,0,0,.24), 0 6px 16px rgba(0,0,0,.1); }
.blog-list-item-thumb { aspect-ratio:16/10; overflow:hidden; background:var(--bg3); }
.blog-list-item-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.blog-list-item:hover .blog-list-item-thumb img { transform:scale(1.06); }
.blog-list-item-placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted);
}
.blog-list-item-content { padding:24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.blog-list-item-meta {
  display:flex; align-items:center; gap:8px; font-size:.78rem; color:var(--muted); margin-bottom:12px;
}
.blog-list-item-cat { color:var(--orange); font-weight:800; }
.blog-list-item-dot { color:var(--muted); }
.blog-list-item-title {
  font-size:1.2rem; line-height:1.35; margin-bottom:10px; color:var(--nav-ink, var(--text));
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; font-weight:600;
}
.blog-list-item-excerpt {
  font-size:.9rem; color:var(--muted); line-height:1.65; margin-bottom:18px; font-weight:500;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-list-item-readmore {
  margin-top:auto; display:inline-flex; align-items:center; gap:6px;
  font-size:.85rem; font-weight:700; color:var(--orange); transition:gap .25s ease;
}
.blog-list-item:hover .blog-list-item-readmore { gap:10px; }
.blog-list-empty { text-align:center; padding:60px 0; color:var(--muted); font-size:1rem; }

/* ===== BLOG PAGINATION ===== */
.blog-pagination {
  display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:64px;
}
.blog-pagination-num {
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; font-size:.85rem; font-weight:600; color:var(--muted);
  background:var(--card); border:1px solid var(--border); transition:all .2s ease;
}
.blog-pagination-num:hover { border-color:var(--orange); color:var(--orange); }
.blog-pagination-num.active { background:var(--orange); color:#fff; border-color:var(--orange); }
.blog-pagination-text {
  padding:9px 18px; border-radius:50px; font-size:.82rem; font-weight:700;
  color:var(--orange); border:1px solid var(--border); background:var(--card); transition:all .2s ease;
}
.blog-pagination-text:hover { background:var(--orange); color:#fff; border-color:var(--orange); }

.home-blog-app-img { border-radius:var(--radius-lg); overflow:hidden; }
.home-blog-app-img img { width:100%; display:block; }

/* ===== SINGLE POST PAGE ===== */
.post-article-section { padding:150px 0 40px; background:var(--bg); }
.post-layout { display:grid; grid-template-columns:220px 1fr; gap:56px; align-items:start; }
.post-layout-no-toc { grid-template-columns:1fr; max-width:760px; margin:0 auto; }

/* -- Table of contents -- */
.post-toc { position:sticky; top:110px; }
.post-toc-inner {
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px 20px;
}
.post-toc-label {
  display:block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); margin-bottom:14px;
}
.post-toc-nav { display:flex; flex-direction:column; gap:2px; }
.post-toc-link {
  font-size:.85rem; color:var(--muted); padding:7px 0 7px 14px; border-left:2px solid var(--border);
  line-height:1.4; transition:color .2s ease, border-color .2s ease;
}
.post-toc-link:hover { color:var(--orange); }
.post-toc-link.active { color:var(--orange); border-left-color:var(--orange); font-weight:600; }
.post-toc-h3 { padding-left:26px; font-size:.8rem; }

/* -- Post content -- */
.post-content { max-width:760px; }
.post-meta-row {
  display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--muted); margin-bottom:16px;
}
.post-meta-cat { color:var(--orange); font-weight:700; }
.post-meta-dot { color:var(--muted); }
.post-article-title {
  margin-bottom:18px; font-family:'Fraunces', Georgia, 'Times New Roman', serif;
}
.post-article-excerpt { font-size:1.1rem; color:var(--muted); line-height:1.7; margin-bottom:28px; }

.post-cover {
  width:100%; max-height:460px; object-fit:cover; border-radius:var(--radius-lg);
  margin-bottom:32px; opacity:0; transition:opacity .5s ease; background:var(--bg3);
}
.post-cover.loaded { opacity:1; }

.post-author-row { display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.post-author-avatar {
  width:38px; height:38px; border-radius:50%; background:var(--orange); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.95rem;
}
.post-author-name { font-size:.9rem; font-weight:600; color:var(--text); }

.post-body { font-size:1.02rem; line-height:1.85; color:var(--text); }
.post-body p { margin-bottom:22px; }
.post-body h2 {
  margin:44px 0 18px; font-size:clamp(1.4rem,3vw,1.9rem);
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; scroll-margin-top:110px;
}
.post-body h3 {
  margin:32px 0 14px; font-size:clamp(1.1rem,2.5vw,1.3rem); scroll-margin-top:110px;
}
.post-body ul, .post-body ol { margin:0 0 22px 24px; }
.post-body li { margin-bottom:8px; line-height:1.75; }
.post-body a { color:var(--orange); text-decoration:underline; text-underline-offset:3px; }
.post-body img { max-width:100%; border-radius:var(--radius); margin:12px 0 28px; }
.post-body blockquote {
  border-left:3px solid var(--orange); padding:6px 24px; margin:28px 0;
  color:var(--muted); font-style:italic; font-size:1.05rem;
}
.post-body code {
  background:var(--bg3); padding:2px 7px; border-radius:5px; font-size:.9em;
}
.post-body pre {
  background:var(--bg3); padding:20px; border-radius:var(--radius); overflow-x:auto; margin-bottom:24px;
}
.post-body table { width:100%; border-collapse:collapse; margin-bottom:28px; }
.post-body th, .post-body td { padding:10px 14px; border:1px solid var(--border); text-align:left; font-size:.92rem; }
.post-body th { background:var(--bg3); font-weight:700; }

.post-back-row {
  display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:44px;
  padding-top:28px; border-top:1px solid var(--border);
}
/* Push "More in <category>" to the far right, keep "Back to Blog" on the left */
.post-back-row > :last-child:not(:only-child) { margin-left:auto; }

/* -- Read next -- */
.read-next-section { padding:64px 0 96px; background:var(--bg2); border-top:1px solid var(--border); }
.read-next-heading { margin-bottom:28px; font-family:'Fraunces', Georgia, 'Times New Roman', serif; }
.read-next-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.read-next-card {
  display:flex; flex-direction:column; background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; transition:transform .3s ease, box-shadow .3s ease;
}
.read-next-card:hover { transform:translateY(-5px); box-shadow:0 16px 36px rgba(0,0,0,.12); }
.read-next-card-img { aspect-ratio:16/9; overflow:hidden; background:var(--bg3); }
.read-next-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.read-next-card:hover .read-next-card-img img { transform:scale(1.06); }
.read-next-card-placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted);
}
.read-next-card-title { padding:18px 20px 22px; font-size:1.02rem; line-height:1.4; color:var(--text); }

/* ===== BLOG / POST RESPONSIVE ===== */
@media(max-width:1000px) {
  .blog-list-items { grid-template-columns:repeat(2,1fr); }
  .post-layout { grid-template-columns:1fr; }
  .post-toc { position:static; margin-bottom:32px; }
  .post-toc-nav { flex-direction:row; flex-wrap:wrap; gap:8px; }
  .post-toc-link { border-left:none; border:1px solid var(--border); border-radius:50px; padding:6px 14px; }
  .post-toc-link.active { border-color:var(--orange); background:rgba(255,102,0,.1); }
  .post-toc-h3 { padding-left:14px; }
}
@media(max-width:640px) {
  .blog-list-items { grid-template-columns:1fr; }
  .read-next-grid { grid-template-columns:1fr; }

}

/* ===== SOLID NAVBAR (pages with no dark hero, e.g. single blog post) ===== */
.nav-solid .navbar,
body:has(.calc-section) .navbar {
  background:var(--navbar-bg); padding:12px 0;
  border-bottom:1px solid var(--border); box-shadow:var(--shadow);
}
.nav-solid .nav-links a,
body:has(.calc-section) .nav-links a { color:var(--text); }
.nav-solid .nav-links a.active,
body:has(.calc-section) .nav-links a.active { color:var(--orange); }

/* ===== VIDEO PRELOADER ===== */
html.preloader-active, html.preloader-active body { overflow:hidden; height:100%; }
.preloader {
  position:fixed; inset:0; z-index:99999;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg2);
  opacity:1; visibility:visible;
  transition:opacity .6s ease, visibility .6s ease;
}
.preloader-logo {
  width:min(220px, 45vw); height:auto; display:block;
  animation:preloaderPulse 1.4s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:.6; transform:scale(.94); }
}

/* ===== APPLY PAGE ===== */
.apply-hero {
  position:relative; min-height:680px; display:flex; align-items:center;
  background-color:var(--bg); background-size:cover; background-position:center;
  padding:170px 0 90px; overflow:hidden;
}
.apply-hero::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(8,10,14,0.88) 0%,rgba(8,10,14,0.55) 65%),
             radial-gradient(ellipse at 20% 50%,rgba(232,119,34,.12) 0%,transparent 50%);
  z-index:0;
}
.apply-hero::after {
  content:''; position:absolute; left:0; right:0; bottom:-1px; height:80px;
  background:linear-gradient(to bottom, transparent, var(--bg2));
  z-index:1; pointer-events:none;
}
.apply-hero-inner { position:relative; z-index:1; }
.apply-hero-tag {
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; color:#ff6600; margin-bottom:16px;
}
.apply-hero h1 { color:#fff; font-size:2.7rem; max-width:640px; margin-bottom:28px; }
.apply-hero .highlight { color:#ff6600; }

.apply-section { padding:0 0 88px; background:var(--bg2); position:relative; z-index:2; }
.apply-layout { max-width:820px; margin:0 auto; margin-top:0; position:relative; z-index:2; }
#applicationForm { scroll-margin-top:140px; }

.apply-card {
  background:var(--card); border:none; border-radius:var(--radius-lg);
  padding:36px; margin-bottom:24px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.35), 0 2px 0 rgba(255,255,255,.02) inset;
}

.apply-form { background:transparent; border:none; padding:0; }

.apply-form .form-group input,
.apply-form .form-group select,
.apply-form .form-group textarea { border-color:rgba(0,0,0,.1); }
.apply-form .form-group input:focus,
.apply-form .form-group select:focus,
.apply-form .form-group textarea:focus { border-color:var(--orange); }
.apply-form .yes-toggle-box { border-color:rgba(0,0,0,.15); }
.apply-card h3 { font-size:1.15rem; margin-bottom:24px; }
.apply-attest {
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.apply-attest .yes-toggle { flex:1; min-width:260px; }

.yes-toggle {
  display:flex; align-items:center; gap:12px; cursor:pointer; user-select:none;
  font-size:.85rem; color:var(--text); line-height:1.5;
}
.yes-toggle input { position:absolute; opacity:0; width:0; height:0; }
.yes-toggle-box {
  flex-shrink:0; width:20px; height:20px; border-radius:6px;
  border:1.5px solid var(--border); background:var(--bg3);
  display:flex; align-items:center; justify-content:center; transition:all .2s;
}
.yes-toggle-box::after {
  content:''; width:10px; height:10px; border-radius:2px; background:#ff6600;
  transform:scale(0); transition:transform .15s;
}
.yes-toggle input:checked + .yes-toggle-box { border-color:#ff6600; }
.yes-toggle input:checked + .yes-toggle-box::after { transform:scale(1); }
.yes-toggle input:focus-visible + .yes-toggle-box { box-shadow:0 0 0 3px rgba(232,119,34,.2); }
.yes-toggle.error .yes-toggle-box { border-color:#f87171; box-shadow:0 0 0 3px rgba(248,113,113,.12); }

.apply-form .form-group input.error,
.apply-form .form-group select.error,
.apply-form .form-group textarea.error { border-color:#f87171; box-shadow:0 0 0 3px rgba(248,113,113,.1); }

@media (max-width: 768px) {
  .apply-hero { min-height:auto; padding:120px 0 56px; }
  .apply-hero h1 { font-size:2rem; }
  .apply-layout { margin-top:24px; }
  .apply-card { padding:24px; }
}
.preloader.preloader-hide { opacity:0; visibility:hidden; pointer-events:none; }

/* Video preloader (home page) — background matches the video's own colour (#ffffff)
   so the clip blends seamlessly into the screen in both light and dark theme */
.preloader--video { background:#ffffff; --preloader-size:400px; }  /* <- change this to resize the logo animation */
.preloader-video {
  width:min(var(--preloader-size), 90vw); height:auto; display:block;
  aspect-ratio:16/9; object-fit:contain; pointer-events:none;
  mix-blend-mode:multiply;   /* video's white drops out, so no visible 'card' edge */
}
@media (max-width:768px) {
  .preloader--video { --preloader-size:300px; }
}

/* ==========================================================
   LATEST NEWS SECTION (Investing.com market feed)
   Paste this block into styles.css
   ========================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card, #fff);
  border: 1px solid var(--border-neutral);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.news-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.06);
}

.news-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange, #f5811f);
  background: linear-gradient(135deg, #fff3e8, #fbe4cf);
}

.news-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange, #f5811f);
}

.news-body h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
  color: var(--text);
}

.news-card:hover .news-body h3 {
  color: var(--orange, #f5811f);
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--gray, #777);
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== INVESTMENT CALCULATOR (goal planner redesign) ===== */
.calc-section {
  --c-bg:#f9efe5; --c-ink:#241a13; --c-mute:#7b6c61; --c-rust:#b5470c; --c-pill:#b84a0b;
  --c-orange:#ff6600; --c-dark:#2b211b; --c-amber:#f5a64a; --c-mint:#52d29a; --c-green:#1d9a63;
  --c-peach:#fde6d1; --c-line:#eadccf;
  background:var(--c-bg); color:var(--c-ink);
  font-family:'Instrument Sans','Segoe UI',system-ui,sans-serif;
  padding:175px 0 70px;
}
.calc-section *, .calc-section *::before, .calc-section *::after { box-sizing:border-box; }
.cg-wrap { max-width:980px; margin:0 auto; padding:0 24px; }
.cg-crumb { font-size:.72rem; color:var(--c-mute); margin-bottom:14px; }
.cg-crumb b { color:var(--c-rust); font-weight:500; }
.cg-h1 { font-size:clamp(2.1rem,5vw,2.9rem); line-height:1.04; font-weight:700; letter-spacing:-.035em; color:var(--c-ink); max-width:520px; margin-bottom:16px; }
.cg-lede { font-size:.92rem; line-height:1.6; color:var(--c-mute); max-width:470px; margin-bottom:26px; }
.cg-lede b { color:var(--c-ink); font-weight:700; }

/* chips */
.cg-chips { display:flex; flex-wrap:wrap; gap:10px; }
.cg-chip {
  font-family:inherit; font-size:.8rem; font-weight:500; color:var(--c-ink);
  padding:10px 20px; border-radius:50px; background:#fff; border:1px solid var(--c-line);
  cursor:pointer; transition:background .2s, color .2s, border-color .2s;
}
.cg-chip:hover { border-color:var(--c-pill); }
.cg-chip.active { background:var(--c-pill); border-color:var(--c-pill); color:#fff; font-weight:600; }
.cg-chip:focus-visible, .cg-btn:focus-visible { outline:2px solid var(--c-orange); outline-offset:2px; }
.cg-chips-sm { gap:8px; }
.cg-chips-sm .cg-chip { font-size:.74rem; padding:8px 15px; }

/* dark result card */
.cg-dark {
  position:relative; overflow:hidden; margin-top:30px;
  background:var(--c-dark); color:#fff; border-radius:22px; padding:30px 34px 26px;
}
.cg-dark::before {
  content:''; position:absolute; top:-30px; right:40px; width:190px; height:190px; border-radius:50%;
  background:radial-gradient(circle, rgba(222,128,40,.42) 0%, transparent 70%); pointer-events:none;
}
.cg-dark-inner { position:relative; display:grid; grid-template-columns:.8fr 1.5fr; gap:34px; align-items:start; }
.cg-eyebrow { display:block; font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em; color:var(--c-rust); margin-bottom:10px; }
.cg-dark .cg-eyebrow { color:#e8a050; }
.cg-dark-title { font-size:1.28rem; font-weight:600; letter-spacing:-.01em; color:#fff; margin-bottom:20px; }
.cg-stat { margin-bottom:16px; }
.cg-stat-label { font-size:.68rem; color:rgba(255,255,255,.5); margin-bottom:3px; }
.cg-stat-value { font-size:1.6rem; font-weight:700; letter-spacing:-.02em; color:#fff; line-height:1.15; }
.cg-stat-value.amber { color:var(--c-amber); }
.cg-stat-value.mint { color:var(--c-mint); }
.cg-chart { width:100%; height:165px; display:block; }
.cg-note { font-size:.7rem; line-height:1.6; color:rgba(255,255,255,.72); margin-top:14px; max-width:430px; }
.cg-note b { color:var(--c-mint); font-weight:700; }

/* info cards */
.cg-info { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.cg-card { background:#fff; border-radius:18px; padding:24px 24px 22px; }
.cg-card h3 { font-size:1.1rem; font-weight:700; letter-spacing:-.01em; color:var(--c-ink); margin-bottom:8px; }
.cg-card p { font-size:.8rem; line-height:1.65; color:var(--c-mute); }
.cg-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:16px 0 14px; padding-top:16px; border-top:1px solid var(--c-line); }
.cg-card-stat b { display:block; font-size:1.2rem; font-weight:700; color:var(--c-rust); letter-spacing:-.01em; }
.cg-card-stat b.green { color:var(--c-green); }
.cg-card-stat span { font-size:.68rem; color:var(--c-mute); }
.cg-callout { background:var(--c-peach); border-radius:10px; padding:12px 14px; font-size:.72rem; line-height:1.55; color:var(--c-mute); }
.cg-callout b { color:var(--c-rust); font-weight:700; }

/* builder */
.cg-builder { display:grid; grid-template-columns:1.5fr 1fr; gap:44px; margin-top:64px; align-items:start; }
.cg-builder h2 { font-size:1.6rem; line-height:1.15; font-weight:700; letter-spacing:-.03em; color:var(--c-ink); margin-bottom:10px; }
.cg-builder h2 em { display:block; font-style:normal; color:var(--c-orange); }
.cg-builder-lede { font-size:.76rem; line-height:1.6; color:var(--c-mute); max-width:400px; margin-bottom:22px; }
.cg-step { margin-bottom:20px; }
.cg-step-label { display:block; font-size:.68rem; font-weight:700; color:var(--c-ink); margin-bottom:9px; }
.cg-row2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cg-field {
  display:flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--c-line);
  border-radius:10px; padding:0 14px; min-height:42px; font-size:.76rem; color:var(--c-mute);
  transition:border-color .2s, box-shadow .2s;
}
.cg-field:focus-within { border-color:var(--c-orange); box-shadow:0 0 0 3px rgba(255,102,0,.12); }
.cg-field input, .cg-field select {
  flex:1; min-width:0; border:none; outline:none; background:transparent;
  font-family:inherit; font-size:.76rem; color:var(--c-ink); font-weight:500; padding:11px 0;
}
.cg-field-full { margin-top:10px; }
.cg-custom { margin-top:10px; max-width:200px; display:none; }
.cg-custom.show { display:flex; }
.cg-btn {
  display:block; width:100%; margin-top:6px; padding:15px 20px; border:none; border-radius:50px; cursor:pointer;
  background:var(--c-orange); color:#fff; font-family:inherit; font-size:.8rem; font-weight:700;
  transition:transform .2s, box-shadow .2s;
}
.cg-btn:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(255,102,0,.35); }
.cg-fine { font-size:.66rem; line-height:1.6; color:var(--c-mute); margin-top:12px; max-width:400px; }
.cg-fine b { color:var(--c-ink); font-weight:600; }
.cg-fine a { color:var(--c-rust); font-weight:700; text-decoration:none; }

/* milestone card */
.cg-ms { border-radius:18px; overflow:hidden; background:var(--c-dark); color:#fff; box-shadow:0 12px 36px rgba(60,30,10,.18); }
.cg-ms-head { padding:18px 20px 16px; background:linear-gradient(135deg,#ff7a1a 0%,#c9500a 100%); }
.cg-ms-head small { display:block; font-size:.55rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.8); margin-bottom:6px; }
.cg-ms-head strong { display:block; font-size:1.7rem; font-weight:700; letter-spacing:-.02em; line-height:1.1; }
.cg-ms-head span { display:block; font-size:.62rem; color:rgba(255,255,255,.82); margin-top:8px; }
.cg-ms-row { display:flex; justify-content:space-between; gap:12px; padding:11px 20px; border-top:1px solid rgba(255,255,255,.08); font-size:.66rem; color:rgba(255,255,255,.62); }
.cg-ms-row b { color:#fff; font-weight:700; text-align:right; }
.cg-ms-row b.amber { color:var(--c-amber); }
.cg-ms-row b.mint { color:var(--c-mint); }
.cg-ms-progress { padding:12px 20px 14px; }
.cg-ms-progress .cg-ms-row { padding:0 0 8px; border:none; }
.cg-bar { height:5px; border-radius:5px; background:rgba(255,255,255,.12); overflow:hidden; }
.cg-bar i { display:block; height:100%; width:2%; background:var(--c-orange); border-radius:5px; transition:width .35s ease; }
.cg-ms-foot { padding:12px 20px 16px; border-top:1px solid rgba(255,255,255,.08); font-size:.55rem; line-height:1.6; color:rgba(255,255,255,.4); }

.cg-legal { margin-top:46px; padding-top:18px; border-top:1px solid var(--c-line); font-size:.66rem; line-height:1.7; color:var(--c-mute); }
.cg-legal b { color:var(--c-ink); font-weight:600; }

/* quick calculator */
.cg-quick { margin-top:70px; padding-top:50px; border-top:1px solid var(--c-line); }
.cg-quick h2 { font-size:1.6rem; font-weight:700; letter-spacing:-.03em; margin-bottom:8px; color:var(--c-ink); }
.cg-quick-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:30px; align-items:start; margin-top:24px; }
.cg-quick .cg-field select { cursor:pointer; }
.cg-quick-cards { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.cg-quick-cards .cg-card h3 { font-size:1rem; }

@media (max-width:860px) {
  .calc-section { padding-top:140px; }
  .cg-dark-inner, .cg-builder, .cg-quick-grid { grid-template-columns:1fr; }
  .cg-dark { padding:26px 22px 22px; }
  .cg-builder { gap:34px; margin-top:48px; }
}
@media (max-width:640px) {
  .cg-info, .cg-quick-cards, .cg-row2 { grid-template-columns:1fr; }
}
/* ===== RESOURCES / FORMS LIBRARY ===== */
.resources-section { padding-top:76px; }
.resources-toolbar {
  display:flex; align-items:center; justify-content:center;
  margin-bottom:36px;
}
.resources-search {
  display:flex; align-items:center; gap:10px;
  background:var(--bg2); border:1.5px solid var(--border);
  border-radius:50px; padding:12px 20px; width:100%; max-width:420px;
  color:var(--muted);
}
.resources-search svg { flex-shrink:0; color:var(--muted); }
.resources-search input {
  border:none; background:transparent; outline:none; width:100%;
  font-family:inherit; font-size:.85rem; color:var(--text);
}
.resources-search input::placeholder { color:var(--muted); }

.resource-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.resource-list {
  display:flex; flex-direction:column;
  background:var(--card); border:1px solid var(--border-neutral);
  border-radius:var(--radius-lg); overflow:hidden;
}
.resource-card {
  display:flex; flex-direction:column;
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:26px;
  transition:transform .28s ease, box-shadow .28s ease;
}
.resource-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.resource-icon {
  width:46px; height:46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,102,0,.1); color:var(--orange); margin-bottom:18px;
}
.resource-body { flex:1; margin-bottom:20px; }
.resource-body h3 { font-size:1.02rem; margin-bottom:8px; }
.resource-body p { font-size:.85rem; line-height:1.65; }
.resource-foot {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding-top:16px; border-top:1px solid var(--border);
}
.resource-meta { font-size:.72rem; color:var(--muted); letter-spacing:.3px; }
.resource-download { white-space:nowrap; }
.resource-card.hidden { display:none; }

.resource-row {
  display:flex; flex-direction:row; align-items:center; gap:16px;
  padding:20px 26px; border:none; border-bottom:1px solid var(--border-neutral);
  background:transparent; border-radius:0; transition:background .2s ease;
}
.resource-row:last-child { border-bottom:none; }
.resource-row:hover { background:var(--bg3); transform:none; box-shadow:none; }
.resource-link-icon { flex-shrink:0; color:var(--muted); }
.resource-row-title { flex:1; font-size:.92rem; font-weight:600; color:var(--text); }
.resource-row:hover .resource-row-title { color:var(--orange); }
.resource-row:hover .resource-link-icon { color:var(--muted); }
.resource-chevron { flex-shrink:0; color:var(--muted); transition:transform .2s ease, color .2s ease; }
.resource-row:hover .resource-chevron { color:var(--text); transform:translateX(3px); }
@media(max-width:640px) {
  .resource-row { padding:16px 20px; gap:12px; }
  .resource-row-title { font-size:.86rem; }
}

.resource-group { border-bottom:1px solid var(--border-neutral); }
.resource-group.hidden { display:none; }
.resource-group-toggle {
  width:100%; display:flex; align-items:center; gap:16px;
  padding:20px 26px; border:none; background:transparent; cursor:pointer;
  font-family:inherit; text-align:left; transition:background .2s ease;
}
.resource-group-toggle:hover { background:var(--bg3); }
.resource-group-toggle .resource-row-title { letter-spacing:.3px; }
.resource-group-chevron { flex-shrink:0; color:var(--muted); transition:transform .25s ease; }
.resource-group.open .resource-group-chevron { transform:rotate(180deg); }
.resource-group-panel {
  max-height:0; overflow:hidden;
  transition:max-height .35s ease;
  background:var(--bg3);
}
.resource-group.open .resource-group-panel { max-height:2000px; }
.resource-subrow { padding-left:56px; border-bottom:1px solid var(--border-neutral); }
.resource-subrow:last-child { border-bottom:none; }
@media(max-width:640px) {
  .resource-group-toggle { padding:16px 20px; gap:12px; }
  .resource-subrow { padding-left:40px; }
}

.resources-empty { text-align:center; color:var(--muted); font-size:.9rem; margin-top:20px; }

.resources-help { margin-top:60px; }
.resources-help-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
  background:var(--bg3); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:34px 38px;
}
.resources-help-inner h3 { margin-bottom:6px; font-size:1.15rem; }
.resources-help-inner p { font-size:.88rem; max-width:460px; }

@media(max-width:1024px) {
  .resource-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:768px) {
  .resource-grid { grid-template-columns:1fr; }
  .resources-toolbar { flex-direction:column; align-items:stretch; }
  .resources-search { min-width:0; }
  .resources-help-inner { flex-direction:column; align-items:flex-start; }
}
/* ===== 404 / ERROR PAGE ===== */
.error-page {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}
.error-page::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: error-glow 6s ease-in-out infinite;
}
@keyframes error-glow {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
.error-page .container { position: relative; z-index: 1; }

.error-visual { position: relative; display: flex; justify-content: center; }
.error-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 170px; height: 170px;
  margin: -85px 0 0 -85px;
  border: 1.5px dashed var(--border);
  border-radius: 50%;
  animation: spin-slow 18s linear infinite;
  pointer-events: none;
}
.error-orbit::before,
.error-orbit::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
}
.error-orbit::after { animation-delay: 1.5s; }

.error-code {
  position: relative;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: float 4s ease-in-out infinite;
}

.error-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.error-inner h1 { font-size: 1.9rem; margin-bottom: 14px; }
.error-inner p { font-size: 1.02rem; margin-bottom: 34px; }
.error-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.error-links {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding-top: 32px; border-top: 1px solid var(--border-neutral);
}
.error-links a {
  font-size: .85rem; color: var(--muted); padding: 8px 16px;
  border: 1px solid var(--border-neutral); border-radius: 50px;
  transition: all .2s;
}
.error-links a:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

@media (max-width: 640px) {
  .error-page { padding: 130px 0 70px; }
  .error-btns { flex-direction: column; align-items: stretch; }
  .error-orbit { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
}

/* =====================================================================
   FLOATING PILL NAVBAR  (shrinks into a pill once the page is scrolled)
   main.js already adds .scrolled to #navbar after 40px of scroll on every
   page, so this is CSS only. Kept at the end of the file so it wins over
   the older .navbar rules above. Width is animated through max-width
   (never "auto"), so the whole morph is smooth.
   ===================================================================== */
.navbar {
  --pill-ease: .5s cubic-bezier(.22,1,.36,1);
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 0;
  transition: max-width var(--pill-ease), margin var(--pill-ease),
              padding var(--pill-ease), border-radius var(--pill-ease),
              background var(--pill-ease), box-shadow var(--pill-ease),
              border-color var(--pill-ease);
}
.logo img { transition: height .5s cubic-bezier(.22,1,.36,1); }

.navbar.scrolled,
.nav-solid .navbar.scrolled,
body:has(.calc-section) .navbar.scrolled {
  max-width: min(1100px, calc(100vw - 32px));
  margin: 12px auto 0;
  padding: 6px 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--navbar-bg);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}
.navbar.scrolled .logo img { height: 56px; width: auto; }

@media (max-width: 768px) {
  .navbar.scrolled,
  .nav-solid .navbar.scrolled,
  body:has(.calc-section) .navbar.scrolled {
    max-width: calc(100vw - 28px);
    margin: 10px auto 0;
    padding: 4px 0;
    border-radius: 20px;
  }
  .navbar.scrolled .logo img { height: 48px; }
}


/* ---- Pill refinement: neutral border, soft glass, tighter, fully rounded ---- */
.navbar.scrolled,
.nav-solid .navbar.scrolled,
body:has(.calc-section) .navbar.scrolled {
  max-width: min(1020px, calc(100vw - 32px));
  margin-top: 14px;
  padding: 4px 0;
  border: 1px solid rgba(128,128,128,.22);
  border-radius: 999px;
  background: color-mix(in srgb, var(--navbar-bg) 86%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
          backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.22),
              0 2px 6px rgba(0,0,0,.06),
              inset 0 1px 0 rgba(255,255,255,.45);
}
.navbar.scrolled .container { padding: 0 22px; }
.navbar.scrolled .nav-links > li > a,
.navbar.scrolled .nav-links a {
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 500;
  border-radius: 999px;
}
.navbar.scrolled .nav-actions { gap: 8px; }
.navbar.scrolled .nav-actions .btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .82rem;
}
@media (max-width: 768px) {
  .navbar.scrolled,
.nav-solid .navbar.scrolled,
body:has(.calc-section) .navbar.scrolled {
    max-width: calc(100vw - 28px);
    margin-top: 10px;
    border-radius: 999px;
  }
  .navbar.scrolled .container { padding: 0 16px; }
}

/* =====================================================================
   WIDE FROSTED-GLASS PILL NAVBAR  (matches reference design)
   Paste at the very END of css/styles.css so it overrides the earlier
   "Floating pill" rules. No HTML/JS changes needed for this part.
   ===================================================================== */

:root {
  --nav-ink: #1c1f26;                      /* link text, light theme */
  --nav-glass: rgba(255, 255, 255, .86);   /* pill background */
  --nav-glass-border: rgba(255, 255, 255, .85);
  --nav-btn-bg: rgba(255, 255, 255, .7);
  --nav-btn-border: rgba(0, 0, 0, .14);
}
[data-theme="dark"] {
  --nav-ink: #e8eaf0;
  --nav-glass: rgba(14, 17, 23, .72);
  --nav-glass-border: rgba(255, 255, 255, .12);
  --nav-btn-bg: rgba(255, 255, 255, .06);
  --nav-btn-border: rgba(255, 255, 255, .18);
}

/* ---- The pill itself: wider, lighter, more translucent ---- */
.navbar.scrolled,
.nav-solid .navbar.scrolled,
body:has(.calc-section) .navbar.scrolled {
  max-width: min(1100px, calc(100vw - 48px));
  margin: 12px auto 0;
  padding: 8px 0;
  border: 1px solid var(--nav-glass-border);
  border-radius: 26px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
          backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .22),
              0 2px 8px rgba(0, 0, 0, .05),
              inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* Let the content breathe inside the wider pill */
.navbar.scrolled .container {
  max-width: none;
  padding: 0 26px;
}
.navbar.scrolled .logo img { height: 54px !important; width: auto !important; }

/* ---- Links: larger, darker, more spacing ---- */
.navbar.scrolled .nav-links { gap: 4px; }
.navbar.scrolled .nav-links > li { display: flex; align-items: center; }
.navbar.scrolled .nav-links > li > a { line-height: 1.2; }
.navbar.scrolled .nav-links > li > a,
.navbar.scrolled .nav-links a {
  color: var(--nav-ink);
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 12px;
}
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--orange); }

/* ---- Right-hand buttons: rounded-rectangle, like the reference ---- */
.navbar.scrolled .nav-actions { gap: 8px; }

.navbar.scrolled .theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--nav-btn-bg);
  border: 1.5px solid var(--nav-btn-border);
  color: var(--nav-ink);
}
.navbar.scrolled .theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.navbar.scrolled .nav-actions .btn {
  border-radius: 12px;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 600;
}

/* ---- Dropdowns: keep them glassy to match the pill ---- */
.navbar.scrolled .dropdown {
  top: calc(100% + 8px);
  padding: 6px;
  border-radius: 18px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
          backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--nav-glass-border);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .25);
}
.navbar.scrolled .dropdown::before { display: none; }

/* Invisible bridge so the pointer never leaves the hover area while moving
   from the menu link down into the dropdown */
.navbar.scrolled .dropdown::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -18px;
  height: 18px;
}
/* Small closing delay so the menu doesn't vanish on a slight miss */
.navbar.scrolled .has-dropdown .dropdown {
  transition: opacity .2s ease .2s, transform .2s ease .2s, visibility 0s linear .4s;
}
.navbar.scrolled .has-dropdown:hover .dropdown,
.navbar.scrolled .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.navbar.scrolled .dropdown a { color: var(--nav-ink); }
.navbar.scrolled .dropdown a:hover { color: var(--orange); }

/* ---- Slightly tighter on laptops, compact on tablets/phones ---- */
@media (max-width: 1200px) {
  .navbar.scrolled .container { padding: 0 20px; }
  .navbar.scrolled .nav-links > li > a,
  .navbar.scrolled .nav-links a { padding: 7px 8px; font-size: .84rem; }
  .navbar.scrolled .nav-links { gap: 4px; }
}
@media (max-width: 768px) {
  .navbar.scrolled,
  .nav-solid .navbar.scrolled,
  body:has(.calc-section) .navbar.scrolled {
    max-width: calc(100vw - 24px);
    margin-top: 10px;
    padding: 4px 0;
    border-radius: 20px;
  }
  .navbar.scrolled .container { padding: 0 16px; }
  .navbar.scrolled .logo img { height: 38px !important; }
}

/* =====================================================================
   OPTIONAL: thin orange scroll-progress bar across the very top
   (the little orange line above the pill in the reference)
   ===================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

/* =====================================================================
   PAGE ANIMATIONS (all pages)
   Scroll entrances are driven by the "PAGE ANIMATIONS" block in main.js.
   Uses the individual `translate` / `scale` properties so it never clashes
   with the `transform`-based hover effects already on cards and buttons.
   ===================================================================== */
:root { --au-ease: cubic-bezier(.22,1,.36,1); }

@keyframes au-up   { from { opacity:0; translate:0 26px; } to { opacity:1; translate:0 0; } }
@keyframes au-fade { from { opacity:0; } to { opacity:1; } }
@keyframes au-clip { from { clip-path:inset(0 0 100% 0); } to { clip-path:inset(0 0 0 0); } }
@keyframes au-zoom { from { scale:1.14; } to { scale:1; } }

/* waiting to be revealed */
.au:not(.au-in) { opacity:0; transition:none !important; }
/* revealing (backwards fill = no leftover styles once finished) */
.au.au-in { opacity:1; animation:au-up .8s var(--au-ease) var(--au-delay,0ms) backwards; }
/* images / media: wipe in with a slow zoom settle */
.au.au-clip.au-in { animation-name:au-clip; animation-duration:1s; }
.au-clip.au-in img { animation:au-zoom 1.3s var(--au-ease) var(--au-delay,0ms) backwards; }

/* inner-page banners: staggered entrance on load (after the preloader) */
html:not(.preloader-active) .page-banner .container > *,
html:not(.preloader-active) .apply-hero-inner > * { animation:au-up .85s var(--au-ease) both; }
html:not(.preloader-active) .page-banner .container > :nth-child(2),
html:not(.preloader-active) .apply-hero-inner > :nth-child(2) { animation-delay:.08s; }
html:not(.preloader-active) .page-banner .container > :nth-child(3),
html:not(.preloader-active) .apply-hero-inner > :nth-child(3) { animation-delay:.16s; }
html:not(.preloader-active) .page-banner .container > :nth-child(4),
html:not(.preloader-active) .apply-hero-inner > :nth-child(4) { animation-delay:.24s; }

/* tabs (internet banking etc.): panel fades in when switched */
.panel.active { animation:au-fade .45s ease both; }

/* button press feedback */
.btn:active { transform:translateY(0) scale(.97); }

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .panel.active,
  .page-banner .container > *,
  .apply-hero-inner > * { animation:none !important; }
}

/* =====================================================================
   WORD-BY-WORD TEXT REVEAL
   Driven by the "WORD-BY-WORD TEXT REVEAL" block in main.js.
   Add data-words to any element to opt it in.
   ===================================================================== */
.wr-word {
  display: inline-block;
  opacity: 0;
  translate: 0 .55em;
  filter: blur(6px);
  transition:
    opacity .7s var(--au-ease, cubic-bezier(.22,1,.36,1)),
    translate .7s var(--au-ease, cubic-bezier(.22,1,.36,1)),
    filter .7s var(--au-ease, cubic-bezier(.22,1,.36,1));
  transition-delay: calc(var(--i, 0) * var(--wr-step, 60ms));
}
.wr-in .wr-word {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}
/* original text, for screen readers only */
.wr-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wr-word { opacity: 1; translate: none; filter: none; transition: none; }
}


/* Desktop nav: dropdown also opens on click/tap (class set in main.js) */
.has-dropdown.dd-open .chevron { transform:rotate(180deg); }
.has-dropdown.dd-open .dropdown { opacity:1; visibility:visible; pointer-events:all; transform:translateX(-50%) translateY(0); }
.navbar.scrolled .has-dropdown.dd-open .dropdown { opacity:1; visibility:visible; pointer-events:all; transform:translateX(-50%) translateY(0); transition-delay:0s; }

/* A dropdown that must close right now because another one took over (set in main.js) */
.has-dropdown.dd-off .dropdown {
  opacity:0 !important; visibility:hidden !important; pointer-events:none !important;
  transition:none !important;
}
.has-dropdown.dd-off .chevron { transform:none !important; }


/* =====================================================================
   OUR MISSION ICON ANIMATION  (driven by the block at the end of main.js)
   The icon is a medal: <circle> (the medal) + <path> (the ribbon).
   1) both draw themselves in   2) the medal floats, pulses and glints,
   while the ribbon sways beneath it
   ===================================================================== */
@keyframes mission-draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  15%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes mission-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes mission-ribbon {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(5deg); }
  75%      { transform: rotate(-5deg); }
}
@keyframes mission-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
@keyframes mission-glint {
  0%, 70%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  85%           { filter: drop-shadow(0 0 8px rgba(255,255,255,.9)); }
}

.mission-icon { overflow: visible; }
.mission-icon :is(path, circle, line, polyline, polygon, rect, ellipse) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

/* draw in, one shape after another */
.mission-icon-in :is(path, circle, line, polyline, polygon, rect, ellipse) {
  animation: mission-draw 1s var(--au-ease, cubic-bezier(.22,1,.36,1)) calc(var(--i, 0) * .3s) forwards;
}
/* then: whole icon floats + glints */
.mission-icon-in {
  animation:
    mission-float 3.6s ease-in-out 1.8s infinite,
    mission-glint 4.2s ease-in-out 1.8s infinite;
}
/* ribbon sways from where it meets the medal */
.mission-icon-in path {
  transform-origin: 12px 13.5px;
  animation:
    mission-draw 1s var(--au-ease, cubic-bezier(.22,1,.36,1)) calc(var(--i, 0) * .3s) forwards,
    mission-ribbon 3.6s ease-in-out 1.8s infinite;
}
/* medal breathes */
.mission-icon-in circle {
  transform-origin: 12px 8px;
  animation:
    mission-draw 1s var(--au-ease, cubic-bezier(.22,1,.36,1)) calc(var(--i, 0) * .3s) forwards,
    mission-pulse 3.6s ease-in-out 1.8s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .mission-icon :is(path, circle, line, polyline, polygon, rect, ellipse) {
    stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1;
  }
  .mission-icon-in,
  .mission-icon-in path,
  .mission-icon-in circle { animation: none; }
}


/* =====================================================================
   VISION ICON ANIMATION  (lightbulb; driven by the block at the end of main.js)
   The icon's shapes, in order: 1-2 base lines, 3 bulb, 4-8 the five rays.
   1) base and bulb draw in, then the rays shoot out
   2) the bulb glows on and the rays pulse outward, on a loop
   ===================================================================== */
@keyframes vision-glow {
  0%        { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  6%        { filter: drop-shadow(0 0 9px rgba(255,255,255,.95)); }
  10%       { filter: drop-shadow(0 0 2px rgba(255,255,255,.3)); }
  14%, 55%  { filter: drop-shadow(0 0 10px rgba(255,255,255,.9)); }
  100%      { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}
@keyframes vision-ray {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: .35; }
}

.vision-icon { overflow: visible; }
.vision-icon :is(path, circle, line, polyline, polygon, rect, ellipse) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

/* draw in: base lines + bulb first (in order), rays afterwards */
.vision-icon-in :is(path, circle, line, polyline, polygon, rect, ellipse) {
  animation: mission-draw .9s var(--au-ease, cubic-bezier(.22,1,.36,1)) calc(var(--i, 0) * .18s) forwards;
}
.vision-icon-in path:nth-of-type(n+4) {
  animation:
    mission-draw .6s var(--au-ease, cubic-bezier(.22,1,.36,1)) calc(.9s + (var(--i, 3) - 3) * .08s) forwards,
    vision-ray 3.4s ease-in-out 2.4s infinite;
  transform-origin: 12px 9px;
}
/* bulb "switches on" and glows on a loop */
.vision-icon-in { animation: vision-glow 3.4s ease-in-out 2.2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .vision-icon :is(path, circle, line, polyline, polygon, rect, ellipse) {
    stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1;
  }
  .vision-icon-in,
  .vision-icon-in path { animation: none; }
}


/* Job details popup: close button is just an orange X (no box) */
#jobModalClose,
.job-modal-overlay .job-modal .modal-close {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ff6600 !important;
  color: var(--orange, #ff6600) !important;
}
#jobModalClose:hover,
.job-modal-overlay .job-modal .modal-close:hover {
  background: transparent !important;
  border: 0 !important;
  color: var(--orange-dark, #cc5200) !important;
}
#jobModalClose svg { stroke: currentColor; }


/* Investment Products filter (Portfolio Management page): soft tint style.
   Scoped to .offerings-section so other pages' tabs keep their original look. */
.offerings-section .tab {
  border: 1px solid transparent;
  background: transparent;
}
.offerings-section .tab:hover {
  background: rgba(255,102,0,.07);
  border-color: transparent;
  color: var(--text);
}
.offerings-section .tab.active {
  background: var(--orange);
  border-color: transparent;
  color: #fff;
}
[data-theme="dark"] .offerings-section .tab.active {
  background: var(--orange);
  color: #fff;
}


/* =====================================================================
   PARTNER LOGOS MARQUEE  (built by the block at the end of main.js)
   ===================================================================== */
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partners-row.is-marquee {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 30s linear infinite;
}
.partners-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 48px;
  padding-right: 48px;   /* same as gap, so the loop has no jump */
}
.partners-group img { flex-shrink: 0; }
.partners-row.is-marquee:hover .partners-track { animation-play-state: paused; }
@media (max-width: 640px) {
  .partners-group { gap: 28px; padding-right: 28px; }
  .partners-track { animation-duration: 22s; }
}


/* Money Market Fund page: offerings list uses the home page's "What We Offer" style,
   headings only, all permanently in brand orange (not clickable). */
.mmf-offer-list .offer-item,
.mmf-offer-list .offer-item:not(.active):hover {
  padding-top: 16px; padding-bottom: 16px;
  border-left-color: var(--orange);
  cursor: default;
}
.mmf-offer-list .offer-item h3,
.mmf-offer-list .offer-item:not(.active):hover h3 {
  margin-bottom: 0;
  color: var(--orange);
}
/* ===== PARTNERS SECTION ON HOME PAGE (white band between Offerings and FAQ) ===== */
.partners-section.partners-home {
  background: var(--card);              /* white in light mode, card colour in dark mode */
  border: none;
  padding: 56px 0 60px;
}
.partners-section.partners-home .partners-heading {
  margin-bottom: 36px;
}
@media (max-width: 640px) {
  .partners-section.partners-home { padding: 40px 0 44px; }
}

/* Remove the orange hairline at the bottom of Offerings (the white partners band now separates the sections) */
.offerings-section::after { display: none; }

/* ===== INVESTMENT PRODUCTS PAGE: neutral card edges (no orange outline) ===== */
.invest-card  { border: 1px solid var(--border-neutral); }
.invest-modal { border: 1px solid var(--border-neutral); }
.invest-badge { border-color: transparent; }

/* ===== CONTACT PAGE: one combined white card (details left, form right) ===== */
.contact-card {
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20,30,50,.14), 0 4px 14px rgba(20,30,50,.06);
}

/* left: details on white, with a thin divider before the form */
.contact-info {
  padding: 48px 40px;
  border-right: 1px solid var(--border-neutral);
}
.contact-info .contact-item { border-bottom: 1px solid var(--border-neutral); }
.contact-info .contact-item:last-child { border-bottom: none; }

/* right: white form, no card chrome of its own */
.contact-card .contact-form {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 48px 44px;
}
.contact-form h3 { font-weight: 700; }
.form-group label {
  font-size: .82rem; font-weight: 600; color: #111;
}
[data-theme="dark"] .form-group label { color: #f1f3f6; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(255,102,0,.25);
  border-radius: 10px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,102,0,.12);
}
.contact-form .btn,
.contact-form .btn-primary {
  background: var(--orange);
  font-weight: 700;
  border-radius: 10px;
}
.contact-form .btn:hover,
.contact-form .btn-primary:hover { background: var(--orange-dark); }

@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-info { padding: 36px 26px; border-right: none; border-bottom: 1px solid var(--border-neutral); }
  .contact-card .contact-form { padding: 36px 26px; }
}

/* ===== COMPLAINT + WHISTLEBLOWING: reply message boxes ===== */
#compFormMsg, #wbFormMsg { margin-top:14px; font-size:.85rem; text-align:center; padding:11px; border-radius:8px; display:none; line-height:1.6; }
#compFormMsg.success, #wbFormMsg.success { background:rgba(74,222,128,.1); color:#16a34a; border:1px solid rgba(74,222,128,.3); display:block; }
#compFormMsg.error, #wbFormMsg.error { background:rgba(248,113,113,.1); color:#dc2626; border:1px solid rgba(248,113,113,.3); display:block; }