/* ==========================================================================
   XYZ frontend — "Compact professional" layer.  Loaded LAST on public/index.html.

   Kothay ki bodle gese
   1. Font size: ager frontend-fonts.css e sob lekhar minimum chhilo 18px (--fmin),
      tai chhoto label, nav, body sob ekoi boro dekhato. Ekhon ekta chhoto scale:
      body ~14.5px, nav ~13.5px, topbar/label 12px, heading 20px.
      (Admin > Settings > Frontend font size slider ager moto kaj korbe.)
   2. Layout: ek line-er header (logo + menu), solid topbar, dark news strip,
      center section heading + diamond divider, corner-bracket photo frame,
      skewed stat box, compact cards, dark footer.
   3. Style: flat color, 1px border, ~3px radius, halka shadow. Gradient, glow,
      3D tilt, scroll-reveal slide — sob bondho.

   Rong bodlate chaile shudhu niche :root er --c-accent line ta bodlan.
   (coral chaile:  --c-accent:#ff6b5b;  --c-accent-d:#e5503f;)
   ========================================================================== */

:root {
  /* ---- type scale ---- */
  --fb: .9;
  --fmin: 12px;

  /* ---- colour ---- */
  --c-accent:   #4a3fd6;
  --c-accent-d: #3a31b3;
  --c-accent-s: #eeedfc;          /* very light tint of accent */
  --c-navy:     #14233b;
  --c-deep:     #0e1a2d;
  --c-ink:      #1e2638;
  --c-muted:    #667085;
  --c-line:     #e3e6ee;
  --c-bg:       #f6f7fb;

  /* ---- shape ---- */
  --c-r: 3px;
  --c-w: 1140px;
  --c-sec: 44px;                  /* vertical section padding */
}

/* ---------- base ---------- */
html body { background: #fff; background-image: none; color: var(--c-ink); line-height: 1.6; }
.wrap { max-width: var(--c-w); padding-left: 16px; padding-right: 16px; }
h1, h2, h3, h4 { letter-spacing: 0; line-height: 1.3; }
.muted { color: var(--c-muted); }

/* motion: dhire, shudhu hover e. scroll-reveal / tilt / glow bondho */
.fx-reveal, .fx-reveal.fx-left, .fx-reveal.fx-right { opacity: 1 !important; transform: none !important; transition: none !important; }
.fx-tilt, .fx-tilt.fx-hover { transform: none !important; transition: none; }
.fx-tilt::after, .fx-progress, .fx-shape, .fx-zig { display: none !important; }
html body .card.card-pad:hover, html body .card.blog-card:hover, html body .card.person-card-h:hover { transform: none; }

/* sections */
html body .section { padding: var(--c-sec) 0; }
html body #app > .section:first-child { padding-top: var(--c-sec); }
html body .section-alt,
html body #app > section:nth-child(n).section-alt { background: var(--c-bg); border: 0; padding: var(--c-sec) 0; }

/* ---------- buttons ---------- */
html body .btn { padding: .55em 1.2em; border-radius: var(--c-r); font-weight: 600; box-shadow: none; transform: none; letter-spacing: 0; }
html body .btn-gold, html body .btn-navy { background: var(--c-accent); border: 1px solid var(--c-accent); color: #fff; background-image: none; }
html body .btn-gold:hover, html body .btn-navy:hover { background: var(--c-accent-d); border-color: var(--c-accent-d); transform: none; box-shadow: none; }
html body .btn-outline { background: transparent; border: 1px solid var(--c-accent); color: var(--c-accent); }
html body .btn-outline:hover { background: var(--c-accent); color: #fff; }
html body .btn-sm { padding: .4em .9em; }
html body .btn-lg { padding: .65em 1.5em; }

/* ==========================================================================
   TOP BAR  (solid accent, one line)
   ========================================================================== */
html body #topbar.topbar { background: var(--c-accent); color: #fff; }
html body #topbar .wrap.tb-row { max-width: var(--c-w); min-height: 0; padding-top: 5px; padding-bottom: 5px; }
html body .tb-left, html body .tb-right { gap: 2px 18px; }
html body .tb-left a, html body .tb-left .tb-addr, html body .tb-right a { color: #fff; gap: 6px; }
html body .tb-left .icon, html body .tb-right .icon { color: #fff; opacity: .9; }
html body .tb-code { color: rgba(255, 255, 255, .8); font-size: 1em; }
html body .tb-code b { color: #fff; }
html body .tb-login { background: transparent; padding: 0; margin: 0; border-radius: 0; font-weight: 500; }
html body .tb-login:hover { background: transparent; text-decoration: underline; }

/* ==========================================================================
   HEADER  (logo left, menu right — one row)
   ========================================================================== */
html body .site-header { background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; top: 0; }
html body .site-header::after { display: none; }
html body .site-header.is-stuck { box-shadow: 0 4px 14px rgba(14, 26, 45, .08); background: #fff; }
html body .site-header.is-stuck .wrap { padding-top: 0; padding-bottom: 0; }
html body .site-header .brand-mark { width: 2.9em; height: 2.9em; background: #fff; box-shadow: none; border: 1px solid var(--c-line); border-radius: 50%; }
html body .site-header .brand-text .name { font-size: 1.28em; font-weight: 700; color: var(--c-navy); }
html body .site-header .brand-text .tag { font-size: .85em; color: var(--c-muted); font-weight: 400; }

@media (min-width: 1081px) {
  html body .site-header > .wrap { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 20px; }
  html body .site-header .head-top,
  html body .site-header.is-stuck .head-top { flex: 0 0 auto; width: auto; max-height: none; opacity: 1; overflow: visible; padding: 8px 0; gap: 0; }
  html body .site-header .head-top .brand,
  html body .site-header.is-stuck .head-top .brand { padding: 0; }
  html body .head-info, html body .hamburger { display: none; }
  html body nav.mainnav { flex: 0 1 auto; width: auto; margin-left: auto; }
  html body nav.mainnav::before { display: none; }
  html body nav.mainnav > ul { width: auto; align-items: center; gap: 0; }
  html body nav.mainnav > ul > li { display: block; position: relative; }
  html body nav.mainnav a.nav-link, html body nav.mainnav button.nav-link {
    padding: .55em .8em; margin: 0 1px; font-size: 1em; font-weight: 500; color: var(--c-ink); background: transparent; border-radius: 0; position: relative; }
  html body nav.mainnav a.nav-link:hover, html body nav.mainnav button.nav-link:hover,
  html body nav.mainnav li:hover > .nav-link { background: transparent; color: var(--c-accent); }
  html body nav.mainnav li.active > .nav-link { background: transparent; color: var(--c-accent); }
  /* active item: corner brackets (top-left + bottom-right) */
  html body nav.mainnav li.active > .nav-link::before,
  html body nav.mainnav li.active > .nav-link::after { content: ''; display: block; position: absolute; width: 7px; height: 7px; border: 0 solid var(--c-accent); transform: none; background: none; left: auto; right: auto; top: auto; bottom: auto; }
  html body nav.mainnav li.active > .nav-link::before { left: 2px; top: 2px; border-top-width: 1.5px; border-left-width: 1.5px; }
  html body nav.mainnav li.active > .nav-link::after  { right: 2px; bottom: 2px; border-bottom-width: 1.5px; border-right-width: 1.5px; height: 7px; }
  html body nav.mainnav .nav-cta-li { margin-left: 8px; }
  html body nav.mainnav a.nav-cta { height: auto; margin: 0; padding: .5em 1em; border-radius: var(--c-r); background: var(--c-accent); background-image: none; font-weight: 600; transform: none; filter: none; }
  html body nav.mainnav a.nav-cta:hover { background: var(--c-accent-d); transform: none; filter: none; }
}
html body .dropdown { border: 1px solid var(--c-line); border-top: 2px solid var(--c-accent); border-radius: 0 0 var(--c-r) var(--c-r); box-shadow: 0 10px 24px rgba(14, 26, 45, .12); min-width: 13em; padding: 3px 0; }
html body .dropdown a { padding: .55em 1em; font-size: 1em; border-bottom: 1px solid #f0f2f7; }
html body .dropdown a:hover { padding-left: 1.2em; background: var(--c-accent-s); color: var(--c-accent); }

/* ==========================================================================
   NEWS STRIP  (dark, label block on the left)
   ========================================================================== */
html body #news-strip.topbar { background: var(--c-navy); border: 0; color: #fff; }
html body #news-strip .wrap { max-width: var(--c-w); }
html body #news-strip .update { min-height: 0; height: 2.5em; background: none; box-shadow: none; border-radius: 0; }
html body #news-strip .update b { background: var(--c-accent); background-image: none; margin: 0; border-radius: 0; padding: 0 1em; font-size: .95em; font-weight: 600; }
html body #news-strip .ticker-item { color: #e9eef7; }
html body #news-strip .ticker-item:hover { color: #fff; text-decoration: underline; }
html body #news-strip .ticker-item::before { background: var(--c-accent); box-shadow: none; animation: none; }
html body #news-strip .update-more { color: #cdd7e6; border-left: 1px solid rgba(255, 255, 255, .18); }
html body #news-strip .update-more:hover { color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
html body .hero { height: clamp(200px, 34vw, 430px); }
html body .hero::before { background: linear-gradient(180deg, rgba(14, 26, 45, 0) 60%, rgba(14, 26, 45, .35)); }
html body .hero-nav { width: 2.4em; height: 2.4em; border-radius: var(--c-r); background: rgba(14, 26, 45, .5); font-size: 1.2em; }
html body .hero-nav:hover { background: var(--c-accent); }
html body .hero-nav.prev { left: 14px; } html body .hero-nav.next { right: 14px; }
html body .hero-dots { bottom: 14px; }
html body .hero-dots button { width: 8px; height: 8px; border-radius: 50%; }
html body .hero-dots button.active { background: #fff; width: 22px; border-radius: 4px; }

/* ==========================================================================
   FEATURE CARDS  (outlined, icon in a dotted tile)
   ========================================================================== */
html body .feat-sec { margin: 0; padding: 46px 0 6px; background: #fff; }
html body .feat-grid { gap: 20px; }
html body .feat-card {
  position: relative; text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--c-line);
  padding: 34px 16px 18px; transform: none; transition: border-color .2s; }
html body .feat-grid .feat-card:nth-child(n) { display: flex; flex-direction: column; align-items: center; text-align: center; overflow: visible; border: 1px solid var(--c-line); box-shadow: none; }
html body .feat-grid .feat-card:nth-child(n):hover { transform: none; box-shadow: none; border-color: var(--c-accent); }
html body .feat-card::before, html body .feat-card::after { display: none; }
html body .feat-ic {
  position: absolute; top: -22px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 0; background: var(--c-accent-s); color: var(--c-accent);
  outline: 1px dashed rgba(74, 63, 214, .45); outline-offset: 3px; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; }
html body .feat-ic .icon { width: 22px; height: 22px; }
html body .feat-card h3 { font-size: 1.15em; font-weight: 600; color: var(--c-navy); margin: 0 0 6px; }
html body .feat-card p { font-size: .95em; color: var(--c-muted); margin: 0 0 12px; line-height: 1.55; }
html body .feat-more { display: inline-flex; align-items: center; gap: 5px; padding: .3em 1em; border: 1px solid var(--c-accent); border-radius: var(--c-r); color: var(--c-accent); font-size: .92em; font-weight: 600; background: #fff; transition: background .2s, color .2s; }
html body .feat-card:hover .feat-more { background: var(--c-accent); color: #fff; }
html body .feat-more .icon { width: .9em; height: .9em; }

/* ==========================================================================
   SECTION HEADING  (centered title + diamond divider)
   ========================================================================== */
html body .section-head { position: relative; display: block; text-align: center; margin: 0 0 28px; padding: 0; }
html body .section-head .sh-kicker { display: none; }
html body .section-head h2 { position: relative; display: block; margin: 0; padding: 0 0 20px; font-size: 1.55em; font-weight: 600; color: var(--c-navy); text-transform: none; }
html body .section-head h2::before {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 130px; height: 1px; transform: translateX(-50%); border: 0; border-radius: 0;
  background: linear-gradient(90deg, #cfd5e2 0 40%, transparent 40% 60%, #cfd5e2 60% 100%); }
html body .section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg); border-radius: 0; background: var(--c-accent); }
html body .section-head .more { position: absolute; right: 0; top: .2em; transform: none; font-size: .92em; padding: .25em .8em; border: 1px solid var(--c-line); border-radius: var(--c-r); background: #fff; color: var(--c-accent); font-weight: 600; box-shadow: none; }
html body .section-head .more:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
html body .section-head h2::before, html body .section-head:hover h2::before { display: block; box-shadow: none; margin: 0; transition: none; flex: none; clip-path: none; height: 1px; width: 130px; transform: translateX(-50%); background: linear-gradient(90deg, #cfd5e2 0 40%, transparent 40% 60%, #cfd5e2 60% 100%); }
html body .section-head h2::after, html body .section-head:hover h2::after, html body .fx-in .section-head h2::after { width: 7px; height: 7px; transition: none; transform: rotate(45deg); }
html body .home-two .section-head { text-align: left; }
html body .home-two .section-head h2 { padding-bottom: 14px; }
html body .home-two .section-head h2::before, html body .home-two .section-head:hover h2::before { left: 0; transform: none; width: 60px; background: #cfd5e2; }
html body .home-two .section-head h2::after, html body .home-two .section-head:hover h2::after, html body .home-two .fx-in .section-head h2::after { left: 60px; margin-left: -3.5px; }

/* ==========================================================================
   ABOUT  (photo with corner brackets)
   ========================================================================== */
html body .about-grid { gap: 40px; align-items: center; }
html body .about-pic { padding: 12px; }
html body .about-pic::before { inset: 0 auto auto 0; left: 0; top: 0; bottom: auto; width: 54px; height: 54px; border-radius: 0; background: none; opacity: 1; border-top: 3px solid var(--c-accent); border-left: 3px solid var(--c-accent); }
html body .about-pic::after { content: ''; position: absolute; right: 0; bottom: 0; width: 54px; height: 54px; border-right: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); }
html body .about-pic img { border-radius: 0; box-shadow: 0 6px 20px -8px rgba(14, 26, 45, .35); aspect-ratio: 16 / 10; }
html body .about-txt .sh-kicker { display: none; }
html body .about-txt h2 { font-size: 1.6em; font-weight: 600; color: var(--c-navy); margin: 0 0 12px; }
html body .about-txt h2::after { content: ''; display: block; width: 36px; height: 3px; background: var(--c-accent); margin-top: 10px; }
html body .about-txt p { font-size: 1em; line-height: 1.75; margin-bottom: 14px; }
html body .about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
html body .about-points li { display: flex; gap: 8px; align-items: flex-start; font-size: .97em; }
html body .about-points li .icon { width: 1.3em; height: 1.3em; padding: 3px; border-radius: 0; background: var(--c-accent-s); color: var(--c-accent); flex-shrink: 0; margin-top: .15em; }
html body .about-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   STATS  (dark band, skewed outlined boxes)
   ========================================================================== */
html body .stats-band { background: var(--c-navy); padding: 40px 0 30px; border: 0; margin: 0; }
html body .stats-band .stats-grid { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
html body .stats-band .bu-stat {
  position: relative; flex: 1 1 150px; max-width: 210px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: 30px 12px 12px; border: 1px solid rgba(255, 255, 255, .28); border-right: 1px solid rgba(255, 255, 255, .28); border-radius: 0; background: transparent; box-shadow: none; transform: skewX(-10deg); }
html body .stats-band .bu-stat:last-child { border-right: 1px solid rgba(255, 255, 255, .28); }
html body .stats-band .bu-stat > * { transform: skewX(10deg); }
html body .stats-band .bu-stat:hover { background: transparent; }
html body .stats-band .bu-stat-ic, html body .stats-band .bu-stat:hover .bu-stat-ic {
  position: absolute; top: -17px; left: 50%; margin-left: -17px; width: 34px; height: 34px; clip-path: none; border-radius: 3px; background: var(--c-accent); background-image: none;
  color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 0; box-shadow: none; transform: skewX(10deg); font-size: 16px; }
html body .stats-band .bu-stat-ic .icon { width: 18px; height: 18px; }
html body .stats-band .bu-stat div { display: flex; flex-direction: column; align-items: center; }
html body .stats-band .bu-stat b { font-size: 1.9em; line-height: 1.15; font-weight: 700; color: #fff; }
html body .stats-band .bu-stat span:not(.bu-stat-ic) { font-size: .95em; color: #cdd7e6; font-weight: 500; }

/* ==========================================================================
   NOTICE BOARD + MESSAGE
   ========================================================================== */
html body .notice-board { border: 1px solid var(--c-line); border-radius: var(--c-r); box-shadow: none; background: #fff; overflow: hidden; }
html body .nb-list li { border-bottom: 1px solid var(--c-line); }
html body .nb-list li:last-child { border-bottom: 0; }
html body .nb-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
html body .nb-list a:hover { background: var(--c-bg); }
html body .nb-date { width: 46px; height: 46px; border-radius: var(--c-r); background: var(--c-accent); background-image: none; color: #fff; flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; box-shadow: none; }
html body .nb-date b { font-size: 1.2em; font-weight: 700; }
html body .nb-date small { font-size: .78em; opacity: .9; }
html body .nb-title { font-size: 1em; font-weight: 500; color: var(--c-ink); }
html body .nb-go { color: var(--c-muted); }

html body .vc-msg { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--c-r); box-shadow: none; align-items: start; }
html body .vc-photo img, html body .vc-photo .ph-fill { max-width: 130px; width: 100% !important; height: auto !important; aspect-ratio: 7 / 9; border-radius: 0 !important; box-shadow: none; border: 0; object-fit: cover; }
html body .vc-photo { justify-self: stretch; }
html body .vc-kicker { display: inline-flex; gap: 6px; align-items: center; background: var(--c-accent-s); color: var(--c-accent); font-size: .9em; font-weight: 600; padding: .15em .7em; border-radius: 2px; margin-bottom: 6px; }
html body .vc-name { font-size: 1.15em; font-weight: 600; margin: 0 0 6px; color: var(--c-navy); }
html body .vc-body blockquote { font-size: .97em; line-height: 1.7; border-left: 3px solid var(--c-accent); padding: 0 0 0 12px; margin: 0 0 10px; color: var(--c-muted); background: none; }
@media (max-width: 520px) { html body .vc-msg { grid-template-columns: 1fr; } html body .vc-photo img, html body .vc-photo .ph-fill { max-width: 120px; } }

/* ==========================================================================
   PEOPLE CARDS  (photo + corner brackets + name tag)
   ========================================================================== */
html body .grid-people { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
html body .card.person-card-h {
  position: relative; display: block; border: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; text-align: center; padding: 8px 8px 16px; }
html body .card.person-card-h::before, html body .card.person-card-h::after { content: ''; position: absolute; width: 30px; height: 30px; border: 0 solid var(--c-accent); pointer-events: none; z-index: 2; opacity: 1; background: none; inset: auto; transform: none; transition: none; }
html body .card.person-card-h::before { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
html body .card.person-card-h::after  { right: 0; bottom: 8px; border-bottom-width: 2px; border-right-width: 2px; }
html body .card.person-card-h .ph-side { width: 100%; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--c-bg); }
html body .card.person-card-h .ph-side::after { display: none; }
html body .card.person-card-h .ph-fill { transition: none; }
html body .card.person-card-h:hover .ph-fill { transform: none; }
html body .card.person-card-h .info-side { position: relative; z-index: 3; margin: -20px 14px 0; padding: 7px 10px 8px; background: var(--c-accent); color: #fff; gap: 0; border-radius: 0; }
html body .card.person-card-h:hover .info-side { background: var(--c-accent-d); }
html body .card.person-card-h .p-name { color: #fff; font-size: 1em; font-weight: 600; line-height: 1.35; }
html body .card.person-card-h .p-role { color: rgba(255, 255, 255, .85); font-size: .88em; font-weight: 400; }
html body .card.person-card-h .p-extra { margin: 10px 6px 0; display: grid; gap: 2px; }
html body .card.person-card-h .p-meta-line { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--c-muted); font-size: .88em; }
html body .card.person-card-h .p-meta-line .icon { width: 1em; height: 1em; color: var(--c-accent); }
html body .card.person-card-h .p-contact-row, html body .card.person-card-h .p-more { display: none; }

/* ==========================================================================
   CTA BAND  (dark bar inside the container)
   ========================================================================== */
html body .cta-band { background: transparent; background-image: none; padding: 6px 0 var(--c-sec); border: 0; }
html body .cta-in { background: var(--c-navy); border-radius: var(--c-r); padding: 20px 26px; gap: 18px; align-items: center; justify-content: space-between; box-shadow: 6px 6px 0 rgba(74, 63, 214, .25); }
html body .cta-in h2 { font-size: 1.3em; font-weight: 600; color: #fff; margin: 0 0 2px; }
html body .cta-in p { font-size: 1em; color: #cdd7e6; margin: 0; }
html body .cta-in p b { color: #fff; font-size: 1.15em; }

/* ==========================================================================
   GALLERY / BLOG
   ========================================================================== */
html body .grid-3 { gap: 18px; }
html body .gallery-tile { border-radius: var(--c-r); border: 1px solid var(--c-line); box-shadow: none; aspect-ratio: 16 / 10; overflow: hidden; }
html body .gallery-tile:hover { transform: none; box-shadow: none; border-color: var(--c-accent); }
html body .g-badge { background: var(--c-accent); border-radius: 2px; font-size: .85em; padding: .1em .6em; }
html body .g-cap { font-size: .97em; padding: 20px 12px 8px; }
html body .card.blog-card { border-radius: var(--c-r); border: 1px solid var(--c-line); box-shadow: none; overflow: hidden; }
html body .card.blog-card:hover { border-color: var(--c-accent); }
html body .blog-thumb { aspect-ratio: 16 / 10; }
html body .blog-thumb img { transition: none; }
html body .blog-body { padding: 12px 14px 14px; }
html body .blog-meta { font-size: .88em; color: var(--c-muted); gap: 12px; }
html body .blog-title { font-size: 1.08em; font-weight: 600; color: var(--c-navy); line-height: 1.45; margin: 4px 0; }
html body .readmore { font-size: .92em; color: var(--c-accent); font-weight: 600; }

/* generic cards / tables / forms used on inner pages */
html body .card, html body .notice-box, html body .stat-chip { border-radius: var(--c-r); box-shadow: none; border: 1px solid var(--c-line); }
html body input, html body select, html body textarea { border-radius: var(--c-r); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
html body .site-footer { background: var(--c-navy); color: #b7c2d6; margin-top: 0; }
html body footer .wrap.foot-grid { padding-top: 40px; padding-bottom: 26px; gap: 30px; }
html body .site-footer h4 { position: relative; color: #fff; font-size: 1.1em; font-weight: 600; margin: 0 0 16px; padding-bottom: 10px; }
html body .site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--c-accent); }
html body .site-footer p, html body .site-footer li, html body .site-footer .contact-info-item { font-size: .96em; line-height: 1.7; }
html body .site-footer a { color: #b7c2d6; }
html body .site-footer a:hover { color: #fff; }
html body .site-footer li { margin-bottom: 5px; }
html body .foot-brand { font-size: 1.2em; font-weight: 700; color: #fff; }
html body .contact-info-item .ic { width: 30px; height: 30px; border-radius: 3px; background: rgba(255, 255, 255, .08); color: #fff; }
html body .social a { width: 28px; height: 28px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: .9em; }
html body .social a:hover { background: var(--c-accent); border-color: var(--c-accent); }
html body .foot-bottom { background: var(--c-deep); border-top: 0; padding: 10px 0; font-size: .93em; color: #8d9ab0; }
html body .foot-bottom b { color: #fff; }

/* floating admin button: chhoto, shanto */
html body .admin-fab { padding: 7px 12px; border-radius: var(--c-r); background: var(--c-navy); background-image: none; color: #fff; border: 0; box-shadow: 0 4px 14px rgba(14, 26, 45, .3); right: 14px; bottom: 14px; }
html body .admin-fab:hover { transform: none; background: var(--c-accent); box-shadow: 0 4px 14px rgba(14, 26, 45, .3); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  html body .site-header > .wrap { display: block; }
  html body .site-header .head-top, html body .site-header.is-stuck .head-top { padding: 8px 0; flex: 0 0 100%; max-height: none; opacity: 1; overflow: visible; }
  html body .hamburger { width: 2.3em; height: 2.3em; border-radius: var(--c-r); background: var(--c-navy); }
  html body nav.mainnav { border-top: 2px solid var(--c-accent); }
  html body nav.mainnav li.active > .nav-link::before, html body nav.mainnav li.active > .nav-link::after { display: none; }
  html body .feat-grid { gap: 30px 16px; }
  html body .feat-sec { padding-top: 40px; }
}
@media (max-width: 860px) {
  html body .grid-people { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  html body .about-grid { gap: 22px; }
  html body .section-head .more { position: static; display: inline-block; margin-top: 4px; }
  html body .home-two .section-head .more { position: absolute; margin-top: 0; }
}
@media (max-width: 760px) {
  :root { --c-sec: 34px; }
  html body .feat-card p { display: block; }
  html body .feat-card { padding: 30px 10px 14px; }
  html body .section-head h2 { font-size: 1.4em; }
  html body .stats-grid { gap: 26px 14px; }
  html body .bu-stat { flex: 1 1 42%; max-width: none; border-right: 1px solid rgba(255, 255, 255, .28); justify-content: flex-end; }
  html body .about-points { grid-template-columns: 1fr; }
  html body .cta-in { flex-direction: column; align-items: flex-start; box-shadow: none; }
  html body .cta-in h2 { font-size: 1.25em; }
  html body .hero { height: clamp(150px, 48vw, 300px); }
  html body .hero-dots { bottom: 8px; }
}
@media (max-width: 480px) {
  html body .feat-grid { grid-template-columns: 1fr 1fr; }
  html body .card.person-card-h .info-side { margin: -18px 6px 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* tables (notice list, results, student list ...) */
html body .table-wrap { border-radius: var(--c-r); box-shadow: none; border: 1px solid var(--c-line); }
html body .table-wrap thead th, html body table.tbl thead th { background: var(--c-navy); color: #fff; font-weight: 600; font-size: .95em; }

/* ---- v2: content + ticker thoda boro; header/topbar ager moto ---- */
html body #app, html body #site-footer { --fb: .99; }
html body #news-strip { --fb: 1.04; }
html body #app { font-size: max(calc(var(--fb, 1.25) * 16.2px * var(--ffs-all) * var(--ffs-text)), calc(var(--fmin, 18px) * var(--ffs-all) * var(--ffs-text))); }
html body #news-strip .update { height: 2.7em; }

/* ---- v2: CTA full width ---- */
html body .cta-band { background: var(--c-navy); padding: 0; }
html body .cta-in { background: transparent; box-shadow: none; border-radius: 0; padding: 26px 16px; }
html body .cta-band::before, html body .cta-band::after { display: none; }


/* ==========================================================================
   CHAT POPUP  (নিচে ডানে ভাসমান; নাম + ফোন + বার্তা → এডমিন ড্যাশবোর্ডে যায়)
   ========================================================================== */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-fab { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--c-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(14, 26, 45, .28); transition: background .2s, transform .2s; }
.chat-fab:hover { background: var(--c-accent-d); transform: translateY(-2px); }
.chat-widget.is-open .chat-fab { background: var(--c-navy); }
.chat-panel { width: 320px; max-width: calc(100vw - 28px); background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 40px rgba(14, 26, 45, .28); border: 1px solid var(--c-line); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--c-navy); color: #fff; }
.chat-head b { display: block; font-size: 1.05em; font-weight: 600; line-height: 1.3; }
.chat-head small { display: block; font-size: .85em; color: #cdd7e6; line-height: 1.35; }
.chat-av { width: 34px; height: 34px; border-radius: 50%; background: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.chat-av .icon { width: 18px; height: 18px; }
.chat-x { margin-left: auto; width: 28px; height: 28px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 3px; }
.chat-x:hover { background: rgba(255, 255, 255, .15); }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; background: var(--c-bg); }
.chat-bubble { background: #fff; border: 1px solid var(--c-line); border-radius: 0 10px 10px 10px; padding: 8px 11px; font-size: .95em; color: var(--c-ink); line-height: 1.55; }
.chat-body input, .chat-body textarea { width: 100%; border: 1px solid var(--c-line); border-radius: var(--c-r); padding: .55em .7em; background: #fff; color: var(--c-ink); font: inherit; font-size: .97em; }
.chat-body textarea { resize: vertical; min-height: 74px; max-height: 160px; }
.chat-body input:focus, .chat-body textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 2px rgba(74, 63, 214, .15); }
.chat-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.chat-send { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .6em 1em; border: 0; border-radius: var(--c-r); background: var(--c-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.chat-send:hover { background: var(--c-accent-d); }
.chat-send:disabled { opacity: .6; cursor: default; }
.chat-msg { min-height: 1.2em; font-size: .92em; line-height: 1.45; }
.chat-msg.ok { color: #0f7a4d; } .chat-msg.err { color: #b42318; }
@media (max-width: 480px) { .chat-widget { right: 12px; bottom: 12px; } .chat-panel { width: calc(100vw - 24px); } }
@media print { .chat-widget { display: none; } }
