/* ========================================================
   E-BPS Kageshwori Manohara Municipality Stylesheet
   Color Palette: Official Municipality Green & Crimson Red
   Modern Hero Slider & Quick Services Strip
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Kageshwori Manohara Municipality Color Palette */
  --primary-green: #0a5233;       /* Deep Forest Pine Green from Logo Ring */
  --primary-emerald: #0d6e44;     /* Vibrant Emerald Green */
  --primary-light: #10b981;       /* Light Emerald */
  --primary-dark: #053b24;        /* Deep Night Pine */
  --primary-gradient: linear-gradient(135deg, #0a5233 0%, #063d25 100%);
  
  --accent-crimson: #c8102e;      /* Nepal National Crimson Red */
  --accent-crimson-light: #ef4444;
  --accent-gold: #f59e0b;         /* Sun Gold from Logo */
  --accent-amber: #d97706;
  --accent-sky: #0284c7;          /* River Blue from Logo */
  
  --topbar-bg: #042919;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-green-soft: #f0fdf4;
  --bg-green-tint: #ecfdf5;
  --border-color: #e2e8f0;
  --border-green: #a7f3d0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 15px rgba(10, 82, 51, 0.08);
  --shadow-lg: 0 12px 30px -6px rgba(10, 82, 51, 0.16);
  --shadow-hover: 0 18px 38px rgba(10, 82, 51, 0.22);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ne: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-base: var(--font-ne);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body,
body.lang-ne {
  font-family: var(--font-ne);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-en {
  font-family: var(--font-en);
}

/* Prevent layout reflow stutter / volume jumps during language toggle */
body.lang-switching,
body.lang-switching * {
  transition: none !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

/* ========================================================
   SCROLL PROGRESS BAR
   ======================================================== */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-light), var(--accent-crimson));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ========================================================
   1. TOP UTILITY BAR
   ======================================================== */
.top-bar {
  background-color: #032012;
  color: #e2e8f0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1000;
}

.top-bar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-item i {
  color: var(--accent-gold);
  font-size: 0.84rem;
}

.top-item:hover {
  color: #ffffff;
}

.top-divider {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-auth-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-btn-login {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 4px 13px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-btn-login i {
  font-size: 0.74rem;
  color: #a7f3d0;
}

.top-btn-login:hover {
  background: #ffffff;
  color: #064e3b;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.top-btn-login:hover i {
  color: #064e3b;
}

.top-btn-signup {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #042414;
  padding: 4px 13px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-btn-signup i {
  font-size: 0.74rem;
  color: #042414;
}

.top-btn-signup:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #021a0d;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.top-btn-renew {
  background: rgba(16, 185, 129, 0.18);
  color: #ecfdf5;
  padding: 4px 13px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-btn-renew i {
  font-size: 0.74rem;
  color: #6ee7b7;
}

.top-btn-renew:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.top-btn-renew:hover i {
  color: #ffffff;
}

.top-lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-lang-btn i {
  color: var(--accent-gold);
  font-size: 0.82rem;
}

.top-lang-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

body:not(.lang-en) .top-lang-btn,
body.lang-ne .top-lang-btn {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
}

body.lang-en .top-lang-btn {
  font-family: var(--font-ne);
  font-size: 0.88rem;
  font-weight: 700;
}

/* ========================================================
   2. MAIN NAVBAR & DUAL LOGOS
   ======================================================== */
.main-header {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(5, 59, 36, 0.35);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background 0.3s ease, padding 0.3s ease;
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.main-header.scrolled {
  background: rgba(8, 56, 34, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(4, 41, 25, 0.45);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 100;
}

/* Dual Logo Branding (Crisp, Left-Aligned & Neatly Sized) */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.logos-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-nepal {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-nepal:hover {
  transform: scale(1.05);
}

.logo-kageshwori-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
  overflow: hidden;
  border: 1.5px solid #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-kageshwori-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

.logo-kageshwori {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.gov-title {
  font-family: var(--font-ne);
  font-size: 1.38rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

body.lang-en .gov-title {
  font-family: var(--font-en);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.gov-office {
  font-family: var(--font-ne);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.22;
}

body.lang-en .gov-office {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 500;
  color: #f1f5f9;
}

.gov-location {
  font-family: var(--font-ne);
  font-size: 0.78rem;
  color: #a7f3d0;
  font-weight: 500;
  line-height: 1.2;
}

body.lang-en .gov-location {
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 500;
  color: #a7f3d0;
}

/* Nav Menu Items */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 101;
}

.nav-link {
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.25;
  text-decoration: none;
}

.nav-link i:first-child {
  color: #34d399;
  font-size: 1.0rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Nepali Typography for Nav */
body:not(.lang-en) .nav-link,
body.lang-ne .nav-link {
  font-family: var(--font-ne);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.1px;
}

body:not(.lang-en) .dropdown-menu .dropdown-item,
body.lang-ne .dropdown-menu .dropdown-item {
  font-family: var(--font-ne);
  font-size: 0.96rem;
  font-weight: 500;
}

/* English Typography for Nav */
body.lang-en .nav-link {
  font-family: var(--font-en);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0px;
}

body.lang-en .dropdown-menu .dropdown-item {
  font-family: var(--font-en);
  font-size: 0.90rem;
  font-weight: 500;
}

/* Active Nav Link */
.nav-link.active {
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.18);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}

body:not(.lang-en) .nav-link.active,
body.lang-ne .nav-link.active {
  font-weight: 700;
}

body.lang-en .nav-link.active {
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 75% !important;
  height: 2.5px;
  background: #34d399;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-link:hover::after {
  width: 75%;
}

.nav-link i.fa-chevron-down {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  z-index: 105;
}

.nav-dropdown:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: var(--text-dark);
  min-width: 245px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 1050;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-emerald);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item i {
  color: var(--primary-emerald);
  width: 16px;
  font-size: 0.88rem;
}

.dropdown-item:hover {
  background: var(--bg-green-tint);
  color: var(--primary-emerald);
  padding-left: 22px;
}

/* ========================================================
   RESOURCES NAVBAR DROPDOWN (Modern Showcase)
   ======================================================== */
.dropdown-menu-resources {
  min-width: 400px;
  max-width: 460px;
  padding: 0 !important;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 50px -6px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
  z-index: 1050;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-resources-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #064e3b 0%, #0a5233 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-res-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-res-title i {
  color: #fbbf24;
  font-size: 0.95rem;
}

.nav-res-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-resources-list {
  max-height: 330px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
}

.nav-resources-list::-webkit-scrollbar {
  width: 5px;
}

.nav-resources-list::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.nav-resources-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.nav-res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nav-res-item:hover {
  background: #ffffff;
  border-color: #86efac;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(10, 82, 51, 0.08);
}

.nav-res-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.nav-res-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-res-item:hover .nav-res-icon {
  transform: scale(1.06);
  background: #fecaca;
}

.nav-res-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.nav-res-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.nav-res-name:hover {
  color: #047857;
}

.nav-res-size {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.nav-res-size i {
  font-size: 0.7rem;
  color: #94a3b8;
}

.nav-res-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-btn-view,
.nav-btn-download {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.18s ease;
}

.nav-btn-view {
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.nav-btn-view:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3);
}

.nav-btn-download {
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.nav-btn-download:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.3);
}

.nav-resources-footer {
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.nav-res-view-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #064e3b;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  padding: 4px 6px;
  border-radius: 6px;
}

.nav-res-view-all:hover {
  color: #047857;
  background: #ecfdf5;
  padding-right: 10px;
}

.nav-res-view-all i.fa-arrow-right {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.nav-res-view-all:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.dropdown-status-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

.dropdown-status-box i {
  font-size: 1.1rem;
  color: #94a3b8;
  width: auto !important;
}

/* Mobile Drawer Auth Container (Hidden on Desktop) */
.mobile-drawer-auth {
  display: none;
}

/* Auth Buttons Inside Main Navbar */
.nav-auth-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.nav-btn-login {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-btn-login:hover {
  background: #ffffff;
  color: #064e3b;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.nav-btn-signup {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #062b17;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-btn-signup:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #041f10;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.45);
}

.nav-btn-renew {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-btn-renew:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* Language Switcher Button in Navbar */
.nav-lang-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  cursor: pointer;
  transition: var(--transition);
}

body:not(.lang-en) .nav-lang-btn,
body.lang-ne .nav-lang-btn {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

body.lang-en .nav-lang-btn {
  font-family: var(--font-ne);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-lang-btn:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.nav-lang-btn i {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.4rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* ========================================================
   3. HERO PREMIUM SECTION (WITH STRAIGHTENED BUILDING WATERMARK FADE)
   ======================================================== */
.hero-premium-section {
  position: relative;
  width: 100%;
  background: #032011;
  color: #ffffff;
  padding: 115px 24px 145px;
  text-align: center;
  border-bottom: 4px solid #f59e0b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  min-height: 720px;
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Municipal Building Watermark Faded Layer (Clear Architectural BG with Cinematic Animation) */
.hero-watermark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.54;
  filter: saturate(1.22) contrast(1.18) brightness(1.04);
  transform-origin: center center;
  animation: heroCinematicZoom 18s ease-in-out infinite alternate;
}

@keyframes heroCinematicZoom {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  50% {
    transform: scale(1.10) translate(-1.5%, -1.2%);
  }
  100% {
    transform: scale(1.04) translate(0.8%, 0.8%);
  }
}

.hero-watermark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 38, 20, 0.78) 0%,
    rgba(6, 44, 24, 0.52) 32%,
    rgba(4, 30, 16, 0.68) 68%,
    rgba(2, 18, 9, 0.94) 100%
  );
  pointer-events: none;
}

/* Ambient Cinematic Lighting Glow */
.hero-ambient-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 460px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.24) 0%, rgba(245, 158, 11, 0.12) 45%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 1;
  animation: heroAmbientPulse 7s ease-in-out infinite alternate;
}

@keyframes heroAmbientPulse {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.92);
  }
  100% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero-premium-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Local Government Level Tag */
.hero-gov-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fbbf24;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Top Department Pill Badge */
.hero-dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(3, 28, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: #a7f3d0;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  max-width: 95%;
  line-height: 1.4;
}

.nepal-flag-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* Motto Tagline with Architectural Golden Divider Lines */
.hero-motto-headline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  text-align: center;
}

.hero-motto-headline::before,
.hero-motto-headline::after {
  content: '';
  display: inline-block;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-motto-headline::after {
  background: linear-gradient(90deg, #f59e0b, transparent);
}

.motto-gold-underline {
  color: #f59e0b;
  position: relative;
  display: inline;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #f59e0b;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Main E-BPS Heading (Single Balanced Line on Desktop) */
.hero-main-title {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9), 0 8px 28px rgba(0, 0, 0, 0.85);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .hero-main-title {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

.hero-main-title .gold-abbr {
  color: #f59e0b;
  font-weight: 800;
  white-space: nowrap;
  display: inline-block;
  text-shadow: 0 2px 14px rgba(245, 158, 11, 0.45);
}

body:not(.lang-en) .hero-main-title,
body.lang-ne .hero-main-title {
  letter-spacing: normal;
  line-height: 1.25;
}

/* Designed Subtitle Municipal Badge (Glassmorphic Pill with Live Pulse) */
.hero-description-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(2, 34, 18, 0.82) 0%, rgba(3, 22, 12, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 12px 32px;
  margin: 0 auto 34px;
  max-width: 980px;
  transition: all 0.3s ease;
}

.hero-description-badge:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.hero-desc-badge-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-desc-badge-pulse .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.hero-desc-badge-pulse .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: heroPulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0.75;
}

@keyframes heroPulseRing {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero-description {
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  color: #f8fafc;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-weight: 500;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

@media (min-width: 1024px) {
  body.lang-en .hero-description {
    white-space: nowrap;
  }
}

/* Action Buttons */
.hero-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #042919;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
}

.hero-btn-primary:hover::before {
  left: 180%;
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #042919;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Hero Feature Strip (Cool Civic Tech Trust Badges) */
.hero-feature-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(2, 24, 13, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: 11px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}

.feature-divider {
  color: rgba(245, 158, 11, 0.6);
  font-size: 0.9rem;
  user-select: none;
}

.feature-icon-gold {
  color: #f59e0b;
}

.feature-icon-emerald {
  color: #34d399;
}

.feature-icon-cyan {
  color: #38bdf8;
}

/* ========================================================
   FLOATING QUICK-ACTION DOCK (SEPARATE OUTSIDE HERO SECTION)
   Matches user reference image design with refined card borders
   ======================================================== */
.hero-quick-dock-wrapper {
  max-width: 1120px;
  width: 100%;
  margin: -48px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 30;
  box-sizing: border-box;
}

.hero-quick-dock {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.22s ease;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dock-item:hover {
  background: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.dock-item:nth-child(3) {
  border-color: #bbf7d0;
}

.dock-item:nth-child(3):hover {
  border-color: #10b981;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.14);
}

.dock-item:nth-child(4):hover {
  border-color: #0d9488;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.12);
}

.dock-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dock-item:hover .dock-icon-box {
  transform: scale(1.06);
}

.dock-icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.dock-icon-blue {
  background: #dbeafe;
  color: #2563eb;
}

.dock-icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.dock-icon-teal {
  background: #ccfbf1;
  color: #0d9488;
}

.dock-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

.dock-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.dock-title-green {
  color: #065f46;
}

.dock-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================================
   4. ABOUT E-BPS SECTION (MATCHING IMAGE 2)
   ======================================================== */
.about-ebps-section {
  padding: 95px 24px 75px;
  background: #f8fafc;
  position: relative;
}

.about-container,
.about-ebps-section .section-container {
  max-width: 1040px;
  margin: 0 auto;
}

.about-header-center {
  text-align: center;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid #a7f3d0;
}

.badge-star-icon {
  font-size: 0.95rem;
}

.about-section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  text-align: center;
}

body:not(.lang-en) .about-section-heading,
body.lang-ne .about-section-heading {
  letter-spacing: normal;
  line-height: 1.35;
}

.gold-accent-line {
  width: 58px;
  height: 4px;
  background: #f59e0b;
  border-radius: 3px;
  margin: 12px auto 16px;
}

.about-section-subheading {
  font-size: 1.02rem;
  color: #475569;
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

/* 2-Column Grid */
.about-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Left Card: Institutional Building Governance */
.about-gov-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.about-gov-card:hover {
  box-shadow: 0 10px 30px rgba(10, 82, 51, 0.08);
  border-color: #cbd5e1;
}

.gov-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.gov-header-icon {
  font-size: 1.35rem;
  color: #f59e0b;
}

.gov-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0a5233;
  margin: 0;
  line-height: 1.3;
}

.gov-card-body p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.78;
  margin-bottom: 16px;
  text-align: left;
}

.gov-card-body p:last-child {
  margin-bottom: 26px;
}

.gov-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.btn-explore-guidelines {
  background: #0a5233;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(10, 82, 51, 0.25);
}

.btn-explore-guidelines:hover {
  background: #063820;
  transform: translateX(3px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 82, 51, 0.35);
}

.gov-tag-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
}

/* Right Stacked Feature Cards */
.about-features-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.feature-stack-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s ease;
}

.feature-stack-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.feature-icon-green {
  background: #dcfce7;
  color: #15803d;
}

.feature-icon-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.feature-icon-amber {
  background: #fef3c7;
  color: #b45309;
}

.feature-icon-teal {
  background: #ccfbf1;
  color: #0f766e;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 5px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Full-Width Bottom Stats Strip */
.about-stats-strip {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 24px 32px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.stat-strip-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #0a5233;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.stat-label {
  font-size: 0.92rem;
  color: #475569;
  font-weight: 500;
}

.stat-strip-divider {
  width: 1px;
  height: 52px;
  background: #e2e8f0;
}

/* Responsive Breakpoints for Hero & About */
@media (max-width: 1024px) {
  .hero-quick-dock-wrapper {
    margin-top: -38px;
    padding: 0 16px;
  }
  .hero-quick-dock {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }
  .about-ebps-section {
    padding-top: 60px;
  }
  .about-two-col-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
  }
  .stat-strip-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-quick-dock-wrapper {
    margin-top: -30px;
    padding: 0 12px;
  }
  .hero-quick-dock {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }
  .dock-item {
    padding: 9px 10px;
    gap: 9px;
    border-radius: 12px;
  }
  .dock-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.05rem;
    border-radius: 10px;
  }
  .dock-title {
    font-size: 0.84rem;
  }
  .dock-desc {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero-quick-dock-wrapper {
    margin-top: -24px;
  }
  .hero-quick-dock {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dock-title {
    font-size: 0.86rem;
    margin: 0 0 1px;
  }
  .dock-desc {
    font-size: 0.74rem;
  }
  .about-ebps-section {
    padding-top: 50px;
  }
  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .about-stats-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .hero-quick-dock {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dock-item {
    padding: 10px 12px;
  }
}

/* ========================================================
   5. BUILDING PERMIT PROCESS INFORMATION (CENTERED & COMPACT)
   ======================================================== */
.process-info-section {
  padding: 70px 24px 85px;
  background: #ffffff;
}

.process-container {
  max-width: 1140px;
  margin: 0 auto;
}

.process-header-center {
  text-align: center;
  margin-bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary-emerald);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(13, 110, 68, 0.2);
  box-shadow: 0 2px 8px rgba(10, 82, 51, 0.05);
}

.process-pill-badge i {
  color: var(--accent-gold);
}

.section-headline-center {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid.cards-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 20px;
  }
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 82, 51, 0.12);
  border-color: rgba(13, 110, 68, 0.3);
}

.card-img-wrap {
  width: 100%;
  height: 215px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.info-card:hover .card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 82, 51, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.80rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.card-body {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a5233;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.info-card:hover .card-title {
  color: var(--primary-emerald);
}

.card-text {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.card-action-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a5233;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  transition: gap 0.25s ease, color 0.25s ease;
}

.info-card:hover .card-action-link {
  color: #059669;
  gap: 12px;
}

/* ========================================================
   SCROLL REVEAL ANIMATIONS (PROGRESSIVE ENHANCEMENT)
   ======================================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.js-reveal-ready .reveal-on-scroll:not(.revealed) {
  opacity: 0;
  transform: translateY(20px);
}

body.js-reveal-ready .reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Floating Button */
#backToTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(10, 82, 51, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 90;
  border: 2px solid #ffffff;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTopBtn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 82, 51, 0.5);
}

/* ========================================================
   7. MODALS
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 41, 25, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.track-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.track-input:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(13, 110, 68, 0.15);
}

/* ========================================================
   8. FOOTER
   ======================================================== */
.main-footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 55px 24px 22px;
  border-top: 3px solid var(--accent-gold);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fef08a;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.94rem;
  color: #e2e8f0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item i {
  color: var(--accent-gold);
  margin-top: 4px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
}

.contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-label {
  color: #a7f3d0;
  font-weight: 600;
}

.footer-contact-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact-link:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-tollfree {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  width: fit-content;
  margin-top: 2px;
}

.footer-tollfree .tollfree-badge {
  color: #fef08a;
  font-weight: 600;
}

.footer-tollfree .tollfree-link {
  color: #ffffff;
  font-weight: 700;
}

.footer-email-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.footer-email-list .email-link,
.footer-contact-link.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  background: transparent !important;
  border: none !important;
  padding: 2px 0 !important;
  font-size: 0.90rem;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
  transition: all 0.2s ease;
}

.footer-email-list .email-link i,
.footer-contact-link.email-link i {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-top: 0;
  flex-shrink: 0;
}

.footer-email-list .email-link:hover,
.footer-contact-link.email-link:hover {
  color: #ffffff !important;
  transform: translateX(4px);
  text-decoration: underline;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links-list li a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-hours-box {
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-dev-credit {
  color: #e2e8f0;
}

.footer-dev-credit span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ========================================================
   RESPONSIVE DESIGN (POLISHED FOR ALL MOBILE & TABLET DEVICES)
   ======================================================== */

/* Prevent background scroll when mobile nav drawer is open */
body.nav-menu-open {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  /* 1. Sleek Top Bar on Phones & Tablets */
  .top-bar {
    padding: 4px 0;
    font-size: 0.76rem;
  }
  .top-bar-container {
    padding: 4px 12px !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .top-bar-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.74rem !important;
  }
  .top-bar-left .top-item {
    font-size: 0.74rem !important;
    gap: 4px !important;
  }
  .top-bar-left .top-divider {
    color: rgba(255, 255, 255, 0.25);
  }
  .top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .top-btn-login,
  .top-btn-signup {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }
  .top-lang-btn {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  /* 2. Main Header & Dual Logos */
  .header-container {
    padding: 8px 14px;
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .brand-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .logos-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .logo-nepal {
    height: 44px;
    width: auto;
  }
  .logo-kageshwori-wrap {
    width: 44px;
    height: 44px;
    padding: 2px;
    border-width: 1.5px;
  }
  .brand-text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .gov-title {
    font-size: 1.02rem !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.lang-en .gov-title {
    font-size: 0.96rem !important;
  }
  .gov-office {
    font-size: 0.78rem !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gov-location {
    font-size: 0.65rem !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Pinned Mobile Hamburger Button */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-nav-toggle:active {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(0.96);
  }

  /* 3. Premium Mobile Navigation Drawer */
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #042919;
    background: linear-gradient(180deg, #053b24 0%, #032014 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.35);
    border-bottom: 3px solid var(--accent-gold);
    flex-direction: column;
    padding: 14px 16px 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 100vmax rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    z-index: 1000;
    gap: 8px;
    animation: mobileNavSlideDown 0.22s ease-out;
  }
  @keyframes mobileNavSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .navbar-nav.show {
    display: flex !important;
  }
  .nav-link {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 12px 18px !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
  }
  .nav-link:hover,
  .nav-link:active,
  .nav-link.active {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.45);
    color: #ffffff;
  }
  .nav-link i {
    width: 22px;
    font-size: 1.05rem;
    color: #34d399;
    text-align: center;
  }
  .nav-link::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 4px;
    background: #ffffff;
    max-height: 260px;
    overflow-y: auto;
  }
  .nav-dropdown .dropdown-menu.dropdown-menu-resources {
    min-width: 0;
    max-width: 100%;
    max-height: 380px;
    padding: 0 !important;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Auth Actions inside Drawer */
  .mobile-drawer-auth,
  .nav-auth-group {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-drawer-auth .nav-btn-login,
  .mobile-drawer-auth .nav-btn-signup,
  .nav-auth-group .nav-btn-login,
  .nav-auth-group .nav-btn-signup {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
  }
  .mobile-drawer-auth .nav-btn-login,
  .nav-auth-group .nav-btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .mobile-drawer-auth .nav-btn-login:hover,
  .nav-auth-group .nav-btn-login:hover {
    background: rgba(255, 255, 255, 0.18);
  }
  .mobile-drawer-auth .nav-btn-signup,
  .nav-auth-group .nav-btn-signup {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #042919;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }

  /* Language Switcher inside Drawer */
  .nav-lang-btn {
    margin: 8px 0 0 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .nav-lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* 4. Quick Action Dock is styled responsively above */

  /* 5. Process Cards / Blog Grid (Single Column on Phone) */
  .cards-grid,
  .cards-grid.cards-grid-2 {
    grid-template-columns: 1fr !important;
    max-width: 480px;
    margin: 0 auto;
    gap: 20px;
  }
  .info-card {
    border-radius: 14px;
  }
  .info-card .card-img-wrap {
    height: 180px;
  }
  .info-card .card-body {
    padding: 16px 16px 18px;
  }
  .info-card .card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  /* Reduce description text volume on mobile devices */
  .info-card .card-text {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 6. Footer & Containers */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .main-footer {
    padding: 42px 20px 22px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-top: 16px;
  }
}

@media (min-width: 901px) and (max-width: 1140px) {
  .footer-container {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
  }
}

/* Specific Phone Optimizations (max-width: 768px) */
@media (max-width: 768px) {
  .hero-premium-section {
    padding: 48px 16px 54px;
    min-height: auto;
  }
  .hero-dept-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .hero-dept-sub {
    display: none !important;
  }
  .hero-motto-headline {
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.3;
    gap: 10px;
  }
  .hero-motto-headline::before,
  .hero-motto-headline::after {
    width: 22px;
  }
  .hero-main-title {
    font-size: 1.62rem;
    line-height: 1.22;
    margin-bottom: 12px;
  }
  body.lang-en .hero-main-title {
    font-size: 1.5rem;
  }
  /* Responsive hero description badge on phone */
  .hero-description-badge {
    border-radius: 16px;
    padding: 8px 16px;
    margin-bottom: 20px;
    max-width: 100%;
    gap: 10px;
  }
  .hero-description {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    white-space: normal !important;
  }
  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 8px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.92rem;
  }
  /* Responsive feature strip on mobile */
  .hero-feature-strip {
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    padding: 10px 16px;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-feature-strip .feature-divider {
    display: none;
  }

  /* About Section */
  .about-ebps-section {
    padding: 45px 14px;
  }
  .about-section-heading {
    font-size: 1.45rem;
  }
  .about-section-subheading {
    font-size: 0.88rem;
  }
  .about-two-col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-gov-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .about-gov-card .gov-card-body p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 10px;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .stat-strip-divider {
    display: none !important;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
}

/* Small Phone Optimizations (max-width: 480px) */
@media (max-width: 480px) {
  .top-bar-left {
    font-size: 0.72rem;
    gap: 6px;
  }
  .logo-nepal {
    height: 33px;
  }
  .logo-kageshwori-wrap {
    width: 33px;
    height: 33px;
  }
  .gov-title {
    font-size: 0.80rem !important;
  }
  .gov-office {
    font-size: 0.66rem !important;
  }
  .gov-location {
    display: none !important;
  }
}

/* ========================================================
   11B. LIST PAGE HEADER & WARD / BYLAWS STYLING
   ======================================================== */
.list-page-header {
  background: linear-gradient(135deg, #0a5233 0%, #063d25 50%, #042919 100%);
  color: #ffffff;
  padding: 36px 20px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10, 82, 51, 0.18);
  border-bottom: 4px solid #10b981;
}

.list-page-header::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.list-header-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #a7f3d0;
  margin-bottom: 14px;
}

.breadcrumb-trail a {
  color: #a7f3d0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.list-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.list-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.list-page-heading {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.list-page-subheading {
  font-size: 0.98rem;
  color: #d1fae5;
  margin: 0;
  line-height: 1.5;
  max-width: 820px;
}

@media (max-width: 768px) {
  .list-page-header {
    padding: 24px 16px 28px;
  }
  .list-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .list-icon-badge {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
  .list-page-heading {
    font-size: 1.35rem;
  }
  .list-page-subheading {
    font-size: 0.88rem;
  }
}

/* Ward Cards Styling */
.ward-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.ward-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary-emerald);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-margin-top: 110px;
}

.ward-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 82, 51, 0.12);
  border-color: #cbd5e1;
  border-top-color: var(--primary-emerald);
}

.ward-card:target {
  outline: 3px solid #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.25), 0 12px 30px rgba(10, 82, 51, 0.15);
  animation: wardCardHighlight 1.5s ease-out;
}

@keyframes wardCardHighlight {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.ward-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.ward-title {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 700;
  margin: 0;
}

.ward-location {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ward-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.85;
}

.ward-details-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.ward-details-list li i {
  color: var(--primary-emerald);
  width: 16px;
  font-size: 0.85rem;
  text-align: center;
}

.ward-action-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ward-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-emerald);
  text-decoration: none;
  background: var(--bg-green-tint);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.ward-call-btn:hover {
  background: var(--primary-emerald);
  color: #ffffff;
}

/* Anchors scroll-margin */
#bylaws-2080, #nbc-105, #digital-signature, #checklist, #fees {
  scroll-margin-top: 110px;
}

/* ========================================================
   12. DESIGNER LIST REPORT PAGE STYLING
   ======================================================== */
.designer-page-wrapper {
  background-color: #f1f5f9;
  min-height: calc(100vh - 200px);
  padding: 30px 20px 60px;
}

.designer-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Page Hero Banner */
.designer-page-header {
  background: linear-gradient(135deg, #0a5233 0%, #063d25 50%, #042919 100%);
  border-radius: 16px;
  padding: 32px 36px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(10, 82, 51, 0.15);
  position: relative;
  overflow: hidden;
}

.designer-page-header::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.designer-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #a7f3d0;
  margin-bottom: 12px;
}

.designer-breadcrumb a {
  color: #a7f3d0;
  text-decoration: none;
  transition: color 0.2s;
}

.designer-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.designer-page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.designer-main-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  border-left: 4px solid #10b981;
  padding-left: 12px;
}

.designer-main-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.5;
}

.designer-badges-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.status-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-live {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.count-badge-wrap {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.84rem;
  color: #ffffff;
}

.count-badge-wrap strong {
  color: #fde047;
  font-size: 1rem;
}

/* Main Card */
.designer-report-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  padding: 24px;
  overflow: hidden;
}

/* Toolbar */
.designer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-export-excel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #107c41 0%, #0d6535 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 124, 65, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-export-excel:hover {
  background: linear-gradient(135deg, #0e6c38 0%, #094e28 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 124, 65, 0.35);
  color: #ffffff;
}

.entries-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
}

.entries-select {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  font-size: 0.88rem;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.entries-select:focus {
  border-color: #0a5233;
  box-shadow: 0 0 0 3px rgba(10, 82, 51, 0.1);
}

.toolbar-right {
  display: flex;
  align-items: center;
}

.search-input-box {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.search-icon-inside {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 9px 34px 9px 36px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.88rem;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
}

.search-field:focus {
  border-color: #0a5233;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 82, 51, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  display: none;
}

.search-clear-btn:hover {
  color: #ef4444;
}

/* Loading & Empty States */
.designer-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: #0a5233;
}

.designer-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #d1fae5;
  border-top-color: #0a5233;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.table-empty-box {
  text-align: center;
  padding: 48px 20px;
  color: #64748b;
  display: none;
}

.table-empty-box i {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

/* Modern Data Table */
.designer-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  min-height: 520px; /* Keeps container height steady on pagination */
  background: #ffffff;
  position: relative;
}

.designer-modern-table {
  width: 100%;
  min-width: 860px; /* Prevents columns from compressing or shifting */
  table-layout: fixed; /* Static locked column widths across all pages */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.designer-modern-table thead {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.designer-modern-table th {
  padding: 13px 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.designer-modern-table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  word-break: break-word;
}

.designer-row {
  height: 64px; /* Fixed row height prevents vertical jumping between pages */
  transition: background-color 0.18s ease;
}

.designer-row:hover {
  background-color: #f8fafc;
}

.col-sn {
  width: 60px;
  text-align: center;
  font-weight: 700;
  color: #0a5233;
}

.col-photo {
  width: 75px;
  text-align: center;
}

.col-name {
  width: 210px;
  font-weight: 600;
  color: #0f172a;
}

.col-address {
  width: 190px;
  color: #475569;
}

.col-email {
  width: 220px;
}

.col-reg {
  width: 185px;
}

.col-phone {
  width: 160px;
}

.reg-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.reg-number-badge i {
  color: #0284c7;
  font-size: 0.82rem;
}

.designer-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.designer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a5233 0%, #10b981 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.avatar-letter {
  text-transform: uppercase;
}

.col-name {
  font-weight: 600;
  color: #0f172a;
}

.designer-name-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.designer-name {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 600;
}

.designer-subname {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

.designer-badge {
  font-size: 0.74rem;
  color: #065f46;
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.col-address {
  color: #475569;
}

.designer-address-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
}

.designer-address-box i {
  color: #ef4444;
  font-size: 0.82rem;
}

.designer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.designer-contact-link.email-link {
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.designer-contact-link.email-link:hover {
  background: #e0f2fe;
  color: #0284c7;
  text-decoration: underline;
}

.designer-contact-link.phone-link {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.designer-contact-link.phone-link:hover {
  background: #dcfce7;
  color: #166534;
  text-decoration: underline;
}

/* Footer & Pagination */
.table-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.table-entries-info {
  font-size: 0.86rem;
  color: #64748b;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-btn:hover:not(.disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0a5233;
}

.page-btn.active {
  background: #0a5233;
  color: #ffffff;
  border-color: #0a5233;
  box-shadow: 0 2px 6px rgba(10, 82, 51, 0.25);
}

.page-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.page-dots {
  padding: 0 6px;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .designer-page-wrapper {
    padding: 24px 16px 50px;
  }
  .designer-page-header {
    padding: 24px 20px;
  }
  .designer-main-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 768px) {
  .designer-page-wrapper {
    padding: 16px 10px 40px;
  }
  .designer-page-header {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .designer-main-title {
    font-size: 1.35rem;
    border-left-width: 3px;
    padding-left: 10px;
  }
  .designer-main-subtitle {
    font-size: 0.88rem;
  }
  .designer-page-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .designer-badges-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .designer-report-card {
    padding: 16px 12px;
    border-radius: 12px;
  }
  .designer-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .toolbar-left {
    justify-content: space-between;
    width: 100%;
  }
  .btn-export-excel {
    flex: 1;
    justify-content: center;
  }
  .search-input-box {
    width: 100%;
  }
  .designer-table-container {
    min-height: 420px;
  }
  .table-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .pagination-controls {
    justify-content: center;
    width: 100%;
  }
  .page-btn {
    min-width: 36px;
    height: 36px;
  }
}

/* ========================================================
   13. REGISTER DESIGNER (SIGN UP) FORM STYLING
   ======================================================== */
.register-page-wrapper {
  background-color: #f1f5f9;
  min-height: calc(100vh - 200px);
  padding: 30px 20px 80px;
}

.register-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Alert Boxes matching reference images */
.reg-alerts-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.reg-alert-box {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reg-alert-danger {
  background: #fdf2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.reg-alert-danger a {
  background: #dc2626;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.reg-alert-danger a:hover {
  background: #b91c1c;
}

.reg-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

/* Main Form Card */
.reg-form-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  padding: 32px 36px;
  margin-bottom: 30px;
}

/* Sections */
.form-section-block {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.form-section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--primary-emerald);
}

.form-section-title i {
  color: var(--primary-emerald);
  font-size: 1.15rem;
}

/* Upload Warning Notice */
.upload-note-pill {
  background: #fffbeb;
  border: 1px dashed #fcd34d;
  color: #b45309;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Grids */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.req-star {
  color: #dc2626;
  font-weight: 700;
}

.form-control, .form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.92rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-control:focus, .form-select:focus {
  border-color: #0a5233;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 82, 51, 0.12);
}

.form-select {
  cursor: pointer;
}

/* Address Sub-Boxes */
.address-sub-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.address-sub-header {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.address-sub-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-sub-header i {
  color: #0284c7;
}

.btn-same-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-same-address:hover {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.22);
}

.btn-same-address:active {
  transform: scale(0.97);
}

.btn-same-address.active {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
}

.btn-same-address.active i {
  color: #bbf7d0;
}

@keyframes fieldPulseHighlight {
  0% {
    background-color: #dcfce7;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  }
  100% {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: none;
  }
}

.flash-updated {
  animation: fieldPulseHighlight 0.8s ease-out;
}

/* Modern User-Friendly File & Image Upload Dropzone Boxes */
.designer-personal-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 8px;
}

.designer-personal-fields {
  display: flex;
  flex-direction: column;
}

.designer-photo-upload-container {
  display: flex;
  flex-direction: column;
}

.doc-upload-box-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.upload-dropzone-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  outline: none;
}

.upload-dropzone-box:hover {
  border-color: #0a5233;
  background: #f0fdf4;
  box-shadow: 0 4px 16px rgba(10, 82, 51, 0.08);
  transform: translateY(-2px);
}

.upload-dropzone-box:focus-visible {
  border-color: #0a5233;
  box-shadow: 0 0 0 3px rgba(10, 82, 51, 0.2);
}

.upload-dropzone-box.drag-over {
  border-color: #047857;
  background: #ecfdf5;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.2);
  transform: scale(1.01);
}

.upload-dropzone-box.has-file-selected {
  border-style: solid;
  border-color: #10b981;
  background: #f0fdf4;
}

/* Default view inside dropzone */
.dropzone-default-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.dropzone-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.upload-dropzone-box:hover .dropzone-icon-circle {
  transform: scale(1.08);
}

.dropzone-icon-circle.image-icon {
  background: #dcfce7;
  color: #15803d;
}

.dropzone-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.dropzone-main-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.dropzone-main-text .highlight {
  color: #0a5233;
  font-weight: 700;
}

.dropzone-sub-text {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.btn-dropzone-browse {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-dropzone-browse:hover {
  background: #0a5233;
  border-color: #0a5233;
  color: #ffffff;
}

/* Preview view when file selected */
.dropzone-preview-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.dropzone-img-preview-wrap {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #10b981;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropzone-icon-circle.success-circle {
  background: #dcfce7;
  color: #15803d;
  font-size: 1.3rem;
}

.dropzone-preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  text-align: left;
}

.preview-filename {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-filesize {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.preview-badge.success {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #047857;
  font-weight: 700;
  background: #e6f9ed;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 2px;
}

.btn-dropzone-remove {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 0.92rem;
}

.btn-dropzone-remove:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: scale(1.05);
}

/* Captcha Block */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 20px 0;
}

.captcha-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 6px;
  user-select: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
  border: 1px dashed #94a3b8;
  position: relative;
  overflow: hidden;
}

.captcha-refresh-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.captcha-refresh-btn:hover {
  background: #f1f5f9;
  color: #0a5233;
  transform: rotate(45deg);
}

.captcha-input-box {
  flex: 1;
  min-width: 220px;
}

/* Declaration Checkbox */
.declaration-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  margin: 20px 0 28px;
  cursor: pointer;
}

.declaration-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0a5233;
  cursor: pointer;
}

.declaration-text {
  font-size: 0.92rem;
  color: #166534;
  line-height: 1.5;
  font-weight: 500;
}

/* Action Buttons */
.form-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-submit-reg {
  background: linear-gradient(135deg, #0a5233 0%, #10b981 100%);
  color: #ffffff;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(10, 82, 51, 0.25);
  transition: all 0.2s ease;
}

.btn-submit-reg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 82, 51, 0.35);
}

.btn-reset-reg {
  background: #f1f5f9;
  color: #475569;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.btn-reset-reg:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Success Modal */
.reg-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reg-modal-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon-success {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

.modal-title-success {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.modal-desc-success {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-modal-close {
  background: #0a5233;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .designer-personal-top-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2, .form-grid-3, .form-grid-4 {
    grid-template-columns: 1fr;
  }
  .reg-form-card {
    padding: 22px 18px;
  }
}

/* ========================================================
   APPLICATION STATUS TRACKING STYLES (भवन निर्माण आवेदन ट्र्याक)
   Harmonized with Designer & Mason Directories Design Language
   ======================================================== */
.track-form-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 14px;
}

.track-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a5233;
  margin: 0;
  letter-spacing: -0.2px;
}

.track-form-desc {
  font-size: 0.9rem;
  color: #64748b;
}

.track-mandatory-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 6px 14px;
  border-radius: 9999px;
}

.track-mandatory-pill i {
  font-size: 0.72rem;
}

.track-form-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 22px;
  background: #f8fafc;
  margin-bottom: 26px;
}

.track-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.track-form-group {
  display: flex;
  flex-direction: column;
}

.track-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 7px;
}

.track-required-star {
  color: #dc2626;
  font-weight: 700;
  margin-right: 3px;
}

.track-input-wrap {
  position: relative;
  width: 100%;
}

.track-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.track-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px 10px 40px;
  font-size: 0.92rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.track-input:focus {
  outline: none;
  border-color: #0a5233;
  box-shadow: 0 0 0 3px rgba(10, 82, 51, 0.12);
}

.track-btn-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-track-submit {
  background: linear-gradient(135deg, #107c41 0%, #0d6535 100%);
  color: #ffffff;
  border: none;
  padding: 10px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(16, 124, 65, 0.25);
  transition: all 0.2s ease;
}

.btn-track-submit:hover {
  background: linear-gradient(135deg, #0e6c38 0%, #094e28 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 124, 65, 0.35);
  color: #ffffff;
}

.btn-track-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-track-reset {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.btn-track-reset:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.track-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #0a5233;
  font-weight: 600;
  font-size: 0.95rem;
}

.track-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(10, 82, 51, 0.2);
  border-top-color: #0a5233;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.track-error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 22px;
}

/* Modern Tracking Results Table */
.track-table-container {
  min-height: 200px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow-x: auto;
  background: #ffffff;
}

.track-modern-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.track-modern-table thead {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.track-modern-table th {
  padding: 13px 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  border-bottom: 2px solid #e2e8f0;
}

.track-modern-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.track-modern-table .track-row:hover {
  background-color: #f8fafc;
}

.track-modern-table .row-no-data td {
  background-color: #ffffff;
  color: #64748b;
  font-style: normal;
  text-align: center;
  padding: 42px 18px;
  font-weight: 500;
  border-bottom: none;
}

/* Status Badges */
.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-approved {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-forwarded {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-rejected {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

@media (max-width: 768px) {
  .track-card {
    padding: 22px 16px;
  }
  .track-form-grid {
    grid-template-columns: 1fr;
  }
  .track-main-title {
    font-size: 1.2rem;
  }
}

/* ========================================================
   PUBLIC DOCUMENTS PAGE & DOWNLOADS TABLE (Modern Showcase)
   ======================================================== */
.public-docs-section {
  padding: 40px 20px 80px;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  min-height: calc(100vh - 280px);
}

.public-docs-container {
  max-width: 1060px;
  margin: 0 auto;
}

.public-docs-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 36px 42px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
}

.public-docs-header {
  text-align: center;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
}

.public-docs-header .emblem-img {
  width: 72px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.public-docs-header h2 {
  font-size: 1.5rem;
  color: #064e3b;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.public-docs-header h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 0 0 8px;
  font-weight: 700;
}

.public-docs-header .subtitle {
  color: #64748b;
  font-size: 0.94rem;
  margin: 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Filter / Search Bar */
.docs-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.docs-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 16px;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
  transition: all 0.2s ease;
}

.docs-search-box:focus-within {
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.docs-search-box i {
  color: #94a3b8;
  font-size: 0.95rem;
}

.docs-search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.92rem;
  color: #0f172a;
  font-family: inherit;
}

.docs-search-box input::placeholder {
  color: #94a3b8;
}

.docs-count-pill,
.designer-toolbar .docs-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #a7f3d0;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.docs-count-pill i,
.designer-toolbar .docs-count-pill i {
  color: #059669;
}

/* Modern Data Table */
.docs-table-wrapper,
.docs-table-container {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  min-height: 420px;
}

.docs-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: #ffffff;
}

.docs-table thead {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.docs-table th {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 18px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.docs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.docs-table tbody tr {
  transition: background-color 0.15s ease;
}

.docs-table tbody tr:hover {
  background-color: #f8fafc;
}

.docs-table tbody tr:last-child td {
  border-bottom: none;
}

/* S.No Badge */
.doc-sn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid #a7f3d0;
}

/* Document Title & Details Cell */
.doc-title-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.doc-pdf-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.08);
  transition: transform 0.2s ease;
}

.docs-table tbody tr:hover .doc-pdf-ico {
  transform: scale(1.05);
}

.doc-title-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.doc-primary-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.doc-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.doc-size-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 500;
}

.doc-size-badge i {
  color: #64748b;
  font-size: 0.72rem;
}

.doc-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 600;
}

/* Action Buttons Group */
.doc-actions-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.doc-btn-view {
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.doc-btn-view:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.doc-btn-download {
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.doc-btn-download:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

@media (max-width: 768px) {
  .public-docs-card {
    padding: 24px 16px;
  }
  .docs-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .docs-search-box {
    max-width: 100%;
  }
  .docs-count-pill {
    align-self: flex-start;
  }
  .docs-table th, .docs-table td {
    padding: 12px 10px;
  }
  .doc-actions-group {
    flex-direction: column;
    gap: 6px;
  }
  .doc-btn-view, .doc-btn-download {
    width: 100%;
    justify-content: center;
    padding: 6px 10px;
  }
}

/* ========================================================
   PROCESS GUIDE (7-Step Permit Workflow Showcase)
   ======================================================== */
.guide-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Three Phases Flow Bar */
.guide-phases-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.guide-phase-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.guide-phase-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.guide-phase-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid #a7f3d0;
}

.guide-phase-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-phase-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #059669;
}

.guide-phase-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
}

/* 7 Steps Main Showcase Card */
.guide-steps-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 38px 36px 42px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
}

.guide-steps-header {
  margin-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.guide-steps-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guide-steps-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #a7f3d0;
}

.guide-steps-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.guide-steps-sub {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.guide-steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Steps Grid */
.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.guide-step-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.guide-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--step-accent, #059669);
}

.guide-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  border-color: var(--step-accent, #059669);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--step-bg, #ecfdf5);
  color: var(--step-color, #064e3b);
  border: 1.5px solid var(--step-border, #a7f3d0);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--step-bg, #ecfdf5);
  color: var(--step-color, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--step-border, #a7f3d0);
}

.step-phase-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  text-transform: uppercase;
}

.step-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.step-checkpoints {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.step-checkpoints li {
  font-size: 0.84rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-checkpoints li i {
  color: var(--step-accent, #059669);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.step-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  flex-wrap: wrap;
}

.step-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
}

.step-meta-badge i {
  color: #64748b;
  font-size: 0.74rem;
}

/* Step 7 Crown Milestone */
.guide-step-card.step-milestone {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 2px solid #86efac;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.08);
}

.guide-step-card.step-milestone::before {
  height: 5px;
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #f59e0b 100%);
}

.guide-step-card.step-milestone .step-card-header {
  margin-bottom: 14px;
}

.guide-step-card.step-milestone .step-title {
  font-size: 1.25rem;
  color: #064e3b;
}

/* Important Guidelines Section */
.guide-tips-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 36px 40px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
}

.guide-tips-header {
  text-align: center;
  margin-bottom: 30px;
}

.guide-tips-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.guide-tips-header p {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0;
}

.guide-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.guide-tip-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.guide-tip-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.tip-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.guide-tip-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.guide-tip-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Quick Action Callout Dock */
.guide-cta-card {
  background: linear-gradient(135deg, #064e3b 0%, #0a5233 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(6, 78, 59, 0.2);
}

.guide-cta-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.guide-cta-text p {
  font-size: 0.92rem;
  color: #a7f3d0;
  margin: 0;
}

.guide-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-guide-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #062b17;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-guide-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  color: #062b17;
}

.btn-guide-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-guide-secondary:hover {
  background: #ffffff;
  color: #064e3b;
  transform: translateY(-2px);
}

/* Responsive Polish */
@media (max-width: 900px) {
  .guide-phases-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .guide-steps-wrapper,
  .guide-tips-section,
  .guide-cta-card {
    padding: 26px 20px;
  }
  .guide-steps-title {
    font-size: 1.25rem;
  }
  .guide-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn-guide-primary,
  .btn-guide-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .guide-steps-grid {
    grid-template-columns: 1fr;
  }
  .guide-step-card {
    padding: 18px 16px;
  }
  .guide-tips-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   RUNNING NOTICE TICKER (Attached directly to Navbar)
   ======================================================== */
.navbar-notice-ticker {
  background: linear-gradient(90deg, #022013 0%, #053b24 50%, #022013 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid var(--accent-gold, #f59e0b);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 0.88rem;
  z-index: 10;
}

.ticker-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 38px;
  position: relative;
  overflow: hidden;
  padding: 0 16px;
  gap: 12px;
}

/* Badge (Crimson Alert Flag with live pulsating indicator) */
.ticker-badge {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0 14px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
  letter-spacing: 0.5px;
  font-size: 0.82rem;
  user-select: none;
}

.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: tickerDotPulse 1.5s infinite ease-in-out;
}

@keyframes tickerDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.ticker-icon {
  font-size: 0.82rem;
  transform: rotate(-10deg);
}

/* Crawler Track Container */
.ticker-track-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: runNoticeTicker 35s linear infinite;
}

.ticker-track.paused,
.ticker-track-wrapper:hover .ticker-track {
  animation-play-state: paused !important;
}

@keyframes runNoticeTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual Ticker Items */
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 4px;
  color: #f1f5f9;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
  outline: none;
}

.ticker-item:hover,
.ticker-item:focus-visible {
  color: #fef08a;
  background: rgba(255, 255, 255, 0.08);
}

.ticker-item:hover .ticker-item-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 600;
}

.ticker-urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.ticker-item-ext-icon {
  font-size: 0.72rem;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ticker-item:hover .ticker-item-ext-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.ticker-separator {
  color: rgba(245, 158, 11, 0.7);
  font-size: 0.5rem;
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
}

.ticker-loading-item,
.ticker-empty-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* Action Controls */
.ticker-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 5;
}

.ticker-ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.78rem;
}

.ticker-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
}

.ticker-ctrl-btn.is-paused {
  background: #f59e0b;
  color: #032014;
  border-color: #f59e0b;
}

.ticker-view-all-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fef08a;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ticker-view-all-btn:hover {
  background: var(--accent-gold, #f59e0b);
  color: #032014;
  border-color: var(--accent-gold, #f59e0b);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

/* Modals Styling */
.notice-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 20, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#noticeDetailModal {
  z-index: 10060; /* Higher than #noticeAllModal (10000) so detail modal always opens on top! */
}

.notice-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.notice-modal-dialog {
  background: #ffffff;
  color: #1e293b;
  width: 100%;
  max-width: 650px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.3);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.notice-modal-dialog-large {
  max-width: 820px;
}

.notice-modal-backdrop.show .notice-modal-dialog {
  transform: translateY(0) scale(1);
}

.notice-modal-header {
  background: linear-gradient(135deg, #053b24 0%, #032014 100%);
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent-gold, #f59e0b);
}

.notice-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.notice-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.notice-modal-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.notice-modal-date i {
  color: #facc15;
}

.notice-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.notice-modal-close:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.notice-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  line-height: 1.7;
}

/* Refined, well-proportioned notice headline */
.notice-modal-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.4;
  border-left: 3.5px solid #059669;
  padding-left: 10px;
  letter-spacing: -0.2px;
}

.notice-modal-content {
  color: #1e293b;
  font-size: 0.95rem;
  word-break: break-word;
}

/* Compact, sleek announcement banner (replaces bulky alert box) */
.notice-modal-announcement-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 3.5px solid #f59e0b;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.08);
}

.notice-modal-announcement-strip i {
  color: #d97706;
  font-size: 0.92rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.notice-announcement-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #92400e;
  line-height: 1.5;
}

/* Notice text content card - clean typography with no truncation */
.notice-modal-desc-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  color: #1e293b;
  font-size: 0.94rem;
  line-height: 1.75;
  word-break: break-word;
}

.notice-body-paragraph {
  color: #1e293b;
  font-size: 0.94rem;
  line-height: 1.75;
}

.notice-body-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 12px 0;
}

.notice-modal-desc-wrap p {
  margin: 0 0 10px;
}

.notice-modal-desc-wrap p:last-child {
  margin-bottom: 0;
}

/* Backwards compatibility for primary alert */
.notice-modal-primary-alert {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3.5px solid #f59e0b;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 14px 0;
}

.notice-modal-alert-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.notice-modal-alert-header i {
  color: #d97706;
  font-size: 0.85rem;
}

.notice-modal-alert-body {
  font-size: 0.95rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
}

.notice-modal-attachment {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
}

.notice-attachments-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.notice-attachments-header i {
  color: #059669;
}

.notice-attachments-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 10px;
}

.notice-attachments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.2s ease;
  flex-wrap: wrap;
}

.notice-attachment-item:hover {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.notice-attachment-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.notice-attachment-info i {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.notice-attachment-info i.text-red {
  color: #dc2626;
}

.notice-attachment-info i.text-blue {
  color: #2563eb;
}

.notice-attachment-info i.text-slate {
  color: #64748b;
}

.notice-attachment-name-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.notice-attachment-filename {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.notice-attachment-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.notice-attachment-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-notice-att-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #053b24;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-notice-att-view:hover {
  background: #042919;
  color: var(--accent-gold, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(5, 59, 36, 0.25);
}

.btn-notice-att-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-notice-att-download:hover {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
}

.btn-notice-attachment {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #053b24;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-notice-attachment:hover {
  background: #042919;
  color: var(--accent-gold, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 59, 36, 0.3);
}

.notice-modal-footer {
  padding: 14px 22px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-notice-back {
  background: #f0fdf4;
  color: #047857;
  border: 1.5px solid #a7f3d0;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-notice-back:hover {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
  transform: translateX(-2px);
  box-shadow: 0 4px 10px rgba(4, 120, 87, 0.2);
}

.btn-notice-close {
  background: #e2e8f0;
  color: #1e293b;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-notice-close:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* All Notices Search & Cards */
.notice-modal-search-bar {
  padding: 14px 22px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

.notice-modal-search-bar input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.notice-modal-search-bar input:focus {
  border-color: #053b24;
  box-shadow: 0 0 0 3px rgba(5, 59, 36, 0.15);
}

.notice-all-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 55vh;
}

.notice-card-row {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice-card-row:hover {
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
  background: #f0fdf4;
}

.notice-card-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notice-card-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #047857;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  transition: all 0.18s ease;
}

.notice-card-row:hover .notice-card-view-btn {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
  transform: translateX(2px);
}

.notice-card-row-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
}

.notice-card-row:hover .notice-card-row-title {
  color: #047857;
}

.notice-card-row-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card-row .ticker-date-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #10b981;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(6, 95, 70, 0.08);
}

.notice-card-row .ticker-date-pill i {
  color: #059669;
}

.notice-card-row .ticker-urgent-pill {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #ef4444;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.notice-card-highlight {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #d97706;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #92400e;
  margin: 2px 0 4px;
}

.notice-card-highlight i {
  color: #d97706;
  margin-top: 3px;
  font-size: 0.85rem;
}

.notice-card-attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.notice-card-attachment-pill i {
  color: #2563eb;
}

.ticker-attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .ticker-inner {
    height: 36px;
    padding: 0 10px;
    gap: 8px;
  }
  .ticker-badge {
    padding: 0 8px;
    height: 24px;
    font-size: 0.75rem;
    gap: 5px;
  }
  .ticker-item-title {
    font-size: 0.82rem;
  }
  .ticker-view-all-text {
    display: none;
  }
  .ticker-view-all-btn {
    padding: 0 8px;
    height: 24px;
  }
  .ticker-ctrl-btn {
    width: 24px;
    height: 24px;
  }
}
