  /* ── ROOT VARS (City page এর সাথে same) ── */
  :root {
    --gds-red: #e31c24;
    --gds-blue: #60a5fa;
    --bg: #0b0c10;
    --ink: #0f1116;
    --grad: linear-gradient(92deg, #00eaff 0%, #00ff94 50%, #3f51b5 100%);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  .statePageContainer a { text-decoration: none; }

  /* ══════════════════════════════════════════════════════
     FOUC GUARD — Tailwind CDN runtime-এ compile হয়, তাই reload-এ
     compile শেষ হওয়ার আগে layout সাময়িক ভেঙে যায়। এই plain-CSS
     fallback গুলো Tailwind-এর উপর নির্ভর করে না — compile হওয়ার
     আগেই apply হয়, ফলে reload-এ আর ভাঙবে না।
     ══════════════════════════════════════════════════════ */
  /* Google review logo SVG — Tailwind w-3/h-3 md:w-4/h-4 না এলেও size ঠিক থাকবে */
  .statePageContainer .hero svg[viewBox="0 0 24 24"] {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
  }
  /* যেকোনো inline SVG যেন viewport জুড়ে বিশাল না হয় */
  .statePageContainer svg { max-width: 100%; }
  /* Content fade-in: compile-এর সময়টুকু content hide রেখে তারপর reveal
     (JS ছাড়াই animation সবসময় complete হয়, তাই কখনো আটকে থাকবে না) */
  .statePageContainer { opacity: 0; animation: gdsStateReveal 0.01s ease 0.25s forwards; }
  @keyframes gdsStateReveal { to { opacity: 1; } }

  html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip !important;
    margin: 0; padding: 0;
  }

  body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: #fff;
    font-family: Open Sans, system-ui;
    max-width: 100%;
    position: relative;
    overflow-x: clip !important;
  }

  h1, h2, h3, h4 {
    font-family: Montserrat, Arial, Helvetica, sans-serif;
  }

  p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  /* ══════════════════════════════════════════════════════
     FIX 1: FULL-WIDTH BREAKOUT
     Elementor এর নিজস্ব section/column width override করে
     city page এর মতো full viewport width নেওয়া হচ্ছে।
     .statePageContainer দিয়ে শুধু state hub কে target করা হয়েছে।
     ══════════════════════════════════════════════════════ */

  /* Elementor wrapper গুলো যেন width restrict না করে */
  .statePageContainer,
  .statePageContainer * {
    box-sizing: border-box;
  }

  /* Elementor এর inner section/column এ যে max-width থাকে সেটা override
     ⚠️  শুধু .statePageContainer এর ভেতরে scope করা হয়েছে —
     বাইরের কোনো section/mega-menu এ প্রভাব পড়বে না।           */
  .statePageContainer .elementor-section.elementor-section-boxed > .elementor-container,
  .statePageContainer .elementor-section > .elementor-container,
  .statePageContainer .e-con-inner,
  .statePageContainer .e-con {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Widget নিজেও যেন full width হয় — শুধু state hub widget */
  .statePageContainer .elementor-widget-html {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ── LAYOUT ── */
  .container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Desktop: sidebar + content, city page এর মতো */
  .container .main {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    box-sizing: border-box;
  }

  .container .main .toc { position: sticky; top: 165px; align-self: start; }

  .container .main .main-right { width: 100%; max-width: none; box-sizing: border-box; overflow-wrap: break-word; }

  .container .main .toc a { display: block; padding: 3px 10px; border-radius: 10px; color: #94a3b8; transition: all 0.2s ease; font-size: 14px; font-weight: 400; text-decoration: none; }

  .container .main .toc a.active,
  .container .main .toc a:hover { background: rgba(255, 255, 255, 0.15); color: #fff; font-weight: 700; border-left: 3px solid var(--gds-red); }

  /* ══════════════════════════════════════════════════════
     FIX 2: SCROLL OFFSET — Sticky header overlap ঠিক করা
     Elementor header (~80px) + State sticky bar (~48px) = ~128px
     তাই scroll-margin-top: 140px দেওয়া হয়েছে।
     ══════════════════════════════════════════════════════ */
  .section { margin: 40px 0; scroll-margin-top: 140px; }

  /* প্রতিটি section id কেও explicitly target করা হচ্ছে */
  #state-overview,
  #state-stats,
  #state-cities,
  #state-services,
  #state-why,
  #state-industries,
  #state-projects,
  #state-other-states,
  #state-faq,
  #state-start-project,
  #state-information {
    scroll-margin-top: 140px;
  }

  /* ── GRADIENT TITLE ── */
  .gtitle {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* ── CARD ── */
  .card {
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .card .inner { padding: 16px; }

  /* ── STATE CITY CARDS (নতুন, শুধু state hub page এর জন্য) ── */
  .state-city-card {
    display: block;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .state-city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 28, 36, 0.18);
    border-color: rgba(227, 28, 36, 0.5) !important;
    text-decoration: none !important;
  }
  .state-city-card h3 {
    background: none !important;
    -webkit-background-clip: unset !important;
    color: #fff !important;
    transition: color 0.18s ease;
  }
  .state-city-card:hover h3 { color: #e31c24 !important; }

  /* ── CITY TAG BADGES ── */
  .state-city-tag {
    display: inline-block;
    font-size: 10px !important;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    margin-right: 4px;
    margin-top: 2px;
  }

  /* ── STAT ── */
  .stat {
    background: rgba(18, 20, 25, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
  }
  .stat h3 {
    font-size: 28px;
    margin: 0;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
  }
  .btn-primary {
    background: var(--gds-red);
    color: #fff;
    box-shadow: 0 14px 28px rgba(227, 28, 36, 0.35);
  }
  .btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
  }
  .btn-primary:hover,
  .btn-ghost:hover { text-decoration: none !important; cursor: pointer !important; }

  /* ── INPUT / FORM ── */
  .input {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #374151 !important;
    background: #292929 !important;
    color: #fff !important;
    font-size: 17px !important;
  }
  input.input {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #374151 !important;
    background: #292929 !important;
    color: #fff !important;
    font-size: 17px !important;
  }

  .small {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
  }

  .notice {
    font-size: 13px;
    color: #a1a1aa;
    font-weight: 400;
  }

  .visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }

  /* ── ZIP BOX ── */
  .zipbox { display: flex; gap: 8px; flex-wrap: wrap; }
  .zipbox input { flex: 1; min-width: 160px; }

  /* ── HERO (City page এর মতো exact same) ── */
  .hero {
    cursor: crosshair;
    position: relative;
    min-height: 620px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    isolation: isolate;
    background-color: #0b0c10;
    background:
      radial-gradient(1200px 420px at 60% 8%, rgba(227, 28, 36, 0.25), transparent 50%),
      radial-gradient(1200px 420px at 40% 88%, rgba(96, 165, 250, 0.22), transparent 52%),
      #0b0c10;
    background-size: auto, auto, cover, auto;
    background-position: center;
    margin-top: 5px !important;
  }
  .hero-body { position: relative; z-index: 2; padding: 40px 20px; text-align: center; }
  .hero-body .kicker { margin: 0 0 6px; font-weight: 700; letter-spacing: .3px; }
  .hero-canvas { position: absolute; inset: 0; display: block; z-index: 1; background: transparent; opacity: 0.8; }
  .hero-glow { position: absolute; inset: -20% 0; filter: blur(90px); opacity: .22; pointer-events: none; z-index: 1; }
  .blob { display: none; }

  /* ── STICKY HEADER ── */
  .sticky.stickyTop {
    position: fixed;
    top: 70px !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 90;
    border: none;
  }
  /* Compensate for fixed bar height — target ONLY main content (sibling after
     the fixed bar), NOT the bar's own inner container, so the breadcrumb isn't
     hidden behind a bloated bar. */
  .sticky.stickyTop + .statePageContainer.container {
    padding-top: 12px;
  }

  /* ── BREADCRUMB (visual only — schema handled by Yoast, no duplicate) ── */
  .statePageContainer .gds-breadcrumb { padding: 8px 0 18px; }
  .statePageContainer .gds-breadcrumb ol {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: 13px; font-family: "Open Sans", system-ui, sans-serif;
  }
  .statePageContainer .gds-breadcrumb li { display: flex; align-items: center; color: #94a3b8; }
  .statePageContainer .gds-breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #4b5563; }
  .statePageContainer .gds-breadcrumb a { color: #94a3b8; text-decoration: none; transition: color .2s ease; }
  .statePageContainer .gds-breadcrumb a:hover { color: #fff; text-decoration: none; }
  .statePageContainer .gds-breadcrumb li[aria-current="page"] { color: #e5e7eb; font-weight: 600; }
  .sticky.stickySide {
    position: sticky !important;
    top: 165px !important;
  }

  /* ── HERO STAR GLOW ── */
  .hero .text-yellow-400 {
    color: #facc15;
    text-shadow: 0 0 4px rgba(250, 204, 21, 0.7), 0 0 12px rgba(250, 204, 21, 0.55);
    animation: heroStarPulse 1.8s ease-in-out infinite;
  }
  @keyframes heroStarPulse {
    0%   { text-shadow: 0 0 4px rgba(250, 204, 21, 0.6), 0 0 10px rgba(250, 204, 21, 0.4); }
    50%  { text-shadow: 0 0 6px rgba(250, 204, 21, 0.95), 0 0 16px rgba(250, 204, 21, 0.85); }
    100% { text-shadow: 0 0 4px rgba(250, 204, 21, 0.6), 0 0 10px rgba(250, 204, 21, 0.4); }
  }

  /* ── GDS GUARANTEE ANIMATE ── */
  .gds-power-guarantee-animate {
    display: inline-block;
    animation: gdsPowerGlow 4s ease-in-out infinite;
    transform-origin: center;
  }
  @keyframes gdsPowerGlow {
    0%, 100% { transform: scale(1); text-shadow: 0 0 4px rgba(255,255,255,0.5); color: #94a3b8; }
    50%       { transform: scale(1.1); text-shadow: 0 0 12px rgba(255,255,255,1), 0 0 20px rgba(96,165,250,0.8); color: #ffffff; }
  }

  /* ── FAQ TOGGLE ── */
  details.card { transition: background 0.2s ease; }
  details.card[open] { background: rgba(17, 24, 39, 1); }
  details.card summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    color: #fff;
    font-weight: 700;
  }
  details.card summary::-webkit-details-marker { display: none; }
  details.card summary::before {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.25s ease, color 0.25s ease;
    color: rgba(255,255,255,0.6);
    line-height: 1;
  }
  details.card[open] summary::before { content: "−"; color: #e31c24; }
  details.card summary:hover { background: rgba(255,255,255,0.04); border-radius: 16px 16px 0 0; }
  details.card[open] summary { border-radius: 16px 16px 0 0; color: #fff; }

  /* ── CONTRAST TOGGLE (WHITE MODE) ── */
  body.contrast-high { background: #ffffff !important; color: #111827 !important; }
  body.contrast-high .card { background: #f3f4f6 !important; border-color: #cbd5e1 !important; color: #111827 !important; }
  body.contrast-high h1, body.contrast-high h2, body.contrast-high h3, body.contrast-high h4, body.contrast-high .gtitle {
    background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: #111827 !important;
  }
  body.contrast-high .text-slate-100, body.contrast-high .text-slate-200, body.contrast-high .text-slate-300,
  body.contrast-high .text-slate-400, body.contrast-high .text-slate-500, body.contrast-high .text-white { color: #374151 !important; }
  body.contrast-high .text-yellow-400 { color: #d97706 !important; }
  body.contrast-high .small { color: #4b5563 !important; }
  body.contrast-high .input { background: #ffffff !important; border-color: #9ca3af !important; color: #111827 !important; }
  body.contrast-high .btn-ghost { border-color: #9ca3af !important; color: #111827 !important; }
  body.contrast-high .btn-ghost:hover { background: #e5e7eb !important; }
  body.contrast-high .toc a { color: #4b5563 !important; }
  body.contrast-high .toc a:hover, body.contrast-high .toc a.active { background: #5a5b5d !important; color: #f1f1f1 !important; border-left-color: #e31c24 !important; }
  body.contrast-high details.card summary { color: #111827 !important; font-weight: 800 !important; }
  body.contrast-high details.card[open] { background: #e5e7eb !important; }
  body.contrast-high .stat { background: #f9fafb !important; border-color: #e5e7eb !important; color: #111827 !important; }
  body.contrast-high .stat p { color: #4b5563 !important; }
  body.contrast-high .state-city-tag { background: rgba(59,130,246,0.12) !important; border-color: rgba(59,130,246,0.3) !important; color: #1d4ed8 !important; }
  /* Hero stays dark in contrast mode */
  body.contrast-high .hero { background-color: #0b0c10 !important; border-color: rgba(255,255,255,0.12) !important; color: #fff !important; }
  body.contrast-high .hero h1, body.contrast-high .hero .gtitle { background: var(--grad) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
  body.contrast-high .hero p, body.contrast-high .hero .text-slate-300 { color: #cbd5e1 !important; }
  body.contrast-high .hero .text-white { color: #ffffff !important; }
  body.contrast-high .hero .text-yellow-400 { color: #facc15 !important; }
  body.contrast-high .hero .card { background: rgba(17,24,39,0.92) !important; border: 1px solid rgba(255,255,255,0.12) !important; color: #fff !important; }
  body.contrast-high .hero .input { background: #0b0c10 !important; color: #fff !important; border: 1px solid #374151 !important; }
  body.contrast-high .hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,0.35) !important; }
  body.contrast-high .stickyTop .btn-ghost { color: #f9fafb !important; border-color: rgba(249,250,251,0.7) !important; }

  /* ── SHARE/CONTRAST BUTTONS ── */
  #stateShareBtn { background: transparent !important; color: #ffffff !important; }
  #stateShareBtn:hover { background: #ffffff !important; color: #000000 !important; }
  #stateContrastToggle { background: #ffffff !important; color: #000000 !important; }
  #stateContrastToggle:hover { color: var(--gds-red) !important; }

  .justify-between { justify-content: space-between !important; }

  /* ── SCROLLBAR GUTTER ── */
  @media (min-width: 1025px) {
    html { scrollbar-gutter: stable !important; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .container { padding: 0 16px; }
    .container .main { grid-template-columns: 1fr; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin-left: auto !important; margin-right: auto !important; }
    .container .main .toc { display: none !important; }
    .container .main-right { max-width: 100% !important; box-sizing: border-box !important; overflow-x: hidden !important; }
    .container { padding: 0 16px; }
    .section { margin: 30px 0; text-align: center; }
    .card .inner { padding: 14px; }
  }

  @media (max-width: 768px) {
    .container { padding: 0 12px; }
    .container .main { grid-template-columns: 1fr; width: 100% !important; max-width: 576px !important; box-sizing: border-box !important; margin-left: auto !important; margin-right: auto !important; }
    .container .main .toc { display: none !important; }
    .container .main-right { max-width: 576px !important; overflow-x: hidden !important; }
    .section { margin: 24px 0; text-align: center; }
    h1 { font-size: 1.75rem; text-align: center; }
    .hero-body h1 { font-size: 1.6rem; line-height: 1.05; }
    .hero-body .kicker { font-size: 0.85rem; }
    .hero { min-height: 400px; }
    .zipbox { justify-content: center; }
    .flex { justify-content: center !important; }
  }

  @media (max-width: 480px) {
    .sticky.stickyTop { top: 80px; }
    .container .main { width: 100% !important; max-width: 310px !important; margin: 0 auto; grid-template-columns: 1fr !important; box-sizing: border-box !important; }
    .container .main-right { width: 100% !important; max-width: 100% !important; margin: 0 auto; overflow-x: hidden !important; }
    body { font-size: 14px; }
    .hero { min-height: 320px; }
  }

  /* Modal/Fab scroll fix */
  * { box-sizing: border-box; }
  *[style*="margin-left: -"],
  *[style*="margin-right: -"] { max-width: 100%; box-sizing: border-box; }

