
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

.font-bn, .public-site { font-family: 'Noto Sans Bengali', 'Roboto', sans-serif; }

.public-site .hero-carousel { position: relative; height: 420px; overflow: hidden; background: #0d47a1; }
.public-site .hero-carousel img { width: 100%; height: 420px; object-fit: cover; }
.public-site .hero-caption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.55); text-align: center; padding: 1.5rem;
  background: linear-gradient(transparent 30%, rgba(0,0,0,.45));
}

.public-site .about-section { padding: 3rem 0; background: #f8fafc; }
.public-site .about-card { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.public-site .about-card h2 { color: #0d47a1; font-weight: 700; margin-bottom: 1rem; }

.public-site .notice-board {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); height: 100%;
  display: flex; flex-direction: column;
}
.public-site .notice-board-header {
  background: linear-gradient(135deg, #c62828, #e53935); color: #fff; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.public-site .notice-board-header h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.public-site .notice-item {
  display: flex; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #eee; align-items: flex-start;
}
.public-site .notice-date-box {
  background: #e3f2fd; color: #1565c0; border-radius: 8px; min-width: 52px; text-align: center; padding: .4rem;
  flex-shrink: 0;
}
.public-site .notice-date-box .day { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.public-site .notice-date-box .month { display: block; font-size: .7rem; text-transform: uppercase; }
.public-site .notice-text h5 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 600; color: #212121; }
.public-site .notice-board-footer { padding: .75rem 1.25rem; border-top: 1px solid #eee; text-align: center; }
.public-site .btn-all-notices {
  background: #0d47a1; color: #fff; border: none; border-radius: 6px; padding: .5rem 1.25rem; cursor: pointer; font-weight: 600;
  text-decoration: none; display: inline-block;
}
.public-site .btn-all-notices:hover { background: #1565c0; color: #fff; }

.public-site .stats-section {
  background: linear-gradient(135deg, #0d47a1, #1565c0); color: #fff; padding: 2.5rem 0;
}
.public-site .stat-card { text-align: center; }
.public-site .stat-icon { font-size: 2rem; margin-bottom: .5rem; }
.public-site .stat-value { font-size: 2rem; font-weight: 700; }
.public-site .stat-label { opacity: .9; margin-top: .25rem; }

.public-site .teachers-section, .public-site .gallery-section { padding: 3rem 0; }
.public-site .section-heading {
  color: #0d47a1; font-weight: 700; font-size: 1.75rem; position: relative; display: inline-block; margin-bottom: .5rem;
}
.public-site .section-subtitle { color: #64748b; max-width: 560px; }

.public-site .teacher-card, .public-site .committee-card {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.public-site .teacher-card:hover, .public-site .committee-card:hover {
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.public-site .teacher-card .img-wrap, .public-site .committee-card .img-wrap {
  height: 200px; overflow: hidden; background: #e3f2fd;
}
.public-site .teacher-card img, .public-site .committee-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.public-site .teacher-card .card-body, .public-site .committee-card .card-body { padding: 1rem; }
.public-site .teacher-card h5, .public-site .committee-card h5 { margin: 0 0 .25rem; font-weight: 700; color: #1e293b; }
.public-site .teacher-card p, .public-site .committee-card p { margin: 0; color: #64748b; font-size: .9rem; }

.public-site .gallery-item {
  position: relative; border-radius: 10px; overflow: hidden; height: 200px; cursor: pointer;
}
.public-site .gallery-item.large { height: 280px; }
.public-site .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.public-site .gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(13,71,161,.55); opacity: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; transition: opacity .2s;
}
.public-site .gallery-item:hover .overlay { opacity: 1; }

.public-site .site-footer {
  background: #0f172a; color: #cbd5e1; padding: 3rem 0 0; margin-top: 2rem;
}
.public-site .site-footer a { color: #94a3b8; text-decoration: none; }
.public-site .site-footer a:hover { color: #fff; }
.public-site .footer-heading { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.public-site .footer-about { font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.public-site .footer-contact li, .public-site .footer-links li {
  list-style: none; margin-bottom: .65rem; display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem;
}
.public-site .footer-links, .public-site .footer-contact { padding: 0; margin: 0; }
.public-site .social-links a {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: #1e293b; color: #fff;
  align-items: center; justify-content: center; margin-right: .4rem;
}
.public-site .footer-bottom {
  border-top: 1px solid #1e293b; margin-top: 2rem; padding: 1rem 0; font-size: .85rem; color: #64748b;
}

.public-site .page-header {
  background: #f1f5f9; border-bottom: 1px solid #e2e8f0; padding: 1.5rem 0;
}
.public-site .page-header h1 { color: #0d47a1; font-weight: 700; margin: 0 0 .35rem; }
.public-site .breadcrumb { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #64748b; flex-wrap: wrap; }
.public-site .breadcrumb a { color: #1565c0; text-decoration: none; }

.public-site .top-bar {
  background: #0a3d91; color: #e3f2fd; font-size: .85rem; padding: .35rem 0;
}


/* Scrolling latest notices under top bar (Mud theme) */
.mud-notice-marquee {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(90deg, #0d47a1, #1565c0);
  color: #fff;
  padding: .35rem 0;
  overflow: hidden;
  font-size: .9rem;
}
.mud-notice-label {
  flex-shrink: 0;
  font-weight: 700;
  padding: 0 .75rem 0 1rem;
  white-space: nowrap;
}
.mud-notice-track-wrap {
  flex: 1;
  overflow: hidden;
}
.mud-notice-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: mud-marquee 30s linear infinite;
}
@keyframes mud-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/* ── Top news ticker (Mud theme) – sits under contact bar, above menu ── */
.mud-notice-ticker {
  background: linear-gradient(90deg, #7c2d12 0%, #c2410c 40%, #ea580c 100%);
  color: #fff;
  border-bottom: 2px solid #fbbf24;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  position: relative;
  z-index: 25;
}
.mud-ticker-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: .4rem .75rem;
  gap: .75rem;
}
.mud-ticker-badge {
  flex-shrink: 0;
  background: #fbbf24;
  color: #7c2d12;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mud-ticker-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.mud-ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: mud-ticker-scroll 28s linear infinite;
  font-size: .95rem;
  font-weight: 500;
}
.mud-ticker-text:hover { animation-play-state: paused; }
@keyframes mud-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* legacy class still safe */
.mud-notice-marquee { position: relative; z-index: 25; }


/* Unified top bar: vertical notice (left) + contacts (right) */
.public-site .top-bar {
  background: #0a3d91;
  color: #e3f2fd;
  font-size: .88rem;
  padding: .4rem 0;
}
.public-site .top-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.public-site .top-notice-v {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 200px;
  max-width: 58%;
}
.public-site .top-notice-badge {
  flex-shrink: 0;
  font-size: 1rem;
}
.public-site .top-notice-viewport {
  height: 1.35rem;
  overflow: hidden;
  position: relative;
  flex: 1;
}
.public-site .top-notice-item {
  height: 1.4rem;
  line-height: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
}
/* Top-to-bottom cycle: pause on each line then slide to next */
.public-site .top-notice-track {
  display: flex;
  flex-direction: column;
  animation: top-notice-vscroll calc(var(--n, 4) * 3.5s) infinite;
}
@keyframes top-notice-vscroll {
  0%, 12% { transform: translateY(0); }
  14%, 24% { transform: translateY(-1.4rem); }
  26%, 36% { transform: translateY(-2.8rem); }
  38%, 48% { transform: translateY(-4.2rem); }
  50%, 60% { transform: translateY(-5.6rem); }
  62%, 72% { transform: translateY(-7rem); }
  74%, 84% { transform: translateY(-8.4rem); }
  86%, 96% { transform: translateY(-9.8rem); }
  98%, 100% { transform: translateY(-11.2rem); }
}
.public-site .top-bar-right {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.public-site .top-contact {
  color: #e3f2fd;
  text-decoration: none;
  white-space: nowrap;
}
.public-site .top-contact:hover { color: #fff; text-decoration: underline; }
.public-site .top-school-name {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Mud home extra sections */
.public-site .why-section,
.public-site .faq-section,
.public-site .testimonial-section,
.public-site .facility-home-section,
.public-site .events-home-section {
  padding: 2.75rem 0;
}
.public-site .why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.public-site .why-num {
  display: inline-flex;
  width: 2rem; height: 2rem;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #e3f2fd;
  color: #0d47a1;
  font-weight: 800;
  margin-bottom: .5rem;
}
.public-site .faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: .65rem;
  padding: .85rem 1rem;
}
.public-site .faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}
.public-site .faq-item .ans {
  margin-top: .5rem;
  color: #64748b;
  line-height: 1.6;
}
.public-site .testi-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
  border: 1px solid #e2e8f0;
}


/* ========== Responsive: public (Mud) ========== */
.public-nav-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: .35rem;
  padding-bottom: .35rem;
}
.public-nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
}
.public-nav-logo {
  height: 36px;
  object-fit: contain;
}
.public-nav-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.public-nav-toggle {
  display: none;
  color: #fff !important;
}
.public-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
  width: 100%;
}

@media (max-width: 960px) {
  .public-site .top-bar-row {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
  }
  .public-site .top-notice-v {
    max-width: 100%;
    width: 100%;
  }
  .public-site .top-bar-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: .5rem .85rem;
    font-size: .8rem;
  }
  .public-site .top-school-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .public-nav-toggle { display: inline-flex !important; }
  .public-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .35rem 0 .6rem;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: .35rem;
  }
  .public-nav-links.open { display: flex; }
  .public-nav-links .mud-button-root {
    justify-content: flex-start !important;
    width: 100%;
  }

  .public-site .hero-carousel,
  .public-site .hero-carousel img {
    height: 220px !important;
  }
  .public-site .hero-caption h2 { font-size: 1.25rem !important; }
  .public-site .hero-caption p { font-size: .9rem !important; }

  .public-site .section-heading { font-size: 1.35rem; }
  .public-site .about-section,
  .public-site .stats-section,
  .public-site .teachers-section,
  .public-site .gallery-section,
  .public-site .why-section,
  .public-site .faq-section,
  .public-site .testimonial-section,
  .public-site .facility-home-section,
  .public-site .events-home-section {
    padding: 1.5rem 0;
  }
  .public-site .stat-value { font-size: 1.5rem; }
  .public-site .gallery-item { height: 140px; }
  .public-site .gallery-item.large { height: 180px; }
  .public-site .public-footer { padding: 1.5rem 0 0; }
  .public-site .footer-heading { font-size: 1rem; }
}

@media (max-width: 600px) {
  .public-site .top-bar-right .top-contact { font-size: .75rem; }
  .public-site .hero-carousel,
  .public-site .hero-carousel img { height: 180px !important; }
  .public-nav-title { font-size: 1rem !important; }
}


/* Fixed Mud top bar — single rotating notice line (not a stacked list) */
.public-site .top-bar {
  background: #0a3d91;
  color: #e3f2fd;
  font-size: .88rem;
  padding: .4rem 0;
  overflow: hidden;
}
.public-site .top-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  min-height: 1.5rem;
}
.public-site .top-notice-v {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 0;
  max-width: 55%;
  overflow: hidden;
}
.public-site .top-notice-badge { flex-shrink: 0; }
.public-site .top-notice-viewport {
  flex: 1;
  min-width: 0;
  height: 1.4rem;
  overflow: hidden;
  position: relative;
}
.public-site .top-notice-item {
  height: 1.4rem;
  line-height: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
  animation: top-notice-fade .45s ease;
}
@keyframes top-notice-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.public-site .top-notice-track { display: none !important; } /* legacy multi-line track disabled */
.public-site .top-bar-right {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
  margin-left: auto;
  flex-wrap: nowrap;
}
.public-site .top-contact {
  color: #e3f2fd;
  text-decoration: none;
  white-space: nowrap;
}
.public-site .top-school-name {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 960px) {
  .public-site .top-bar-row { flex-wrap: wrap; }
  .public-site .top-notice-v { max-width: 100%; width: 100%; }
  .public-site .top-bar-right { width: 100%; margin-left: 0; flex-wrap: wrap; }
}

/* —— Standard public inner-page banner (all themes) —— */
.public-site .mud-only-header,
.public-site section.page-header {
  display: none !important;
}
.pub-page-banner {
  width: 100%;
  margin: 0;
  padding: 1.75rem 1rem 1.85rem;
  box-sizing: border-box;
}
.pub-page-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.pub-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  margin: 0 0 0.55rem;
  line-height: 1.4;
  opacity: 0.95;
}
.pub-bc a {
  text-decoration: none;
  font-weight: 600;
}
.pub-bc a:hover { text-decoration: underline; }
.pub-bc-sep { opacity: 0.55; user-select: none; }
.pub-bc-current { font-weight: 600; opacity: 0.9; }
.pub-page-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pub-page-sub {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.45;
  max-width: 40rem;
}
.pub-page-body {
  padding: 1.25rem 1rem 2.5rem;
}
.pub-page-body-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Mud default theme banner */
.pub-page-banner.banner-mud {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 55%, #0277bd 100%);
  color: #fff;
  border-bottom: 3px solid #ffc107;
}
.banner-mud .pub-bc a { color: #ffe082; }
.banner-mud .pub-bc-sep,
.banner-mud .pub-bc-current { color: rgba(255,255,255,0.88); }
.banner-mud .pub-page-title { color: #fff; }

/* Edufy */
.pub-page-banner.banner-edufy {
  background: linear-gradient(120deg, #0f766e 0%, #0d9488 50%, #f59e0b 160%);
  color: #fff;
}
.banner-edufy .pub-bc a { color: #fde68a; }
.banner-edufy .pub-bc-sep,
.banner-edufy .pub-bc-current { color: rgba(255,255,255,0.9); }
.banner-edufy .pub-page-title { color: #fff; }

/* Tamirul Millat */
.pub-page-banner.banner-tmt {
  background: linear-gradient(135deg, #4a1c6b 0%, #5b2c8a 50%, #0d9488 130%);
  color: #fff;
  border-bottom: 3px solid #0f766e;
}
.banner-tmt .pub-bc a { color: #fde68a; }
.banner-tmt .pub-bc-sep,
.banner-tmt .pub-bc-current { color: rgba(255,255,255,0.92); }
.banner-tmt .pub-page-title { color: #fff; }

.pub-page-body.body-tmt .pub-page-body-inner,
.pub-page-body.body-edufy .pub-page-body-inner {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.pub-page-body.body-mud .pub-page-body-inner {
  padding: 0.25rem 0;
}

@media (max-width: 600px) {
  .pub-page-banner { padding: 1.25rem 0.85rem 1.35rem; }
  .pub-page-title { font-size: 1.3rem; }
}

/* —— Nav tools: language + login —— */
.pub-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}
.pub-login {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: #f59e0b !important;
  color: #0f172a !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.pub-login:hover { filter: brightness(1.05); }
.pub-login-ico { font-size: 0.95rem; line-height: 1; }
.mud-nav .pub-login { background: #ffc107 !important; color: #0d47a1 !important; }
.edufy-nav .pub-login { background: #f59e0b !important; color: #134e4a !important; }
.tmt-nav .pub-login { background: #fde68a !important; color: #4a1c6b !important; }
.tmt-nav .pub-nav-tools .lang-switcher { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.28); }
.tmt-nav .pub-nav-tools .lang-chip { color: #f8fafc; }
.tmt-nav .pub-nav-tools .lang-chip.active { background: #fff; color: #4a1c6b; }

/* Hide overcrowded extras on medium screens; still available on mobile open menu */
@media (max-width: 1100px) {
  .pub-menu .pub-nav-extra { display: none; }
}
@media (max-width: 900px) {
  .pub-menu.open .pub-nav-extra { display: block; }
  .pub-nav-tools { width: 100%; margin: 0.5rem 0 0; flex-wrap: wrap; }
}

/* —— Floating theme switcher —— */
.pub-theme-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 14rem; /* top of stack: Theme → WA → AI → Top */
  z-index: 1230;
}
.pub-theme-fab-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #0d9488, #4a1c6b);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15,23,42,.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  transition: transform .15s ease;
}
.pub-theme-fab-btn:hover { transform: scale(1.06); }
.pub-theme-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,23,42,.2);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  z-index: 2600;
}
.pub-theme-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  padding: 0.2rem 0.35rem 0.4rem;
}
.pub-theme-opt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  border: 1px solid transparent;
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}
.pub-theme-opt:hover { background: #f1f5f9; }
.pub-theme-opt.active { border-color: #0d9488; background: #ecfdf5; }
.pub-theme-opt.reset { margin-top: 0.25rem; font-size: 0.8rem; font-weight: 500; color: #64748b; background: transparent; }
.swatch { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.swatch-mud { background: linear-gradient(135deg,#0d47a1,#1565c0); }
.swatch-edufy { background: linear-gradient(135deg,#0f766e,#f59e0b); }
.swatch-tmt { background: linear-gradient(135deg,#4a1c6b,#0d9488); }

/* —— Committee slider + lightbox —— */
.committee-section { padding: 0.5rem 0 1rem; }
.committee-intro { text-align: center; margin-bottom: 1.25rem; }
.committee-intro .section-heading { margin: 0 0 0.35rem; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.committee-sub { margin: 0; color: #64748b; font-size: 0.95rem; }
.committee-slider-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  position: relative;
}
.committee-slider { overflow: hidden; flex: 1; }
.committee-track {
  display: flex;
  transition: transform .45s ease;
  width: 100%;
}
.committee-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.25rem;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .committee-slide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .committee-slide { grid-template-columns: 1fr; }
}
.committee-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.committee-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.committee-card .img-wrap {
  height: 180px;
  background: #e2e8f0;
  overflow: hidden;
}
.committee-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.committee-card .img-ph {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #94a3b8;
}
.committee-card .card-body { padding: 0.75rem 0.65rem 1rem; }
.committee-card h5 { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 700; color: #0f172a; }
.committee-card p { margin: 0; font-size: 0.8rem; color: #64748b; }
.committee-nav {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #e2e8f0; background: #fff;
  font-size: 1.4rem; cursor: pointer; color: #0f172a;
  flex-shrink: 0;
}
.committee-nav:hover { background: #f1f5f9; }
.committee-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; }
.committee-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: #cbd5e1; cursor: pointer; padding: 0;
}
.committee-dots .dot.active { background: #0d9488; width: 18px; border-radius: 999px; }
.committee-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.committee-lightbox-card {
  background: #fff; border-radius: 14px; max-width: 420px; width: 100%;
  padding: 1.25rem; position: relative; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.committee-lightbox-card img {
  width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px;
}
.lb-ph { font-size: 4rem; padding: 2rem; }
.committee-lightbox-card h3 { margin: 0.85rem 0 0.25rem; }
.lb-role { color: #0d9488; font-weight: 600; margin: 0; }
.lb-bio { color: #475569; font-size: 0.92rem; line-height: 1.55; margin: 0.75rem 0 0; text-align: left; }
.lb-close {
  position: absolute; top: 0.5rem; right: 0.65rem;
  border: none; background: #f1f5f9; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 1.2rem;
}

/* Ensure TMT still shows language in nav (topbar hidden) */
.tmt-site .pub-nav-tools { display: inline-flex; }



/* RESPONSIVE MUD NAV */
@media (max-width: 960px) {
  .public-site .pub-menu.open,
  .mud-nav .pub-menu.open {
    display: flex !important;
    background: #0b3d91;
    border-radius: 0 0 12px 12px;
  }
  .public-site .hero-carousel,
  .public-site .hero-carousel img {
    height: 220px !important;
  }
}
@media (max-width: 600px) {
  .public-site .hero-carousel,
  .public-site .hero-carousel img {
    height: 170px !important;
  }
  .public-site .stats-section .stat-value { font-size: 1.35rem; }
}


/* CLASSIC NAV single line */
.public-site .pub-nav.mud-nav,
.mud-site .pub-nav.mud-nav {
  background: #0d47a1 !important;
}
.public-site .pub-nav-row,
.mud-site .pub-nav-row {
  flex-wrap: nowrap;
}

/* float positions controlled by public-shared.css */

/* Softzone IT developer credit */
.pub-footer-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; }
.pub-footer-dev-social { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; text-align: right; }
.pub-dev-credit { font-size: .78rem; opacity: .9; line-height: 1.35; }
.pub-dev-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: .15rem; }
@media (max-width: 600px) {
  .pub-footer-dev-social { align-items: flex-start; text-align: left; width: 100%; }
}

.pub-dev-credit .app-version { font-weight: 600; margin-right: .15rem; }
.pub-dev-credit .dev-sep { margin: 0 .3rem; opacity: .55; }
