/* =========================================================
   VAT Agent and Legal Solution — main stylesheet
   Theme: Corporate Blue — shada + gaar nil (age chilo Green & Gold)
   Rong bodlate chaile shudhu niche :root er value bodlao
   ========================================================= */
:root {
  --brand: #0b2a4a;        /* gaar nil (navy) */
  --brand-dark: #081f37;
  --brand-light: #e7f1fb;
  --accent: #1a7dc2;       /* ujjol nil (blue) */
  --accent-light: #d6e9f8;
  --paper: #ffffff;        /* shada card */
  --text: #1b2a41;
  --muted: #5b6b82;
  --line: #dde4ee;
  --bg: #f4f7fb;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3, .section-title, .serif { font-family: var(--serif); letter-spacing: -.01em; }
a { text-decoration: none; }
section { padding: 90px 0; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Top info bar ---------- */
.top-bar { background: var(--brand-dark); color: #c8d6e8; font-size: .82rem; padding: 7px 0; letter-spacing: .2px; }
.top-bar a { color: #c8d6e8; margin-left: 20px; }
.top-bar a:hover { color: var(--accent); }

/* ---------- Navbar ---------- */
.main-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.navbar-brand { font-family: var(--serif); font-weight: 700; color: var(--brand) !important; line-height: 1.1; font-size: 1.2rem; }
.navbar-brand small { display: block; font-family: 'Inter', sans-serif; font-size: .64rem; font-weight: 600; color: var(--accent); letter-spacing: 2px; margin-top: 3px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; margin-right: 11px; font-size: .78rem;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--accent);
}
.nav-link { color: var(--text) !important; font-weight: 500; font-size: .94rem; padding: 26px 10px !important; white-space: nowrap; position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.dropdown-toggle::after {
  position: static; display: inline-block; width: 0; height: 0; background: none; transform: none;
  margin-left: .35em; vertical-align: .2em; transition: transform .3s;
  border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; border-bottom: 0;
}
.nav-item.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.nav-link:hover, .nav-link.active, .nav-item.dropdown:hover > .nav-link { color: var(--brand) !important; }

.btn-brand { background: var(--brand); color: #fff; border-radius: 4px; padding: 11px 22px; font-weight: 600; border: none; white-space: nowrap; transition: all .25s; }
.btn-brand:hover { background: var(--accent); color: #fff; }
.btn-gold { background: var(--accent); color: #fff; border-radius: 4px; padding: 12px 24px; font-weight: 700; border: none; }
.btn-gold:hover { background: #13609a; color: #fff; }
.btn-line { border: 1.5px solid var(--brand); color: var(--brand); border-radius: 4px; padding: 11px 22px; font-weight: 600; }
.btn-line:hover { background: var(--brand); color: #fff; }
.btn-outline-light-custom { border: 1.5px solid rgba(255,255,255,.7); color: #fff; border-radius: 4px; padding: 11px 22px; font-weight: 600; }
.btn-outline-light-custom:hover { background: #fff; color: var(--brand); }

.dropdown-menu {
  border: 1px solid var(--line); border-top: 3px solid var(--accent); background: var(--paper);
  border-radius: 0 0 6px 6px; padding: 8px 0; min-width: 250px;
  box-shadow: 0 16px 36px rgba(11,42,74,.12);
}
.dropdown-item { padding: 10px 22px; font-size: .93rem; transition: all .2s; color: var(--text); }
.dropdown-item:hover { background: var(--brand-light); color: var(--brand); padding-left: 28px; }

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block; opacity: 0; visibility: hidden;
    transform: translateY(15px); transition: all .3s ease; margin-top: 0;
  }
  .navbar .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* =========================================================
   HERO — ledger paper + seal
   ========================================================= */
.hero {
  background-color: var(--paper);
  /* hisaber khatar lain */
  background-image:
    linear-gradient(90deg, transparent 0 calc(8% - 1px), rgba(26,125,194,.35) calc(8% - 1px) 8%, transparent 8%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(11,42,74,.07) 39px 40px);
  padding: 90px 0 110px; position: relative; overflow: hidden;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 {
  font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06; color: var(--brand);
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--text); }
.highlight { position: relative; white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em;
  background: var(--accent-light); z-index: -1; transform: skewX(-8deg);
}
.hero h1 .highlight { z-index: 0; }
.hero p.lead { color: var(--muted); max-width: 520px; font-size: 1.12rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .9rem; color: var(--muted); }
.hero-trust i { color: var(--accent); margin-right: 6px; }

/* Document (VAT return er kagoj) */
.doc-stack { position: relative; max-width: 440px; margin: 0 auto; }
.doc {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px 30px 26px;
  box-shadow: 0 30px 60px -20px rgba(11,42,74,.28); position: relative; z-index: 2;
  transform: rotate(-1.5deg);
}
.doc-back {
  position: absolute; inset: 0; background: var(--brand); border-radius: 6px;
  transform: rotate(4deg) translate(14px, 10px); z-index: 1;
}
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--brand); padding-bottom: 14px; margin-bottom: 16px; }
.doc-title { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--brand); }
.doc-sub { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.doc-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.doc-row span:first-child { color: var(--muted); }
.doc-row strong { font-variant-numeric: tabular-nums; }
.doc-status {
  display: inline-flex; align-items: center; gap: 6px; background: var(--brand-light); color: var(--brand);
  font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 3px; letter-spacing: .5px;
}
.doc-foot { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; margin-top: 18px; font-size: .8rem; color: var(--muted); }
.doc-sign { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brand); border-bottom: 1px solid var(--text); padding: 0 8px; }

/* Ghurte thaka silmohor */
.seal {
  position: absolute; width: 132px; height: 132px; right: -38px; bottom: -48px; z-index: 3;
  border-radius: 50%; background: #c9932e; color: #082a23;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.seal svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.seal-core {
  width: 64px; height: 64px; border-radius: 50%; border: 2px dashed #082a23;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal svg { animation: none; } }

/* Page header (onno page er upore) */
.page-header {
  background-color: var(--brand);
  background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px);
  color: #fff; padding: 70px 0 60px; border-bottom: 4px solid var(--accent);
}
.page-header h1 { font-weight: 600; }
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.8); }

/* ---------- Section titles ---------- */
.section-label { color: var(--accent); font-weight: 700; letter-spacing: 2.5px; font-size: .76rem; text-transform: uppercase; }
.section-title { font-weight: 600; margin-top: 8px; color: var(--brand); font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-sub { color: var(--muted); max-width: 640px; margin: 12px auto 0; }

/* ---------- Cards ---------- */
.card-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 30px;
  height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card-box:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -14px rgba(11,42,74,.22); border-color: var(--accent); }
.icon-circle {
  width: 54px; height: 54px; border-radius: 4px; background: var(--brand);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin-bottom: 18px;
}
.card-box h5 { font-weight: 700; color: var(--brand); }
.card-box p { color: var(--muted); }
.card-link { font-weight: 600; color: var(--brand); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.card-link:hover { color: var(--accent); }

/* Numbered service ledger (home page) */
.ledger { border-top: 2px solid var(--brand); }
.ledger-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center;
  padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s;
  color: inherit;
}
.ledger-row:hover { background: var(--paper); padding-left: 20px; }
.ledger-num { font-family: var(--serif); font-size: 2.6rem; color: var(--accent); font-weight: 400; line-height: 1; }
.ledger-row h4 { font-family: var(--serif); font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.ledger-row p { color: var(--muted); margin: 0; max-width: 620px; }
.ledger-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all .25s;
}
.ledger-row:hover .ledger-arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---------- Stats ---------- */
.stats { background: var(--brand); color: #fff; }
.stats .stat-num { color: var(--accent); }
.stats .stat-label { color: #b5c6dc; }
.stats .col-6 + .col-6 { border-left: 1px solid rgba(255,255,255,.12); }
.stat-num { font-family: var(--serif); font-size: 3rem; font-weight: 500; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: .9rem; letter-spacing: .3px; }

/* ---------- Clients ---------- */
.client-card {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 4px; padding: 24px 22px; height: 100%;
  display: flex; align-items: center; gap: 16px; transition: transform .25s, box-shadow .25s;
}
.client-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(11,42,74,.25); }
.client-icon {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.client-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; margin: 0; color: var(--brand); }
.client-note { color: var(--muted); font-size: .86rem; margin: 0; }

/* ---------- Team ---------- */
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; height: 100%; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -16px rgba(11,42,74,.25); }
.team-photo-wrap { aspect-ratio: 1 / 1; background: var(--brand); position: relative; border-bottom: 4px solid var(--accent); }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 4.5rem; font-weight: 500; color: var(--accent);
}
.team-body { padding: 26px; }
.team-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 4px; color: var(--brand); }
.team-role { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.team-bio { color: var(--muted); font-size: .95rem; }
.team-social a { color: var(--brand); font-size: 1.25rem; margin-right: 12px; }
.team-social a:hover { color: var(--accent); }

/* Choto team card (IT Support) */
.team-card-sm { display: flex; align-items: center; height: auto; }
.team-card-sm:hover { transform: translateY(-3px); }
.team-photo-sm { width: 150px; height: 200px; flex-shrink: 0; margin: 16px; border-radius: 4px; overflow: hidden; background: var(--brand); position: relative; border: 3px solid var(--accent); }
.team-photo-sm .team-initials { font-size: 1.8rem; }
.team-body-sm { padding: 16px 18px 16px 0; }
.team-card-sm .team-name { font-size: 1.05rem; margin-bottom: 2px; }
.team-card-sm .team-role { font-size: .72rem; margin-bottom: 6px; }
.team-card-sm .team-bio { font-size: .85rem; margin-bottom: 6px; }
.team-card-sm .team-social a { font-size: 1rem; }

/* ---------- Process steps ---------- */
.step-num {
  width: 50px; height: 50px; border-radius: 50%; background: var(--paper); color: var(--brand);
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.step-num + h5 { font-family: var(--serif); color: var(--brand); }

/* ---------- CTA ---------- */
.cta {
  background-color: var(--brand); color: #fff; border-radius: 6px; padding: 56px; position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px);
}
.cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.cta h3 { font-family: var(--serif); font-weight: 600; }

/* ---------- Services detail ---------- */
.service-detail { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 36px; }
.service-detail h3 { color: var(--brand); font-weight: 600; }
.service-detail ul li { margin-bottom: 8px; }
.service-detail ul li i { color: var(--accent); margin-right: 8px; }

/* ---------- Blog ---------- */
.blog-thumb {
  height: 170px; border-radius: 4px; margin: -10px -10px 20px;
  background-color: var(--brand);
  background-image: repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.06) 23px 24px);
  display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--accent);
}
.badge-soon { background: var(--accent-light); color: var(--brand); font-weight: 700; border-radius: 3px; }

/* ---------- FAQ ---------- */
.accordion-item { background: var(--paper); border-color: var(--line); }
.accordion-button { background: var(--paper); font-weight: 600; color: var(--brand); }
.accordion-button:not(.collapsed) { background: var(--brand-light); color: var(--brand); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
[id] { scroll-margin-top: 110px; }

/* ---------- Contact ---------- */
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item i { font-size: 1.3rem; color: var(--accent); }
.contact-info-item a { color: var(--brand); font-weight: 500; }
.form-control, .form-select { background: #fff; border-color: var(--line); border-radius: 4px; padding: 11px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(26,125,194,.18); }
.hidden-trap { display: none; }

/* ---------- Footer ---------- */
footer { background: var(--brand-dark); color: #9fb2cb; padding: 64px 0 22px; border-top: 4px solid var(--accent); }
footer h6 { color: var(--accent); font-weight: 700; margin-bottom: 18px; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; }
footer .footer-brand { font-family: var(--serif); color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
footer a { color: #9fb2cb; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .84rem; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-btn {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 1000; transition: transform .2s;
}
.whatsapp-btn:hover { transform: scale(1.08); color: #fff; }

/* ---------- Scroll e vese asha animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .nav-link { padding: 10px 6px !important; }
  .nav-link:not(.dropdown-toggle)::after { display: none; }
  section { padding: 64px 0; }
  .cta { padding: 38px 28px; }
  .hero { padding: 60px 0 90px; }
  .seal { right: -10px; bottom: -50px; width: 112px; height: 112px; }
  .stats .col-6 + .col-6 { border-left: none; }
}
@media (max-width: 575px) {
  .navbar-brand { font-size: 1rem; }
  .navbar-brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: .68rem; }
  .ledger-row { grid-template-columns: 54px 1fr; gap: 14px; }
  .ledger-num { font-size: 1.9rem; }
  .ledger-arrow { display: none; }
  .hero { background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(11,42,74,.07) 39px 40px); }
}

/* ---------- Dark section (gaar rong er block) ---------- */
.section-dark {
  background: radial-gradient(ellipse at top left, rgba(26,125,194,.10), transparent 55%),
              linear-gradient(160deg, #0b2a4a 0%, #081f37 100%);
  color: #dbe5f1;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.section-dark .section-title,
.section-dark h5 { color: #fff; }
.section-dark .section-sub,
.section-dark .text-muted,
.section-dark p { color: #b5c6dc !important; }
.section-dark .step-num { background: transparent; color: var(--accent); }
.section-dark .card-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .card-box:hover { background: rgba(255,255,255,.07); border-color: var(--accent); }
.section-dark .card-box h5 { color: #fff; }
.section-dark .card-box i { color: var(--accent); }
.section-dark .icon-circle { background: rgba(26,125,194,.14); border: 1px solid rgba(26,125,194,.4); }

/* ---------- Logo ---------- */
.brand-logo { width: 46px; height: 46px; object-fit: contain; margin-right: 11px; }
.footer-logo { width: 44px; height: 44px; background: #fff; border-radius: 6px; padding: 5px; margin-right: 12px; flex-shrink: 0; display: inline-flex; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }

/* Gaar nil background er upor halka nil (porte shubidha) */
.stats .stat-num,
footer h6, footer a:hover, .top-bar a:hover,
.page-header .breadcrumb a,
.section-dark .step-num, .section-dark .card-box i { color: #5fb0ea; }
.section-dark .step-num { border-color: #5fb0ea; }

/* ---------- Blog article page ---------- */
.article { max-width: 760px; font-size: 1.05rem; line-height: 1.75; }
.article h2 { font-family: var(--serif); color: var(--brand); font-size: 1.7rem; font-weight: 600; margin: 44px 0 14px; }
.article h3 { font-family: 'Inter', sans-serif; color: var(--brand); font-size: 1.1rem; font-weight: 700; margin: 26px 0 8px; }
.article p, .article li { color: #36435a; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: 8px; }
.article-lead { font-size: 1.2rem; color: var(--text) !important; }
.article-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.5; }
.article-meta img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--accent); }
.article-meta strong { color: var(--brand); }
.article-note { display: flex; gap: 14px; background: var(--brand-light); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: 4px; margin: 30px 0; }
.article-note i { color: var(--accent); font-size: 1.4rem; }
.article-disclaimer { font-size: .85rem; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }
.badge-new { background: var(--accent); color: #fff; font-weight: 700; border-radius: 3px; }
a.card-box { display: block; color: inherit; }
