/* =========================================================
   ZAMAN IT — Design System
   Palette rationale: deep trust-blue for credibility (est. 2008,
   corporate/enterprise clients), a signal-teal for interactive
   "systems online" motifs (nodding to their security/automation/
   uptime-driven services), and a warm amber CTA that pops against
   the cool palette for conversion. A restrained flag-green is used
   only for verification/status ticks — a quiet nod to Bangladesh.
   Swap the --brand-* values below once official logo/colors arrive.
   ========================================================= */

:root {
  /* Brand */
  --ink: #0B2545;           /* headings, dark surfaces */
  --brand: #1B4B91;         /* primary brand blue */
  --brand-light: #2F6FD1;   /* hover / links */
  --signal: #0EA5A0;        /* teal accent — "systems online" motif */
  --verified: #00693E;      /* status-tick green, used sparingly */
  --cta: #F2A93B;           /* amber CTA — conversion color */
  --cta-hover: #E0921E;

  /* Neutrals */
  --bg: #F7FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #334155;
  --text-muted: #64748B;
  --text-on-dark: #E7EEF9;

  /* Type */
  --font-display: 'Sora', 'Noto Sans Bengali', sans-serif;
  --font-body: 'Inter', 'Noto Sans Bengali', sans-serif;

  /* Scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06), 0 1px 3px rgba(11,37,69,0.08);
  --shadow-md: 0 8px 24px rgba(11,37,69,0.10);
  --shadow-lg: 0 20px 48px rgba(11,37,69,0.16);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(14,165,160,0.18);
}
.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 62ch;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--cta);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--cta-hover); color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--text-on-dark);
}
.btn-outline:hover { border-color: var(--signal); color: #fff; }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,250,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark svg { height: 34px; width: auto; }
.brand-mark-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand-mark-text span { color: var(--signal); }

.main-nav { display: flex; align-items: center; gap: 18px; min-width: 0; }
.main-nav > ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  color: var(--ink); font-weight: 600; font-size: 0.88rem;
  padding: 10px 0; display: inline-block; white-space: nowrap;
}
.has-mega { cursor: pointer; }
.mega-panel {
  display: none;
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 100%; margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  width: 560px;
  max-width: calc(100vw - 32px);
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 28px;
}
/* Anchor edge-item panels so they never overflow the viewport */
.main-nav > ul > li:nth-child(1) .mega-panel,
.main-nav > ul > li:nth-child(2) .mega-panel {
  left: 0; transform: none;
}
.main-nav > ul > li:nth-child(5) .mega-panel {
  left: auto; right: 0; transform: none;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel { display: grid; }
.mega-panel a {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.92rem; font-weight: 500;
}
.mega-panel a:hover { background: var(--bg); color: var(--brand); }
.header-ctas { display: flex; align-items: center; gap: 14px; }
.phone-cta { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: radial-gradient(1100px 500px at 85% -10%, rgba(14,165,160,0.35), transparent 60%), var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { color: #fff; }
.hero .lede { color: rgba(231,238,249,0.82); }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.hero-trust-item span { font-size: 0.82rem; color: rgba(231,238,249,0.65); }

/* Status console signature element */
.console {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.console-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.console-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(14,165,160,0.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.console-head span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(231,238,249,0.6); }
.console-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.console-row:first-of-type { border-top: none; }
.console-tag { color: rgba(231,238,249,0.7); }
.console-val { color: #fff; font-weight: 700; }
.console-val.ok { color: var(--signal); }

/* Grids / cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(27,75,145,0.08); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Service pillar cards */
.pillar-card { text-decoration: none; color: inherit; display: block; }
.pillar-card h3 { margin-bottom: 6px; }
.pillar-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 12px; }
.pillar-card .see-all { color: var(--brand); font-weight: 700; font-size: 0.88rem; }

/* Process steps */
.process-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-list li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--border);
}
.process-list li:first-child { border-top: none; }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; color: var(--signal);
  font-size: 1.4rem;
}

/* Pricing */
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--signal); box-shadow: var(--shadow-md); position: relative; }
.pricing-card.featured::before {
  content: "Most Popular"; position: absolute; top: -13px; left: 24px;
  background: var(--signal); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em;
}
.price-tag { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--ink); margin: 10px 0; }
.price-tag span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; flex-grow: 1; }
.pricing-card li { padding: 8px 0; font-size: 0.92rem; display: flex; gap: 10px; }
.pricing-card li::before { content: "✓"; color: var(--verified); font-weight: 800; }

/* Testimonials */
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; }
.testimonial-stars { color: var(--cta); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-name { font-weight: 700; color: var(--ink); margin-top: 14px; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--signal); font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--ink), var(--brand));
  color: #fff; border-radius: var(--radius-lg); padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(231,238,249,0.8); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(231,238,249,0.75); padding: 64px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(231,238,249,0.75); font-size: 0.9rem; }
.site-footer a:hover { color: var(--signal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }

/* Sticky mobile action bar */
.sticky-actions {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: none; background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(11,37,69,0.12);
}
.sticky-actions .row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.sticky-actions a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 0; font-size: 0.72rem; font-weight: 700; color: var(--ink);
  border-right: 1px solid var(--border);
}
.sticky-actions a:last-child { border-right: none; }
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 199;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 1220px) {
  .phone-cta { display: none; }
  .header-ctas { gap: 10px; }
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--surface); z-index: 99;
    overflow-y: auto; padding: 8px 24px 24px;
  }
  .main-nav.nav-open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a { display: block; padding: 16px 0; font-size: 1rem; white-space: normal; }
  .mega-panel,
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    display: none;
  }
  .has-mega.mega-open .mega-panel {
    display: block !important;
    position: static; transform: none; width: 100%; max-width: none;
    box-shadow: none; border: none; padding: 0 0 12px;
    grid-template-columns: 1fr;
  }
  .phone-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-actions { display: block; }
  body { padding-bottom: 54px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
}
