/* ===== SOL-BD website ===== */
:root {
    --red: #e8202a;
    --red-dark: #c4141d;
    --blue: #1f8fd6;
    --blue-dark: #126fae;
    --navy: #0b1b33;
    --navy-2: #12284a;
    --ink: #0f172a;
    --muted: #5b6678;
    --line: #e3e8ef;
    --soft: #f4f7fb;
    --radius: 18px;
    --bs-body-font-family: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-link-color: var(--blue-dark);
    --bs-link-color-rgb: 18, 111, 174;
    --bs-primary: var(--red);
    --bs-primary-rgb: 232, 32, 42;
}
html[lang="bn"] { --bs-body-font-family: "Hind Siliguri", "Inter", system-ui, sans-serif; }
html[lang="bn"] body { font-size: 1.04rem; }
body { color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .fw-black { letter-spacing: -.02em; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; }
.text-muted-2 { color: var(--muted) !important; }
.text-red { color: var(--red) !important; }
.text-blue { color: var(--blue) !important; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #fff; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
html[lang="bn"] .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 10px 0 14px; }
.lead-muted { color: var(--muted); font-size: 1.08rem; max-width: 640px; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.4rem; }
.btn-lg { padding: .85rem 1.8rem; }
.btn-red { background: var(--red); color: #fff; border: 0; box-shadow: 0 8px 20px -8px rgba(232, 32, 42, .6); }
.btn-red:hover, .btn-red:focus { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; border: 0; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-width: 1.5px; }

/* Notice strip + top bar */
.notice-strip { background: var(--red); color: #fff; font-size: .9rem; padding: 8px 0; text-align: center; }
.notice-strip a { color: #fff; font-weight: 700; text-decoration: underline; }
.notice-strip.outage { background: #b91c1c; }
.notice-strip.maintenance { background: #b45309; }
.notice-strip.offer { background: var(--blue-dark); }
.topbar { background: var(--navy); color: #c8d3e6; font-size: .84rem; }
.topbar a { color: #e6edf8; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .3; margin: 0 .6rem; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; }
.lang-switch a { padding: 2px 10px; font-weight: 600; }
.lang-switch a.active { background: #fff; color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .logo { height: 46px; width: auto; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .8rem !important; border-radius: 10px; }
.site-nav .nav-link:hover { color: var(--red); }
.site-nav .nav-link.active { color: var(--red); background: rgba(232, 32, 42, .07); }
.navbar-toggler { border: 0; font-size: 1.7rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 85% 20%, rgba(31, 143, 214, .35), transparent 60%), linear-gradient(100deg, rgba(11, 27, 51, .98) 0%, rgba(11, 27, 51, .85) 45%, rgba(11, 27, 51, .55) 100%); z-index: 1; }
.hero > .container { position: relative; z-index: 2; }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; }
.hero h1 .accent { background: linear-gradient(90deg, #ff5a5f, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: #c8d3e6; font-size: 1.15rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; padding: 6px 14px; font-size: .86rem; color: #e6edf8; }
.hero-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 24px; padding: 28px; backdrop-filter: blur(8px); }
.hero-card .price { font-size: 3rem; font-weight: 800; line-height: 1; }
.speed-ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--red) 0 72%, rgba(255,255,255,.12) 72% 100%); margin: 0 auto 18px; }
.speed-ring > div { width: 124px; height: 124px; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; text-align: center; }
.speed-ring strong { font-size: 2.1rem; font-weight: 800; display: block; line-height: 1; }
.page-hero { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 143, 214, .35), transparent 70%); }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.page-hero p { color: #c8d3e6; max-width: 640px; font-size: 1.08rem; position: relative; z-index: 1; margin: 0; }
.crumbs { font-size: .85rem; color: #9fb0c9; position: relative; z-index: 1; }
.crumbs a { color: #c8d3e6; text-decoration: none; }

/* Quick actions */
.quick { margin-top: -46px; position: relative; z-index: 5; }
.quick-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 18px 40px -24px rgba(11, 27, 51, .45); transition: transform .2s, box-shadow .2s; height: 100%; }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(11, 27, 51, .55); color: var(--ink); }
.quick-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.quick-card strong { display: block; font-size: 1rem; }
.quick-card small { color: var(--muted); }
.ico-red { background: rgba(232, 32, 42, .1); color: var(--red); }
.ico-blue { background: rgba(31, 143, 214, .12); color: var(--blue-dark); }
.ico-green { background: rgba(22, 163, 74, .12); color: #15803d; }
.ico-amber { background: rgba(217, 119, 6, .12); color: #b45309; }

/* Package cards */
.pkg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pkg:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11, 27, 51, .45); border-color: #cfd8e5; }
.pkg.popular { border: 2px solid var(--red); box-shadow: 0 24px 50px -28px rgba(232, 32, 42, .55); }
.pkg .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: 4px 14px; border-radius: 99px; white-space: nowrap; text-transform: uppercase; }
.pkg .speed { font-size: 2.9rem; font-weight: 800; line-height: 1; color: var(--navy); }
.pkg .speed small { font-size: 1rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.pkg .price { font-size: 1.7rem; font-weight: 800; color: var(--red); }
.pkg .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.pkg ul { list-style: none; padding: 0; margin: 18px 0 22px; flex-grow: 1; }
.pkg li { display: flex; gap: 10px; padding: 5px 0; font-size: .93rem; color: #334155; }
.pkg li i { color: #16a34a; }
.pkg .fee { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-bottom: 16px; }
.pkg .fee strong { color: var(--ink); }
.pkg .fee .free { color: #15803d; }
.compare-table th, .compare-table td { padding: .85rem 1rem; vertical-align: middle; }
.compare-table thead th { background: var(--navy); color: #fff; font-weight: 600; border: 0; }
.compare-table tbody tr:hover { background: #fafcff; }

/* Feature cards */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: #cbd5e1; transform: translateY(-2px); }
.feature .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Steps */
.step { text-align: center; padding: 10px 18px; }
.step .num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.5rem; font-weight: 800; background: #fff; color: var(--red); border: 2px solid rgba(232, 32, 42, .25); box-shadow: 0 10px 24px -14px rgba(232, 32, 42, .7); }
.step h3 { font-size: 1.12rem; font-weight: 700; }
.step p { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--navy-2); padding: 26px 18px; text-align: center; }
.stats strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.stats span { color: #9fb0c9; font-size: .9rem; }

/* Map */
.map { height: 460px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }
.map.tall { height: 600px; }
.leaflet-popup-content { font-family: var(--bs-body-font-family); font-size: .88rem; }
.pop-marker { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red), 0 4px 10px rgba(0, 0, 0, .3); }
.pop-marker.noc { width: 24px; height: 24px; background: var(--navy); box-shadow: 0 0 0 3px var(--red), 0 4px 10px rgba(0, 0, 0, .35); }
.pop-marker.distribution { background: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 4px 10px rgba(0, 0, 0, .3); }
.pop-list { max-height: 600px; overflow-y: auto; }
.pop-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.pop-item:hover, .pop-item.active { border-color: var(--red); background: #fff7f7; }
.pop-item h4 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.pop-item .meta { font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-size: .85rem; color: var(--muted); }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(var(--red), var(--blue)); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.tl-item .year { font-weight: 800; color: var(--red); font-size: .95rem; }
.tl-item h3 { font-size: 1.05rem; font-weight: 700; margin: 2px 0 4px; }
.tl-item p { color: var(--muted); margin: 0; font-size: .94rem; }
.tl-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }

/* Photo blocks */
.photo { border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 30px 60px -36px rgba(11, 27, 51, .6); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .tag { position: absolute; left: 16px; bottom: 16px; background: rgba(11, 27, 51, .82); color: #fff; padding: 6px 14px; border-radius: 99px; font-size: .82rem; font-weight: 600; backdrop-filter: blur(4px); }

/* Accordion (FAQ) */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 10px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: #fff7f7; color: var(--red); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: #475569; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(11, 27, 51, .5); }
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select { border-radius: 12px; padding: .7rem .95rem; border-color: #d4dbe5; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(31, 143, 214, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success-box { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; border-radius: 16px; padding: 18px 20px; }

/* Contact info cards */
.info-card { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--soft); height: 100%; }
.info-card i { font-size: 1.4rem; color: var(--red); }
.info-card strong { display: block; }
.info-card a { color: var(--ink); text-decoration: none; }
.info-card a:hover { color: var(--red); }

/* Pay bill */
.pay-number { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.pay-tabs .nav-link { border-radius: 99px; font-weight: 700; color: var(--ink); padding: .55rem 1.3rem; }
.pay-tabs .nav-link.active { background: var(--navy); color: #fff; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 12px 0 12px 52px; border-bottom: 1px dashed var(--line); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 34px; height: 34px; border-radius: 50%; background: rgba(232, 32, 42, .1); color: var(--red); font-weight: 800; display: grid; place-items: center; }
html[lang="bn"] .steps-list li::before { content: counter(s, bengali); }
.brand-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 6px 14px; border-radius: 10px; color: #fff; }
.brand-chip.bkash { background: #e2136e; }
.brand-chip.nagad { background: #f6921e; }

/* Notices */
.notice-card { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 18px 20px; background: #fff; margin-bottom: 12px; }
.notice-card.outage { border-left-color: #dc2626; }
.notice-card.maintenance { border-left-color: #d97706; }
.notice-card.offer { border-left-color: var(--red); }
.status-ok { display: flex; align-items: center; gap: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 16px; padding: 18px 20px; color: #166534; font-weight: 600; }
.status-ok .dot { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, .2); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--red) 0%, #b0121a 100%); color: #fff; border-radius: 26px; padding: 44px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-band h2 { font-weight: 800; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b7cd; padding: 70px 0 24px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: #c8d3e6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; }
.footer-logo img { height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: .84rem; }
.licence { font-size: .82rem; color: #8ea0bb; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; margin-right: 6px; }
.social a:hover { background: var(--red); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* Reveal on scroll (only with JavaScript) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .tl-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .site-nav { padding: 12px 0; }
    .site-header .logo { height: 38px; }
}
@media (max-width: 575.98px) {
    .quick { margin-top: -30px; }
    .cta-band { padding: 30px 22px; }
    .form-card { padding: 22px; }
    .map, .map.tall { height: 380px; }
    .hero-card .price { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
