/* =====================================================
   বাবুগঞ্জ উপজেলা সমিতি — Main CSS
   ===================================================== */

:root {
  --primary:   #1a3a6b;
  --primary-dk:#122b52;
  --red:       #c0392b;
  --red-lt:    #fdf0ef;
  --white:     #ffffff;
  --bg:        #f4f5f7;
  --card:      #ffffff;
  --border:    #e2e4e9;
  --text:      #1a1d23;
  --muted:     #6b7280;
  --success:   #16a34a;
  --warning:   #d97706;
  --info:      #2563eb;
  --radius:    10px;
  --shadow:    0 1px 3px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Google Font import ── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600&display=swap');

/* ── NAVBAR ── */
.navbar {
  background: var(--primary);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 100;
  gap: 8px;
}
.navbar-brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.navbar-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--primary);
  text-align: center; line-height: 1.2; flex-shrink: 0;
}
.navbar-title { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; }
.navbar-title small { font-size: 10px; opacity: .7; font-weight: 400; display: block; }
.navbar-links { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.navbar-links > a, .navbar-links > div > a {
  color: rgba(255,255,255,.85); font-size: 13.5px;
  padding: 7px 12px; border-radius: 7px; white-space: nowrap;
  text-decoration: none; display: block; cursor: pointer;
}
.navbar-links > a:hover, .navbar-links > a.active,
.navbar-links > div > a:hover, .navbar-links > div > a.active {
  background: rgba(255,255,255,.12); color: #fff;
}
.navbar-btn {
  background: var(--red); color: #fff; border: none;
  padding: 9px 20px; border-radius: 8px; font-size: 13.5px;
  font-weight: 600; cursor: pointer; font-family: inherit;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none; display: inline-block;
}
.navbar-btn:hover { background: #a93226; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-toggle {
  display: flex !important; align-items: center; gap: 4px; cursor: pointer;
}
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  min-width: 210px; box-shadow: 0 6px 20px rgba(0,0,0,.12);
  z-index: 500; padding: 5px 0;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 13px; color: var(--text) !important;
  text-decoration: none; transition: .1s; white-space: nowrap;
}
.dropdown-item:hover { background: #f0f4fa; color: var(--primary) !important; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* LIVE BAR */
.live-bar { display:none; }
.live-bar span { display: flex; align-items: center; gap: 5px; }

/* ── HERO ── */
.hero {
  background: var(--primary);
  padding: 48px 24px 64px;
  text-align: center;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 4px 14px; border-radius: 20px;
  font-size: 12px; margin-bottom: 16px;
}
.hero h1 { font-size: 28px; font-weight: 600; margin-bottom: 10px; }
.hero p { font-size: 15px; opacity: .8; margin-bottom: 24px; }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px;
  border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; font-family: inherit; transition: .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a93226; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn-white { background: #fff; color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-danger { background: var(--red); color: #fff; }

/* ── STATS BAR ── */
.stats-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -28px 20px 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat-num { font-size: 24px; font-weight: 600; color: var(--primary); }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── SECTION ── */
.section { padding: 32px 20px; }
.section-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 16px;
}
.section-title { font-size: 17px; font-weight: 600; color: var(--text); }
.section-link { font-size: 13px; color: var(--primary); }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 20px;
}
.card-title { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.card-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── NEWS LIST ── */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.news-date {
  background: #EBF3FB; color: #1a3a6b;
  font-size: 11px; font-weight: 600;
  padding: 5px 9px; border-radius: 7px;
  text-align: center; line-height: 1.4; min-width: 52px; flex-shrink: 0;
}
.news-title { font-size: 13px; font-weight: 500; }
.news-tag { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── EVENT CARDS ── */
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.event-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.event-card.featured { border-color: var(--primary); border-width: 2px; }
.event-top {
  background: var(--primary); padding: 14px;
  display: flex; align-items: center; gap: 12px; position: relative;
}
.event-datebox {
  background: rgba(255,255,255,.15); border-radius: 8px;
  padding: 7px 10px; text-align: center; color: #fff; flex-shrink: 0;
}
.event-datebox .day { font-size: 22px; font-weight: 700; line-height: 1; }
.event-datebox .mon { font-size: 11px; opacity: .8; }
.event-info { color: #fff; }
.event-info .title { font-size: 13px; font-weight: 600; }
.event-info .loc { font-size: 11px; opacity: .75; margin-top: 2px; }
.feat-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--red); color: #fff; font-size: 9px;
  padding: 3px 8px; border-radius: 4px;
}
.event-body { padding: 12px 14px; }
.prog-bar { height: 5px; background: #eee; border-radius: 3px; margin: 8px 0; overflow: hidden; }
.prog-fill { height: 100%; background: var(--primary); border-radius: 3px; }
.event-footer { display: flex; align-items: center; justify-content: space-between; }
.seats-txt { font-size: 11px; color: var(--muted); }
.seats-txt strong { color: var(--text); }

/* ── DONATE BANNER ── */
.donate-banner {
  background: var(--primary); border-radius: var(--radius);
  padding: 22px 24px; display: flex;
  align-items: center; gap: 18px; color: #fff;
}
.donate-banner h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.donate-banner p { font-size: 13px; opacity: .8; }

/* ── FORM ── */
.form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; max-width: 680px;
  margin: 0 auto; box-shadow: var(--shadow);
}
.form-header {
  background: var(--primary); padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
}
.form-header h2 { color: #fff; font-size: 17px; font-weight: 600; }
.form-header p { color: rgba(255,255,255,.7); font-size: 12px; margin-top: 3px; }
.form-steps {
  display: flex; padding: 14px 24px; gap: 0;
  border-bottom: 1px solid var(--border); background: #fafafa;
}
.step { flex: 1; display: flex; align-items: center; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.step.done .step-dot { background: var(--primary); color: #fff; }
.step.active .step-dot { background: var(--red); color: #fff; }
.step.inactive .step-dot { background: #e5e7eb; color: var(--muted); }
.step-lbl { font-size: 11px; margin-left: 7px; }
.step.active .step-lbl { color: var(--text); font-weight: 500; }
.step.inactive .step-lbl { color: var(--muted); }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 6px; }
.form-body { padding: 22px 24px; }
.form-section-title {
  font-size: 11px; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.form-row { display: grid; gap: 14px; margin-bottom: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-field label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--muted); margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 9px 12px; font-size: 13px;
  border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text);
  font-family: inherit; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field textarea { resize: vertical; min-height: 70px; }
.req { color: var(--red); }
.form-footer {
  padding: 14px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center; background: #fafafa;
}
.info-box {
  background: #EBF3FB; border: 1px solid #B5D4F4;
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; color: #1a4a8a; margin-bottom: 16px;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.checkbox-row input { margin-top: 3px; accent-color: var(--primary); }
.alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-danger  { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ── ADMIN LAYOUT ── */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 210px; background: var(--primary);
  flex-shrink: 0; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sb-brand {
  padding: 16px 14px; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 10px;
}
.sb-logo {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 9px; font-weight: 700;
  color: var(--primary); text-align: center; line-height: 1.2; flex-shrink: 0;
}
.sb-name { color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; }
.sb-nav { flex: 1; padding: 10px 0; }
.sb-section {
  font-size: 9px; color: rgba(255,255,255,.4);
  padding: 10px 14px 4px; text-transform: uppercase; letter-spacing: .5px;
}
.sb-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; color: rgba(255,255,255,.75);
  font-size: 12px; cursor: pointer;
  border-left: 3px solid transparent; text-decoration: none;
}
.sb-item:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.sb-item.active { background: rgba(255,255,255,.12); color: #fff; border-left-color: var(--red); }
.sb-item i { font-size: 16px; flex-shrink: 0; }
.sb-badge {
  margin-left: auto; background: var(--red); color: #fff;
  font-size: 9px; padding: 2px 6px; border-radius: 10px;
}
.admin-main { flex: 1; background: var(--bg); overflow-x: hidden; }
.topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 20px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topbar-title { font-size: 15px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.admin-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.content-area { padding: 20px; }

/* ── METRICS ── */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.metric-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.metric-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.metric-num { font-size: 24px; font-weight: 700; color: var(--text); }
.metric-lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.metric-change { font-size: 11px; font-weight: 500; }
.up { color: var(--success); }
.dn { color: var(--red); }

/* ── TABLE ── */
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  background: #fafafa; padding: 10px 14px; text-align: left;
  color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }

/* ── BADGE / STATUS ── */
.badge {
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 20px; display: inline-block;
}
.badge-pending  { background: #FEF3C7; color: #92400E; }
.badge-active   { background: #D1FAE5; color: #065F46; }
.badge-inactive { background: #F3F4F6; color: #6B7280; }
.badge-general  { background: #EFF6FF; color: #1E40AF; }
.badge-lifetime { background: #EDE9FE; color: #5B21B6; }

/* ── FOOTER ── */
.footer {
  background: #f9f9f7; border-top: 1px solid var(--border);
  padding: 24px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px;
}
.footer-title { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.footer-copy {
  text-align: center; padding: 12px;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--border);
  background: #f9f9f7;
}

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 999;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 14px;
  width: 100%; max-width: 480px; overflow: hidden;
}
.modal-header {
  background: var(--primary); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { color: #fff; font-size: 15px; font-weight: 600; }
.modal-close {
  background: rgba(255,255,255,.15); border: none;
  color: #fff; width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1;
}
.modal-body { padding: 18px 20px; }
.modal-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: -20px 10px 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero h1 { font-size: 22px; }
  .donate-banner { flex-direction: column; text-align: center; }
}

/* =====================================================
   MOBILE RESPONSIVE — সম্পূর্ণ আপডেট
   ===================================================== */

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--primary);
  z-index: 998;
  flex-direction: column;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.9);
  padding: 13px 22px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  display: block;
}
.mobile-nav a:hover { background: rgba(255,255,255,.1); }
.mobile-nav .m-section {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  padding: 10px 22px 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mobile-nav .m-sub { padding-left: 36px; font-size: 13px; }

/* ── LIVE DATE BAR ── */


/* ── NOTICE TICKER ── */
.ticker-wrap {
  background: #fff3e0;
  border: 1px solid #ffd9a0;
  border-radius: 10px;
  margin: 12px 20px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 42px;
}
.ticker-label {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  padding-left: 100%;
}
.ticker-wrap:hover .ticker-content { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #92400E;
  margin-right: 60px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ── IMAGE SLIDER ── */
.hero { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,43,82,.88), rgba(46,95,163,.82));
}
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 1; }
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: .2s;
  padding: 0;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: .15s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 0 14px; height: 66px; top: 26px; }
  .navbar-links { display: none !important; }
  .navbar-right .btn { display: none; }
  .hamburger { display: flex; }
  .org-name { font-size: 12px; }
  .org-name small { display: none; }
  .org-logo { width: 34px; height: 34px; }

  /* Live bar */
  .live-bar { display:none; }

  /* Hero */
  .hero { padding: 36px 16px 56px !important; min-height: 280px !important; }
  .hero h1 { font-size: 20px !important; }
  .hero p { font-size: 13px !important; }
  .hero-arrow { display: none; }

  /* Stats */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    margin: -20px 10px 0 !important;
    padding: 14px !important;
    gap: 10px !important;
  }
  .stat-num { font-size: 20px !important; }

  /* Ticker */
  .ticker-wrap { margin: 10px 10px 0; height: 38px; }
  .ticker-label { font-size: 11px; padding: 0 10px; }
  .ticker-item { font-size: 12px; }

  /* Sections */
  .section { padding: 20px 12px !important; }
  .section-title { font-size: 16px !important; }

  /* Grids */
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .events-grid { grid-template-columns: 1fr !important; }
  .members-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Form */
  .form-row-2, .form-row-3 { grid-template-columns: 1fr !important; }
  .form-card { margin: 10px !important; }
  .form-body { padding: 14px !important; }
  .form-footer { padding: 12px 14px !important; flex-wrap: wrap; gap: 8px; }
  .step-label { font-size: 9px !important; }

  /* Admin */
  .sidebar { display: none !important; }
  .admin-main { width: 100% !important; }
  .two-col { grid-template-columns: 1fr !important; }
  .data-table { font-size: 11px !important; }
  .data-table th, .data-table td { padding: 7px 8px !important; }

  /* Donate */
  .donate-grid { grid-template-columns: 1fr !important; }
  .donate-banner { flex-direction: column !important; text-align: center !important; gap: 12px !important; }

  /* ID Card */
  .id-card-wrap { flex-direction: column !important; align-items: center !important; }
  .id-card { width: 100% !important; max-width: 300px !important; }

  /* Footer */
  .footer { grid-template-columns: 1fr !important; padding: 18px 14px !important; }
  .footer-copy { font-size: 11px !important; }

  /* Modal */
  .modal { margin: 10px !important; }
}

/* ── SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 17px !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .members-grid { grid-template-columns: 1fr !important; }
  .stats-bar { grid-template-columns: repeat(2, 1fr) !important; }
  .events-grid { grid-template-columns: 1fr !important; }
  .nav-logo-text { display: none; }
}

@media(min-width:1100px) {
  #nav-datetime-wrap { display:block !important; }
}
