/* ==========================================================================
   Loan Services Center (loanservicescenter.in) - Civic Theme Stylesheet
   Designed with Bootstrap 5 + Custom Design Tokens
   ========================================================================== */

:root {
  --primary-navy: #0b2847;
  --primary-navy-dark: #06192d;
  --primary-blue: #0d5bb5;
  --primary-blue-light: #e8f1fc;
  --gov-saffron: #f77f00;
  --gov-saffron-dark: #d96200;
  --gov-saffron-soft: #fff4e6;
  --gov-green: #198754;
  --gov-green-dark: #13693f;
  --gov-green-soft: #eafaf1;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 18px rgba(11, 40, 71, 0.07);
  --card-shadow-hover: 0 10px 30px rgba(11, 40, 71, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-base-size: 16px;
}

html {
  font-size: var(--font-base-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Accessibility & High Contrast Mode
   -------------------------------------------------------------------------- */
body.high-contrast {
  --text-dark: #000000;
  --text-muted: #222222;
  --bg-light: #ffffff;
  --primary-navy: #000000;
  --primary-blue: #002b80;
  --border-color: #000000;
  background-color: #ffffff;
  color: #000000;
}

body.high-contrast .card,
body.high-contrast .navbar,
body.high-contrast .top-bar {
  border: 1px solid #000000 !important;
}

/* --------------------------------------------------------------------------
   Tricolor Accent Ribbon
   -------------------------------------------------------------------------- */
.gov-tricolor-strip {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff9933 0%, #ff9933 33.33%, #ffffff 33.33%, #ffffff 66.66%, #138808 66.66%, #138808 100%);
  display: block;
}

/* --------------------------------------------------------------------------
   Top Bar (Accessibility & Emergency Helpline)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #d1dbe5;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: var(--gov-saffron);
}

.access-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.3;
  display: inline-block;
  transition: all 0.2s;
}

.access-btn:hover, .access-btn.active {
  background: var(--gov-saffron);
  border-color: var(--gov-saffron);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Main Portal Header / Brand Section
   -------------------------------------------------------------------------- */
.portal-header {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.portal-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon-shield {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.65rem;
  box-shadow: 0 4px 10px rgba(13, 91, 181, 0.25);
  position: relative;
}

.brand-icon-shield::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--gov-saffron);
  border: 2px solid #fff;
  border-radius: 50%;
}

.brand-title-group h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-title-group .brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin: 0;
}

.header-meta-badge {
  background: var(--primary-blue-light);
  border: 1px solid #c7dcf7;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Main Navigation Bar
   -------------------------------------------------------------------------- */
.main-navbar {
  background-color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  padding: 0;
}

/* The portal has a lot of top-level menu items. On laptop/desktop widths
   they no longer fit on one line -- since <body> uses overflow-x:hidden,
   anything that overflowed a single non-wrapping row was being clipped off
   and effectively "hidden". Letting the nav wrap to extra rows keeps every
   item visible at every width instead of relying on one cramped line. */
@media (min-width: 992px) {
  .main-navbar .container {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .main-navbar .navbar-collapse {
    flex-wrap: wrap;
    flex-grow: 1;
  }

  .main-navbar .navbar-nav {
    flex-wrap: wrap;
    row-gap: 2px;
  }
}

/* Typical laptop range: tighten spacing and drop the decorative icons so
   noticeably more items fit per row before anything needs to wrap. */
@media (min-width: 992px) and (max-width: 1350px) {
  .main-navbar .nav-link {
    padding: 12px 9px !important;
    font-size: 0.85rem;
  }
  .main-navbar .nav-link i {
    display: none;
  }
}

.main-navbar .nav-link {
  color: #edf2f7 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 16px !important;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

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

.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--gov-saffron);
}

.main-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 12px 28px rgba(11, 40, 71, 0.18);
  border-radius: var(--radius-md);
  padding: 10px;
  min-width: 270px;
  background: #ffffff;
  border-top: 3px solid var(--gov-saffron);
  animation: fadeInDown 0.2s ease forwards;
}

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

.dropdown-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:hover {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  transform: translateX(4px);
}

.dropdown-item i {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.btn-nav-apply {
  background: linear-gradient(135deg, var(--gov-saffron) 0%, var(--gov-saffron-dark) 100%);
  color: #fff !important;
  font-weight: 600;
  border: none;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 8px rgba(247, 127, 0, 0.35);
  transition: all 0.25s;
}

.btn-nav-apply:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Notice & Circulars Ticker
   -------------------------------------------------------------------------- */
.notice-ticker-bar {
  background-color: #fff9f0;
  border-bottom: 1px solid #fed7aa;
  padding: 8px 0;
  font-size: 0.88rem;
}

.ticker-label {
  background-color: var(--gov-saffron);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.ticker-scroll:hover {
  animation-play-state: paused;
}

.ticker-item {
  margin-right: 35px;
  color: #7c2d12;
  text-decoration: none;
  font-weight: 500;
}

.ticker-item:hover {
  text-decoration: underline;
  color: #431407;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Hero Section & Carousel
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071e36 0%, #0d3b66 60%, #155e9c 100%);
  color: #ffffff;
  padding: 55px 0 65px;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffd8a8;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-quick-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-quick-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Quick Action Cards (Grid)
   -------------------------------------------------------------------------- */
.quick-action-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
  height: 100%;
}

.quick-action-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.pill-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pill-icon.loan {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.pill-icon.gov {
  background: var(--gov-saffron-soft);
  color: var(--gov-saffron-dark);
}

.pill-icon.other {
  background: var(--gov-green-soft);
  color: var(--gov-green-dark);
}

.pill-text h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.pill-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.section-tag.saffron {
  color: var(--gov-saffron-dark);
  background-color: var(--gov-saffron-soft);
}

.section-tag.green {
  color: var(--gov-green-dark);
  background-color: var(--gov-green-soft);
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

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

/* --------------------------------------------------------------------------
   Service Cards
   -------------------------------------------------------------------------- */
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: #cbd5e1;
}

.service-card.loan-type:hover::before {
  background: var(--primary-blue);
}

.service-card.gov-type:hover::before {
  background: var(--gov-saffron);
}

.service-card.utility-type:hover::before {
  background: var(--gov-green);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.service-icon-box.blue {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.service-icon-box.orange {
  background: var(--gov-saffron-soft);
  color: var(--gov-saffron-dark);
}

.service-icon-box.green {
  background: var(--gov-green-soft);
  color: var(--gov-green-dark);
}

.service-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.82rem;
}

.service-features-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.service-features-list li i {
  color: var(--gov-green);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Interactive EMI Calculator
   -------------------------------------------------------------------------- */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow-hover);
}

.calc-range-wrap {
  margin-bottom: 24px;
}

.calc-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-range-header label {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 0.9rem;
  margin: 0;
}

.calc-value-badge {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.form-range::-webkit-slider-thumb {
  background: var(--primary-blue);
}

.form-range::-moz-range-thumb {
  background: var(--primary-blue);
}

.calc-results-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #123e6b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-emi-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.calc-emi-highlight .emi-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cbd5e1;
}

.calc-emi-highlight .emi-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd8a8;
  line-height: 1.2;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Steps & Process Section
   -------------------------------------------------------------------------- */
.step-card {
  text-align: center;
  position: relative;
  padding: 20px 15px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(13, 91, 181, 0.3);
  position: relative;
  z-index: 2;
}

.step-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Trust & Metrics Bar
   -------------------------------------------------------------------------- */
.trust-stats-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-value {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.gov-breadcrumb-wrap {
  background: #edf2f7;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.breadcrumb-item a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Tables (Citizen & Rates Tables)
   -------------------------------------------------------------------------- */
.gov-table {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #ffffff;
}

.gov-table thead {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.gov-table th {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 16px;
  border: none;
}

.gov-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  vertical-align: middle;
  border-color: #f1f5f9;
}

.gov-table tbody tr:hover {
  background-color: var(--primary-blue-light);
}

/* --------------------------------------------------------------------------
   Track Status Milestone Timeline
   -------------------------------------------------------------------------- */
.track-timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 20px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 30px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 17px;
  bottom: -20px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 18px;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-step.completed .timeline-icon {
  background: var(--gov-green);
  color: #ffffff;
}

.timeline-step.active .timeline-icon {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 91, 181, 0.2);
}

.timeline-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.timeline-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Helpline Callout Banner
   -------------------------------------------------------------------------- */
.helpline-banner {
  background: linear-gradient(135deg, var(--gov-saffron-dark) 0%, var(--gov-saffron) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 8px 24px rgba(247, 127, 0, 0.25);
}

.helpline-banner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.helpline-phone-btn {
  background: #ffffff;
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s;
}

.helpline-phone-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Structured Mega Footer
   -------------------------------------------------------------------------- */
.gov-footer {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  padding-top: 55px;
  border-top: 4px solid var(--gov-saffron);
  font-size: 0.88rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background-color: var(--gov-saffron);
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sec-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 30px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-bottom-bar {
  background: #030d17;
  padding: 18px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Modal & Form Enhancements
   -------------------------------------------------------------------------- */
.modal-header-gov {
  background: var(--primary-navy);
  color: #ffffff;
  border-top-left-radius: calc(var(--bs-modal-inner-border-radius) - 1px);
  border-top-right-radius: calc(var(--bs-modal-inner-border-radius) - 1px);
  padding: 16px 20px;
}

.modal-header-gov .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(13, 91, 181, 0.18);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .portal-brand-logo {
    margin-bottom: 10px;
  }
  .main-navbar .nav-link {
    padding: 10px 14px !important;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .brand-title-group h1 {
    font-size: 1.15rem;
  }
  .stat-value {
    font-size: 1.8rem;
  }
}
