/* ==========================================================================
   Raniganj Gram Panchayat Portal - Modern Design System
   District: Uttar Dinajpur, West Bengal | Estd. 1978
   ========================================================================== */

:root {
  --primary: #0a355c;
  --primary-dark: #06223d;
  --primary-light: #164e83;
  --primary-rgb: 10, 53, 92;

  --secondary: #0c7c59;
  --secondary-dark: #085940;
  --secondary-light: #129c71;
  --secondary-rgb: 12, 124, 89;

  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-red: #c0392b;
  --accent-blue: #0284c7;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 53, 92, 0.08);
  --shadow-lg: 0 12px 30px rgba(10, 53, 92, 0.12);
  --shadow-hover: 0 16px 36px rgba(10, 53, 92, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.28s ease-in-out;
}

/* Base & Typography */
body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* West Bengal Tricolor Strip */
.top-tricolor {
  height: 4px;
  background: linear-gradient(
    90deg,
    #ff9933 0%,
    #ff9933 33.3%,
    #ffffff 33.3%,
    #ffffff 66.6%,
    #138808 66.6%,
    #138808 100%
  );
  width: 100%;
}

/* Top Utility Bar */
.topbar {
  background: #061e36;
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #e2e8f0;
}

.topbar a:hover {
  color: #38bdf8;
}

.topbar .badge-wb {
  background: rgba(12, 124, 89, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.font-resizer span {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: 2px;
  transition: var(--transition);
}

.font-resizer span:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* Main Brand Header */
.main-header {
  background: #ffffff;
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid #edf2f7;
}

.header-emblem-left,
.header-emblem-right {
  max-height: 82px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.header-emblem-left:hover,
.header-emblem-right:hover {
  transform: scale(1.05);
}

.gp-title-area {
  text-align: center;
}

.gp-bengali-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0px;
  letter-spacing: 0.5px;
}

.gp-english-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #04203b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
}

.gp-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0;
}

.gp-estd-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary-light);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  margin-top: 3px;
}

/* Navbar - Modern Official Government Bar */
.main-navbar {
  background: linear-gradient(90deg, #06243f 0%, #09355c 50%, #06243f 100%);
  padding: 0;
  box-shadow: 0 4px 14px rgba(6, 36, 63, 0.22);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 3px solid #0c7c59;
}

.main-navbar .navbar-nav {
  align-items: center;
  gap: 2px;
}

.main-navbar .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 14px 11px !important;
  transition: all 0.22s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.main-navbar .navbar-nav .nav-link i {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Sleek bottom underline active & hover state (No clunky box!) */
.main-navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: #facc15;
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.22s ease-in-out;
}

.main-navbar .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.main-navbar .navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.main-navbar .navbar-nav .nav-link.active {
  color: #facc15 !important;
  background: rgba(255, 255, 255, 0.07);
}

.main-navbar .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Modern Dropdown */
.main-navbar .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(6, 36, 63, 0.18);
  padding: 6px 0;
  margin-top: 2px;
  border-top: 3px solid #0c7c59;
  background: #ffffff;
  min-width: 230px;
}

.main-navbar .dropdown-item {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 16px;
  color: #1e293b;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-navbar .dropdown-item:hover {
  background: #ecfdf5;
  color: #065f46;
  padding-left: 20px;
}

/* Single-Line Sleek Citizen Portal Button */
.nav-cta-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 6px;
  padding: 7px 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
  transition: all 0.22s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.3;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

/* Breaking Notice Marquee */
.notice-marquee-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.notice-badge-label {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.notice-marquee-content {
  flex-grow: 1;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
}

.notice-marquee-content marquee a {
  color: #0f172a;
  margin-right: 35px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notice-marquee-content marquee a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ==========================================================================
   Full-Width Hero Slider with Fade Animations
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #041627;
}

.hero-slider-section .carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider-section .carousel-fade .carousel-item.active,
.hero-slider-section .carousel-fade .carousel-item-next.carousel-item-start,
.hero-slider-section .carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.hero-slide-bg {
  min-height: 480px;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 0;
}

/* Slide Content & Fade Animations */
.hero-content-wrap {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
  padding: 24px 30px;
  background: radial-gradient(
    ellipse at center,
    rgba(2, 14, 26, 0.72) 0%,
    rgba(2, 14, 26, 0.4) 55%,
    rgba(2, 14, 26, 0) 80%
  );
  border-radius: 20px;
}

.hero-slide-badge {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  display: inline-block;
  margin: 0 auto 10px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 6px;
  margin-bottom: 12px;
  text-shadow:
    0 2px 4px #000000,
    0 4px 18px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.hero-title span {
  color: #facc15;
  text-shadow:
    0 2px 4px #000000,
    0 4px 18px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 760px;
  text-shadow:
    0 2px 4px #000000,
    0 3px 14px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-hero-outline:hover {
  background: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

/* Keyframe Animations for Active Carousel Slide Content */
.hero-slider-section .carousel-item.active .hero-slide-badge {
  animation: heroFadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slider-section .carousel-item.active .hero-title {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-slider-section .carousel-item.active .hero-subtitle {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-slider-section .carousel-item.active .hero-btn-group {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Frosted Glass Carousel Arrows */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0.85;
  transition: all 0.25s ease;
}

.hero-slider-section .carousel-control-prev {
  left: 24px;
}

.hero-slider-section .carousel-control-next {
  right: 24px;
}

.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

/* Modern Bar Indicators */
.hero-slider-section .carousel-indicators {
  margin-bottom: 24px;
  gap: 8px;
}

.hero-slider-section .carousel-indicators button {
  width: 32px;
  height: 5px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  transition: all 0.3s ease;
}

.hero-slider-section .carousel-indicators button.active {
  width: 54px;
  background-color: #facc15;
}

@media (max-width: 991.98px) {
  .hero-slide-bg {
    min-height: 480px;
  }
  .hero-slide-overlay {
    background: transparent;
    padding: 40px 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-slider-section .carousel-control-prev,
  .hero-slider-section .carousel-control-next {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-slide-bg {
    min-height: 440px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-btn-group {
    flex-direction: column;
  }
}

/* Section Header Component */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.section-title-en {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: 4px;
}

.section-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Leadership Profiles (Section Even) */
.leadership-section {
  padding: 70px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.leader-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card 1: Executive Assistant (Sapphire / Royal Blue) */
.leader-card-ea {
  border: 1px solid #bfdbfe;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.leader-card-ea:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.16);
  border-color: #60a5fa;
}

.header-ea {
  background: linear-gradient(135deg, #09355c 0%, #1e40af 100%);
  color: #ffffff;
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-ea {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.photo-wrap-ea {
  border: 4px solid #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
}

.role-pill-ea {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.tenure-ea {
  background: #f0f7ff;
  border: 1px solid #dbeafe;
}

.quote-ea {
  background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%);
  border-left: 4px solid #2563eb;
}

.quote-icon-ea {
  color: #3b82f6;
  opacity: 0.6;
}

.badge-verified-blue {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Card 2: Prodhan (Emerald / Forest Green & Gold) */
.leader-card-prodhan {
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.08);
}

.leader-card-prodhan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.16);
  border-color: #4ade80;
}

.header-prodhan {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-prodhan {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.photo-wrap-prodhan {
  border: 4px solid #bbf7d0;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.16);
}

.role-pill-prodhan {
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.tenure-prodhan {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
}

.quote-prodhan {
  background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 100%);
  border-left: 4px solid #059669;
}

.quote-icon-prodhan {
  color: #10b981;
  opacity: 0.6;
}

.badge-verified-green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Shared Leader Elements */
.leader-header-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.leader-body {
  padding: 24px;
  display: flex;
  gap: 22px;
  flex-grow: 1;
}

.leader-photo-wrap {
  flex-shrink: 0;
  width: 210px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-photo-wrap img {
  transform: scale(1.06);
}

.photo-corner-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.photo-corner-badge.badge-blue {
  background: rgba(15, 23, 42, 0.82);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.4);
}

.photo-corner-badge.badge-green {
  background: rgba(15, 23, 42, 0.82);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.4);
}

.leader-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #06243f;
  letter-spacing: 0.2px;
}

.verified-officer-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.leader-tenure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  color: #334155;
}

.leader-quote-box {
  padding: 12px 16px;
  border-radius: 8px;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.leader-quote-text {
  font-size: 0.86rem;
  color: #334155;
  font-style: italic;
  line-height: 1.5;
}

.contact-pill-item {
  margin-bottom: 8px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}

.contact-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.bg-blue-subtle { background: #eff6ff; }
.bg-indigo-subtle { background: #eef2ff; color: #4f46e5; }
.bg-sky-subtle { background: #f0f9ff; }
.bg-emerald-subtle { background: #ecfdf5; }
.bg-amber-subtle { background: #fffbeb; }
.bg-teal-subtle { background: #f0fdfa; color: #0d9488; }

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.45);
}

/* Citizen Services Grid (Section Odd) */
.services-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(6, 36, 63, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* NO top border on hover! Pure subtle elevation & border refinement */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 36px rgba(10, 53, 92, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

/* Category Mini Tag */
.service-category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tag-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tag-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.tag-rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.tag-teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.tag-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tag-indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.tag-purple { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* 3D Glossy Gradient Icon Boxes */
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 16px;
  font-size: 1.5rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(-3deg);
}

.icon-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}
.icon-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
}
.icon-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.3);
}
.icon-rose {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(244, 63, 94, 0.3);
}
.icon-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(168, 85, 247, 0.3);
}
.icon-teal {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.3);
}
.icon-indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}
.icon-orange {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(251, 146, 60, 0.3);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a355c;
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.service-card:hover .service-title {
  color: #1d4ed8;
}

.service-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0a355c;
  background: #f8fafc;
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: center;
  transition: all 0.25s ease;
  border: 1px solid #e2e8f0;
}

.service-link i {
  transition: transform 0.22s ease;
}

.service-card:hover .service-link {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 6px 14px rgba(30, 64, 175, 0.35);
  transform: translateY(-2px);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

.service-link i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link i {
  transform: translateX(3px);
}

/* ==========================================================================
   Notice, Tenders & Announcements Hub Section (Executive Modern Portal)
   ========================================================================== */
.notice-section {
  padding: 75px 0 85px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Subtle background accent glow */
.notice-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.notice-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Notice KPI Metric Cards Row */
.notice-kpi-row {
  margin-bottom: 28px;
}

.notice-kpi-card {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.notice-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.notice-kpi-card .kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
  margin-right: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.notice-kpi-card:hover .kpi-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.notice-kpi-card .kpi-body {
  flex-grow: 1;
}

.notice-kpi-card .kpi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.notice-kpi-card .kpi-number {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.notice-kpi-card .kpi-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.notice-kpi-card .kpi-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 1px;
}

.notice-kpi-card .kpi-action {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-left: 8px;
  transition: all 0.25s ease;
}

.notice-kpi-card:hover .kpi-action {
  color: #0f172a;
  transform: translateX(4px);
}

/* Individual KPI Themes */
.kpi-tender { border-color: #fde68a; background: linear-gradient(135deg, #ffffff 60%, #fffbeb 100%); }
.kpi-tender .kpi-icon-wrap { background: linear-gradient(135deg, #f59e0b, #d97706); }
.kpi-tender:hover { border-color: #f59e0b; }

.kpi-sabha { border-color: #bfdbfe; background: linear-gradient(135deg, #ffffff 60%, #eff6ff 100%); }
.kpi-sabha .kpi-icon-wrap { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.kpi-sabha:hover { border-color: #2563eb; }

.kpi-welfare { border-color: #a7f3d0; background: linear-gradient(135deg, #ffffff 60%, #ecfdf5 100%); }
.kpi-welfare .kpi-icon-wrap { background: linear-gradient(135deg, #10b981, #059669); }
.kpi-welfare:hover { border-color: #10b981; }

.kpi-recruit { border-color: #e9d5ff; background: linear-gradient(135deg, #ffffff 60%, #faf5ff 100%); }
.kpi-recruit .kpi-icon-wrap { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.kpi-recruit:hover { border-color: #8b5cf6; }

/* KPI Mini Status Badges */
.kpi-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.kpi-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: kpiPing 1.6s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes kpiPing {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.kpi-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.kpi-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.kpi-badge-purple {
  background: #faf5ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

/* Notice Search & Filter Wrap */
.notice-search-box-wrap {
  margin-bottom: 24px;
}

.notice-search-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .notice-search-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-input-field {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.search-input-field .search-lens {
  position: absolute;
  left: 12px;
  color: #0284c7;
  font-size: 1rem;
}

.search-input-field .form-control {
  padding-left: 38px;
  padding-right: 36px;
  height: 42px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.search-input-field .form-control:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-input-field .btn-clear {
  position: absolute;
  right: 6px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
}

.search-input-field .btn-clear:hover {
  color: #ef4444;
}

/* Quick Filter Chips */
.quick-chip-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-chip-strip .chip-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}

.quick-filter-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quick-filter-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.quick-filter-chip.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* Tab Header Navigation */
.notice-tabs-header {
  border-bottom: none;
}

.notice-tabs-header .nav-link {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.notice-tabs-header .nav-link:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.notice-tab-count {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  transition: all 0.2s ease;
}

/* Tab Unique Colors when Active */
.notice-tabs-header .tab-all-pill.active {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.notice-tabs-header .tab-tender-pill.active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border-color: #b45309;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.notice-tabs-header .tab-recruit-pill.active {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: #ffffff;
  border-color: #5b21b6;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.notice-tabs-header .tab-sansad-pill.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.notice-tabs-header .nav-link.active .notice-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Notice List Item Cards */
.notice-list-item {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(6, 36, 63, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.notice-list-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 53, 92, 0.1);
}

/* Category Left Accent Bars (Thick 6px Rounded) */
.notice-tender { border-left: 6px solid #f59e0b; }
.notice-tender:hover { border-left-color: #d97706; background: linear-gradient(90deg, #fffdf8 0%, #ffffff 100%); }

.notice-meeting { border-left: 6px solid #2563eb; }
.notice-meeting:hover { border-left-color: #1d4ed8; background: linear-gradient(90deg, #f8fbff 0%, #ffffff 100%); }

.notice-welfare { border-left: 6px solid #10b981; }
.notice-welfare:hover { border-left-color: #059669; background: linear-gradient(90deg, #f7fefb 0%, #ffffff 100%); }

.notice-quotation { border-left: 6px solid #0d9488; }
.notice-quotation:hover { border-left-color: #0f766e; background: linear-gradient(90deg, #f6fcfb 0%, #ffffff 100%); }

.notice-recruitment { border-left: 6px solid #8b5cf6; }
.notice-recruitment:hover { border-left-color: #7c3aed; background: linear-gradient(90deg, #faf7ff 0%, #ffffff 100%); }

/* 3D Calendar Date Badge Component */
.notice-date-badge {
  flex-shrink: 0;
  width: 68px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  margin-right: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  position: relative;
}

.notice-date-badge::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 39px 0 0 #ffffff;
  z-index: 2;
}

.notice-date-badge .month {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  padding: 4px 0 3px;
  display: block;
  letter-spacing: 0.8px;
}

.notice-date-badge .day {
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  padding: 4px 0 1px;
  display: block;
  font-family: inherit;
}

.notice-date-badge .year {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  padding-bottom: 4px;
  display: block;
  background: #f8fafc;
  border-top: 1px dashed #e2e8f0;
}

.date-amber .month { background: linear-gradient(135deg, #f59e0b, #d97706); }
.date-blue .month { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.date-green .month { background: linear-gradient(135deg, #10b981, #059669); }
.date-teal .month { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.date-purple .month { background: linear-gradient(135deg, #a855f7, #7e22ce); }

/* Notice Content & Typography */
.notice-content {
  flex-grow: 1;
  padding-right: 18px;
}

.notice-top-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.notice-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f2744;
  margin-bottom: 8px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.notice-list-item:hover .notice-title {
  color: #1e40af;
}

/* Category Type Tags */
.notice-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.type-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.type-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.type-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.type-teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.type-purple { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* Micro Alert Badges */
.badge-new-pill {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  animation: pulseNew 2s infinite ease-in-out;
}

@keyframes pulseNew {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(0.97); }
}

.badge-urgent-pill {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

.badge-info-pill {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.badge-warning-pill {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

.badge-closed-pill {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Notice Meta Pills */
.notice-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-pill i {
  font-size: 0.82rem;
}

/* Action Column & PDF Download Button */
.notice-action-col {
  flex-shrink: 0;
}

.notice-action-btn {
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 24px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  transition: all 0.28s ease;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notice-action-btn i.fa-file-pdf {
  color: #dc2626;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-size-tag {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 2px;
  transition: all 0.2s ease;
}

.notice-list-item:hover .notice-action-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  border-color: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.38);
  transform: translateY(-2px);
}

.notice-list-item:hover .notice-action-btn i.fa-file-pdf {
  color: #ffffff !important;
  transform: scale(1.1);
}

.notice-list-item:hover .btn-size-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Notice Bottom Synchronisation Banner */
.notice-bottom-strip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .notice-bottom-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.notice-strip-left {
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.4;
}

.notice-strip-left strong {
  display: block;
  color: #0f172a;
}

.btn-portal-archive {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(10, 53, 92, 0.2);
  transition: all 0.25s ease;
}

.btn-portal-archive:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

/* ==========================================================================
   Statistics & Demographics Section (Luxury Dark Government Portal)
   ========================================================================== */
.stats-section {
  background: radial-gradient(circle at 80% 20%, #17375e 0%, #0a1f38 45%, #051324 100%);
  color: #ffffff;
  padding: 85px 0 90px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Background particle / dotted mesh */
.stats-backdrop-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  pointer-events: none;
  opacity: 0.85;
}

/* Ambient glow blobs */
.stats-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats-section::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Stats Section Header Enhancements */
.stats-badge-glass {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  font-size: 0.82rem;
}

.divider-gold {
  height: 3px;
  width: 60px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 3px;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Luxury Stat Cards */
.stat-luxury-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 26px 14px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-luxury-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

/* 3D Glossy Icon Wrapper */
.stat-icon-wrapper {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-luxury-card:hover .stat-icon-wrapper {
  transform: scale(1.12) rotate(-6deg);
}

/* Stat Numbers & Typo */
.stat-number-wrap {
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.stat-number-wrap .counter-val {
  font-variant-numeric: tabular-nums;
}

.stat-number-wrap .stat-plus {
  font-size: 1.6rem;
  font-weight: 800;
  margin-left: 2px;
  vertical-align: top;
}

.stat-primary-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.25;
}

.stat-bengali-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 14px;
}

.stat-micro-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  margin: 0 auto;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* 6 Vivid Color Themes */
/* 1. Cyan (Population) */
.stat-theme-cyan .stat-icon-wrapper { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.stat-theme-cyan .stat-number-wrap { color: #e0f2fe; }
.stat-theme-cyan .stat-plus { color: #38bdf8; }
.stat-theme-cyan .stat-micro-pill {
  background: rgba(2, 132, 199, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.stat-theme-cyan:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.32);
}

/* 2. Emerald (Gram Sansads) */
.stat-theme-emerald .stat-icon-wrapper { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.stat-theme-emerald .stat-number-wrap { color: #d1fae5; }
.stat-theme-emerald .stat-plus { color: #34d399; }
.stat-theme-emerald .stat-micro-pill {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.stat-theme-emerald:hover {
  border-color: #34d399;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.32);
}

/* 3. Amber (Mouzas) */
.stat-theme-amber .stat-icon-wrapper { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }
.stat-theme-amber .stat-number-wrap { color: #fef3c7; }
.stat-theme-amber .stat-plus { color: #fbbf24; }
.stat-theme-amber .stat-micro-pill {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.stat-theme-amber:hover {
  border-color: #fbbf24;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.32);
}

/* 4. Purple (Schools) */
.stat-theme-purple .stat-icon-wrapper { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.stat-theme-purple .stat-number-wrap { color: #f3e8ff; }
.stat-theme-purple .stat-plus { color: #c084fc; }
.stat-theme-purple .stat-micro-pill {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.35);
}
.stat-theme-purple:hover {
  border-color: #c084fc;
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.32);
}

/* 5. Rose (Health Centers) */
.stat-theme-rose .stat-icon-wrapper { background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%); }
.stat-theme-rose .stat-number-wrap { color: #ffe4e6; }
.stat-theme-rose .stat-plus { color: #fb7185; }
.stat-theme-rose .stat-micro-pill {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.35);
}
.stat-theme-rose:hover {
  border-color: #fb7185;
  box-shadow: 0 16px 36px rgba(244, 63, 94, 0.32);
}

/* 6. Teal (Digital E-Governance) */
.stat-theme-teal .stat-icon-wrapper { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); }
.stat-theme-teal .stat-number-wrap { color: #ccfbf1; }
.stat-theme-teal .stat-plus { color: #2dd4bf; }
.stat-theme-teal .stat-micro-pill {
  background: rgba(20, 184, 166, 0.18);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
}
.stat-theme-teal:hover {
  border-color: #2dd4bf;
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.32);
}

/* Stats Achievement Strip Below Cards */
.stats-achievement-strip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .stats-achievement-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.achievement-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.achievement-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.achievement-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.achievement-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.btn-achievement-link {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.btn-achievement-link:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

/* Staff Directory Grid (Section Odd) */
.staff-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.staff-table-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.staff-table-header {
  background: linear-gradient(135deg, var(--primary) 0%, #154c7c 100%);
  color: #ffffff;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 700;
}

.table-staff {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.table-staff th {
  background: #f8fafc;
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
  padding: 12px 16px;
}

.table-staff td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.table-staff tr:hover td {
  background: #f8fafc;
}

.badge-designation {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-designation-casual {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Gallery Section (Section Even) */
.gallery-section {
  padding: 65px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  background: #000;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
  display: block;
}

.gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.88;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 53, 92, 0.92));
  color: #ffffff;
  padding: 24px 16px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Public Utilities & Sansads Section (Section Odd) */
.utilities-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.utility-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* Contact & Emergency Section (Section Even) */
.contact-section {
  padding: 65px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.utility-box h5 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.utility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.utility-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-list li:last-child {
  border-bottom: none;
}

/* Footer */
.main-footer {
  background: #07223b;
  color: #cbd5e1;
  padding-top: 50px;
  border-top: 4px solid var(--secondary);
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-widget h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.footer-contact-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #94a3b8;
}

.footer-contact-info li i {
  color: #38bdf8;
  margin-top: 4px;
  font-size: 1rem;
}

.footer-bottom {
  background: #031220;
  padding: 16px 0;
  margin-top: 40px;
  font-size: 0.84rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #ffffff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.4);
  margin-right: 14px;
  flex-shrink: 0;
}

.footer-emblem-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-visitor-badge .counter-num {
  color: #38bdf8;
  font-weight: 800;
}

.footer-updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-updated-pill .date-highlight {
  color: #fef08a;
  font-weight: 800;
}

/* Floating Action / Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  color: #ffffff;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .header-emblem-left,
  .header-emblem-right {
    max-height: 55px;
  }
  .gp-bengali-title {
    font-size: 1.35rem;
  }
  .gp-english-title {
    font-size: 1.15rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-carousel-card {
    margin-top: 30px;
  }
  .leader-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .leader-photo-wrap {
    width: 220px;
    height: 260px;
  }
}

@media (max-width: 575.98px) {
  .topbar-right {
    justify-content: center;
    margin-top: 6px;
  }
  .gp-bengali-title {
    font-size: 1.15rem;
  }
  .gp-english-title {
    font-size: 0.95rem;
  }
  .hero-stats-strip {
    grid-template-columns: 1fr;
  }
  .hero-btn-group {
    flex-direction: column;
  }
}

/* ==========================================================================
   New Premium Enhancements: Quick Ribbon, Filters, Floating Helpdesk
   ========================================================================== */

/* Quick Citizen Ribbon (Overlapping Hero) */
.quick-action-ribbon {
  margin-top: -50px;
  position: relative;
  z-index: 20;
  margin-bottom: 30px;
}

.quick-action-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow:
    0 10px 25px rgba(6, 36, 63, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.quick-action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px var(--qa-hover-shadow, rgba(6, 36, 63, 0.18));
  border-color: var(--qa-accent, #cbd5e1);
}

.quick-action-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: var(--qa-bg-icon, #0a355c);
  color: #ffffff;
  box-shadow: 0 6px 16px var(--qa-hover-shadow, rgba(0, 0, 0, 0.15));
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.quick-action-card:hover .quick-action-icon {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 20px var(--qa-hover-shadow, rgba(0, 0, 0, 0.25));
}

.quick-action-info {
  flex-grow: 1;
}

.quick-action-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0a355c;
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.quick-action-card:hover .quick-action-title {
  color: var(--qa-accent, #0a355c);
}

.quick-action-desc {
  font-size: 0.77rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.35;
  font-weight: 500;
}

.quick-action-arrow {
  color: #cbd5e1;
  font-size: 0.84rem;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}

.quick-action-card:hover .quick-action-arrow {
  color: var(--qa-accent, #0a355c);
  transform: translateX(4px);
}

/* 4 Best Curated Color Combinations */
.quick-action-card.qa-blue {
  --qa-accent: #2563eb;
  --qa-bg-icon: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --qa-hover-shadow: rgba(37, 99, 235, 0.24);
}

.quick-action-card.qa-green {
  --qa-accent: #059669;
  --qa-bg-icon: linear-gradient(135deg, #10b981 0%, #047857 100%);
  --qa-hover-shadow: rgba(5, 150, 105, 0.24);
}

.quick-action-card.qa-amber {
  --qa-accent: #d97706;
  --qa-bg-icon: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  --qa-hover-shadow: rgba(217, 119, 6, 0.24);
}

.quick-action-card.qa-rose {
  --qa-accent: #e11d48;
  --qa-bg-icon: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  --qa-hover-shadow: rgba(225, 29, 72, 0.24);
}

/* Service Category Filter Pills */
.service-filter-btn {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.service-filter-btn:hover {
  background: #f8fafc;
  color: #0a355c;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.service-filter-btn.active {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.filter-count {
  background: rgba(0, 0, 0, 0.07);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.service-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Officer Seal & Verified Badge */
.verified-officer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
}

/* Live Search Input Styling */
.gov-search-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.gov-search-bar:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.gov-search-bar .input-group-text {
  background: transparent;
  border: none;
  font-size: 0.95rem;
}

.gov-search-bar .form-control {
  border: none;
  font-size: 0.9rem;
  box-shadow: none !important;
}

/* Floating WhatsApp Helpdesk */
.floating-helpdesk {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all 0.25s ease;
  border: 2px solid #ffffff;
}

.floating-helpdesk:hover {
  background: #1eb857;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .quick-action-ribbon {
    margin-top: 15px;
  }
}

/* ==========================================================================
   Inner Page Common Styles (Page Banner, Breadcrumbs, & Components)
   ========================================================================== */
.page-banner {
  background: url('../images/campus.jpg') center center / cover no-repeat;
  color: #ffffff;
  padding: 65px 0 55px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #f59e0b;
}

.page-banner-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 18px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 2;
}

.page-banner-bengali {
  font-size: 1.2rem;
  color: #fef08a;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 3px 14px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.page-breadcrumb a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: #ffffff;
}

.page-breadcrumb span.sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-breadcrumb span.current {
  color: #ffffff;
}

/* Inner Page Container Sections */
.inner-page-section {
  padding: 65px 0 75px;
  background: #f8fafc;
}

/* Scheme Luxury Cards */
.scheme-card-luxury {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.scheme-card-luxury:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(10, 53, 92, 0.12);
  border-color: #cbd5e1;
}

.scheme-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.scheme-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  display: inline-block;
  margin-bottom: 8px;
}

.scheme-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f2744;
  margin-bottom: 2px;
}

.scheme-bengali {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 10px;
}

.scheme-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.scheme-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: #334155;
}

.scheme-btn {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  width: 100%;
}

.scheme-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

/* Downloads Hub Cards */
.download-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.download-item-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.download-file-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-right: 16px;
}

.download-file-info {
  flex-grow: 1;
  padding-right: 15px;
}

.download-file-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.download-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: #64748b;
}

.download-btn-pill {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.download-btn-pill:hover {
  background: #dc2626;
  color: #ffffff !important;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* Contact Info Cards */
.contact-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(10, 53, 92, 0.09);
  border-color: #cbd5e1;
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Contact Page Specific Enhancements */
.contact-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 53, 92, 0.12);
  border-color: #cbd5e1;
}

.contact-hero-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.contact-hero-icon.icon-navy {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  box-shadow: 0 8px 18px rgba(10, 53, 92, 0.25);
}

.contact-hero-icon.icon-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.25);
}

.contact-hero-icon.icon-crimson {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
}

.contact-hero-icon.icon-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.25);
}

/* Contact Info Panel / Secretariat Card */
.contact-admin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.contact-admin-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.officer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.officer-contact-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Enhanced Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.form-control:focus, .form-select:focus {
  border-color: #0a355c;
  box-shadow: 0 0 0 0.25rem rgba(10, 53, 92, 0.15);
}

/* Directory Utility Cards on Contact Page */
.utilities-section {
  padding: 70px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.contact-dir-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 53, 92, 0.05);
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.contact-dir-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(10, 53, 92, 0.12);
  border-color: #cbd5e1;
}

.contact-dir-card-header {
  padding: 13px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-dir-card-header.header-red {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.contact-dir-card-header.header-green {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
}

.contact-dir-card-header.header-blue {
  background: linear-gradient(135deg, #09355c 0%, #1e40af 100%);
}

.contact-dir-card-body {
  padding: 18px 20px;
  flex-grow: 1;
}

.contact-dir-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-dir-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.contact-dir-list li:hover {
  background-color: #f8fafc;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}

.contact-dir-list li:last-child {
  border-bottom: none;
}

/* Quick SOS Call Tiles */
.sos-quick-tile {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  transition: all 0.22s ease;
}

.sos-quick-tile:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.sos-quick-tile:hover .sos-tile-name,
.sos-quick-tile:hover .sos-tile-num,
.sos-quick-tile:hover i {
  color: #ffffff !important;
}

.sos-tile-num {
  font-weight: 800;
  font-size: 1.05rem;
  color: #b91c1c;
  line-height: 1;
}

.sos-tile-name {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

/* Mouza Demographics Micro Stat */
.mouza-micro-stat {
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.mouza-micro-stat:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.mouza-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a355c;
  line-height: 1.1;
}

.mouza-stat-lbl {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Transit & Directions Cards */
.transit-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: all 0.3s ease;
}

.transit-info-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(10, 53, 92, 0.08);
}

/* ==========================================================================
   Ultra-Colorful Government Theme for Contact Page
   ========================================================================== */

/* Tri-color Top Accent Bar */
.gov-tricolor-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #f97316 0%, #f97316 33.3%, #ffffff 33.3%, #ffffff 66.6%, #16a34a 66.6%, #16a34a 100%);
}

/* Category Quick Filter Chips in Grievance Form */
.grievance-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  text-decoration: none;
}

.category-chip:hover, .category-chip.active {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.chip-blue:hover, .chip-blue.active { background: #2563eb !important; border-color: #2563eb !important; }
.chip-green:hover, .chip-green.active { background: #059669 !important; border-color: #059669 !important; }
.chip-amber:hover, .chip-amber.active { background: #d97706 !important; border-color: #d97706 !important; }
.chip-cyan:hover, .chip-cyan.active { background: #0284c7 !important; border-color: #0284c7 !important; }
.chip-teal:hover, .chip-teal.active { background: #0d9488 !important; border-color: #0d9488 !important; }
.chip-purple:hover, .chip-purple.active { background: #7c3aed !important; border-color: #7c3aed !important; }
.chip-crimson:hover, .chip-crimson.active { background: #dc2626 !important; border-color: #dc2626 !important; }

/* Enhanced Officer Contact Row with Photo/Avatar */
.officer-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.officer-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 53, 92, 0.08);
  border-color: #cbd5e1;
}

.officer-contact-card.card-prodhan,
.officer-contact-card.card-ea,
.officer-contact-card.card-nirman,
.officer-contact-card.card-sahayak,
.officer-contact-card.card-grs {
  background: #ffffff;
}

.officer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  margin-right: 14px;
}

.officer-icon-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  flex-shrink: 0;
  margin-right: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Call Badge Hover Animation */
.call-btn-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.call-btn-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Color Accent Badges in Directory Cards */
.dir-badge-call {
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dir-badge-call:hover {
  transform: scale(1.06);
}

/* Hearing Box Gradient */
.hearing-box-gradient {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hearing-box-gradient::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 70px;
  height: 70px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 50%;
}

/* ==========================================================================
   Dharampur-1 GP Inspired Layout & Reference Links Owl Carousel
   ========================================================================== */
.padding_layout_1 {
  padding-top: 55px;
  padding-bottom: 55px;
}

.refItems {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.refItems img {
  max-height: 52px;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  transition: all .3s ease-in-out;
}

.refItems:hover img {
  opacity: .75;
  transform: scale(1.05);
}

.owl-carousel .item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.owl-carousel .item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(10, 53, 92, 0.08);
  transform: translateY(-2px);
}

/* Contact Us & Get In Touch styles from reference */
.adress_cont {
  margin-bottom: 25px;
}

.adress_cont h4 {
  font-weight: 700;
  color: #0a355c;
  margin-bottom: 12px;
}

.information_bottom {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.information_bottom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 53, 92, 0.06);
  border-color: #cbd5e1;
}

.icon_bottom {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a355c, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 53, 92, 0.2);
}

.icon_bottom.icon-green {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.info_cont h4 {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #1e293b;
  font-weight: 600;
}

.contant_form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.contant_form h4 {
  font-weight: 800;
  color: #0a355c;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.contant_form p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.field_custom {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  outline: none;
}

.field_custom:focus {
  border-color: #0a355c;
  box-shadow: 0 0 0 3px rgba(10, 53, 92, 0.12);
}

.btn.main_bt {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  display: inline-block;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(10, 53, 92, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn.main_bt:hover {
  background: linear-gradient(135deg, #07223b 0%, #0a355c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 53, 92, 0.35);
}

/* ==========================================================================
   Clean & Professional 'Get in Touch' Section Redesign
   ========================================================================== */
.contact-touch-section {
  position: relative;
  background: #f8fafc;
}

.contact-info-card,
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
  box-shadow: 0 10px 28px rgba(10, 53, 92, 0.08);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-icon-box.icon-green {
  background: #ecfdf5;
  color: #059669;
}

.contact-icon-box.icon-navy {
  background: #f1f5f9;
  color: #0a355c;
}

.contact-icon-box.icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-color: #cbd5e1;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.contact-form-card .input-group .form-control,
.contact-form-card .input-group .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.contact-form-card .input-group-text {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  font-size: 0.9rem;
  color: #64748b;
  width: 44px;
  justify-content: center;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: #0a355c;
  box-shadow: 0 0 0 3px rgba(10, 53, 92, 0.12);
}

.contact-form-card .input-group:focus-within .input-group-text {
  border-color: #0a355c;
  color: #0a355c;
  background-color: #eff6ff;
}

/* ==========================================================================
   GLOBAL UTILITIES: SUBTLE BACKGROUNDS, BORDERS & HIGH-CONTRAST BADGES
   (Bootstrap 5.3 fallback & prevents white text on light badges)
   ========================================================================== */

/* Subtle Background Colors */
.bg-primary-subtle { background-color: #e0f2fe !important; }
.bg-success-subtle { background-color: #dcfce7 !important; }
.bg-danger-subtle { background-color: #fee2e2 !important; }
.bg-warning-subtle { background-color: #fef3c7 !important; }
.bg-info-subtle { background-color: #e0f7fa !important; }
.bg-secondary-subtle { background-color: #f1f5f9 !important; }
.bg-light-subtle { background-color: #f8fafc !important; }
.bg-dark-subtle { background-color: #e2e8f0 !important; }

/* Subtle Border Colors */
.border-primary-subtle { border-color: #bfdbfe !important; }
.border-success-subtle { border-color: #bbf7d0 !important; }
.border-danger-subtle { border-color: #fecaca !important; }
.border-warning-subtle { border-color: #fde68a !important; }
.border-info-subtle { border-color: #b2ebf2 !important; }
.border-secondary-subtle { border-color: #cbd5e1 !important; }

/* Emphasis Text Colors */
.text-primary-emphasis { color: #0c4a6e !important; }
.text-success-emphasis { color: #14532d !important; }
.text-danger-emphasis { color: #991b1b !important; }
.text-warning-emphasis { color: #92400e !important; }
.text-info-emphasis { color: #0e7490 !important; }
.text-secondary-emphasis { color: #334155 !important; }

/* High-Contrast Badge Text Rules - NEVER allow invisible white text on light pills */
.badge.bg-warning-subtle,
.badge.badge-subtle-warning,
.badge[class*="bg-warning-subtle"] {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
  font-weight: 700 !important;
}

.badge.bg-info-subtle,
.badge.badge-subtle-info,
.badge[class*="bg-info-subtle"] {
  background-color: #e0f7fa !important;
  color: #006064 !important;
  border: 1px solid #b2ebf2 !important;
  font-weight: 700 !important;
}

.badge.bg-success-subtle,
.badge.badge-subtle-success,
.badge[class*="bg-success-subtle"] {
  background-color: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  font-weight: 700 !important;
}

.badge.bg-primary-subtle,
.badge.badge-subtle-primary,
.badge[class*="bg-primary-subtle"] {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  font-weight: 700 !important;
}

.badge.bg-danger-subtle,
.badge.badge-subtle-danger,
.badge[class*="bg-danger-subtle"] {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
  font-weight: 700 !important;
}

.badge.bg-secondary-subtle,
.badge.badge-subtle-secondary,
.badge[class*="bg-secondary-subtle"] {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

.badge.bg-light,
.badge.bg-light.text-dark {
  background-color: #f8fafc !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

/* Directory Call Badges */
.dir-badge-call.bg-warning-subtle {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}
.dir-badge-call.bg-info-subtle {
  background-color: #e0f7fa !important;
  color: #006064 !important;
  border: 1px solid #b2ebf2 !important;
}
.dir-badge-call.bg-success-subtle {
  background-color: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}
.dir-badge-call.bg-primary-subtle {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}
.dir-badge-call.bg-secondary-subtle {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
.dir-badge-call.bg-light {
  background-color: #f8fafc !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   EXECUTIVE LEADERSHIP & SUPERVISION CARDS (STAFF DIRECTORY)
   ========================================================================== */
.staff-leader-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.staff-leader-card:hover {
  transform: translateY(-8px);
}

.staff-leader-card.card-blue {
  border-color: #bfdbfe;
}
.staff-leader-card.card-blue:hover {
  border-color: #2563eb;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.16);
}

.staff-leader-card.card-emerald {
  border-color: #bbf7d0;
}
.staff-leader-card.card-emerald:hover {
  border-color: #059669;
  box-shadow: 0 20px 42px rgba(5, 150, 105, 0.16);
}

.staff-leader-card.card-indigo {
  border-color: #c7d2fe;
}
.staff-leader-card.card-indigo:hover {
  border-color: #4f46e5;
  box-shadow: 0 20px 42px rgba(79, 70, 229, 0.16);
}

.staff-leader-header {
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.staff-leader-header.header-navy {
  background: linear-gradient(135deg, #09355c 0%, #1e40af 100%);
}

.staff-leader-header.header-forest {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

.staff-leader-header.header-royal {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
}

.staff-leader-photo-full {
  width: 100%;
  height: 270px;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.staff-leader-photo-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.staff-leader-card:hover .staff-leader-photo-full img {
  transform: scale(1.06);
}

.staff-leader-photo-full.banner-forest {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  position: relative;
}

.staff-leader-photo-full.banner-forest::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.staff-leader-photo-full.banner-royal {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  position: relative;
}

.staff-leader-photo-full.banner-royal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.staff-leader-photo-full .photo-corner-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}


.staff-quote-box {
  background: #f8fafc;
  border-left: 3px solid #0a355c;
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-style: italic;
  color: #475569;
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.45;
}

.staff-quote-box.quote-forest {
  background: #f0fdf4;
  border-left-color: #059669;
  color: #064e3b;
}

.staff-quote-box.quote-royal {
  background: #f5f3ff;
  border-left-color: #4f46e5;
  color: #1e1b4b;
}

.staff-contact-micro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  text-align: left;
  font-size: 0.83rem;
}

.staff-contact-micro-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #f1f5f9;
}

.staff-contact-micro-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   OFFICIAL ROSTER TABLE ENHANCEMENTS
   ========================================================================== */
.staff-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.staff-call-btn:hover {
  background: #0a355c;
  border-color: #0a355c;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 53, 92, 0.25);
}

.staff-call-btn:hover i {
  color: #fbbf24 !important;
}

.staff-call-btn.btn-call-emerald:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.staff-wa-micro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

.staff-wa-micro-btn:hover {
  background: #128c7e;
  transform: scale(1.08);
}

.table-staff-full {
  margin-bottom: 0;
  width: 100%;
}

.table-staff-full th {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #cbd5e1;
  padding: 14px 16px;
  white-space: nowrap;
}

.table-staff-full td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.table-staff-full tbody tr {
  transition: background-color 0.2s ease;
}

.table-staff-full tbody tr:hover {
  background-color: #f8faff;
}

.staff-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid #e2e8f0;
}

.staff-avatar-initial {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-designation {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-designation-casual {
  display: inline-block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-cadre-govt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-cadre-casual {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-cadre-amber {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-cadre-slate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.quick-filter-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.quick-filter-chip:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.quick-filter-chip.active {
  background: linear-gradient(135deg, #09355c 0%, #1e40af 100%) !important;
  border-color: #09355c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(9, 53, 92, 0.28) !important;
}

.staff-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.staff-table-card:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.staff-table-header {
  padding: 16px 24px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}


/* ==========================================================================
   Clean About Page Table & Profile Styling
   ========================================================================== */
.about-hero-img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 53, 92, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.about-key-fact-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}

.about-key-fact-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.about-vision-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.about-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 53, 92, 0.08);
  border-color: #cbd5e1;
}

.about-vision-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* ==========================================
   Government Citizen Portal Main Page Preloader
   ========================================== */
.public-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
}

.public-preloader.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #f1f5f9;
  overflow: hidden;
  z-index: 10;
}

.preloader-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ff9933 0%, #0a355c 50%, #138808 100%);
  transform-origin: 0% 50%;
  animation: publicLoaderAnim 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes publicLoaderAnim {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(0.75); }
  100% { transform: scaleX(1); opacity: 0.2; }
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
  padding: 1.5rem;
}

.preloader-emblem {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.preloader-emblem-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  z-index: 2;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: #0a355c;
  border-right-color: #0c7c59;
  animation: spin 1s linear infinite;
}

.preloader-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.01em;
}

.preloader-subtitle {
  font-size: 0.785rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}

.preloader-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preloader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0a355c;
  animation: preloaderDotBounce 1.2s infinite ease-in-out both;
}

.preloader-dots span:nth-child(1) { animation-delay: -0.32s; }
.preloader-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes preloaderDotBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}






/* ==========================================================================
   Luxury Citizen Services, Welfare Schemes & Photo Gallery Portal Suite
   ========================================================================== */

/* 1. Global Filter & Search Toolbar */
.portal-toolbar-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 35px;
}

.portal-search-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  padding: 10px 20px 10px 42px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  background-color: #f8fafc;
  transition: all 0.25s ease;
  width: 100%;
}

.portal-search-input:focus {
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.portal-search-wrap {
  position: relative;
}

.portal-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.filter-pill-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #0a355c;
  box-shadow: 0 4px 14px rgba(10, 53, 92, 0.25);
}

.filter-pill-btn .pill-count {
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.08);
}

.filter-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2. Top Stats & Overview Highlights Strip */
.portal-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 35px;
}

.portal-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portal-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10, 53, 92, 0.08);
  border-color: #cbd5e1;
}

.portal-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.portal-stat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.portal-stat-desc {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* 3. Luxury Citizen Service Card */
.luxury-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.luxury-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 53, 92, 0.12);
  border-color: #93c5fd;
}

.luxury-service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.luxury-service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-service-card:hover .luxury-service-icon {
  transform: scale(1.1) rotate(-4deg);
}

.luxury-service-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 30px;
}

.luxury-service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1e36;
  margin-bottom: 4px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.luxury-service-card:hover .luxury-service-title {
  color: #1e40af;
}

.luxury-service-bengali {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
  line-height: 1.3;
}

.luxury-service-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.luxury-service-specs {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.luxury-service-specs .spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.luxury-service-specs .spec-label {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.luxury-service-specs .spec-val {
  font-weight: 700;
  color: #0f172a;
}

.luxury-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.luxury-btn-primary {
  background: linear-gradient(135deg, #0a355c 0%, #1e40af 100%);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  border: none;
}

.luxury-btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
  transform: translateY(-2px);
}

.luxury-btn-outline {
  background: #ffffff;
  color: #0a355c !important;
  border: 1.5px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.luxury-btn-outline:hover {
  background: #f1f5f9;
  border-color: #0a355c;
  color: #0a355c !important;
}

/* 4. Luxury Welfare Scheme Card */
.luxury-scheme-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.luxury-scheme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(10, 53, 92, 0.12);
  border-color: #93c5fd;
}

.scheme-dbt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.scheme-details-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scheme-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.scheme-detail-label {
  font-weight: 700;
  color: #0f172a;
  min-width: 75px;
  flex-shrink: 0;
}

.scheme-detail-text {
  color: #475569;
}

/* 5. Luxury Civil Works Gallery Card */
.luxury-gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.luxury-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 53, 92, 0.14);
  border-color: #93c5fd;
}

.luxury-gallery-thumb-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0b1e36;
}

.luxury-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-gallery-card:hover .luxury-gallery-img {
  transform: scale(1.08);
}

.luxury-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.1) 0%, rgba(11, 30, 54, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.luxury-gallery-card:hover .luxury-gallery-overlay {
  opacity: 1;
}

.gallery-zoom-pill {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.luxury-gallery-card:hover .gallery-zoom-pill {
  transform: scale(1.1);
  background: #0284c7;
}

.luxury-gallery-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.luxury-gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
}

.luxury-gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.luxury-gallery-caption {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 6. High-Definition Lightbox Modal */
#galleryLightboxModal .modal-content {
  background: #071526;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

#lightboxImage {
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
  background: #030a13;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.25s ease;
  z-index: 10;
  cursor: pointer;
}

.lightbox-nav-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev { left: 16px; }
.lightbox-nav-btn.next { right: 16px; }
