/* Amanot brand: Emerald leads, Navy grounds it, Brass only for accents, Mist for backgrounds. */
:root {
  --am-emerald: #0E5A4A;
  --am-emerald-dark: #0a4439;
  --am-navy: #12263F;
  --am-navy-soft: #1b3556;
  --am-brass: #C9A227;
  --am-mist: #F3F6F5;
  --am-line: #dde6e3;
  --am-ink: #17212b;
  --am-muted: #5f6f7a;
  --bs-primary: #0E5A4A;
  --bs-primary-rgb: 14, 90, 74;
  --bs-link-color: #0E5A4A;
  --bs-link-hover-color: #0a4439;
  --bs-body-font-family: 'Mulish', 'Hind Siliguri', system-ui, sans-serif;
  --bs-body-color: #17212b;
}
html { scroll-behavior: smooth; }
body { font-family: 'Mulish', 'Hind Siliguri', system-ui, sans-serif; background: var(--am-mist); color: var(--am-ink); }
html[lang="bn"] body, html[lang="bn"] .btn, html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4, html[lang="bn"] h5 { font-family: 'Hind Siliguri', 'Mulish', sans-serif; }
h1, h2, h3, h4, h5 { font-weight: 800; color: var(--am-navy); letter-spacing: -.01em; }
a { text-decoration: none; }

.btn-primary { --bs-btn-bg: var(--am-emerald); --bs-btn-border-color: var(--am-emerald); --bs-btn-hover-bg: var(--am-emerald-dark); --bs-btn-hover-border-color: var(--am-emerald-dark); --bs-btn-active-bg: var(--am-emerald-dark); --bs-btn-disabled-bg: var(--am-emerald); --bs-btn-disabled-border-color: var(--am-emerald); font-weight: 700; }
.btn-outline-primary { --bs-btn-color: var(--am-emerald); --bs-btn-border-color: var(--am-emerald); --bs-btn-hover-bg: var(--am-emerald); --bs-btn-hover-border-color: var(--am-emerald); --bs-btn-active-bg: var(--am-emerald); font-weight: 700; }
.btn-brass { background: var(--am-brass); color: #1a1405; font-weight: 800; border: 0; }
.btn-brass:hover { background: #b38f1d; color: #1a1405; }
.btn { border-radius: 10px; }
.form-control, .form-select { border-radius: 10px; border-color: #cdd9d5; }
.form-control:focus, .form-select:focus { border-color: var(--am-emerald); box-shadow: 0 0 0 .2rem rgba(14, 90, 74, .15); }
.form-label { font-weight: 700; font-size: .875rem; color: var(--am-navy); margin-bottom: .25rem; }
.text-brass { color: var(--am-brass) !important; }
.text-emerald { color: var(--am-emerald) !important; }
.bg-emerald { background: var(--am-emerald) !important; }
.bg-navy { background: var(--am-navy) !important; }

/* ---------- panel layout ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 252px; background: var(--am-navy); color: #cdd7e3; overflow-y: auto; z-index: 1040; transition: transform .2s; display: flex; flex-direction: column; }
.sidebar .brand { padding: 18px 20px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand img { width: 150px; height: auto; display: block; }
.sidebar .brand small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8ea3bb; }
.sidebar .nav-section { padding: 14px 20px 4px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #7f94ad; font-weight: 800; }
.sidebar .nav-link { color: #cdd7e3; padding: 9px 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; border-left: 3px solid transparent; }
.sidebar .nav-link i { font-size: 1.05rem; width: 20px; text-align: center; color: #8ea3bb; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar .nav-link.active { background: rgba(14, 90, 74, .55); color: #fff; border-left-color: var(--am-brass); }
.sidebar .nav-link.active i { color: var(--am-brass); }
.sidebar .nav-link .badge { margin-left: auto; }
.sidebar .side-foot { margin-top: auto; padding: 14px 20px; font-size: 12px; color: #8ea3bb; border-top: 1px solid rgba(255,255,255,.08); }
.main-wrap { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { background: #fff; border-bottom: 1px solid var(--am-line); padding: 10px 24px; display: flex; align-items: center; gap: 14px; position: sticky; top: 0; z-index: 1030; }
.topbar .page-title { font-weight: 800; font-size: 1.1rem; color: var(--am-navy); margin: 0; }
.content { padding: 24px; flex: 1; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--am-emerald); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.footer-panel { padding: 14px 24px; font-size: .8rem; color: var(--am-muted); border-top: 1px solid var(--am-line); background: #fff; }
.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: none; }
  body.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1035; }
  .main-wrap { margin-left: 0; }
  .content { padding: 16px; }
  .topbar { padding: 10px 14px; }
}

/* ---------- cards & tiles ---------- */
.card { border: 1px solid var(--am-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(18, 38, 63, .04); }
.card-header { background: #fff; border-bottom: 1px solid var(--am-line); font-weight: 800; color: var(--am-navy); border-radius: 14px 14px 0 0 !important; }
.stat { background: #fff; border: 1px solid var(--am-line); border-radius: 14px; padding: 16px 18px; height: 100%; position: relative; overflow: hidden; }
.stat .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--am-muted); font-weight: 800; }
.stat .value { font-size: 1.65rem; font-weight: 800; color: var(--am-navy); line-height: 1.2; margin-top: 2px; }
.stat .sub { font-size: .82rem; color: var(--am-muted); }
.stat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--am-emerald); }
.stat.warn::after { background: var(--am-brass); }
.stat.danger::after { background: #c0392b; }
.stat.info::after { background: #2f6fa5; }
.table > :not(caption) > * > * { padding: .65rem .75rem; vertical-align: middle; }
.table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--am-muted); font-weight: 800; border-bottom-width: 1px; background: #fafcfb; }
.table-hover tbody tr:hover { background: #f6faf8; }
.badge { font-weight: 700; padding: .42em .65em; border-radius: 8px; }
.empty { text-align: center; padding: 38px 16px; color: var(--am-muted); }
.empty i { font-size: 2.2rem; color: #b5c3bf; display: block; margin-bottom: 8px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--am-line); }
.timeline li { position: relative; padding: 0 0 16px 18px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--am-emerald); }
.timeline li.warn::before { border-color: var(--am-brass); }
.timeline li.bad::before { border-color: #c0392b; }
.timeline .when { font-size: .78rem; color: var(--am-muted); }

/* ---------- steps ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.steps .step { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #e8efed; color: #6c7d78; }
.steps .step.done { background: var(--am-emerald); color: #fff; }
.steps .step.now { background: var(--am-brass); color: #1a1405; }

/* ---------- media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.media-grid .m { position: relative; border-radius: 10px; overflow: hidden; background: #e8efed; aspect-ratio: 1; display: block; border: 1px solid var(--am-line); }
.media-grid img, .media-grid video { width: 100%; height: 100%; object-fit: cover; }
.media-grid .m .tag { position: absolute; left: 4px; bottom: 4px; font-size: 10px; background: rgba(18, 38, 63, .85); color: #fff; padding: 1px 6px; border-radius: 6px; }
.media-grid .m.doc { display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: .72rem; color: var(--am-navy); padding: 6px; text-align: center; word-break: break-all; }
.media-grid .m.doc i { font-size: 1.8rem; color: var(--am-emerald); }

/* ---------- auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(160deg, var(--am-navy) 0%, #0d3b4a 60%, var(--am-emerald) 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: 2rem; }
.auth-side .points li { margin-bottom: 12px; color: #d4e2ee; }
.auth-side .points i { color: var(--am-brass); margin-right: 8px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: #fff; }
.auth-box { width: 100%; max-width: 420px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- public website ---------- */
.site-nav { background: #fff; border-bottom: 1px solid var(--am-line); position: sticky; top: 0; z-index: 1030; }
.site-nav .navbar-brand img { height: 46px; width: auto; }
.site-nav .nav-link { font-weight: 700; color: var(--am-navy); padding: .6rem .9rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--am-emerald); }
.hero { background: linear-gradient(135deg, var(--am-navy) 0%, #0e3a52 55%, var(--am-emerald) 130%); color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border: 36px solid rgba(201, 162, 39, .14); border-radius: 50%; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; }
.hero p.lead { color: #d4e2ee; max-width: 620px; }
.hero .kicker { color: var(--am-brass); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-title { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-title .kicker { color: var(--am-emerald); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
.feature { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 24px; height: 100%; transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(18, 38, 63, .08); }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(14, 90, 74, .1); color: var(--am-emerald); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.step-card { text-align: center; padding: 8px 12px; }
.step-card .n { width: 46px; height: 46px; border-radius: 50%; background: var(--am-emerald); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; border: 3px solid var(--am-brass); }
.plan { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; padding: 28px; height: 100%; position: relative; }
.plan.featured { border: 2px solid var(--am-emerald); box-shadow: 0 14px 36px rgba(14, 90, 74, .14); }
.plan .ribbon { position: absolute; top: -13px; right: 22px; background: var(--am-brass); color: #1a1405; font-weight: 800; font-size: .72rem; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2.3rem; font-weight: 800; color: var(--am-navy); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 6px 0; font-size: .93rem; }
.plan li i { color: var(--am-emerald); margin-right: 8px; }
.listing-card { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s; }
.listing-card:hover { box-shadow: 0 10px 28px rgba(18, 38, 63, .1); }
.listing-card .ph { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #cfe1db, #a9c9be); display: flex; align-items: center; justify-content: center; color: var(--am-emerald); font-size: 2.6rem; overflow: hidden; }
.listing-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.quote-card { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 22px; height: 100%; }
.site-footer { background: var(--am-navy); color: #b9c8d8; padding: 48px 0 20px; }
.site-footer a { color: #d7e3ef; }
.site-footer h6 { color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1050; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.draft-mark { position: relative; }
.draft-mark::before { content: "DRAFT"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 8rem; font-weight: 900; color: rgba(192, 57, 43, .09); transform: rotate(-28deg); pointer-events: none; letter-spacing: .1em; }
.menu-pill { font-size: .7rem; padding: 2px 8px; border-radius: 999px; font-weight: 800; }
.menu-pill.r1 { background: #dff0e6; color: #1b6a3a; }
.menu-pill.soon { background: #f6ebcf; color: #7a5410; }
.svc-col { border: 1px solid var(--am-line); background: var(--am-mist); border-radius: 12px; padding: 14px 16px; height: 100%; }
.svc-col h6 { font-weight: 800; color: var(--am-navy); font-size: .88rem; }
.svc-col ul { margin: 0; padding-left: 18px; color: var(--am-muted); font-size: .88rem; }

/* ---------- misc ---------- */
.star { color: var(--am-brass); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.7rem; color: #cbd5d1; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--am-brass); }
.emergency-btn { background: #c0392b; color: #fff; font-weight: 800; border: 0; padding: 14px 22px; border-radius: 14px; box-shadow: 0 8px 22px rgba(192, 57, 43, .3); }
.emergency-btn:hover { background: #a93226; color: #fff; }
.copyable { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef3f1; padding: 2px 8px; border-radius: 6px; }
.print-only { display: none; }
@media print {
  .sidebar, .topbar, .footer-panel, .no-print, .wa-float, .site-nav, .site-footer { display: none !important; }
  .main-wrap { margin: 0 !important; }
  .content { padding: 0 !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .card { border: 0; box-shadow: none; }
}
