/* ==========================================================================
   HOMline DIGI seva - Master Design System: Quantum Lumina & Cyber Midnight
   Interactive Civic-Tech & Modern Digital Services UI
   ========================================================================== */

/* Rupee symbol (₹ U+20B9) fallback — Plus Jakarta Sans lacks this glyph.
   Noto Sans is loaded only for this specific unicode range so all other
   characters continue to use the brand typeface. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Noto Sans'), local('NotoSans');
  unicode-range: U+20B9; /* ₹ Indian Rupee Sign */
}

:root {
  /* 01 Brand Core - Electric Cobalt & Deep Sapphire */
  --primary-navy: #0B172E;
  --navy-dark: #050B16;
  --navy-surface: #12213F;
  --navy-light: #1E3A68;

  --brand-primary: #2563EB;       /* Electric Cobalt Blue */
  --brand-primary-hover: #1D4ED8;
  --brand-primary-subtle: #EFF6FF;

  /* 02 Luminescent Accents */
  --accent-cyan: #06B6D4;          /* Aurora Neon Cyan */
  --accent-cyan-hover: #0891B2;
  --accent-cyan-subtle: #ECFEFF;
  
  --accent-teal: #059669;          /* Emerald Digital Trust */
  --accent-teal-hover: #047857;
  --accent-teal-subtle: #ECFDF5;

  --highlight-gold: #F59E0B;       /* Radiant Solar Amber */
  --highlight-gold-hover: #D97706;
  --highlight-gold-subtle: #FFFBEB;

  /* 03 Canvas & Surfaces */
  --bg-soft-mist: #F8FAFC;
  --bg-slate: #F1F5F9;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-glass: rgba(255, 255, 255, 0.94);
  --section-hero-bg: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);

  /* 04 Typography */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* 05 Borders & Glowing Outlines */
  --border-color: #E2E8F0;
  --border-focus: #2563EB;
  --border-glow: rgba(37, 99, 235, 0.28);

  /* 06 Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(11, 23, 46, 0.05);
  --shadow-sm: 0 4px 10px -2px rgba(11, 23, 46, 0.06);
  --shadow-md: 0 12px 28px -6px rgba(11, 23, 46, 0.09), 0 4px 12px -2px rgba(37, 99, 235, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(11, 23, 46, 0.13), 0 8px 24px -4px rgba(37, 99, 235, 0.08);
  --shadow-glow-blue: 0 0 25px rgba(37, 99, 235, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);

  --header-bg: rgba(255, 255, 255, 0.95);
  --nav-link-color: #1E293B;
  --nav-link-hover: #2563EB;
  --nav-link-hover-bg: #EFF6FF;

  /* 07 Radii & Metrics */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --navbar-height: 74px;
  --nav-item-height: 42px;
}

/* ==========================================================================
   Cyber Midnight Dark Mode (OLED Obsidian & Neon Aurora)
   ========================================================================== */

/* ==========================================================================
   Global Reset & Base Rules
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-soft-mist);
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  padding-bottom: 74px; /* Space for mobile bar */
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: clip;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Headings & Text Classes */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: normal;
  transition: color 0.3s ease;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  letter-spacing: 0.015em;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.tracking-tight {
  letter-spacing: 0.02em !important;
}

/* Animated Title Letters with Color Shift & Comfortable Letter Spacing */
.title-letter-animated {
  display: inline-block;
  padding: 0 1.5px;
  letter-spacing: 0.04em;
  animation: titleLetterCycle 5s ease-in-out infinite alternate;
  transition: transform 0.25s ease, color 0.25s ease;
}
.title-letter-animated:nth-child(1) { animation-delay: 0s; }
.title-letter-animated:nth-child(2) { animation-delay: 0.7s; }
.title-letter-animated:nth-child(3) { animation-delay: 1.4s; }
.title-letter-animated:nth-child(4) { animation-delay: 2.1s; }

@keyframes titleLetterCycle {
  0% { color: #ffffff; text-shadow: 0 0 12px rgba(255,255,255,0.4); }
  33% { color: #38bdf8; text-shadow: 0 0 14px rgba(56,189,248,0.5); }
  66% { color: #f59e0b; text-shadow: 0 0 14px rgba(245,158,11,0.5); }
  100% { color: #0d9488; text-shadow: 0 0 14px rgba(13,148,136,0.5); }
}

.font-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.text-navy { color: var(--primary-navy) !important; }
.text-teal { color: var(--brand-primary) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-gold { color: var(--highlight-gold) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-navy { background-color: var(--navy-surface) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-teal { background-color: var(--brand-primary) !important; }
.bg-soft-mist { background-color: var(--bg-soft-mist) !important; }
.bg-gold { background-color: var(--highlight-gold) !important; }

/* Interactive Text Gradients */
.text-gradient-teal, .text-gradient-blue {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Utilities */
.max-width-700 { max-width: 700px; }
.max-width-800 { max-width: 800px; }
.max-width-900 { max-width: 900px; }

/* Animated Pulse Indicators */
.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulseDotAnim 2s infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes pulseDotAnim {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 01 Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #050B16 0%, #0B172E 50%, #12213F 100%);
  color: #FFFFFF;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.announcement-badge {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #050B16;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 20px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}
.announcement-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.announcement-link:hover {
  color: var(--highlight-gold);
}

/* ==========================================================================
   02 Precision Header & Navbar with Theme Switcher
   ========================================================================== */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Interactive Top Laser Accent Line */
.sticky-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 50%, #F59E0B 100%);
}

.custom-navbar {
  min-height: var(--navbar-height);
  padding: 6px 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-navbar .container,
.custom-navbar .custom-nav-container {
  max-width: 1560px;
  width: 100%;
  padding-left: clamp(12px, 1.8vw, 24px);
  padding-right: clamp(12px, 1.8vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Brand Logo */
.navbar-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
  flex-shrink: 0;
  margin-right: clamp(8px, 1.2vw, 18px);
}
.navbar-brand-logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.navbar-brand-img {
  height: 42px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.navbar-brand-logo:hover .navbar-brand-img {
  transform: scale(1.03);
}
.footer-logo-badge {
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}
.footer-logo-badge:hover {
  transform: scale(1.03);
}
.footer-logo-badge img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-cyan) 100%);
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-brand-logo:hover .brand-icon-box {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Desktop Navbar Collapse */
@media (min-width: 992px) {
  .custom-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0 !important;
  }
}

/* Center Nav Items */
.nav-center-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: clamp(1px, 0.3vw, 4px);
  flex: 0 1 auto;
  min-width: 0;
}
.nav-center-menu .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-center-menu .nav-link {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 0.38vw, 6px);
  padding: 0 clamp(6px, 0.65vw, 10px) !important;
  font-size: clamp(0.81rem, 0.85vw, 0.885rem);
  font-weight: 600;
  color: var(--nav-link-color) !important;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.nav-center-menu .nav-link i {
  font-size: clamp(0.82rem, 0.88vw, 0.95rem);
}
.nav-center-menu .nav-link:hover {
  color: var(--brand-primary) !important;
  background-color: var(--nav-link-hover-bg);
  transform: translateY(-1px);
}
.nav-center-menu .nav-link.active {
  color: var(--brand-primary) !important;
  background-color: var(--nav-link-hover-bg);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* Nav Dropdown Menus on Desktop */
@media (min-width: 992px) {
  .nav-center-menu .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.nav-center-menu .dropdown-menu {
  position: absolute;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  right: auto !important;
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 16px 36px rgba(11, 23, 46, 0.14);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  pointer-events: none;
}
.nav-center-menu .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-center-menu .dropdown-item {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.nav-center-menu .dropdown-item:hover {
  background: var(--nav-link-hover-bg);
  color: var(--brand-primary);
  transform: translateX(3px);
}
.nav-center-menu .dropdown-divider {
  border-color: var(--border-color);
  margin: 6px 0;
  opacity: 0.6;
}

/* Header Actions & Right Alignment */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.55vw, 8px);
  flex-shrink: 0;
  margin-left: auto;
}

/* Interactive Theme Toggle Switch */

/* Header Action Buttons */
.header-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 0.75vw, 13px);
  font-size: clamp(0.8rem, 0.83vw, 0.86rem);
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-header-signin {
  background-color: var(--card-bg);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
}
.btn-header-signin:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  transform: translateY(-1px);
}
.btn-header-signup {
  background: linear-gradient(135deg, #00A6A6 0%, #0d9488 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 166, 166, 0.28);
}
.btn-header-signup:hover {
  background: linear-gradient(135deg, #0284c7 0%, #00A6A6 100%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(0, 166, 166, 0.4);
  transform: translateY(-1px);
}
.btn-header-user {
  background-color: var(--card-bg);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
}
.btn-header-user:hover {
  border-color: var(--brand-primary);
}
.btn-header-staff {
  background-color: var(--card-bg);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
}
.btn-header-staff:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  transform: translateY(-1px);
}
.btn-header-call {
  background-color: var(--card-bg);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
}
.btn-header-call:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.btn-header-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  padding: 0 clamp(10px, 0.9vw, 15px);
}
.btn-header-whatsapp:hover {
  background: linear-gradient(135deg, #22BF5B 0%, #178e44 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* Medium screen adjustments (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand-img {
    height: 36px;
  }
  .nav-center-menu .nav-link {
    padding: 0 5px !important;
    font-size: 0.80rem;
    gap: 3px;
  }
  .nav-center-menu .nav-link i {
    font-size: 0.80rem;
  }
  .header-btn {
    height: 36px;
    padding: 0 8px;
    font-size: 0.80rem;
  }
  .btn-header-whatsapp {
    padding: 0 10px;
  }
}

/* Mobile & Tablet Drawer Styles (< 992px) */
@media (max-width: 991.98px) {
  .custom-navbar .container,
  .custom-navbar .custom-nav-container {
    flex-wrap: wrap;
  }
  .custom-navbar .navbar-collapse {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    width: 100%;
    /* keep the open drawer scrollable above the fixed bottom action bar */
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-center-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 16px !important;
    width: 100%;
  }
  .nav-center-menu .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-center-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px !important;
    font-size: 0.94rem;
    height: auto;
    min-height: 42px;
  }
  .nav-center-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px 8px 6px 20px;
    margin: 2px 0 6px 0;
    min-width: 100%;
  }
  .header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin-left: 0;
  }
  .header-actions .btn-header-signin,
  .header-actions .btn-header-signup {
    flex: 1 1 calc(50% - 6px);
    height: 42px;
    font-size: 0.88rem;
    display: inline-flex !important;
  }
  .header-actions .btn-header-user {
    flex: 1 1 100%;
    height: 42px;
    font-size: 0.88rem;
    display: inline-flex !important;
    justify-content: center;
  }
  .header-actions .btn-header-staff {
    flex: 1 1 calc(50% - 30px);
    height: 42px;
    font-size: 0.88rem;
    display: inline-flex !important;
  }
  .header-actions .btn-header-call {
    flex: 1 1 calc(50% - 6px);
    height: 42px;
    font-size: 0.88rem;
    display: inline-flex !important;
  }
  .header-actions .btn-header-whatsapp {
    flex: 1 1 100%;
    height: 44px;
    font-size: 0.92rem;
    display: inline-flex !important;
    justify-content: center;
  }
}

/* Standard Premium Buttons */
.btn-navy {
  background: linear-gradient(135deg, #0B172E 0%, #1E3A68 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 12px 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: linear-gradient(135deg, #1E3A68 0%, #2563EB 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-teal, .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 12px 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}
.btn-teal:hover, .btn-primary:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #050B16;
  border: none;
  font-weight: 800;
  border-radius: var(--radius-md);
  padding: 12px 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #050B16;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 800;
  border-radius: var(--radius-md);
  padding: 12px 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #22BF5B 0%, #178e44 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline-navy {
  border: 2px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  background: var(--card-bg);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-navy:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   03 Hero Section - Modern Lumina Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px 0;
  background: var(--section-hero-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: 0.015em;
  overflow-wrap: break-word;
  transition: color 0.3s ease;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 600px;
  font-weight: 400;
}

/* Kerala Online-First Platform — plain bold subtitle below HOMline 24/7 badge */
.hero-kerala-subtitle {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.01em;
  margin-top: 2px;
  margin-bottom: 0;
}

/* 24×7 Highlighted Trust Note */
.trust-note-24x7 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #78350F;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.22);
  letter-spacing: 0.2px;
}
.trust-note-24x7 .bi-clock-fill {
  color: var(--highlight-gold);
}

/* Gold variant of pulse dot for the 24×7 badge */
.pulse-dot-gold {
  background-color: var(--highlight-gold);
  box-shadow: 0 0 0 rgba(245, 158, 11, 0.4);
  animation: pulseDotGoldAnim 2s infinite;
  margin-right: 0;
}
@keyframes pulseDotGoldAnim {
  0%   { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   Hero Brand 24/7 Clock-Style Badge
   ========================================================================== */
.hero-brand-247-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.hero-brand-247-homline {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: hero247HomlineShimmer 4s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes hero247HomlineShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Clock-face circular badge wrapping the 24/7 text */
.hero-brand-247-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  /* Full thin gray base circle */
  border: 2px solid rgba(180, 180, 195, 0.55);
  border-radius: 50%;
  background: transparent;
}

/* Red arc overlay — conic sweep like a clock progress indicator.
   Sits on top of the gray ring using a transparent-background conic ring trick. */
.hero-brand-247-ring {
  position: absolute;
  inset: -2px;          /* sits exactly on the border edge */
  border-radius: 50%;
  /* Conic gradient: red arc from ~315deg to ~90deg (the upper-right quadrant like an image),
     rest transparent so base gray border shows through */
  background: conic-gradient(
    from -45deg,
    #EF4444 0deg 110deg,
    transparent 110deg 360deg
  );
  /* Mask trick: only show a thin ring, not a filled disc */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  animation: hero247ClockSweep 4s linear infinite;
}

@keyframes hero247ClockSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Subtle inner glow pulse */
.hero-brand-247-badge::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 75%);
  animation: hero247GlowPulse 2.5s ease-in-out infinite;
}

@keyframes hero247GlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%       { opacity: 1;  transform: scale(1.1); }
}

/* Bold red/orange "24/7" text inside the clock badge */
.hero-brand-247-text {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: none;
}

/* Dark mode compat — slightly brighter gray base ring */
[data-theme="dark"] .hero-brand-247-badge {
  border-color: rgba(140, 140, 160, 0.4);
}
[data-theme="dark"] .hero-brand-247-badge::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 75%);
}


.hero-illustration-box {
  position: relative;
  background: var(--card-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.hero-floating-badge {
  position: absolute;
  top: -15px;
  right: -10px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #050B16;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.3px;
}

/* Stats Ribbon Bar */
.stats-ribbon {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px 30px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ==========================================================================
   04 Interactive Cards & Glassmorphism
   ========================================================================== */
.homline-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}
.homline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

/* Category Highlight Cards */
.category-highlight-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.category-highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.15);
}
.category-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--nav-link-hover-bg), var(--bg-slate));
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px var(--border-color);
}
.category-highlight-card:hover .category-icon-wrapper {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-cyan) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
  transform: scale(1.08) rotate(-4deg);
}

/* Quick Action Cards */
.quick-action-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  color: var(--brand-primary);
}
.quick-action-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Service Directory Cards */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

/* Fee Breakdown Box */
.fee-badge-box {
  background: var(--bg-soft-mist);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 16px 0;
  border-left: 4px solid var(--brand-primary);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.fee-badge-homline {
  font-weight: 800;
  color: var(--primary-navy);
  font-size: 0.95rem;
}
.fee-badge-thirdparty {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Category Filter Pills (Services Page) */
.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.filter-pill-btn,
.service-cat-pill {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border-color);
  background: var(--card-bg);
  color: var(--primary-navy);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  user-select: none;
}
.filter-pill-btn:hover,
.service-cat-pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}
.filter-pill-btn.active,
.service-cat-pill.active {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-cyan) 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-2px);
}
.filter-pill-btn.active i,
.service-cat-pill.active i {
  color: #FFFFFF !important;
}
.pill-counter {
  background: var(--bg-soft-mist);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: monospace;
  transition: all 0.2s ease;
}
.filter-pill-btn.active .pill-counter,
.service-cat-pill.active .pill-counter {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* Quick Search Keyword Chips */
.search-keyword-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.search-keyword-chip:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.search-keyword-chip.active {
  background: var(--highlight-gold);
  color: var(--navy-dark);
  border-color: var(--highlight-gold);
  font-weight: 800;
}

/* Directory Toolbar & View Switcher */
.directory-control-toolbar {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Interactive Document Requirements Drawer */
.docs-drawer-btn {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-primary);
  border: none;
  background: transparent;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.docs-drawer-btn:hover {
  background-color: var(--nav-link-hover-bg);
  color: var(--brand-primary);
}
.docs-toggle-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-soft-mist);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 12px;
}
.card-docs-drawer {
  background: var(--bg-soft-mist);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  font-size: 0.82rem;
}
.doc-checklist-item {
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 6px;
  transition: background-color 0.15s ease;
  user-select: none;
}
.doc-checklist-item:hover {
  background-color: var(--card-bg);
}
.doc-checklist-item input:checked + span {
  text-decoration: line-through;
  opacity: 0.7;
}

/* List View Layout for Services Directory */
.services-directory-list-mode .service-card {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
@media (max-width: 991px) {
  .services-directory-list-mode .service-card {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   05 Interactive Fee Estimator & Urgency Selectors
   ========================================================================== */
.estimator-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 35px;
  box-shadow: var(--shadow-md);
}
.calc-option-pill {
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-option-pill:hover {
  border-color: var(--brand-primary);
  background: var(--nav-link-hover-bg);
}
.calc-option-pill.active {
  border-color: var(--brand-primary);
  background: var(--nav-link-hover-bg);
  box-shadow: inset 0 0 0 1px var(--brand-primary);
}

/* Interactive Output Card */
.calc-output-card {
  background: linear-gradient(135deg, #0B172E 0%, #12213F 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(11, 23, 46, 0.25);
  position: relative;
  overflow: hidden;
}
.calc-output-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}

/* ==========================================================================
   06 Interactive Document Readiness Checklist
   ========================================================================== */
.interactive-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist-item {
  background: var(--bg-soft-mist);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.checklist-item:hover {
  background: var(--nav-link-hover-bg);
  border-color: var(--brand-primary);
}
.checklist-item.checked {
  background: var(--accent-teal-subtle);
  border-color: var(--accent-teal);
  color: var(--text-dark);
}
.checklist-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.checklist-item.checked .checklist-checkbox {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #FFFFFF;
}
.checklist-progress-bar {
  height: 8px;
  border-radius: 10px;
  background: var(--border-color);
  overflow: hidden;
  margin-top: 10px;
}
.checklist-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--accent-teal) 100%);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   07 Interactive Request Status Timeline
   ========================================================================== */
.timeline-stepper {
  position: relative;
  padding-left: 30px;
  margin-top: 25px;
}
.timeline-stepper::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 2px;
  background: var(--border-color);
}
.timeline-step {
  position: relative;
  margin-bottom: 26px;
}
.timeline-step:last-child {
  margin-bottom: 0;
}
.timeline-node {
  position: absolute;
  left: -30px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.timeline-step.completed .timeline-node {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.timeline-step.active .timeline-node {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
  animation: pulseGlow 2s infinite;
}

/* Floating Elements Disabled */
.floating-whatsapp-trigger,
.whatsapp-chat-box,
.floating-smart-dock {
  display: none !important;
}

/* Form Controls Polish */
.form-control, .form-select {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  padding: 12px 16px;
  background-color: var(--card-bg);
  color: var(--text-dark);
  transition: all 0.2s ease;
}
.form-select {
  padding-right: 2.75rem;
  background-position: right 0.85rem center;
}
.form-control:focus, .form-select:focus {
  background-color: var(--card-bg);
  color: var(--text-dark);
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  outline: none;
}

/* Dark mode specific card & input fixes */

/* Fixed Mobile Navigation */
.fixed-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
}
.mobile-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease;
}
.mobile-nav-btn:active {
  transform: scale(0.97);
}

/* Footer */
.main-footer {
  background: linear-gradient(180deg, #070D1B 0%, #030712 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 36px 0 16px 0;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.45;
}
.footer-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.96rem;
  margin-bottom: 10px;
  position: relative;
}
.footer-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-primary);
  margin-top: 5px;
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 4px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--highlight-gold);
  padding-left: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: 20px;
  font-size: 0.78rem;
}

/* Toast Notifications */
.interactive-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0B172E;
  color: #FFFFFF;
  border: 1px solid var(--brand-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 14px 24px;
  border-radius: 30px;
  z-index: 1090;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.interactive-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Rules */
@media (max-width: 991.98px) {
  .nav-center-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    gap: 6px;
    width: 100%;
  }
  .nav-center-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 16px !important;
  }
  .header-actions {
    padding-bottom: 16px;
    width: 100%;
  }
  .header-actions .header-btn {
    flex: 1;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
  .stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-headline {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Creative Homepage Interactive Styles
   ========================================================================== */
.home-hero {
  padding: 82px 0 96px;
  background: radial-gradient(ellipse at 82% 35%, rgba(13, 148, 136, .14), transparent 37%), radial-gradient(ellipse at 12% 12%, rgba(37, 99, 235, .07), transparent 34%), var(--section-hero-bg);
}
.home-hero .hero-headline { max-width: 700px; font-size: clamp(2.7rem, 5vw, 4.3rem); }
.home-hero .hero-subtitle { max-width: 550px; }
.home-trust-notes { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--text-muted); font-size: .9rem; }
.home-trust-notes i { color: var(--accent-teal); margin-right: 6px; }
.home-trust-notes .home-admin-link { display: inline-flex; align-items: center; color: var(--text-muted); font-weight: 700; text-decoration: none; }
.home-trust-notes .home-admin-link:hover, .home-trust-notes .home-admin-link:focus-visible { color: var(--accent-teal); text-decoration: underline; text-underline-offset: 3px; }
.home-service-card { padding: 28px; border-color: rgba(5, 150, 105, .15); }
.home-service-visual { min-height: 205px; margin: 12px 0 20px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: linear-gradient(135deg, #effcf8, #eef5ff); }
.home-service-orbit { position: absolute; border: 1px solid rgba(5, 150, 105, .14); border-radius: 50%; }
.orbit-one { width: 250px; height: 250px; }
.orbit-two { width: 180px; height: 180px; }
.home-service-paper { width: 118px; height: 142px; z-index: 1; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(11, 23, 46, .13); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #0b7864; font-weight: 700; text-align: center; }
.home-service-paper i { font-size: 2.7rem; }
.home-service-paper span { font-size: .78rem; line-height: 1.35; color: #334155; }
.home-service-icon { position: absolute; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: #087f70; font-size: 1.25rem; box-shadow: 0 8px 22px rgba(11, 23, 46, .12); }
.icon-id { top: 32px; left: calc(50% - 105px); transform: rotate(-10deg); }
.icon-cap { top: 50px; right: calc(50% - 113px); transform: rotate(9deg); color: #2563eb; }
.icon-building { bottom: 30px; right: calc(50% - 115px); transform: rotate(7deg); color: #d97706; }
.home-featured-section { background: var(--bg-soft-mist) !important; }
.home-feature-card { min-height: 172px; height: 100%; padding: 24px; display: flex; align-items: flex-start; gap: 16px; position: relative; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 18px; box-shadow: var(--shadow-xs); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-teal); }
.home-feature-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--accent-teal-subtle); color: var(--accent-teal); font-size: 1.35rem; }
.home-feature-card h5 { margin-top: 4px; }
.home-feature-arrow { position: absolute; top: 22px; right: 20px; color: var(--text-light); }
@media (max-width: 767.98px) { .home-hero { padding: 48px 0 68px; } .home-hero .hero-headline { font-size: 2.55rem; } .home-service-card { margin: 4px 8px; padding: 22px; } .home-trust-notes { gap: 8px 16px; } }

.service-detail-hero { color: #fff; background: radial-gradient(ellipse at 82% 15%, rgba(20, 184, 166, .22), transparent 34%), linear-gradient(118deg, #0b172e, #123454 68%, #0b665f); }
.service-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: rgba(255,255,255,.65); font-size: .82rem; }
.service-breadcrumb a { color: rgba(255,255,255,.78); text-decoration: none; }
.service-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.service-breadcrumb > i { font-size: .65rem; }
.service-detail-category, .service-detail-badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 6px 12px; color: #082f49; background: #fcd34d; font-size: .76rem; font-weight: 800; }
.service-detail-badge { color: #fff; background: rgba(13,148,136,.85); }
.service-detail-icon { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; color: #a7f3d0; background: rgba(255,255,255,.08); font-size: 1.65rem; }
.service-detail-title { margin: 0 0 8px; color: #fff; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 850; letter-spacing: 0.015em; line-height: 1.15; overflow-wrap: break-word; }
.service-detail-summary { max-width: 680px; color: rgba(255,255,255,.76); font-size: 1.05rem; line-height: 1.65; }
.service-detail-cta { white-space: nowrap; }
.service-cta-note { margin-top: 10px; color: rgba(255,255,255,.65); font-size: .8rem; }
.service-detail-body { background: var(--bg-soft-mist); }
.service-content-card, .service-cost-card, .service-steps-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--border-color); border-radius: 20px; background: var(--card-bg); box-shadow: var(--shadow-xs); }
.service-section-heading, .service-cost-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.service-section-icon, .service-cost-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--accent-teal); background: var(--accent-teal-subtle); font-size: 1.1rem; }
.service-section-kicker { display: block; margin-bottom: 3px; color: var(--accent-teal); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.service-section-heading h2, .service-cost-heading h2, .related-services h2 { margin: 0; color: var(--primary-navy); font-size: 1.3rem; font-weight: 800; }
.service-description { color: var(--text-body); font-size: .98rem; line-height: 1.8; }
.service-description p:last-child, .service-document-list p:last-child { margin-bottom: 0; }
.service-section-intro { margin: -4px 0 14px; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.service-document-list { padding: 15px 17px; border: 1px solid var(--border-color); border-radius: 14px; color: var(--text-body); background: var(--bg-soft-mist); line-height: 1.8; }
.service-document-list p { margin-bottom: 5px; }
.service-disclaimer { display: flex; align-items: flex-start; gap: 14px; padding: 17px 19px; border: 1px solid rgba(217,119,6,.22); border-radius: 16px; color: var(--text-body); background: #fffbeb; }
.service-disclaimer > i { color: #d97706; font-size: 1.35rem; }
.service-disclaimer strong { color: var(--primary-navy); }
.service-disclaimer p { margin: 4px 0 0; font-size: .84rem; line-height: 1.6; }
.service-detail-sidebar { position: sticky; top: 105px; }
.service-cost-card { border-top: 4px solid var(--accent-teal); }
.service-cost-heading { margin-bottom: 22px; }
.service-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px; border-radius: 15px; color: var(--primary-navy); background: var(--accent-teal-subtle); }
.service-price-row > div { display: grid; gap: 4px; }
.service-price-label { color: var(--text-muted); font-size: .78rem; font-weight: 700; }
.service-price-value { font-size: 1.65rem; font-weight: 850; line-height: 1.2; }
.service-price-row > i { color: var(--accent-teal); font-size: 1.5rem; }
.service-fee-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 2px 5px; color: var(--text-body); font-size: .88rem; }
.service-fee-row > span { color: var(--text-muted); }
.service-fee-row strong { color: var(--primary-navy); font-size: 1rem; }
.service-fee-note { margin: 0; padding: 0 2px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-muted); font-size: .75rem; line-height: 1.5; }
.service-time-row { display: flex; align-items: center; gap: 11px; padding: 17px 2px; color: var(--accent-teal); }
.service-time-row > span { display: grid; gap: 3px; }
.service-time-row small { color: var(--text-muted); font-size: .75rem; }
.service-time-row strong { color: var(--primary-navy); font-size: .97rem; }
.service-cost-actions { display: grid; gap: 9px; }
.service-phone-link { padding: 4px; color: var(--text-muted); text-align: center; font-size: .84rem; text-decoration: none; }
.service-phone-link:hover { color: var(--accent-teal); text-decoration: underline; }
.service-steps-card { color: #fff; border: 0; background: linear-gradient(135deg, #0b172e, #123454); }
.service-steps-card h2 { margin: 0 0 20px; color: #fcd34d; font-size: 1.1rem; font-weight: 800; }
.service-steps-card ol { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.service-steps-card li { display: flex; align-items: center; gap: 12px; }
.service-steps-card li > span { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #a7f3d0; background: rgba(255,255,255,.12); font-size: .8rem; font-weight: 800; }
.service-steps-card li div { display: grid; gap: 2px; }
.service-steps-card li strong { font-size: .86rem; }
.service-steps-card li small { color: rgba(255,255,255,.64); font-size: .76rem; }
.related-services { margin-top: 38px; }
.related-all-link { color: var(--accent-teal); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.related-all-link:hover { text-decoration: underline; }
.related-service-card { position: relative; display: flex; height: 100%; flex-direction: column; gap: 9px; padding: 17px; border: 1px solid var(--border-color); border-radius: 16px; color: var(--text-body); background: var(--card-bg); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.related-service-card:hover { transform: translateY(-3px); border-color: var(--accent-teal); box-shadow: var(--shadow-sm); }
.related-service-icon { color: var(--accent-teal); font-size: 1.15rem; }
.related-service-card strong { padding-right: 15px; color: var(--primary-navy); font-size: .88rem; }
.related-service-card > span:nth-of-type(2) { color: var(--text-muted); font-size: .77rem; line-height: 1.5; }
.related-card-arrow { position: absolute; top: 16px; right: 16px; color: var(--text-light); }
@media (max-width: 991.98px) { .service-detail-sidebar { position: static; } }
@media (max-width: 575.98px) { .service-detail-hero .container { padding-top: 24px !important; padding-bottom: 32px !important; } .service-detail-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 15px; } .service-detail-cta { width: 100%; } .service-detail-hero .col-lg-4 { text-align: left !important; } .service-content-card, .service-cost-card, .service-steps-card { border-radius: 16px; } }

.services-hero {
  background: radial-gradient(ellipse at 78% 24%, rgba(6, 182, 212, .2), transparent 32%), linear-gradient(120deg, #0B172E, #13385A 68%, #0B766A);
}
.services-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(3, 12, 29, .2); }
.services-search > i { margin-left: 12px; color: #64748b; }
.services-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 10px 4px; color: #0f172a; background: transparent; }
.services-search input:focus-visible { outline: 2px solid #059669; outline-offset: 2px; border-radius: 5px; }
.services-search .btn { padding: 11px 18px; }
.services-search-clear { color: #64748b; padding: 6px; text-decoration: none; }
.services-shortcut { margin-right: 5px; padding: 0 7px; color: #64748b; border: 1px solid #cbd5e1; border-radius: 5px; font: 700 .75rem monospace; }
.services-suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 4px 0; color: rgba(255,255,255,.72); font-size: .8rem; }
.service-search-chip { padding: 4px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; color: #fff; background: rgba(255,255,255,.08); font-size: .78rem; transition: background .18s, color .18s, transform .18s; }
.service-search-chip:hover, .service-search-chip:focus-visible { color: #0b172e; background: #fff; transform: translateY(-1px); }
.services-directory { background: var(--bg-soft-mist); }
.services-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.services-categories { display: flex; gap: 9px; flex-wrap: wrap; }
.service-category-filter { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid var(--border-color); border-radius: 99px; color: var(--text-body); background: var(--card-bg); text-decoration: none; font-size: .85rem; font-weight: 700; transition: .2s ease; }
.service-category-filter:hover { border-color: var(--accent-teal); color: var(--accent-teal); transform: translateY(-2px); }
.service-category-filter.active { border-color: var(--primary-navy); color: #fff; background: var(--primary-navy); }
.services-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.services-result-count { color: var(--text-muted); white-space: nowrap; font-size: .86rem; font-weight: 700; }
.services-controls select { min-width: 175px; color: var(--text-body); background-color: var(--card-bg); border-color: var(--border-color); }
.services-disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; padding: 14px 16px; border: 1px solid rgba(245, 158, 11, .25); border-radius: 14px; background: var(--highlight-gold-subtle); color: var(--text-body); font-size: .87rem; }
.services-disclaimer > i { margin-top: 2px; color: #d97706; }
.services-disclaimer p { margin: 0; }
.service-directory-card { display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--border-color); border-radius: 20px; background: var(--card-bg); box-shadow: var(--shadow-xs); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-directory-card:hover { transform: translateY(-5px); border-color: rgba(5, 150, 105, .45); box-shadow: var(--shadow-md); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.service-directory-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; color: var(--accent-teal); background: var(--accent-teal-subtle); font-size: 1.5rem; }
.service-category-label { align-self: flex-start; padding: 4px 9px; border-radius: 99px; color: var(--text-muted); background: var(--bg-slate); font-size: .72rem; font-weight: 700; }
.service-summary { min-height: 3.2em; }
.service-card-meta { margin-top: auto; padding: 13px 14px; border: 1px solid var(--border-color); border-left: 3px solid var(--accent-teal); border-radius: 10px; background: var(--bg-soft-mist); }
.service-card-meta > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 4px 0; font-size: .76rem; }
.service-card-meta span { color: var(--text-muted); }
.service-card-meta strong { color: var(--primary-navy); text-align: right; font-weight: 700; }
.service-documents { margin: 12px 0 0; border-bottom: 1px solid var(--border-color); color: var(--brand-primary); font-size: .82rem; }
.service-documents summary { display: flex; align-items: center; padding: 9px 1px; cursor: pointer; font-weight: 700; list-style: none; }
.service-documents summary::-webkit-details-marker { display: none; }
.details-chevron { margin-left: auto; transition: transform .2s ease; }
.service-documents[open] .details-chevron { transform: rotate(180deg); }
.service-documents-content { padding: 0 4px 12px; color: var(--text-muted); line-height: 1.65; }
.service-card-actions { display: flex; gap: 9px; margin-top: 15px; }
.service-card-actions .btn:first-child { flex: 0 0 auto; }
.service-card-actions .btn:last-child { flex: 1; }
.services-empty-state { padding: 48px 20px; border: 1px dashed var(--border-color); border-radius: 20px; background: var(--card-bg); text-align: center; }
.services-empty-state > i { display: block; margin-bottom: 12px; color: var(--accent-teal); font-size: 2.6rem; }
.service-result[hidden] { display: none !important; }
@media (max-width: 991.98px) { .services-toolbar { align-items: flex-start; flex-direction: column; } .services-controls { width: 100%; justify-content: space-between; } }
@media (max-width: 575.98px) { .services-search { flex-wrap: wrap; } .services-search input { flex-basis: calc(100% - 70px); } .services-search .btn { flex: 1; } .services-shortcut { display: none; } .services-controls select { min-width: 155px; } .service-directory-card { padding: 19px; } }

.hero-console-card {
  position: relative;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 16px 36px rgba(11, 23, 46, 0.12);
  transition: all 0.3s ease;
}
.hero-console-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.16);
}

.floating-pill-badge {
  position: absolute;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 5;
  animation: floatBadge 3.6s ease-in-out infinite alternate;
}
@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-9px); }
}
.floating-pill-top-right {
  top: -16px;
  right: -12px;
  animation-delay: 0.4s;
}
.floating-pill-bottom-left {
  bottom: -18px;
  left: -12px;
  animation-delay: 1.2s;
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Roadmap 3-Step Process Card */
.roadmap-step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}
.roadmap-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.14);
}
.roadmap-step-num {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: monospace;
  color: var(--border-color);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
  transition: color 0.3s ease;
}
.roadmap-step-card:hover .roadmap-step-num {
  color: var(--brand-primary);
  opacity: 0.35;
}

/* Citizen Review Card */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: #F59E0B;
  font-size: 0.95rem;
}

/* ==========================================================================
   HOMline Advanced Feature Additions: Title Animation, PwD, Borders & Staff
   ========================================================================== */

/* 01 Title Letters Colour Animation */
@keyframes titleLetterGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-headline-animated {
  background: linear-gradient(270deg, #2563eb, #06b6d4, #f59e0b, #10b981, #6366f1, #2563eb);
  background-size: 350% 350%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleLetterGradientFlow 6s ease-in-out infinite;
  display: inline-block;
  font-weight: 800;
}

/* 02 Doorstep Desk Icons Animation */
@keyframes floatIconBounce {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(5deg);
  }
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.home-service-icon, .desk-float-icon {
  animation: floatIconBounce 3.6s ease-in-out infinite;
  transition: all 0.3s ease;
}
.icon-id { animation-delay: 0s; }
.icon-cap { animation-delay: 1.2s; }
.icon-building { animation-delay: 2.4s; }

.desk-orbit-glow {
  animation: orbitSpin 20s linear infinite;
}

/* 03 Service Card Shimmer & Glowing Border Animation */
@keyframes borderGlowPulse {
  0% {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
  }
  50% {
    border-color: rgba(6, 182, 212, 0.85);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.22);
  }
  100% {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
  }
}

.service-card-animated, .service-box-highlight {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid var(--border-color);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
}

.service-card-animated:hover, .service-box-highlight:hover {
  transform: translateY(-6px);
  animation: borderGlowPulse 2.8s infinite alternate;
}

/* 04 Top Announcement Bar - Next/Prev & Smooth Scroller */
.announcement-ticker-wrap {
  overflow: hidden;
  position: relative;
  flex: 1;
}
.announcement-slide {
  display: none;
  animation: fadeInAnnouncement 0.35s ease forwards;
}
.announcement-slide.active {
  display: flex;
  align-items: center;
}
@keyframes fadeInAnnouncement {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.announcement-ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.announcement-ctrl-btn:hover {
  background: #f59e0b;
  color: #0b172e;
}

/* 05 PwD-Friendly Assistance Card */
.pwd-assistance-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 60%, #064e3b 100%);
  border: 2px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-xl);
  color: #f8fafc;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}
.pwd-assistance-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pwd-quote-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #f59e0b;
  padding: 12px 18px;
  border-radius: 8px;
  font-style: italic;
  font-size: 0.92rem;
  color: #e2e8f0;
}

/* 06 Quick Action Box (4 Pillars + PwD) */
.quick-box-gateway {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.28s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-dark);
  height: 100%;
}
.quick-box-gateway:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  color: var(--brand-primary);
}
.quick-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* 07 Compact Footer & Staff Login Box */
.footer-compact {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}
.staff-login-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.staff-login-box:hover {
  border-color: #f59e0b;
  color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* 08 How It Works Creative Step Flow */
.how-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
@media (min-width: 992px) {
  .how-steps-timeline {
    flex-direction: row;
    align-items: stretch;
  }
}
.how-step-card {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.how-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}
.how-step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.how-flow-arrow {
  display: none;
  align-self: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}
@media (min-width: 992px) {
  .how-flow-arrow {
    display: flex;
  }
}

/* ==========================================================================
   09 User Dashboard Styles
   ========================================================================== */
.bg-dashboard-wrapper {
  background-color: var(--bg-light);
  min-height: calc(100vh - 220px);
}

.dashboard-hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color) !important;
  position: relative;
}


.dashboard-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #008080, #004d40);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.3);
  flex-shrink: 0;
}

.stat-metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}

.stat-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-gold-subtle {
  background-color: rgba(245, 158, 11, 0.15) !important;
}

.bg-teal-subtle {
  background-color: rgba(0, 128, 128, 0.15) !important;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.dashboard-nav-tabs .nav-link {
  color: var(--text-dark);
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.dashboard-nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #008080, #005a5a) !important;
  color: #ffffff !important;
  border-color: #008080 !important;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.25);
}

.dashboard-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}



.request-id-badge {
  background-color: rgba(0, 128, 128, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px dashed rgba(0, 128, 128, 0.3);
}

.membership-virtual-card {
  background: linear-gradient(135deg, #091a2f 0%, #063138 50%, #0d1e2b 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  position: relative;
  overflow: hidden;
}

.membership-virtual-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.letter-spacing-1 {
  letter-spacing: 1.5px;
}


