/* =========================================================
   Sayed International Travels — site styles
   Palette: deep navy + royal blue, warm paper, a touch of desert sand
   ========================================================= */
:root {
  --ink: #0b1d3a;
  --ink-2: #2e3d5a;
  --muted: #65728a;
  --blue: #1a4fd0;
  --blue-700: #143fa8;
  --blue-50: #eef3fe;
  --blue-100: #dbe5fc;
  --sky: #9dbcff;
  --sand: #c39a4f;
  --sand-50: #faf3e6;
  --paper: #f8f7f3;
  --card: #ffffff;
  --line: #e4e7ee;
  --wa: #1fb855;
  --navy-grad: linear-gradient(140deg, #0a1a36 0%, #102c5f 52%, #1a4fd0 130%);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, .06), 0 2px 8px rgba(11, 29, 58, .04);
  --shadow: 0 10px 30px -12px rgba(11, 29, 58, .22);
  --shadow-lg: 0 30px 60px -20px rgba(11, 29, 58, .35);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Manrope", system-ui, sans-serif;
  --head-weight: 500;
  --head-track: -.02em;
  --head-lh: 1.12;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ar"] {
  --font-head: "Amiri", "IBM Plex Sans Arabic", serif;
  --font-body: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
  --head-weight: 700;
  --head-track: 0;
  --head-lh: 1.45;
}
html[lang="bn"] {
  --font-head: "Noto Serif Bengali", "Hind Siliguri", serif;
  --font-body: "Hind Siliguri", "Manrope", system-ui, sans-serif;
  --head-weight: 600;
  --head-track: 0;
  --head-lh: 1.38;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="bn"] body { font-size: 1.04rem; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: var(--head-lh); color: var(--ink); margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.flip { transform: scaleX(-1); }
[dir="rtl"] .flip.flip-rtl { transform: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 780px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6em 1em; font-size: .875rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(26, 79, 208, .8); }
.btn-primary:hover { background: var(--blue-700); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-light .ic { color: var(--wa); }
.btn-light:hover { background: #f2f5fb; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 243, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 29, 58, .4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--blue); }
.brand-logo { height: 44px; width: auto; }
.brand-mark { display: inline-flex; color: var(--blue); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.12rem; color: var(--ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { padding: .55em .9em; border-radius: 999px; font-weight: 500; font-size: .94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--blue-50); color: var(--blue); }
.main-nav a.is-active { color: var(--blue); background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { min-width: 36px; text-align: center; padding: .35em .6em; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); font-family: var(--font-num); transition: background .2s, color .2s; }
.lang-switch a[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Amiri", sans-serif; }
.lang-switch a[lang="bn"] { font-family: "Hind Siliguri", sans-serif; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 0 20px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.mobile-nav-langs { display: flex; gap: 8px; margin: 16px 0; }
.mobile-nav-langs a { flex: 1; text-align: center; padding: .6em; border: 1px solid var(--line) !important; border-radius: 12px; font-weight: 600; justify-content: center !important; }
.mobile-nav-langs a.is-active { background: var(--ink); color: #fff !important; border-color: var(--ink) !important; }

/* ---------- Hero ---------- */
.hero { padding-top: 12px; }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px;
  min-height: 560px; padding: clamp(32px, 5.5vw, 72px);
  border-radius: var(--radius-lg); background: var(--navy-grad); color: #fff;
}
.hero-card::before { /* dotted map texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
}
.hero-card::after { /* soft glow */
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; inset-inline-end: -120px; top: -160px;
  background: radial-gradient(circle, rgba(157, 188, 255, .35), transparent 65%);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-card.has-photo::before { opacity: .25; }
.hero-card.has-photo { background: linear-gradient(100deg, rgba(10, 26, 54, .94) 0%, rgba(10, 26, 54, .78) 48%, rgba(16, 44, 95, .35) 100%); }
[dir="rtl"] .hero-card.has-photo { background: linear-gradient(-100deg, rgba(10, 26, 54, .94) 0%, rgba(10, 26, 54, .78) 48%, rgba(16, 44, 95, .35) 100%); }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .16); z-index: -1; pointer-events: none; }
[dir="rtl"] .hero-route { transform: scaleX(-1); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em .45em .8em;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06);
  font-size: .85rem; font-weight: 600; color: #dbe6ff; margin-bottom: 26px;
}
.hero-badge .ic { color: var(--sand); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 17ch; }
html[lang="ar"] .hero h1, html[lang="bn"] .hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.hero h1 { text-wrap: balance; }
.hero .lead { margin-top: 22px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(226, 234, 252, .86); max-width: 52ch; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-phone { display: inline-flex; align-items: center; gap: .5em; margin-top: 26px; color: rgba(226, 234, 252, .72); font-size: .92rem; }
.hero-phone b { color: #fff; font-family: var(--font-num); font-weight: 600; }
.hero-phone:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Boarding pass */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.pass {
  width: min(100%, 340px); background: #fff; color: var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .4) inset; transform: rotate(-3.5deg);
  overflow: hidden; font-family: var(--font-body);
  animation: float 7s ease-in-out infinite;
}
[dir="rtl"] .pass { transform: rotate(3.5deg); }
.pass-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .pass-head, html[lang="bn"] .pass-head { letter-spacing: 0; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 22px 20px 16px; }
.pass-route small, .pass-meta small { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
html[lang="ar"] .pass-route small, html[lang="ar"] .pass-meta small, html[lang="bn"] .pass-route small, html[lang="bn"] .pass-meta small { letter-spacing: 0; text-transform: none; font-size: .74rem; }
.pass-route strong { display: block; font-family: var(--font-num); font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); }
.pass-route span { font-size: .82rem; color: var(--ink-2); }
.pass-route .to { text-align: end; }
.pass-line { display: flex; align-items: center; gap: 6px; color: var(--blue); }
.pass-line i { width: 22px; border-top: 2px dotted var(--blue-100); }
.pass-meta { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 10px; padding: 0 20px 18px; }
.pass-meta span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.pass-tear { position: relative; border-top: 2px dashed var(--line); margin: 0 14px; }
.pass-tear::before, .pass-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #13306a; }
.pass-tear::before { left: -26px; } .pass-tear::after { right: -26px; }
.pass-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 18px; }
.barcode { width: 120px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; border-radius: 2px; }
.pass-stamp { display: inline-flex; align-items: center; gap: 4px; padding: .35em .7em; border-radius: 999px; background: var(--sand-50); color: #8a6524; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.pass-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.pass-chip .ic { color: var(--blue); }
.chip-a { top: 4%; inset-inline-end: 0; animation: float 6s ease-in-out -2s infinite; }
.chip-b { bottom: 0; inset-inline-start: 0; animation: float 8s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Stats */
.stats {
  list-style: none; margin: -46px auto 0; padding: 8px; position: relative; z-index: 2; width: calc(100% - 2 * clamp(16px, 4vw, 48px));
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stats li { padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.stats li + li { border-inline-start: 1px solid var(--line); }
.stats strong { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--blue); line-height: 1.1; }
html[lang="en"] .stats strong { font-family: "Fraunces", serif; }
.stats span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-tint { background: linear-gradient(180deg, #eef2fa 0%, #f3f5fa 100%); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }
.section-head.align-start { text-align: start; margin: 0; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; text-align: start; }
.section-head.split > div { max-width: 640px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand);
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
html[lang="ar"] .kicker, html[lang="bn"] .kicker { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.kicker-light { color: #e3c288; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.services-grid + .group-title { margin-top: 56px; }
.group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; color: var(--ink); }
.group-title .ic { color: var(--blue); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-inline-start: 8px; }
.service-more { background: var(--blue-50); border: 1px dashed #b9cbf5; }
.service-more .service-icon { background: #fff; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 8px; transition: background .3s, color .3s; }
.service-card:hover .service-icon { background: var(--blue); color: #fff; }
.service-card h3 { font-size: 1.22rem; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); }
.service-link .ic { transition: translate .2s; }
.service-link:hover .ic { translate: 4px 0; }
[dir="rtl"] .service-link:hover .ic { translate: -4px 0; }

/* Why */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-grid .section-head .btn { margin-top: 28px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { display: flex; gap: 16px; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sand-50); color: #9a7330; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.feature p { font-size: .93rem; color: var(--muted); }

/* Branches */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branches-grid.count-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.branches-grid.count-4 .branch-card { padding: 24px 22px; }
.branches-grid.count-4 .branch-card h3 { font-size: 1.35rem; }
.branch-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .3s, transform .3s var(--ease); }
.branch-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.branch-top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); margin-bottom: 18px; }
.branch-no { font-family: "Fraunces", serif; font-size: 2.6rem; line-height: 1; color: var(--blue-100); font-weight: 600; }
html[lang="ar"] .branch-no, html[lang="bn"] .branch-no { font-family: var(--font-head); }
.branch-card h3 { font-size: 1.55rem; margin-bottom: 16px; }
.branch-info { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.branch-info li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.branch-info .ic { margin-top: 4px; color: var(--muted); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.branch-actions .btn { padding: .55em .8em; font-size: .82rem; gap: .4em; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.stars { display: flex; gap: 2px; color: var(--sand); margin-bottom: 14px; }
.stars .ic { fill: currentColor; }
.quote blockquote { margin: 0 0 18px; font-size: 1.04rem; color: var(--ink); }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption span { font-size: .88rem; color: var(--muted); }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: var(--navy-grad); position: relative; }
.thumb-fallback::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 18px 18px; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.post-card h3 { font-size: 1.28rem; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); margin-top: 4px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-50); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); translate: -50% -50%; border-radius: 2px; transition: rotate .3s var(--ease); }
.faq-plus::after { rotate: 90deg; }
.faq-item[open] .faq-plus::after { rotate: 0deg; }
.faq-item p { padding: 0 22px 22px; color: var(--muted); }

/* Contact */
.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-side { position: relative; isolation: isolate; padding: clamp(32px, 5vw, 56px); background: var(--navy-grad); color: rgba(226, 234, 252, .86); display: flex; flex-direction: column; align-items: flex-start; }
.contact-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000); mask-image: linear-gradient(to bottom, transparent, #000); }
.contact-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.contact-side > p { margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { padding: clamp(28px, 4.5vw, 52px); display: grid; gap: 16px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfd; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 79, 208, .12); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; font-size: .94rem; font-weight: 500; }
.notice-ok { background: #e8f8ee; color: #136c35; }
.notice-err { background: #fdecec; color: #a12121; }

/* ---------- Blog pages ---------- */
.page-hero { margin: 12px 20px 0; border-radius: var(--radius-lg); background: var(--navy-grad); color: rgba(226, 234, 252, .85); padding: clamp(48px, 8vw, 96px) 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: 16px; max-width: 56ch; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 22px; color: inherit; opacity: .8; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; color: var(--muted); font-size: .92rem; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

.article-head { padding: clamp(40px, 6vw, 80px) 0 32px; text-align: center; }
.article-head .crumbs { justify-content: center; color: var(--muted); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); text-wrap: balance; }
.article-head .lead { margin: 18px auto 0; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.article-head .post-meta { justify-content: center; margin-top: 22px; }
.article-cover { margin: 0 auto 48px; max-width: 1080px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); }

.prose { font-size: 1.12rem; line-height: 1.85; color: #283652; }
html[lang="bn"] .prose { font-size: 1.15rem; line-height: 1.95; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.85rem; margin-top: 2em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.7em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 1.2em; border-inline-start: 3px solid var(--sand); font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
[dir="rtl"] .prose blockquote { padding: 4px 1.2em 4px 0; }
.prose img { border-radius: 16px; margin-block: 1.6em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6em .8em; text-align: start; }
.prose pre { background: #0b1d3a; color: #e6edf9; padding: 1em; border-radius: 12px; overflow: auto; font-size: .9rem; }

.share { display: flex; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; color: var(--ink); margin-inline-end: 6px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.share a:hover, .share button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.cta-box { margin: 40px 0 80px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--navy-grad); color: rgba(226, 234, 252, .85); }
.cta-box h2 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }

.notfound { text-align: center; padding: 120px 0; }
.nf-code { font-family: "Fraunces", serif; font-size: 7rem; line-height: 1; color: var(--blue-100); font-weight: 600; }
.notfound h1 { font-size: 2.2rem; margin: 10px 0; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1a36; color: rgba(220, 229, 247, .7); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; padding-block: 72px 48px; }
.footer-brand p { margin-top: 18px; max-width: 38ch; font-size: .94rem; }
.brand-light .brand-mark { color: #fff; }
.brand-light .brand-text strong { color: #fff; }
.brand-logo-footer { filter: brightness(0) invert(1); }
.site-footer h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
html[lang="ar"] .site-footer h3, html[lang="bn"] .site-footer h3 { letter-spacing: 0; text-transform: none; font-size: .98rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: var(--sky); }
.footer-legal { margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer-legal dt { font-size: .78rem; opacity: .7; }
.footer-legal dd { margin: 0; color: #fff; font-family: var(--font-num); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; }
.to-top { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.to-top:hover { background: rgba(255, 255, 255, .1); }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 184, 85, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }


/* Hero: investor file tracker */
.file-card {
  width: min(100%, 360px); background: #fff; color: var(--ink); border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); animation: float 7s ease-in-out infinite;
}
[dir="rtl"] .file-card { transform: rotate(2.5deg); }
.file-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.file-head strong { display: block; font-size: 1rem; color: var(--ink); }
.file-head small { font-size: .78rem; color: var(--muted); }
.file-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.file-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.file-steps li { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; font-size: .9rem; font-weight: 500; }
.file-steps li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 11px; top: 28px; height: 18px; border-inline-start: 2px solid #cfe8d8; }
.file-steps .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e5f6eb; color: #138a43; }
.file-steps em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e5f6eb; color: #138a43; }
.file-steps .now .dot { background: var(--sand-50); box-shadow: inset 0 0 0 2px var(--sand); }
.file-steps .now .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); animation: blink 1.4s ease-in-out infinite; }
.file-steps .now em { background: var(--sand-50); color: #8a6524; }
@keyframes blink { 50% { opacity: .25; } }
.file-bar { height: 6px; border-radius: 6px; background: var(--blue-50); margin: 14px 0 12px; overflow: hidden; }
.file-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blue), #4f86ff); }
[dir="rtl"] .file-bar i { margin-inline-start: auto; background: linear-gradient(-90deg, var(--blue), #4f86ff); }
.file-foot { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.file-foot .ic { color: var(--blue); }

/* Featured: investor licence */
.section-invest { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 0; }
.invest-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #0a1a36 0%, #0f2a5c 60%, #173f9e 120%); color: rgba(226, 234, 252, .85);
}
.invest-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 65%); }
.invest-card::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; inset-inline-start: -160px; top: -200px; background: radial-gradient(circle, rgba(195, 154, 79, .28), transparent 65%); }
.invest-copy { position: sticky; top: 110px; }
.invest-copy .kicker .ic { color: #e3c288; }
.invest-copy .kicker::before { display: none; }
.invest-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); text-wrap: balance; margin-bottom: 18px; }
.invest-copy > p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; }
.invest-note { margin-top: 18px; font-size: .85rem; color: rgba(226, 234, 252, .6); }
.invest-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.invest-steps li { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.invest-steps .step-no { flex: none; font-family: "Fraunces", serif; font-size: 1.5rem; line-height: 1; color: #e3c288; font-weight: 600; }
html[lang="ar"] .invest-steps .step-no, html[lang="bn"] .invest-steps .step-no { font-family: var(--font-head); }
.invest-steps h3 { color: #fff; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin-bottom: 4px; }
.invest-steps p { font-size: .9rem; color: rgba(226, 234, 252, .72); }

/* Government portals */
.portals { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.portals li { width: calc((100% - 5 * 14px) / 6); min-width: 150px; height: 104px; display: grid; place-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, transform .3s var(--ease); }
.portals li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.portals img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.portals-note { text-align: center; margin: 28px auto 0; max-width: 70ch; font-size: .82rem; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pass, .file-card, .pass-chip, .wa-float::before, .file-steps .now .dot::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .branches-grid.count-4 { grid-template-columns: 1fr 1fr; }
  .portals li { width: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-card { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .hero h1, html[lang="ar"] .hero h1, html[lang="bn"] .hero h1 { max-width: 20ch; }
  .hero-visual { padding: 10px 0 50px; }
  .services-grid, .branches-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
  .portals li { width: calc((100% - 2 * 14px) / 3); }
  .why-grid, .faq-grid, .contact-card, .invest-card { grid-template-columns: 1fr; }
  .invest-copy { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .header-inner { height: 66px; gap: 12px; }
  .hide-sm { display: none !important; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: .98rem; }
  .brand-mark svg { width: 34px; height: 34px; }
  .hero-card { padding: 30px 22px 28px; border-radius: 22px; }
  .hero-cta .btn { width: 100%; }
  .pass { width: 290px; }
  .pass-route strong { font-size: 1.9rem; }
  .pass-chip { display: none; }
  .stats { width: 100%; margin-top: 16px; }
  .stats li { padding: 14px 16px; }
  .stats strong { font-size: 1.6rem; }
  .services-grid, .branches-grid, .branches-grid.count-4, .posts-grid, .features, .field-row, .invest-steps { grid-template-columns: 1fr; }
  .portals li { width: calc((100% - 14px) / 2); min-width: 0; height: 88px; }
  .file-card { width: 300px; }
  .section-head { margin-bottom: 36px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { margin-inline: 12px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 24px; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; inset-inline-end: 16px; }
  .lang-switch a { min-width: 32px; padding: .35em .45em; }
}
