/* ===== Needraf School Software - selling site ============================================== */
:root {
  --navy: #0b2a55; --navy-2: #0f3a73; --blue: #1a73e8; --blue-d: #1557b0; --teal: #0ea5a4;
  --green: #16a34a; --wa: #25d366; --ink: #0f172a; --muted: #5b6b82; --line: #e3e9f2; --soft: #f4f7fc; --white: #fff;
  --radius: 18px; --shadow: 0 10px 30px rgba(11, 42, 85, .10); --shadow-lg: 0 24px 60px rgba(11, 42, 85, .20);
}
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Plus Jakarta Sans', 'Noto Sans Bengali', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; }
body.lang-bn { font-family: 'Noto Sans Bengali', 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.8; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.2; }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3 { letter-spacing: 0; line-height: 1.4; }
a { color: var(--blue); text-decoration: none; } a:hover { color: var(--blue-d); }
img { max-width: 100%; height: auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.container.narrow { max-width: 820px; } .container.narrow-lg { max-width: 1060px; }

/* ---- buttons */
.btn { font-weight: 700; border-radius: 12px; padding: .62rem 1.15rem; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.02rem; border-radius: 14px; }
.btn-brand { background: linear-gradient(135deg, var(--blue), #2f89ff); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(26, 115, 232, .30); }
.btn-brand:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(26, 115, 232, .38); }
.btn-brand-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-brand-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light-brand { border: 2px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-light-brand:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #073b1c; border: 0; }
.btn-wa:hover { background: #1fbd5a; color: #052e16; }

/* ---- header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.navbar { padding: .55rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; color: var(--navy); font-size: 1.15rem; }
.navbar-brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; line-height: 1; margin-top: 2px; }
.navbar-brand span { line-height: 1.1; }
.navbar .nav-link { font-weight: 600; color: var(--ink); padding: .5rem .8rem !important; border-radius: 10px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--blue); background: #eef4ff; }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--navy); padding: 0 .3rem; } .navbar-toggler:focus { box-shadow: none; }
.lang-switch { white-space: nowrap; }

/* ---- hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(47, 137, 255, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #123e7c 60%, #0e4f8f 100%); color: #fff; padding: 4.5rem 0 5.5rem; overflow: hidden; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 1rem 0; }
.hero .grad { background: linear-gradient(90deg, #7dd3fc, #86efac); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d3e2f7; font-size: 1.15rem; max-width: 36rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #e6f0ff; padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.checks li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; }
.checks i { color: #4ade80; }
.checks.dark { flex-direction: column; margin-bottom: 1.4rem; } .checks.dark li { color: var(--ink); font-weight: 600; } .checks.dark i { color: var(--green); }
.hero-shots { position: relative; padding-bottom: 2rem; }
.hero-main { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.hero-phone { position: absolute; right: -8px; bottom: -6px; width: 28%; min-width: 120px; }

/* ---- screenshots in frames */
.browser { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 23, 42, .08); }
.browser-bar { height: 26px; background: #eef1f6; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid #e0e5ee; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cbd3e0; } .browser-bar span:nth-child(1) { background: #ff6b6b; } .browser-bar span:nth-child(2) { background: #fbbf24; } .browser-bar span:nth-child(3) { background: #34d399; }
.browser a { display: block; cursor: zoom-in; } .browser img { display: block; width: 100%; }
.phone { margin: 0; border-radius: 26px; border: 6px solid #0f172a; background: #0f172a; overflow: hidden; box-shadow: var(--shadow-lg); }
.phone a { display: block; cursor: zoom-in; } .phone img { display: block; width: 100%; border-radius: 18px; }

/* ---- sections */
.section { padding: 5rem 0; } .bg-soft { background: var(--soft); } .bg-navy { background: linear-gradient(160deg, var(--navy), #0d3366); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); } .section-head p { color: var(--muted); font-size: 1.05rem; margin-top: .6rem; }
.bg-navy .section-head h2, .bg-navy h3 { color: #fff; }
.strip { background: #fff; border-bottom: 1px solid var(--line); padding: 1.6rem 0; margin-top: -2.2rem; position: relative; z-index: 2; }
.strip .container { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1rem; }
.strip b { display: block; font-size: 1.5rem; color: var(--blue); font-weight: 800; } .strip span { color: var(--muted); font-size: .9rem; }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: 0 4px 14px rgba(11, 42, 85, .05); }
.card-soft h3 { font-size: 1.15rem; margin: .8rem 0 .5rem; } .card-soft p { color: var(--muted); margin: 0; }
.big-ic { font-size: 2.2rem; color: var(--blue); }

/* ---- module cards */
.mod-card { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--ink); transition: .2s; position: relative; overflow: hidden; }
.mod-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); opacity: .9; }
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.mod-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: 1.5rem; flex: none; }
.mod-card h3 { font-size: 1.12rem; margin: 1rem 0 .4rem; } .mod-card p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.mod-card .more { color: var(--c); font-weight: 700; font-size: .9rem; }

/* ---- showcase rows */
.showcase { margin-bottom: 5.5rem; } .showcase:last-child { margin-bottom: 0; }
.showcase h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; } .lead-sm { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.2rem; }
.stack { position: relative; padding: 0 0 2.2rem 0; }
.stack-a { width: 86%; } .stack-b { position: absolute; width: 62%; right: 0; bottom: 0; }
.flip .stack-a { margin-left: auto; } .flip .stack-b { right: auto; left: 0; }
.portal-row { position: relative; padding-bottom: 1.5rem; } .pr-main { width: 92%; } .pr-phone { position: absolute; width: 27%; right: 0; bottom: 0; }

.strip-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.strip-gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 14px rgba(11, 42, 85, .06); transition: .2s; }
.strip-gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow); } .strip-gallery img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }

/* ---- steps */
.steps { display: grid; gap: 1.2rem; } .step { display: flex; gap: 1rem; align-items: flex-start; }
.step b { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #2f89ff); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(26, 115, 232, .3); }
.step h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; } .step p { color: var(--muted); margin: 0; }

/* ---- why */
.why { display: flex; gap: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius); padding: 1.4rem; height: 100%; }
.why i { font-size: 1.8rem; color: #7dd3fc; } .why h3 { font-size: 1.05rem; margin: 0 0 .3rem; } .why p { margin: 0; color: #c4d6ef; font-size: .95rem; }

/* ---- faq */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .7rem; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--navy); background: #fff; box-shadow: none; padding: 1.05rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: #eef4ff; color: var(--blue-d); } .faq .accordion-body { color: var(--muted); }

/* ---- CTA */
.cta { background: linear-gradient(135deg, var(--blue-d), #1d6ee0 55%, #0ea5a4); color: #fff; padding: 4rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); } .cta p { color: #e4f0ff; font-size: 1.08rem; }
.quick-form { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-lg); }
.form-note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.quick-form .form-control, .card-form .form-control, .card-form .form-select { border-radius: 12px; border: 1.5px solid var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 115, 232, .12); }

/* ---- inner pages */
.page-head { background: linear-gradient(160deg, var(--navy), #123e7c); color: #fff; padding: 3.4rem 0 3rem; } .page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); } .page-head p { color: #cfe0f7; font-size: 1.08rem; max-width: 46rem; margin: .6rem 0 0; }
.page-head .text-center p { margin-left: auto; margin-right: auto; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; } .toc a { color: var(--ink); font-weight: 600; font-size: .92rem; padding: .5rem .8rem; border-radius: 10px; display: flex; gap: .55rem; align-items: center; } .toc a:hover, .toc a.on { background: #eef4ff; color: var(--blue); }
.feature { margin-bottom: 3.2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); } .feature:last-of-type { border-bottom: 0; }
.feature header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; } .feature h2 { font-size: 1.55rem; margin: 0; } .feature header p { margin: .15rem 0 0; color: var(--muted); }
.feat-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; } .feat-list li { display: flex; gap: .6rem; } .feat-list i { color: var(--green); font-size: 1.1rem; margin-top: 2px; flex: none; }
.feat-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.feat-shots .browser { box-shadow: var(--shadow); } .fs-phone { max-width: 190px; }
.shot-grid { columns: 3 300px; column-gap: 18px; } .shot-card { display: block; break-inside: avoid; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(11, 42, 85, .06); transition: .2s; color: var(--ink); }
.shot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } .shot-card img { display: block; width: 100%; } .shot-card span { display: block; padding: .6rem .85rem; font-size: .88rem; font-weight: 600; }
.shot-card.is-mobile img { max-width: 200px; margin: 1rem auto 0; border-radius: 16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; } .filter-chips button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; padding: .4rem .9rem; border-radius: 999px; }
.filter-chips button.active, .filter-chips button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---- pricing / contact */
.price-card { background: #fff; border: 2px solid var(--blue); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow); height: 100%; }
.badge-pill { display: inline-block; background: #eaf2ff; color: var(--blue-d); font-weight: 700; padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; }
.price { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--navy); margin: .8rem 0 .3rem; } .price-note { color: var(--muted); margin-bottom: 1rem; }
.addons { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; } .addons li { display: flex; gap: .65rem; align-items: center; } .addons i { color: var(--blue); font-size: 1.2rem; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow); } .card-form .form-label { font-weight: 600; font-size: .92rem; } .req { color: #dc2626; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; } .chip input { position: absolute; opacity: 0; } .chip span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: .38rem .85rem; font-size: .86rem; font-weight: 600; cursor: pointer; transition: .15s; }
.chip input:checked + span { background: #eaf2ff; border-color: var(--blue); color: var(--blue-d); } .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26, 115, 232, .25); }
.next-list { padding-left: 1.1rem; margin: 0; color: var(--muted); } .next-list li { margin-bottom: .5rem; }
.thanks-ic { width: 76px; height: 76px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 1rem; box-shadow: 0 10px 26px rgba(22, 163, 74, .4); }
.prose p { font-size: 1.05rem; color: #334155; }

/* ---- footer */
.site-footer { background: #071d3d; color: #b9c8e0; padding: 3.2rem 0 1.4rem; } .site-footer h6 { color: #fff; font-weight: 700; margin-bottom: .9rem; } .site-footer a { color: #b9c8e0; } .site-footer a:hover { color: #fff; }
.site-footer .btn-wa { color: #073b1c; } .site-footer li { margin-bottom: .45rem; } .site-footer .bi { margin-right: .3rem; }
.foot-line { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.1rem; font-size: .85rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; background: var(--wa); color: #073b1c; border-radius: 999px; padding: .75rem 1.15rem; display: flex; align-items: center; gap: .5rem; font-weight: 700; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.wa-float i { font-size: 1.5rem; } .wa-float:hover { color: #052e16; transform: translateY(-2px); }

/* ---- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 15, 32, .94); display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.lightbox[hidden] { display: none; } .lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lightbox figcaption { color: #dbe7fb; margin-top: .8rem; font-weight: 600; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); } .lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

/* ---- reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 991px) {
  .hero { padding: 3rem 0 4.5rem; } .hero-main { transform: none; } .section { padding: 3.6rem 0; }
  .navbar-collapse { padding: .8rem 0; } .navbar .btn-brand { width: 100%; margin-top: .4rem; }
  .stack-b, .flip .stack-b { position: static; width: 100%; margin-top: 14px; } .stack-a { width: 100%; }
  .showcase { margin-bottom: 3.5rem; } .pr-main { width: 100%; } .pr-phone { position: static; width: 46%; margin: -60px 0 0 auto; display: block; }
  .lightbox { padding: 3.2rem .8rem 1rem; } .lb-prev { left: 4px; } .lb-next { right: 4px; }
}
@media (max-width: 575px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } .hero-phone { width: 34%; } .btn-lg { width: 100%; } .hero .d-flex .btn-lg { width: auto; flex: 1; } }

/* ---- phones: Bootstrap's wide gutters (g-5) must not push the page wider than the screen */
body { overflow-x: clip; }
@media (max-width: 767px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ---- landing pages / solutions */
.crumbs { font-size: .88rem; color: #aebfdc; margin-bottom: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; } .crumbs a { color: #cfe0f7; } .crumbs a:hover { color: #fff; } .crumbs i { font-size: .65rem; opacity: .7; } .crumbs span { color: #fff; font-weight: 600; }
.sol-link { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; font-weight: 600; color: var(--ink); transition: .15s; height: 100%; } .sol-link i { color: var(--blue); } .sol-link:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26, 115, 232, .12); }
.sol-card { color: var(--ink); transition: .2s; } .sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); } .sol-card h2 { color: var(--navy); } .sol-card .more { color: var(--blue); font-weight: 700; font-size: .9rem; }
.foot-solutions { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.8rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; } .foot-solutions h6 { width: 100%; margin-bottom: .3rem; } .foot-solutions a { font-size: .88rem; }
.prose strong { color: var(--navy); }
.cta .quick-form .form-note { color: var(--muted); font-size: .82rem; }
