/* ========================================
   777abc bet - Global Stylesheet
   Target: Bangladesh (bn-BD)
   ======================================== */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Bengali",sans-serif;font-size:16px;line-height:1.7;color:#1a1a2e;background:#f8f9fc;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#2563eb;text-decoration:none;transition:color .2s}
a:hover{color:#1d4ed8}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.25;font-weight:700;color:#0f172a}
p{margin:0 0 18px}
button{font-family:inherit;cursor:pointer}

/* --- Layout Container --- */
.container{max-width:1180px;margin:0 auto;padding:0 20px}

/* ========================================
   HEADER - Sticky, Single-line, Stable
   ======================================== */
.site-header{position:sticky;top:0;z-index:1000;width:100%;background:linear-gradient(135deg,#0b1120 0%,#162040 100%);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.header-inner{max-width:1180px;margin:0 auto;min-height:72px;padding:0 20px;display:grid;grid-template-columns:168px minmax(0,1fr) auto;align-items:center;gap:18px}

/* Brand / Logo */
.brand-wrap{width:168px;min-width:168px;max-width:168px;height:56px;display:flex;align-items:center;gap:10px;overflow:hidden;text-decoration:none}
.brand-mark{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:10px}
.brand-mark svg{width:26px;height:26px}
.brand-text{min-width:0;line-height:1.05}
.brand-text strong{display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;color:#f1f5f9;letter-spacing:.3px}
.brand-text span{display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#94a3b8;letter-spacing:.5px;text-transform:uppercase}

/* Primary Navigation */
.primary-nav{min-width:0;display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.2vw,22px);overflow:hidden;flex-wrap:nowrap}
.primary-nav a{white-space:nowrap;flex:0 1 auto;max-width:128px;overflow:hidden;text-overflow:ellipsis;line-height:1;padding:10px 8px;font-size:14.5px;font-weight:500;color:#cbd5e1;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.primary-nav a:hover,.primary-nav a.active{color:#fbbf24;border-bottom-color:#fbbf24}

/* Header Actions (Register / Login) */
.header-actions{flex-shrink:0;display:flex;align-items:center;gap:10px;white-space:nowrap}
.header-actions .btn{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:8px;font-size:14px;font-weight:600;border:none;transition:transform .15s,box-shadow .2s}
.btn-register{background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;box-shadow:0 2px 8px rgba(245,158,11,.3)}
.btn-register:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(245,158,11,.4);color:#fff}
.btn-login{background:rgba(255,255,255,.1);color:#e2e8f0;border:1px solid rgba(255,255,255,.2)!important}
.btn-login:hover{background:rgba(255,255,255,.18);color:#fff}

/* Mobile Nav Toggle */
.nav-toggle{display:none;width:42px;height:42px;border:none;border-radius:8px;background:rgba(255,255,255,.08);color:#e2e8f0;align-items:center;justify-content:center;font-size:22px}

/* ========================================
   MORE MENU (only if needed)
   ======================================== */
.nav-more{position:relative;flex:0 0 auto}
.more-toggle{min-height:38px;padding:0 12px;border:0;border-radius:999px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);color:#cbd5e1;font-size:14px;font-weight:500;transition:background .2s}
.more-toggle:hover{background:rgba(255,255,255,.15)}
.more-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:210px;padding:10px;border-radius:16px;z-index:1200;background:#1e293b;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px rgba(0,0,0,.4)}
.more-menu[hidden]{display:none!important}
.nav-more.is-open .more-menu{display:grid;gap:4px}
.more-menu a{display:block;width:100%;max-width:none;padding:11px 12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#cbd5e1;border-radius:8px;font-size:14px;transition:background .15s}
.more-menu a:hover{background:rgba(255,255,255,.08);color:#fbbf24}

/* ========================================
   HERO / BANNER
   ======================================== */
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b1120 0%,#1a1a3e 50%,#2d1b4e 100%);padding:72px 0 80px;color:#fff}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero-badge{display:inline-block;padding:6px 16px;background:rgba(245,158,11,.15);border:1px solid rgba(245,158,11,.3);border-radius:999px;font-size:13px;color:#fbbf24;margin-bottom:16px}
.hero h1{font-size:clamp(32px,4vw,54px);line-height:1.15;margin-bottom:20px;background:linear-gradient(135deg,#fff 30%,#fbbf24);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-desc{font-size:18px;line-height:1.8;color:#cbd5e1;margin-bottom:28px;max-width:540px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-actions .btn-primary{padding:14px 32px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border-radius:10px;font-size:16px;font-weight:700;border:none;box-shadow:0 4px 20px rgba(245,158,11,.35);transition:transform .15s,box-shadow .2s}
.hero-actions .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 28px rgba(245,158,11,.45);color:#fff}
.hero-actions .btn-outline{padding:14px 32px;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.25);border-radius:10px;font-size:16px;font-weight:600;transition:border-color .2s,background .2s}
.hero-actions .btn-outline:hover{border-color:#fbbf24;background:rgba(251,191,36,.08);color:#fff}
.hero-visual{display:flex;justify-content:center;align-items:center}
.hero-visual img{border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.4);max-height:420px;object-fit:cover;width:100%}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section{padding:72px 0}
.content-section:nth-child(even){background:#fff}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{font-size:clamp(28px,3vw,42px);line-height:1.25;margin-bottom:14px;color:#0f172a}
.section-header p{font-size:17px;color:#64748b;max-width:640px;margin:0 auto}

/* Content Grid (text + image) */
.content-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:36px;align-items:start}
.content-grid.reverse{direction:rtl}
.content-grid.reverse>*{direction:ltr}
.content-grid-img{border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.1)}
.content-grid-img img{width:100%;height:auto;display:block}

/* Prose */
.prose{max-width:820px}
.prose h2{font-size:clamp(28px,3vw,42px);line-height:1.25;margin:0 0 18px;color:#0f172a}
.prose h3{font-size:clamp(21px,2vw,28px);line-height:1.35;margin:28px 0 12px;color:#1e293b}
.prose p{font-size:17px;line-height:1.9;margin:0 0 18px;color:#334155}
.prose ul,.prose ol{margin:0 0 18px;padding-left:24px}
.prose li{margin-bottom:8px;font-size:16px;line-height:1.7;color:#475569}
.prose ul li{list-style:disc}
.prose ol li{list-style:decimal}
.prose strong{color:#0f172a}

/* ========================================
   CARD SYSTEM
   ======================================== */
.card-grid{display:grid;gap:24px}
.card-grid-3{grid-template-columns:repeat(3,1fr)}
.card-grid-4{grid-template-columns:repeat(4,1fr)}
.card-grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid #e2e8f0;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.1)}
.card-img{aspect-ratio:16/10;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:20px}
.card-body h3{font-size:18px;margin-bottom:8px;color:#0f172a}
.card-body p{font-size:15px;color:#64748b;line-height:1.65;margin-bottom:12px}
.card-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#2563eb}
.card-link:hover{color:#1d4ed8}

/* ========================================
   SHORTCUT / CATEGORY CARDS
   ======================================== */
.shortcut-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:0 0 48px}
.shortcut-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 12px;background:#fff;border-radius:14px;border:1px solid #e2e8f0;text-align:center;transition:transform .2s,box-shadow .2s}
.shortcut-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.08);color:#0f172a}
.shortcut-icon{width:52px;height:52px;background:linear-gradient(135deg,#f59e0b20,#ef444420);border-radius:14px;display:grid;place-items:center}
.shortcut-icon svg{width:28px;height:28px;color:#f59e0b}
.shortcut-card span{font-size:14px;font-weight:600;color:#334155}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section{padding:72px 0;background:#f1f5f9}
.faq-list{max-width:820px;margin:0 auto}
.faq-item{background:#fff;border-radius:12px;margin-bottom:12px;border:1px solid #e2e8f0;overflow:hidden}
.faq-question{width:100%;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;background:none;border:none;font-size:16px;font-weight:600;color:#0f172a;text-align:left;cursor:pointer;transition:background .15s}
.faq-question:hover{background:#f8fafc}
.faq-question::after{content:'+';font-size:22px;font-weight:300;color:#94a3b8;transition:transform .2s;flex-shrink:0;margin-left:12px}
.faq-item.is-open .faq-question::after{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.is-open .faq-answer{max-height:600px}
.faq-answer-inner{padding:0 24px 20px;font-size:15.5px;line-height:1.85;color:#475569}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner{padding:64px 0;background:linear-gradient(135deg,#0b1120,#1a1a3e);color:#fff;text-align:center}
.cta-banner h2{font-size:clamp(26px,3vw,38px);margin-bottom:14px}
.cta-banner p{font-size:17px;color:#94a3b8;max-width:560px;margin:0 auto 28px}
.cta-banner .btn-primary{padding:16px 40px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border-radius:10px;font-size:17px;font-weight:700;border:none;display:inline-flex;align-items:center;gap:8px;box-shadow:0 4px 20px rgba(245,158,11,.35);transition:transform .15s}
.cta-banner .btn-primary:hover{transform:translateY(-2px);color:#fff}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb{padding:16px 0;font-size:14px;color:#64748b}
.breadcrumb a{color:#2563eb}
.breadcrumb a:hover{color:#1d4ed8}
.breadcrumb span{margin:0 6px;color:#94a3b8}

/* ========================================
   ARTICLE / BLOG
   ======================================== */
.article-header{padding:48px 0 24px;border-bottom:1px solid #e2e8f0;margin-bottom:36px}
.article-meta{display:flex;gap:16px;font-size:14px;color:#64748b;margin-bottom:12px;flex-wrap:wrap}
.article-meta span{display:inline-flex;align-items:center;gap:4px}
.article-content{max-width:820px;margin:0 auto;padding-bottom:48px}
.article-content img{border-radius:12px;margin:24px 0;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.related-posts{padding:48px 0;background:#f1f5f9;border-top:1px solid #e2e8f0}

/* ========================================
   STEPS / PROCESS
   ======================================== */
.steps-list{counter-reset:step}
.step-item{counter-increment:step;display:flex;gap:20px;padding:24px 0;border-bottom:1px solid #e2e8f0}
.step-item:last-child{border-bottom:none}
.step-num{flex:0 0 48px;height:48px;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:12px;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:700}
.step-item::before{content:counter(step);position:absolute}
.step-num span{position:relative;z-index:1}
.step-content h3{font-size:18px;margin-bottom:6px;color:#0f172a}
.step-content p{font-size:15.5px;color:#475569;line-height:1.75}

/* ========================================
   NOTICE / WARNING BOX
   ======================================== */
.notice-box{padding:20px 24px;background:#fef3c7;border-left:4px solid #f59e0b;border-radius:0 12px 12px 0;margin:24px 0}
.notice-box.warning{background:#fef2f2;border-left-color:#ef4444}
.notice-box.info{background:#eff6ff;border-left-color:#2563eb}
.notice-box h4{font-size:16px;margin-bottom:6px;color:#0f172a}
.notice-box p,.notice-box li{font-size:15px;color:#475569;line-height:1.75}

/* ========================================
   TABLE
   ======================================== */
.info-table{width:100%;border-collapse:collapse;margin:24px 0;border-radius:12px;overflow:hidden;border:1px solid #e2e8f0}
.info-table th,.info-table td{padding:14px 18px;text-align:left;font-size:15px;border-bottom:1px solid #e2e8f0}
.info-table th{background:#f1f5f9;font-weight:600;color:#0f172a}
.info-table td{color:#475569}
.info-table tr:last-child td{border-bottom:none}

/* ========================================
   FOOTER
   ======================================== */
.site-footer{background:#0b1120;color:#94a3b8;padding:64px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:36px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand{max-width:300px}
.footer-brand p{font-size:14.5px;line-height:1.75;margin-top:16px;color:#64748b}
.footer-col h4{font-size:15px;font-weight:700;color:#e2e8f0;margin-bottom:18px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a{display:block;padding:5px 0;font-size:14px;color:#64748b;transition:color .2s}
.footer-col a:hover{color:#fbbf24}
.footer-contact{margin-top:20px}
.footer-contact p{font-size:13.5px;color:#64748b;line-height:1.7;margin-bottom:4px}
.footer-bottom{padding:24px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:#475569}
.footer-bottom a{color:#64748b}
.footer-bottom a:hover{color:#fbbf24}

/* ========================================
   INNER PAGE HERO
   ======================================== */
.page-hero{padding:56px 0;background:linear-gradient(135deg,#0b1120,#1a1a3e);color:#fff;text-align:center}
.page-hero h1{font-size:clamp(28px,3.5vw,46px);margin-bottom:14px;background:linear-gradient(135deg,#fff 40%,#fbbf24);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.page-hero p{font-size:17px;color:#94a3b8;max-width:620px;margin:0 auto}

/* Inner Content */
.inner-content{padding:56px 0}
.inner-content .prose{margin:0 auto}

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .hero-desc{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .hero-visual{order:-1}
  .hero-visual img{max-height:320px;width:auto;margin:0 auto}
  .card-grid-4{grid-template-columns:repeat(2,1fr)}
  .content-grid{grid-template-columns:1fr}
  .content-grid.reverse{direction:ltr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

/* ========================================
   RESPONSIVE - Mobile Header
   ======================================== */
@media(max-width:900px){
  .header-inner{min-height:68px;grid-template-columns:140px 1fr auto;gap:10px}
  .brand-wrap{width:140px;min-width:140px;max-width:140px;height:48px}
  .brand-mark{width:38px;height:38px;flex-basis:38px}
  .brand-text strong,.brand-text span{max-width:86px}
  .primary-nav{position:fixed;left:12px;right:12px;top:76px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:14px;border-radius:18px;max-height:calc(100vh - 96px);overflow-y:auto;background:#1e293b;border:1px solid rgba(255,255,255,.1);box-shadow:0 12px 40px rgba(0,0,0,.5);z-index:1100}
  .primary-nav.is-open{display:flex}
  .primary-nav a{max-width:none;width:100%;padding:14px 12px;text-overflow:initial;font-size:15px;border-bottom:1px solid rgba(255,255,255,.06);border-left:2px solid transparent}
  .primary-nav a.active{border-left-color:#fbbf24;color:#fbbf24}
  .primary-nav a:last-child{border-bottom:none}
  .header-actions{justify-content:flex-end;gap:6px}
  .header-actions .btn{min-height:38px;padding:0 12px;font-size:14px}
  .nav-toggle{display:inline-flex}
  .nav-more{display:none!important}
}

/* ========================================
   RESPONSIVE - Mobile Content
   ======================================== */
@media(max-width:768px){
  .content-section{padding:48px 0}
  .hero{padding:48px 0 56px}
  .card-grid-3,.card-grid-2{grid-template-columns:1fr}
  .shortcut-grid{grid-template-columns:repeat(3,1fr);gap:10px}
  .shortcut-card{padding:16px 8px}
  .shortcut-icon{width:44px;height:44px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .faq-question{padding:16px 18px;font-size:15px}
  .step-item{gap:14px;padding:18px 0}
  .step-num{flex:0 0 40px;height:40px;font-size:17px}
  .prose p{font-size:16px;line-height:1.85}
  .page-hero{padding:40px 0}
  .inner-content{padding:40px 0}
}

@media(max-width:480px){
  .shortcut-grid{grid-template-columns:repeat(2,1fr)}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn-primary,.hero-actions .btn-outline{text-align:center;justify-content:center}
}

/* ========================================
   UTILITY
   ======================================== */
.text-center{text-align:center}
.mt-0{margin-top:0}.mt-24{margin-top:24px}.mt-48{margin-top:48px}
.mb-0{margin-bottom:0}.mb-24{margin-bottom:24px}.mb-48{margin-bottom:48px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
