/* ============================================================
   /assets/css/site.css
   Chatkhil Pourashava — public site stylesheet
   Font: Tiro Bangla (only)
   ============================================================ */

:root {
  --primary: #0e6245;
  --primary-dark: #084a33;
  --primary-deep: #053124;
  --primary-light: #eaf4ef;
  --accent: #c8a14a;
  --accent-light: #e2c780;
  --text: #1c2421;
  --text-light: #5a6661;
  --bg: #f7f9f7;
  --white: #ffffff;
  --border: #e6ebe7;
  --shadow-sm: 0 1px 4px rgba(8,74,51,0.06);
  --shadow: 0 6px 24px rgba(8,74,51,0.08);
  --shadow-lg: 0 16px 48px rgba(8,74,51,0.14);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tiro Bangla', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Tiro Bangla', serif;
  font-weight: 400;
  line-height: 1.35;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 22px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px auto 0; }
.ornament .line { width: 40px; height: 1px; background: var(--accent); opacity: 0.6; }
.ornament .dot { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }

/* ============ Top Bar ============ */
.topbar { background: var(--primary-deep); color: rgba(255,255,255,0.82); padding: 9px 0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.topbar .info span { margin-right: 20px; white-space: nowrap; }
.topbar .right a { margin-left: 14px; opacity: 0.82; transition: opacity 0.2s, color 0.2s; }
.topbar .right a:hover { opacity: 1; color: var(--accent-light); }
.topbar .lang { color: var(--accent-light); font-weight: 600; }

/* ============ Header ============ */
.header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(140deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  font-family: 'Tiro Bangla', serif; font-size: 25px;
  box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-sm);
}
.logo-text h1 { font-size: 21px; color: var(--primary-dark); letter-spacing: -0.3px; }
.logo-text p { font-size: 11.5px; color: var(--text-light); letter-spacing: 0.3px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 11px; font-weight: 600; font-size: 15px; transition: all 0.25s; cursor: pointer; border: none; font-family: 'Tiro Bangla', serif; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #b8923f); color: var(--primary-deep); box-shadow: 0 8px 22px rgba(200,161,74,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,161,74,0.45); }
.btn-outline { background: rgba(255,255,255,0.08); color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn-outline:hover { background: var(--white); color: var(--primary-deep); border-color: var(--white); }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--white); color: var(--primary); font-weight: 600; font-family: 'Tiro Bangla', serif; font-size: 14px; transition: 0.22s; }
.btn-outline-sm:hover { border-color: var(--primary); background: var(--primary-light); }
.btn .arrow, .btn .ar { transition: transform 0.25s; }
.btn:hover .arrow, .btn:hover .ar { transform: translateX(3px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 11px; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 600; font-family: 'Tiro Bangla', serif; transition: all 0.25s; cursor: pointer; background: var(--white); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ============ E-Service Dropdown ============ */
.header-cta { display: inline-flex; }
.es-dd { position: relative; display: inline-flex; }
.es-btn { display: inline-flex; align-items: center; gap: 7px; }
.es-btn .caret { font-size: 10px; transition: transform 0.28s; }
.es-dd:hover .caret, .es-dd.open .caret { transform: rotate(180deg); }
.es-menu {
  position: absolute; top: calc(100% + 16px); right: 0;
  width: 330px; background: var(--white);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.98); transform-origin: top right;
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(.2,.8,.2,1), visibility 0.26s;
  z-index: 200;
}
.es-dd:hover .es-menu, .es-dd.open .es-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.es-menu::before { content: ''; position: absolute; top: -7px; right: 30px; width: 14px; height: 14px; background: var(--white); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.es-menu-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); padding: 8px 12px 8px; }
.es-item { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 12px; transition: background 0.2s; }
.es-item:hover { background: var(--primary-light); }
.es-item .es-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; transition: all 0.2s; }
.es-item:hover .es-ic { background: var(--primary); transform: scale(1.05); }
.es-item .es-tx { display: flex; flex-direction: column; line-height: 1.35; }
.es-item .es-tx strong { font-size: 14.5px; font-weight: 600; color: var(--text); }
.es-item .es-tx small { font-size: 11.5px; color: var(--text-light); }
.es-divider { height: 1px; background: var(--border); margin: 10px 6px; }
.es-contact { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 600; font-size: 14px; transition: filter 0.2s; }
.es-contact:hover { filter: brightness(1.1); }
.mobile-es { display: none; }

/* ============ Compact Dropdown Nav ============ */
.mainmenu { display: flex; align-items: center; gap: 1px; }
.mainmenu > a, .nav-item > a { display: flex; align-items: center; gap: 5px; padding: 9px 11px; font-weight: 500; font-size: 14.5px; border-radius: 9px; transition: 0.2s; color: var(--text); white-space: nowrap; cursor: pointer; }
.mainmenu > a:hover, .nav-item:hover > a, .mainmenu > a.active { color: var(--primary); background: var(--primary-light); }
.mainmenu .home-link { font-size: 18px; padding: 7px 11px; }
.nav-item { position: relative; }
.nav-item > a .ar { font-size: 9px; opacity: 0.6; transition: transform 0.25s; }
.nav-item:hover > a .ar { transform: rotate(180deg); }
.mainmenu .submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 232px; background: var(--white);
  box-shadow: var(--shadow-lg); border-radius: 14px;
  border-top: 3px solid var(--accent); padding: 10px;
  list-style: none; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s, transform 0.24s, visibility 0.24s;
  z-index: 120;
}
.nav-item:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.mainmenu .submenu li a { display: block; padding: 9px 14px; color: var(--text); font-size: 13.8px; border-radius: 9px; transition: 0.18s; }
.mainmenu .submenu li a:hover { background: var(--primary-light); color: var(--primary); padding-left: 18px; }
.mainmenu .submenu.mega { min-width: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.nav-item:nth-last-child(-n+3) > .submenu:not(.mega) { left: auto; right: 0; }

/* ============ Hero (Homepage) ============ */
.hero {
  position: relative; min-height: 600px;
  background: linear-gradient(120deg, rgba(5,49,36,0.92) 0%, rgba(14,98,69,0.78) 55%, rgba(14,98,69,0.55) 100%),
              url('https://chatkhilpourashava.gov.bd/uploads/bg/bg1.png') center/cover;
  display: flex; align-items: center; color: var(--white);
  overflow: hidden; padding: 70px 0 130px;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 25%, rgba(200,161,74,0.18) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(200,161,74,0.1) 0%, transparent 40%);
}
.hero-content { position: relative; max-width: 760px; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: rgba(200,161,74,0.16); border: 1px solid rgba(200,161,74,0.55); color: var(--accent-light); border-radius: 30px; font-size: 13px; margin-bottom: 22px; letter-spacing: 0.5px; backdrop-filter: blur(4px); }
.hero-badge .pulse { width: 7px; height: 7px; background: var(--accent-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(226,199,128,0.6); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(226,199,128,0); } }
.hero h2 { font-size: 52px; line-height: 1.18; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h2 .gold { color: var(--accent-light); }
.hero p { font-size: 18.5px; opacity: 0.94; margin-bottom: 32px; max-width: 620px; font-weight: 300; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Quick Service Cards ============ */
.quick-bar { margin-top: -90px; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-card { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); text-align: center; transition: all 0.3s; border: 1px solid var(--border); position: relative; overflow: hidden; }
.quick-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.quick-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-card:hover::before { transform: scaleX(1); }
.quick-icon { width: 58px; height: 58px; border-radius: 14px; margin: 0 auto 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; transition: all 0.3s; }
.quick-card:hover .quick-icon { background: var(--primary); transform: scale(1.05); }
.quick-card h5 { font-size: 17px; color: var(--primary-dark); margin-bottom: 4px; }
.quick-card p { font-size: 12.5px; color: var(--text-light); }

/* ============ Notice Ticker ============ */
.ticker { background: var(--primary-dark); color: #fff; display: flex; align-items: center; overflow: hidden; margin-top: 40px; border-radius: 12px; }
.ticker-label { background: var(--accent); color: var(--primary-deep); padding: 12px 20px; font-weight: 700; font-size: 14px; white-space: nowrap; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-content { display: inline-flex; white-space: nowrap; animation: scroll-left 28s linear infinite; padding-left: 100%; }
.ticker-content span { padding: 0 40px; font-size: 14px; position: relative; }
.ticker-content span::before { content: '◆'; color: var(--accent-light); position: absolute; left: 12px; font-size: 8px; top: 50%; transform: translateY(-50%); }
.ticker:hover .ticker-content { animation-play-state: paused; }
@keyframes scroll-left { to { transform: translateX(-100%); } }

/* ============ Generic Section ============ */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 54px; }
.section-head .sub { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-head h3 { font-size: 40px; color: var(--primary-dark); letter-spacing: -0.5px; }
.section-head p { color: var(--text-light); max-width: 660px; margin: 18px auto 0; font-size: 16px; }

/* ============ Mayor Section ============ */
.mayor-section { background: var(--white); position: relative; overflow: hidden; }
.mayor-section::before { content: ''; position: absolute; top: -80px; left: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--primary-light); opacity: 0.45; }
.mayor-section::after { content: '“'; position: absolute; bottom: -60px; right: 20px; font-family: Georgia, serif; font-size: 340px; color: var(--primary-light); opacity: 0.5; line-height: 1; pointer-events: none; }
.mayor-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.mayor-portrait { position: relative; width: 300px; margin: 0 auto; padding: 14px; }
.mayor-portrait::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--accent); border-radius: 22px; }
.mayor-portrait::after { content: ''; position: absolute; top: 22px; left: 22px; width: 26px; height: 26px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.portrait-img { position: relative; aspect-ratio: 1/1.14; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--shadow-lg); }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.portrait-img .ph { font-size: 128px; color: var(--primary); opacity: 0.38; padding-bottom: 8px; }
.portrait-img .name-plate { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(5,49,36,0.95) 30%, transparent); color: #fff; padding: 30px 18px 16px; text-align: center; }
.portrait-img .name-plate strong { font-size: 19px; display: block; }
.portrait-img .name-plate span { color: var(--accent-light); font-size: 13px; }
.mayor-text { position: relative; }
.mayor-text .label { color: var(--accent); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.mayor-text .label::before, .mayor-text .label::after { content: ''; width: 18px; height: 1px; background: var(--accent); }
.mayor-text h3 { font-size: 36px; color: var(--primary-dark); margin-bottom: 22px; line-height: 1.3; }
.mayor-quote { font-style: italic; font-size: 19px; color: var(--text); line-height: 1.85; margin-bottom: 26px; position: relative; padding-left: 24px; border-left: 3px solid var(--accent); }
.mayor-sign { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.mayor-sign .sign-name { font-size: 26px; font-style: italic; color: var(--primary-dark); }
.mayor-sign .sign-name small { display: block; font-style: normal; font-size: 13px; color: var(--text-light); margin-top: 2px; }
.mayor-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--primary-light); border-radius: 30px; font-size: 13px; color: var(--primary-dark); font-weight: 500; }
.meta-badge .mi { color: var(--accent); }

/* ============ About (Stats) ============ */
.about { background: linear-gradient(180deg, var(--primary-light), var(--bg)); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; margin-top: 44px; }
.stat-card { background: var(--white); padding: 34px 24px; border-radius: var(--radius); text-align: center; transition: all 0.3s; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat-card .stat-ic { font-size: 30px; margin-bottom: 10px; opacity: 0.9; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-card .num { font-size: 42px; color: var(--primary-dark); margin-bottom: 4px; }
.stat-card .label { color: var(--text-light); font-size: 15px; }
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 3px; background: var(--accent); border-radius: 3px; }

/* ============ Services ============ */
.services { background: linear-gradient(180deg, var(--bg), var(--primary-light)); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--white); padding: 32px 28px; border-radius: var(--radius); transition: all 0.3s; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); transition: width 0.35s; z-index: 0; }
.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card > * { position: relative; z-index: 1; transition: color 0.3s; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 26px; transition: all 0.3s; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.2); }
.service-card h5 { font-size: 19px; color: var(--primary-dark); }
.service-card:hover h5 { color: #fff; }
.service-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; flex-grow: 1; }
.service-card:hover p { color: rgba(255,255,255,0.85); }
.service-link { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .service-link { color: var(--accent-light); }
.service-link .ar { transition: transform 0.25s; }
.service-card:hover .service-link .ar { transform: translateX(4px); }

/* ============ News Cards ============ */
.news { background: var(--white); }
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all 0.32s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card-img { height: 196px; background: linear-gradient(150deg, var(--primary), var(--primary-deep)); display: flex; align-items: center; justify-content: center; font-size: 56px; color: var(--accent-light); position: relative; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(200,161,74,0.2), transparent 60%); pointer-events: none; }
.news-cat { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--primary-deep); padding: 5px 14px; border-radius: 30px; font-size: 11px; font-weight: 700; z-index: 1; }
.news-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12.5px; color: var(--text-light); display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.news-date .dot-sep { width: 3px; height: 3px; background: var(--accent); border-radius: 50%; }
.news-card-body h5 { font-size: 19px; margin-bottom: 11px; color: var(--text); line-height: 1.45; transition: color 0.2s; }
.news-card:hover .news-card-body h5 { color: var(--primary); }
.news-card-body p { font-size: 13.5px; color: var(--text-light); flex: 1; line-height: 1.6; }
.news-more { margin-top: 16px; font-weight: 600; color: var(--primary); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.news-more .ar { transition: transform 0.25s; }
.news-card:hover .news-more .ar { transform: translateX(4px); }
.news-btn-wrap { text-align: center; margin-top: 44px; }

/* Featured news (news list page) */
.featured-news { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 40px; }
.featured-img { background: linear-gradient(150deg, var(--primary), var(--primary-deep)); display: flex; align-items: center; justify-content: center; font-size: 100px; color: var(--accent-light); min-height: 340px; position: relative; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(200,161,74,0.22), transparent 60%); pointer-events: none; }
.featured-img .feat-badge { position: absolute; top: 22px; left: 22px; background: var(--accent); color: var(--primary-deep); padding: 7px 18px; border-radius: 30px; font-size: 12px; font-weight: 700; z-index: 1; }
.featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.featured-meta .cat { color: var(--accent); font-weight: 700; }
.featured-body h2 { font-size: 30px; color: var(--primary-dark); margin-bottom: 14px; line-height: 1.3; }
.featured-body p { color: var(--text-light); font-size: 15.5px; margin-bottom: 22px; }
.read-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; }
.read-link .ar { transition: transform 0.25s; }
.read-link:hover .ar { transform: translateX(4px); }

/* News grid (news list page) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ============ Notice Board ============ */
.notice-sec { background: linear-gradient(180deg, var(--bg), var(--primary-light)); }
.notice-board { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border); max-width: 920px; margin: 0 auto; }
.notice-board-head { padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--primary-light); }
.notice-board-head h4 { font-size: 21px; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; }
.notice-board-head a { font-size: 13px; color: var(--primary); font-weight: 600; display: inline-flex; gap: 4px; }
.notice-row { display: flex; align-items: center; gap: 18px; padding: 17px 28px; border-bottom: 1px solid var(--border); transition: all 0.22s; }
.notice-row:last-child { border-bottom: none; }
.notice-row:hover { background: var(--primary-light); }
.notice-file-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; transition: all 0.22s; }
.notice-row:hover .notice-file-icon { background: var(--primary); color: #fff; }
.notice-row-content { flex: 1; min-width: 0; }
.notice-row-content h5 { font-size: 15.5px; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.notice-row-meta { font-size: 12.5px; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.notice-row-meta .nm { display: inline-flex; align-items: center; gap: 5px; }
.n-tag { padding: 2px 10px; font-size: 11px; border-radius: 20px; font-weight: 600; }
.n-tag.urgent { background: #fce8e6; color: #c0392b; }
.n-tag.normal { background: var(--primary-light); color: var(--primary-dark); }
.n-tag.fin { background: #fff3e0; color: #b8923f; }
.notice-download { width: 40px; height: 40px; border-radius: 11px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all 0.22s; flex-shrink: 0; font-size: 15px; }
.notice-download:hover { background: var(--accent); color: var(--primary-deep); border-color: var(--accent); }

/* ============ Councillors ============ */
.councillors { background: var(--white); }
.councillor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; }
.councillor-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all 0.35s; border: 1px solid var(--border); }
.councillor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.councillor-img { height: 230px; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 84px; position: relative; overflow: hidden; }
.councillor-img img { width: 100%; height: 100%; object-fit: cover; }
.councillor-img .ward-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--primary-deep); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 1; }
.councillor-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: linear-gradient(to top, rgba(5,49,36,0.85), transparent); transition: height 0.35s; }
.councillor-card:hover .councillor-img::after { height: 50%; }
.councillor-body { padding: 20px; }
.councillor-body h5 { font-size: 18px; color: var(--primary-dark); margin-bottom: 4px; }
.councillor-body .role { color: var(--accent); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.councillor-body p { font-size: 13px; color: var(--text-light); }

/* ============ Activities ============ */
.activities { background: linear-gradient(180deg, var(--primary-light), var(--bg)); }
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.activity-card { position: relative; height: 300px; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: linear-gradient(150deg, var(--primary), var(--primary-deep)); }
.activity-card img { width: 100%; height: 100%; object-fit: cover; }
.activity-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,49,36,0.95) 25%, transparent 70%); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; transition: all 0.4s; }
.activity-card .big-icon { font-size: 56px; position: absolute; top: 26px; right: 26px; opacity: 0.22; transition: all 0.4s; z-index: 1; }
.activity-card:hover .big-icon { opacity: 0.4; transform: scale(1.1) rotate(-5deg); }
.activity-card h5 { font-size: 21px; margin-bottom: 6px; color: #fff; }
.activity-card p { font-size: 13.5px; opacity: 0.9; }
.activity-card:hover .overlay { background: linear-gradient(to top, rgba(5,49,36,0.97) 55%, rgba(14,98,69,0.3)); }

/* ============ Gallery (homepage strip) ============ */
.gallery { background: linear-gradient(180deg, var(--bg), var(--primary-light)); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; background: linear-gradient(150deg, var(--primary), var(--primary-deep)); display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 40px; transition: transform 0.35s; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover { transform: scale(1.03); z-index: 2; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; font-size: 80px; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(5,49,36,0.85), transparent); color: #fff; padding: 16px; font-size: 13.5px; transform: translateY(100%); transition: transform 0.3s; }
.gallery-item:hover .caption { transform: translateY(0); }

/* ============ Emergency Hotline ============ */
.emergency { background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep)); color: #fff; position: relative; overflow: hidden; }
.emergency::before { content: ''; position: absolute; top: -40%; right: -8%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200,161,74,0.16), transparent 70%); }
.emergency .section-head h3 { color: #fff; }
.emergency .section-head .sub { color: var(--accent-light); }
.emergency .section-head p { color: rgba(255,255,255,0.8); }
.hotline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; position: relative; }
.hotline-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-left: 4px solid var(--accent); backdrop-filter: blur(6px); border-radius: 14px; padding: 22px; display: flex; gap: 16px; align-items: center; transition: all 0.28s; }
.hotline-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-5px); }
.hotline-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.hotline-info .h-name { font-size: 13.5px; color: rgba(255,255,255,0.72); margin-bottom: 2px; }
.hotline-info .h-num { font-size: 23px; color: #fff; letter-spacing: 0.5px; }

/* ============ Important Links ============ */
.links { background: var(--white); }
.links-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 26px; }
.link-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid transparent; border-radius: 12px; transition: all 0.25s; }
.link-row:hover { border-left-color: var(--accent); background: var(--white); box-shadow: var(--shadow-sm); transform: translateX(5px); }
.link-row .lr-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; transition: all 0.25s; }
.link-row:hover .lr-icon { background: var(--primary); transform: scale(1.05); }
.link-row span { font-size: 14.5px; font-weight: 500; color: var(--primary-dark); }
.link-row .lr-arrow { margin-left: auto; color: var(--accent); opacity: 0; transition: all 0.25s; font-weight: 700; }
.link-row:hover .lr-arrow { opacity: 1; transform: translateX(2px); }

/* ============ CTA Strip ============ */
.cta-strip { background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep)); color: #fff; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(200,161,74,0.18), transparent 70%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 0; flex-wrap: wrap; position: relative; }
.cta-inner h3 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.cta-inner p { opacity: 0.85; font-size: 16px; }

/* ============ Footer ============ */
.footer { background: var(--primary-deep); color: rgba(255,255,255,0.78); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 44px; }
.footer h5 { color: var(--accent-light); font-size: 18px; margin-bottom: 20px; }
.footer .footer-logo { display: flex; gap: 13px; align-items: center; margin-bottom: 18px; }
.footer .footer-logo .logo-mark { width: 50px; height: 50px; font-size: 23px; }
.footer .footer-logo h4 { color: #fff; font-size: 19px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; font-size: 14px; }
.footer ul li a { opacity: 0.82; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer ul li a::before { content: '›'; color: var(--accent); }
.footer ul li a:hover { opacity: 1; color: var(--accent-light); padding-left: 4px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.contact-item .ico { color: var(--accent); flex-shrink: 0; font-size: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.25s; font-size: 15px; }
.footer-social a:hover { background: var(--accent); color: var(--primary-deep); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 13px; opacity: 0.7; }

/* ============ Page Banner (inner pages) ============ */
.page-banner { position: relative; background: linear-gradient(120deg, rgba(5,49,36,0.93), rgba(14,98,69,0.82)), url('https://chatkhilpourashava.gov.bd/uploads/bg/bg3.png') center/cover; color: #fff; padding: 70px 0; text-align: center; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(200,161,74,0.18), transparent 50%); pointer-events: none; }
.page-banner .pb-content { position: relative; z-index: 2; }
.page-banner .pb-sub { color: var(--accent-light); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.page-banner h1 { font-size: 44px; margin-bottom: 16px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(6px); padding: 9px 22px; border-radius: 30px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
.breadcrumb a { opacity: 0.85; transition: 0.2s; }
.breadcrumb a:hover { opacity: 1; color: var(--accent-light); }
.breadcrumb .sep { color: var(--accent-light); }
.breadcrumb .current { color: var(--accent-light); font-weight: 600; }

.page-section { padding: 70px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .st { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h2 { font-size: 32px; color: var(--primary-dark); margin-top: 8px; }
.sec-head .rule { width: 56px; height: 3px; background: var(--accent); border-radius: 3px; margin: 14px auto 0; }
.sec-head p { color: var(--text-light); max-width: 640px; margin: 16px auto 0; font-size: 15.5px; }

.title-rule { width: 56px; height: 3px; background: var(--accent); border-radius: 3px; margin: 14px 0 26px; }
.content-tag, .card-tag, .ff-tag, .mh-tag { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }

/* ============ Common Page Layout ============ */
.page-layout { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
.main-content { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 44px; border: 1px solid var(--border); }
.main-content h2 { font-size: 32px; color: var(--primary-dark); margin-bottom: 8px; }
.main-content p { color: var(--text-light); margin-bottom: 18px; font-size: 15.5px; }
.main-content h3 { font-size: 23px; color: var(--primary-dark); margin: 32px 0 14px; }
.lead { font-size: 17px !important; color: var(--text) !important; }
.feature-list { list-style: none; margin: 18px 0; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--text-light); font-size: 15px; }
.feature-list li .fi { width: 26px; height: 26px; border-radius: 7px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.callout { background: var(--primary-light); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 22px 26px; margin: 26px 0; }
.callout p { color: var(--primary-dark); font-style: italic; font-size: 17px; margin: 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.mission-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: 0.25s; }
.mission-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); border-color: var(--accent); }
.mission-card .mc-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.mission-card h4 { font-size: 19px; color: var(--primary-dark); margin-bottom: 6px; }
.mission-card p { font-size: 13.5px; margin: 0; }

/* ============ Sidebar (common pages) ============ */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.widget-head { padding: 18px 22px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.widget-body { padding: 12px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; transition: 0.2s; font-size: 14.5px; color: var(--text); }
.side-link:hover { background: var(--primary-light); color: var(--primary); padding-left: 18px; }
.side-link .sl-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.contact-widget { padding: 24px 22px; }
.contact-widget .cw-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--text-light); align-items: flex-start; }
.contact-widget .cw-item:last-child { margin-bottom: 0; }
.contact-widget .cw-item .ci { color: var(--accent); flex-shrink: 0; font-size: 16px; }
.hours-widget { padding: 8px 0; }
.hours-row { display: flex; justify-content: space-between; padding: 11px 22px; font-size: 14px; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text); font-weight: 500; }
.hours-row .time { color: var(--text-light); }
.hours-row.closed .time { color: #c0392b; }

.stat-widget { padding: 8px 0; }
.stat-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-row .sr-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.stat-row .sr-num { font-size: 22px; color: var(--primary-dark); }
.stat-row .sr-label { font-size: 13px; color: var(--text-light); }

/* ============ Profile (Mayor) ============ */
.profile-hero { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: center; background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 44px; position: relative; overflow: hidden; }
.profile-hero::before { content: ''; position: absolute; top: -90px; right: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--primary-light); opacity: 0.5; }
.profile-portrait { position: relative; width: 320px; margin: 0 auto; padding: 14px; z-index: 1; }
.profile-portrait::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--accent); border-radius: 22px; }
.pp-img { position: relative; aspect-ratio: 1/1.15; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--shadow-lg); }
.pp-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-img .ph { font-size: 140px; color: var(--primary); opacity: 0.38; padding-bottom: 8px; }
.pp-img .plate { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(5,49,36,0.95) 30%, transparent); color: #fff; padding: 30px 18px 16px; text-align: center; }
.pp-img .plate strong { font-size: 19px; display: block; }
.pp-img .plate span { color: var(--accent-light); font-size: 13px; }
.profile-intro { position: relative; z-index: 1; }
.profile-intro .role-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 6px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.profile-intro h2 { font-size: 38px; color: var(--primary-dark); margin-bottom: 6px; }
.profile-intro .sub { color: var(--accent); font-weight: 600; font-size: 16px; margin-bottom: 18px; }
.profile-intro p { color: var(--text-light); font-size: 15.5px; margin-bottom: 22px; }
.profile-contacts { display: flex; gap: 12px; flex-wrap: wrap; }
.pc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 30px; font-size: 13.5px; color: var(--primary-dark); }
.pc-badge .pci { color: var(--accent); }

.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; margin-top: 50px; }
.detail-main { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); padding: 40px; }
.detail-main h3 { font-size: 28px; color: var(--primary-dark); margin-bottom: 6px; }
.detail-main p { color: var(--text-light); margin-bottom: 18px; font-size: 15.5px; }
.detail-main h4 { font-size: 21px; color: var(--primary-dark); margin: 30px 0 14px; }

/* Timeline (used by profile + detail) */
.timeline { position: relative; padding-left: 30px; margin-top: 10px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); }
.tl-year { color: var(--accent); font-weight: 700; font-size: 14px; }
.tl-item h5 { font-size: 17px; color: var(--primary-dark); margin: 2px 0 4px; }
.tl-item p { font-size: 14px; margin: 0; }

/* Chip list (education / achievements) */
.chip-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.chip { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; }
.chip .chip-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.chip h5 { font-size: 16px; color: var(--primary-dark); margin-bottom: 2px; }
.chip p { font-size: 13.5px; margin: 0; }

/* ============ Detail (Single Official) ============ */
.dp-hero { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; margin-bottom: 40px; }
.dp-cover { height: 150px; background: linear-gradient(120deg, var(--primary), var(--primary-deep)); position: relative; }
.dp-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(200,161,74,0.22), transparent 55%); }
.dp-hero-body { padding: 0 44px 36px; display: flex; gap: 32px; align-items: flex-end; margin-top: -70px; position: relative; flex-wrap: wrap; }
.dp-avatar { width: 160px; height: 160px; border-radius: 24px; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); display: flex; align-items: center; justify-content: center; font-size: 78px; color: var(--primary); border: 5px solid var(--white); box-shadow: var(--shadow); flex-shrink: 0; overflow: hidden; }
.dp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dp-intro { flex: 1; padding-bottom: 6px; min-width: 240px; }
.dp-intro .rank-badge { display: inline-block; background: var(--accent); color: var(--primary-deep); padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.dp-intro h2 { font-size: 34px; color: var(--primary-dark); margin-bottom: 4px; }
.dp-intro .desig { color: var(--accent); font-weight: 600; font-size: 16px; }
.dp-actions { display: flex; gap: 12px; padding-bottom: 6px; flex-wrap: wrap; }

.dp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.dp-main { display: flex; flex-direction: column; gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); padding: 34px; }
.card h3 { font-size: 24px; color: var(--primary-dark); margin: 6px 0; }
.card-rule { width: 50px; height: 3px; background: var(--accent); border-radius: 3px; margin: 10px 0 22px; }
.card p { color: var(--text-light); font-size: 15px; margin-bottom: 14px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-cell { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg); border-radius: 12px; }
.info-cell .ic-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-cell .ic-l { font-size: 12px; color: var(--text-light); }
.info-cell .ic-v { font-size: 14.5px; color: var(--text); font-weight: 500; }

.resp-list { list-style: none; }
.resp-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; color: var(--text-light); font-size: 15px; }
.resp-list li .ri { width: 26px; height: 26px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; margin-top: 2px; }

.dp-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.contact-box { padding: 22px; }
.cb-item { display: flex; gap: 13px; margin-bottom: 18px; align-items: flex-start; }
.cb-item:last-child { margin-bottom: 0; }
.cb-item .cb-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.cb-item .cb-l { font-size: 12px; color: var(--text-light); }
.cb-item .cb-v { font-size: 14.5px; color: var(--text); font-weight: 500; }
.skill-box { padding: 22px; }
.skill-item { margin-bottom: 16px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; }
.skill-top .sk-name { color: var(--text); font-weight: 500; }
.skill-top .sk-pct { color: var(--accent); font-weight: 700; }
.skill-bar { height: 8px; background: var(--primary-light); border-radius: 10px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 10px; width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }

/* ============ Officials List ============ */
.senior-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.senior-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; transition: 0.32s; text-align: center; }
.senior-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.senior-top { background: linear-gradient(150deg, var(--primary), var(--primary-deep)); padding: 36px 20px 0; position: relative; }
.senior-top::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(200,161,74,0.2), transparent 55%); }
.senior-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--white); margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 60px; color: var(--primary); border: 4px solid var(--accent); position: relative; z-index: 1; box-shadow: var(--shadow); overflow: hidden; }
.senior-avatar img { width: 100%; height: 100%; object-fit: cover; }
.senior-rank { position: relative; z-index: 1; display: inline-block; background: var(--accent); color: var(--primary-deep); padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; margin: 18px 0 -14px; }
.senior-body { padding: 26px 24px 28px; }
.senior-body h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 4px; }
.senior-body .desig { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.senior-contacts { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.senior-contacts span { font-size: 13.5px; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 8px; }
.senior-contacts span .ci { color: var(--accent); }

.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.staff-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); padding: 26px 22px; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }
.staff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: 0.3s; transform-origin: left; }
.staff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.staff-card:hover::before { transform: scaleX(1); }
.staff-avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--primary); border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--accent); overflow: hidden; }
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 3px; }
.staff-card .role { color: var(--text-light); font-size: 13px; margin-bottom: 10px; }
.dept-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 14px; }
.staff-contact { padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.staff-contact span { font-size: 12.5px; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 6px; }
.staff-contact span .ci { color: var(--accent); }
.staff-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--primary); font-weight: 600; font-size: 13px; }
.staff-link .ar { transition: transform 0.25s; }
.staff-card:hover .staff-link .ar { transform: translateX(3px); }

/* ============ Wards ============ */
.ward-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.ws-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); padding: 30px 22px; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }
.ws-card::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 3px; background: var(--accent); border-radius: 3px; }
.ws-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ws-card .ws-ic { font-size: 30px; margin-bottom: 10px; }
.ws-card .ws-num { font-size: 38px; color: var(--primary-dark); }
.ws-card .ws-label { font-size: 14px; color: var(--text-light); }

.ward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ward-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; transition: 0.32s; }
.ward-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ward-top { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); padding: 24px 26px; color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; }
.ward-top::after { content: ''; position: absolute; top: -30px; right: -20px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,161,74,0.25), transparent 70%); }
.ward-no { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.15); border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--accent-light); flex-shrink: 0; position: relative; z-index: 1; }
.ward-top .wt-tx { position: relative; z-index: 1; }
.ward-top .wt-tx h3 { font-size: 21px; color: #fff; }
.ward-top .wt-tx span { font-size: 13px; color: var(--accent-light); }
.ward-body { padding: 22px 26px; }
.ward-councillor { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.wc-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(160deg, var(--primary-light), #cfe3d9); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); flex-shrink: 0; border: 2px solid var(--white); box-shadow: 0 0 0 1.5px var(--accent); overflow: hidden; }
.wc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wc-info .wc-label { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.wc-info h5 { font-size: 16px; color: var(--primary-dark); }
.wc-info .wc-phone { font-size: 12.5px; color: var(--text-light); }
.ward-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wm-item { display: flex; gap: 10px; align-items: center; }
.wm-item .wm-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.wm-item .wm-l { font-size: 11px; color: var(--text-light); }
.wm-item .wm-v { font-size: 14px; color: var(--text); font-weight: 600; }
.ward-areas { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.ward-areas .wa-title { font-size: 12px; color: var(--text-light); margin-bottom: 8px; font-weight: 600; }
.wa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-tag { background: var(--bg); border: 1px solid var(--border); color: var(--primary-dark); padding: 3px 11px; border-radius: 20px; font-size: 11.5px; }

/* ============ Gallery Page ============ */
.g-item { border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; background: linear-gradient(150deg, var(--primary), var(--primary-deep)); display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 52px; transition: transform 0.35s, box-shadow 0.35s; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(200,161,74,0.18), transparent 60%); pointer-events: none; }
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.g-item.tall { grid-row: span 2; font-size: 72px; }
.g-item.wide { grid-column: span 2; font-size: 72px; }
.g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,49,36,0.92) 0%, rgba(5,49,36,0.1) 50%, transparent 100%); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; z-index: 1; }
.g-item:hover .g-overlay { opacity: 1; }
.g-cat { font-size: 11px; font-weight: 700; color: var(--accent-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.g-overlay h5 { color: #fff; font-size: 17px; }
.g-zoom { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; opacity: 0; transform: scale(0.8); transition: 0.3s; z-index: 1; }
.g-item:hover .g-zoom { opacity: 1; transform: scale(1); }
.load-wrap { text-align: center; margin-top: 50px; }

/* ============ Contact Page ============ */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 54px; }
.info-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); padding: 32px 26px; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }
.info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: 0.3s; transform-origin: left; }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.info-card:hover::before { transform: scaleX(1); }
.info-card .ic-icon { width: 62px; height: 62px; border-radius: 16px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; transition: 0.3s; }
.info-card:hover .ic-icon { background: var(--primary); transform: scale(1.05); }
.info-card h4 { font-size: 20px; color: var(--primary-dark); margin-bottom: 8px; }
.info-card p { font-size: 14.5px; color: var(--text-light); margin-bottom: 4px; }
.info-card .ic-highlight { color: var(--primary); font-weight: 600; font-size: 15px; }

.contact-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-wrap { padding: 48px; }
.contact-form-wrap h2 { font-size: 30px; color: var(--primary-dark); margin: 8px 0 6px; }
.contact-form-wrap .fsub { color: var(--text-light); font-size: 15px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field label .req { color: #c0392b; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 11px; font-family: 'Tiro Bangla', serif; font-size: 14.5px; color: var(--text); background: var(--bg); transition: 0.2s; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(14,98,69,0.1); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }
.submit-btn { width: 100%; justify-content: center; margin-top: 6px; }

.contact-side { background: linear-gradient(150deg, var(--primary-dark), var(--primary-deep)); color: #fff; padding: 48px; position: relative; overflow: hidden; }
.contact-side::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(200,161,74,0.18), transparent 70%); }
.contact-side h3 { font-size: 26px; color: #fff; margin-bottom: 8px; position: relative; }
.contact-side .cs-sub { opacity: 0.82; font-size: 14.5px; margin-bottom: 30px; position: relative; }
.cs-item { display: flex; gap: 16px; margin-bottom: 26px; position: relative; }
.cs-item .cs-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.cs-item .cs-tx h5 { font-size: 13px; color: var(--accent-light); margin-bottom: 3px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.cs-item .cs-tx p { font-size: 15px; opacity: 0.95; }
.cs-social { display: flex; gap: 12px; margin-top: 30px; position: relative; }
.cs-social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 17px; transition: 0.25s; }
.cs-social a:hover { background: var(--accent); color: var(--primary-deep); transform: translateY(-3px); }

.map-section { margin-top: 54px; }
.map-head { text-align: center; margin-bottom: 30px; }
.map-head h2 { font-size: 32px; color: var(--primary-dark); margin-top: 8px; }
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); height: 420px; position: relative; background: linear-gradient(150deg, #d4e5dc, var(--primary-light)); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }

/* ============ Filter Bar (shared) ============ */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn { padding: 9px 22px; border-radius: 30px; border: 1.5px solid var(--border); background: var(--white); color: var(--text-light); font-family: 'Tiro Bangla', serif; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.22s; }
.filter-btn:hover { border-color: var(--accent); color: var(--primary); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: transparent; }

/* ============ Pagination (shared) ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.page-num { width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text); cursor: pointer; transition: 0.2s; text-decoration: none; }
.page-num:hover { border-color: var(--accent); color: var(--primary); }
.page-num.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: transparent; }
.page-num.arrow { color: var(--text-light); }
.page-num.disabled { opacity: 0.4; pointer-events: none; }

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; background: rgba(5,30,22,0.94); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-content { text-align: center; max-width: 80%; transform: scale(0.9); transition: transform 0.3s; }
.lightbox.open .lb-content { transform: scale(1); }
.lb-img { width: 520px; max-width: 90vw; height: 360px; border-radius: 18px; background: linear-gradient(150deg, var(--primary), var(--primary-deep)); display: flex; align-items: center; justify-content: center; font-size: 130px; color: var(--accent-light); box-shadow: 0 20px 60px rgba(0,0,0,0.5); margin: 0 auto; position: relative; overflow: hidden; }
.lb-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.lb-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(200,161,74,0.2), transparent 60%); pointer-events: none; }
.lb-caption { color: #fff; margin-top: 22px; }
.lb-caption .lb-cat { color: var(--accent-light); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.lb-caption h4 { font-size: 24px; color: #fff; margin-top: 4px; }
.lb-close { position: absolute; top: 30px; right: 34px; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 26px; cursor: pointer; transition: 0.25s; display: flex; align-items: center; justify-content: center; }
.lb-close:hover { background: var(--accent); color: var(--primary-deep); transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 26px; cursor: pointer; transition: 0.25s; display: flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: var(--accent); color: var(--primary-deep); }
.lb-prev { left: 34px; }
.lb-next { right: 34px; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .news-cards { grid-template-columns: repeat(2, 1fr); }
  .links-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 968px) {
  .mainmenu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 10px; box-shadow: var(--shadow); gap: 2px;
    max-height: 76vh; overflow-y: auto;
  }
  .mainmenu.open { display: flex; }
  .mainmenu > a, .nav-item > a { padding: 13px 16px; justify-content: space-between; border-radius: 9px; }
  .mainmenu .home-link { justify-content: flex-start; font-size: 16px; }
  .nav-item { width: 100%; }
  .mainmenu .submenu, .nav-item:nth-last-child(-n+3) > .submenu:not(.mega) {
    position: static; left: auto; right: auto; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 10px; border-top: none;
    background: var(--bg); padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mainmenu .submenu.mega { display: block; }
  .nav-item.open > .submenu { max-height: 720px; padding: 6px; margin: 4px 0; }
  .nav-item.open > a .ar { transform: rotate(180deg); }
  .mainmenu .submenu li a { padding: 11px 18px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .mobile-es { display: block; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
  .mobile-es-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); padding: 8px 16px 4px; }

  .mayor-wrap { grid-template-columns: 1fr; gap: 40px; }
  .mayor-text { text-align: center; }
  .mayor-quote { text-align: left; }
  .mayor-sign { justify-content: center; }
  .mayor-meta { justify-content: center; }
  .hero h2 { font-size: 38px; }
  .section-head h3, .sec-head h2 { font-size: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-row: span 1; }

  .page-layout { grid-template-columns: 1fr; }
  .sidebar, .dp-side { position: static; }
  .detail-layout, .dp-layout { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .profile-contacts { justify-content: center; }
  .featured-news { grid-template-columns: 1fr; }
  .featured-img { min-height: 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .senior-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 60px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .ward-stats { grid-template-columns: repeat(2, 1fr); }
  .ward-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
  .dp-hero-body { flex-direction: column; align-items: center; text-align: center; }
  .dp-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  .hero { min-height: 520px; padding: 50px 0 110px; }
  .hero h2 { font-size: 29px; }
  .hero p { font-size: 15px; }
  .section { padding: 56px 0; }
  .page-section { padding: 50px 0; }
  .page-banner { padding: 50px 0; }
  .page-banner h1 { font-size: 27px; }
  .section-head { margin-bottom: 38px; }
  .section-head h3, .sec-head h2 { font-size: 25px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-bar { margin-top: -70px; }
  .news-cards, .news-grid { grid-template-columns: 1fr; }
  .links-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar .info span { display: inline-block; margin-bottom: 2px; margin-right: 14px; font-size: 12px; }
  .topbar .right { display: none; }
  .logo-text h1 { font-size: 17px; }
  .logo-mark { width: 48px; height: 48px; font-size: 22px; }
  .mayor-text h3 { font-size: 28px; }
  .mayor-portrait { width: 250px; }
  .notice-row { flex-wrap: wrap; padding: 16px 20px; }
  .notice-board-head { padding: 18px 20px; }
  .ticker-label { padding: 12px 14px; font-size: 13px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .mayor-section::after { font-size: 200px; }
  .main-content { padding: 28px 22px; }
  .main-content h2 { font-size: 25px; }
  .mission-grid { grid-template-columns: 1fr; }
  .profile-hero { padding: 28px 22px; }
  .profile-portrait { width: 250px; }
  .profile-intro h2 { font-size: 28px; }
  .detail-main, .card { padding: 26px 22px; }
  .dp-hero-body { padding: 0 22px 28px; }
  .dp-intro h2 { font-size: 27px; }
  .info-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 22px; }
  .featured-body h2 { font-size: 24px; }
  .staff-grid { grid-template-columns: 1fr; }
  .ward-stats, .ward-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-side { padding: 28px 22px; }
  .contact-form-wrap h2 { font-size: 25px; }
  .form-row { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-item.wide, .g-item.tall { grid-column: span 1; grid-row: span 1; }
  .lb-close { top: 16px; right: 16px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-nav { width: 44px; height: 44px; }
}