/* ==========================================================================
   Vikas Bhawan Meeting Hall Booking Portal — Design System & Styles
   Government of Bihar • Cabinet Secretariat & Building Construction Department
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  /* Institutional Brand Palette */
  --primary: #0f2942;
  --primary-dark: #071626;
  --primary-light: #1e3a8a;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --accent-hover: #d97706;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* WCAG Status Tokens */
  --status-available-bg: #ecfdf5;
  --status-available-text: #065f46;
  --status-available-border: #6ee7b7;

  --status-booked-bg: #fef2f2;
  --status-booked-text: #991b1b;
  --status-booked-border: #fca5a5;

  --status-blocked-bg: #f1f5f9;
  --status-blocked-text: #334155;
  --status-blocked-border: #cbd5e1;

  --status-pending-bg: #fffbeb;
  --status-pending-text: #92400e;
  --status-pending-border: #fde68a;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.875rem;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.gov-top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gov-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gov-emblem-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.main-header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-text .badge-patna {
  font-size: 0.65rem;
  background-color: var(--accent-light);
  color: #78350f;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: #f1f5f9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #000000;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.hamburger-btn {
  display: none;
  font-size: 1.5rem;
  padding: 0.4rem;
  color: var(--primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  justify-content: flex-end;
}

.mobile-drawer.open {
  display: flex;
}

.drawer-content {
  width: 80%;
  max-width: 320px;
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  animation: slideLeft 0.3s ease-out;
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-links {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
}

.drawer-link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-link:hover, .drawer-link.active {
  background-color: #f1f5f9;
  color: var(--primary);
}

/* ==========================================================================
   Notice Ticker
   ========================================================================== */

.notice-ticker {
  background-color: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 0.6rem 0;
  font-size: 0.78rem;
  color: #78350f;
}

.notice-ticker .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice-badge {
  background-color: var(--accent);
  color: #0f172a;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ticker-text {
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #f59e0b;
}

/* ==========================================================================
   Hero Section & Right-to-Left Slideshow
   ========================================================================== */

.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-color: #020617;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slides-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
  width: 33.3333%;
  height: 100%;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 38, 0.95) 0%, rgba(7, 22, 38, 0.75) 50%, rgba(7, 22, 38, 0.3) 100%),
              linear-gradient(0deg, rgba(7, 22, 38, 0.9) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 680px;
  padding: 3.5rem 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: #fde68a;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.dot-btn.active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--accent);
}

.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

/* ==========================================================================
   Quick Availability Live Widget
   ========================================================================== */

.quick-avail-section {
  padding: 3.5rem 0;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.filter-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--text-main);
  font-weight: 500;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.hall-info-strip {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.legend-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.75rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.avail { background-color: #10b981; }
.legend-dot.booked { background-color: #ef4444; }
.legend-dot.blocked { background-color: #64748b; }
.legend-dot.pending { background-color: #f59e0b; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.slot-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  text-align: left;
  transition: all 0.2s;
  position: relative;
}

.slot-card.available {
  border-color: var(--status-available-border);
  background: #ffffff;
  cursor: pointer;
}

.slot-card.available:hover {
  border-color: #10b981;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.slot-card.selected {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 2px var(--primary);
}

.slot-card.booked {
  border-color: var(--status-booked-border);
  background: rgba(254, 242, 242, 0.7);
  cursor: not-allowed;
  opacity: 0.9;
}

.slot-card.blocked {
  border-color: var(--status-blocked-border);
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.9;
}

.slot-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  width: fit-content;
}

.status-badge.available {
  background-color: var(--status-available-bg);
  color: var(--status-available-text);
  border-color: var(--status-available-border);
}

.status-badge.booked {
  background-color: var(--status-booked-bg);
  color: var(--status-booked-text);
  border-color: var(--status-booked-border);
}

.status-badge.blocked {
  background-color: var(--status-blocked-bg);
  color: var(--status-blocked-text);
  border-color: var(--status-blocked-border);
}

.status-badge.pending {
  background-color: var(--status-pending-bg);
  color: var(--status-pending-text);
  border-color: var(--status-pending-border);
}

/* ==========================================================================
   Facility Showcase Cards
   ========================================================================== */

.facilities-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.halls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.hall-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.hall-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.hall-img-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.hall-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hall-card:hover .hall-img {
  transform: scale(1.05);
}

.hall-code-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.hall-capacity-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.hall-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1.25rem;
}

.hall-title-box h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.hall-floor {
  font-size: 0.75rem;
  color: #92400e;
  font-weight: 600;
}

.hall-desc {
  font-size: 0.825rem;
  color: #475569;
  line-height: 1.6;
}

.hall-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #334155;
}

.hall-specs li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   How to Book Steps
   ========================================================================== */

.steps-section {
  padding: 4.5rem 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
}

.step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.step-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Multi-Step Booking Stepper Form
   ========================================================================== */

.booking-wrapper {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.stepper-header {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  transition: all 0.2s;
}

.step-node.active .node-circle {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 41, 66, 0.15);
}

.step-node.completed .node-circle {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.step-node.active .node-label {
  color: var(--primary);
}

.step-node.completed .node-label {
  color: #065f46;
}

.form-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: none;
}

.form-step-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.step-title-area {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.step-title-area h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Printable Official Booking Slip
   ========================================================================== */

.official-slip {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.slip-header {
  text-align: center;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.slip-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.slip-header p {
  font-size: 0.78rem;
  color: #475569;
}

.slip-title-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.85rem;
  border-radius: 4px;
  margin-top: 0.75rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f172a;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}

.slip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  font-size: 0.825rem;
  margin-bottom: 1.5rem;
}

.slip-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #cbd5e1;
  font-size: 0.75rem;
}

.signature-box {
  text-align: center;
}

.signature-line {
  width: 160px;
  border-bottom: 1px solid #0f172a;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  border-top: 4px solid var(--accent);
  margin-top: auto;
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 0.65rem;
  border-left: 3px solid var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  background-color: #020617;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Print Stylesheet
   ========================================================================== */

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .gov-top-bar, .main-header, .main-footer, .no-print, .btn, .actions-row {
    display: none !important;
  }
  .official-slip {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 1.5cm !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .desktop-nav, .header-actions .btn-secondary {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .stepper-header {
    grid-template-columns: repeat(5, 1fr);
    padding: 0.75rem 0.25rem;
  }
  .node-label {
    display: none;
  }
  .form-step-card {
    padding: 1.25rem;
  }
  .hero-slider-section {
    min-height: 480px;
  }
  .slider-arrow {
    display: none;
  }
}
