/* ========================================
   THEME SYSTEM - Light & Dark Mode
   ======================================== */

/* Prevent FOUC (Flash of Unstyled Content) */
html:not([data-theme]) {
  visibility: hidden;
}

html[data-theme] {
  visibility: visible;
}

:root {
  /* Light Mode Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --border-color: #dee2e6;
  --card-bg: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --sidebar-bg: #1a1a2e;
  --sidebar-text: #ffffff;
  --orb-1: rgba(102, 126, 234, 0.6);
  --orb-2: rgba(118, 75, 162, 0.6);
  --orb-3: rgba(77, 171, 247, 0.6);
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #9ca3af; /* Brighter muted text for better visibility in dark mode */
  --border-color: #30363d;
  --card-bg: rgba(22, 27, 34, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --sidebar-bg: #0d1117;
  --sidebar-text: #e6edf3;
  --orb-1: rgba(102, 126, 234, 0.4);
  --orb-2: rgba(118, 75, 162, 0.4);
  --orb-3: rgba(77, 171, 247, 0.4);
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-strong: rgba(0, 0, 0, 0.5);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background Orbs */
.orbs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--orb-1);
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--orb-2);
  bottom: -10%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--orb-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, 100px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 50px) scale(0.9);
  }
  75% {
    transform: translate(80px, -70px) scale(1.05);
  }
}

/* Frosted Glass Effect */
.glass {
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px 0 var(--shadow);
}

.glass-strong {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px 0 var(--shadow-strong);
}

/* Card Hover Effects */
.glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 var(--shadow-strong);
  border-color: var(--primary) !important;
  transition: all 0.3s ease;
}

.card.glass {
  transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1050;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px var(--shadow-strong);
}

.theme-toggle i {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Bootstrap Text Utilities - Override for Theme Support */
.text-secondary {
  color: var(--text-secondary) !important;
}

.text-dark {
  color: var(--text-primary) !important;
}

.text-light {
  color: var(--text-muted) !important;
}

.small, small {
  color: var(--text-secondary);
}

/* Headings and Text Color Override */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--text-primary);
}

p {
  color: var(--text-primary);
}

/* Form Controls with Theme Support */
.form-control, .form-select {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: #4dabf7 !important;
  box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
}

.form-label {
  color: var(--text-primary);
}

/* Form Text (Help Text) - Make visible in dark mode */
.form-text {
  color: var(--text-secondary) !important;
}

/* Placeholder Text - Make visible in all modes */
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-secondary) !important;
  opacity: 0.7;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--text-secondary);
  text-align: end;
  opacity: 0.7;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
  opacity: 0.8;
}

/* Bootstrap text-muted override for better visibility in dark mode */
.text-muted {
  color: var(--text-muted) !important;
}

/* Tables with Theme Support and Frosted Glass Effect */
.table {
  color: var(--text-primary) !important;
  background: transparent !important;
  border-color: var(--border-color) !important;
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
}

/* Table Header with Frosted Glass */
.table thead th,
.table-dark thead th {
  background: var(--card-bg) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--text-primary) !important;
  border-color: var(--glass-border) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem 0.75rem;
  box-shadow: 0 2px 8px var(--shadow);
  --bs-table-bg: transparent !important;
}

/* Table Body Cells with Frosted Glass */
.table tbody td, .table tbody th {
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--glass-border) !important;
  color: var(--text-primary) !important;
  padding: 0.75rem;
}

/* Table Rows */
.table tbody tr {
  background: transparent !important;
  transition: all 0.2s ease;
}

/* Striped Tables - Override Bootstrap white background */
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  --bs-table-accent-bg: transparent !important;
}

.table-striped > tbody > tr:nth-of-type(even) > * {
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Table Hover Effect */
.table-hover > tbody > tr:hover > * {
  background: var(--bg-tertiary) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: translateX(2px);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

/* Table Wrapper for Glass Effect */
.table-responsive {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px var(--shadow);
  padding: 0.5rem;
  overflow: hidden;
}

.table-responsive .table {
  margin-bottom: 0;
}

/* Table Borders */
.table-bordered > :not(caption) > * > * {
  border-color: var(--glass-border) !important;
}

/* Bootstrap Background Color Overrides for Theme Support */
.bg-light {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
}

.bg-dark {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.bg-white {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

/* Badge with bg-white - Keep good contrast */
.badge.bg-white {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

/* Badge text colors to ensure visibility */
.badge.text-primary {
  color: #4dabf7 !important;
}

/* List Group Items with Theme Support */
.list-group-item.bg-white {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

/* Card Header Overrides */
.card-header {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border-color: var(--glass-border) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-header.bg-primary,
.card-header.bg-success,
.card-header.bg-info,
.card-header.bg-warning,
.card-header.bg-danger {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-footer {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border-color: var(--glass-border) !important;
}

/* Modals with Glass Effect */
.modal-content {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary);
}

.modal-header, .modal-footer {
  border-color: var(--border-color);
}

.modal-title {
  color: var(--text-primary);
}

/* List Groups with Glass Effect */
.list-group {
  background: transparent;
}

.list-group-item {
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--border-color) !important;
  color: var(--text-primary);
}

.list-group-item:hover {
  background: var(--bg-tertiary) !important;
}

/* Alerts with Theme Support */
.alert {
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Canvas and Chart Container */
canvas {
  background: transparent !important;
}

/* Override inline background styles */
[style*="background"] {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mobile-First Responsive Improvements */
/* Card Spacing with Glass Effect */
.card {
  margin-bottom: 1rem;
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.card:hover {
  box-shadow: 0 8px 24px var(--shadow-strong);
  transform: translateY(-2px);
}

.card-body {
  color: var(--text-primary);
}

.card-title {
  color: var(--text-primary) !important;
}

.card-subtitle {
  color: var(--text-muted) !important;
}

.card-text {
  color: var(--text-secondary);
}

/* Bootstrap Badges with Theme Support */
.badge {
  color: #fff !important;
}

/* Notification Badge - Only show when it has content */
.badge.rounded-pill:empty {
  display: none !important;
}

/* Remove list bullet/dot from notification nav-item */
.nav-item.dropdown {
  list-style: none !important;
}

/* Remove Bootstrap dropdown toggle indicator (caret/dot) but keep the bell icon */
#notificationDropdown::after {
  display: none !important;
}

/* Ensure no indicators on the nav-link wrapper */
#notificationDropdown.nav-link::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 768px) {
  .card {
    margin-bottom: 1.5rem;
  }
}

/* Button Spacing in Containers */
.btn-group .btn,
.d-flex .btn,
.d-grid .btn {
  margin: 0.25rem;
}

@media (max-width: 767px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    margin-bottom: 0.5rem;
  }
}

/* Table Responsive Improvements */
.table-responsive {
  margin-bottom: 1rem;
}

/* Card Body Padding on Mobile */
@media (max-width: 575px) {
  .card-body {
    padding: 1rem 0.75rem;
  }
}

/* Row Gap for Cards */
.row.g-4 {
  gap: 1rem;
}

@media (min-width: 768px) {
  .row.g-4 {
    gap: 1.5rem;
  }
}

/* Stat Card Improvements */
.stat-card {
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

/* Mobile Container Padding */
@media (max-width: 575px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Button Margin Utilities */
.btn-spacing {
  margin: 0.25rem;
}

@media (max-width: 575px) {
  .btn-spacing {
    margin: 0.35rem 0;
    width: 100%;
  }
}

/* ===== SIDEBAR NAVIGATION ===== */
/* Sidebar Container with Glass Effect and Theme Support */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1040;
  transition: transform 0.3s ease-in-out, background 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 2px 0 20px var(--shadow-strong);
  border-right: 1px solid var(--glass-border);
}

/* Sidebar hidden state on mobile/tablet */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
}

/* Sidebar always visible on desktop */
@media (min-width: 992px) {
  .sidebar {
    transform: translateX(0);
  }
}

/* Sidebar Header */
.sidebar-header {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.sidebar-brand {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.sidebar-brand i {
  font-size: 1.5rem;
  color: #4dabf7;
  transition: color 0.3s ease;
}

.sidebar-brand:hover {
  color: #4dabf7;
}

/* Close button for mobile/tablet */
.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  display: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.3s ease;
}

.sidebar-close:hover {
  opacity: 1;
  color: #4dabf7;
}

@media (max-width: 991px) {
  .sidebar-close {
    display: block;
  }
}

/* Sidebar Navigation */
.sidebar-nav {
  padding: 1rem 0;
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-section-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.sidebar-nav .nav-link {
  color: var(--text-primary);
  opacity: 0.8;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.sidebar-nav .nav-link:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  color: var(--text-primary);
  border-left-color: #4dabf7;
}

.sidebar-nav .nav-link.active {
  background: rgba(77, 171, 247, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  color: #4dabf7;
  border-left-color: #4dabf7;
  font-weight: 500;
}

/* User Info Section */
.sidebar-user {
  padding: 1rem;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: auto;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.user-details {
  flex: 1;
}

.user-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.user-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Main Content Wrapper */
.main-wrapper {
  display: flex;
  min-height: 100vh;
}

/* 1. The Main Wrapper acts as a column - takes full viewport height */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Takes up full height of screen */
  transition: margin-left 0.3s ease-in-out;
}

/* Adjust main content margin on desktop */
@media (min-width: 992px) {
  .main-content {
    margin-left: 260px;
  }
}

/* Top Header Bar with Glass Effect */
.top-header {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.3s ease;
}

.menu-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: var(--text-primary);
  display: none;
  transition: color 0.3s ease;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
}

/* Backdrop for mobile/tablet */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1039;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.sidebar-backdrop.show {
  display: block;
  opacity: 1;
}

/* Scrollbar Styling for Sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 2. The Content area grows to fill available space - pushes footer down */
.page-content {
  padding: 1.5rem;
  flex: 1 0 auto; /* This pushes the footer down */
  width: 100%;
}

@media (min-width: 768px) {
  .page-content {
    padding: 2rem;
  }
}

/* 3. The Footer sits naturally at the bottom - no overlap */
.footer {
  flex-shrink: 0; /* Prevents footer from getting squashed */
  margin-top: auto;
  width: 100%;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Optional: Fix for Mobile Overlap */
@media (max-width: 767px) {
  .footer {
    position: relative;
    height: auto; /* Allow footer to grow if text wraps */
    padding-bottom: 60px; /* Extra buffer for mobile browser bars */
  }
}

/* ===== PUBLIC NAVBAR (Non-Authenticated Users) ===== */
/* Frosted Glass Navbar with Theme Support */
.navbar {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border) !important;
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.navbar-brand {
  color: var(--text-primary) !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #4dabf7 !important;
}

.navbar-brand i {
  color: #4dabf7;
}

/* Navbar Links with Theme Support */
.navbar-light .navbar-nav .nav-link {
  color: var(--text-primary) !important;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #4dabf7 !important;
}

/* Navbar Toggler for Mobile */
.navbar-toggler {
  border-color: var(--border-color) !important;
}

.navbar-toggler-icon {
  filter: var(--text-primary);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

/* Public Footer Theme Support */
footer.bg-dark {
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  transition: background 0.3s ease, color 0.3s ease;
}

footer.bg-dark h5,
footer.bg-dark h6 {
  color: var(--text-primary) !important;
}

footer.bg-dark .text-white-50,
footer.bg-dark a {
  color: var(--text-secondary) !important;
}

footer.bg-dark a:hover {
  color: #4dabf7 !important;
}

/* Hero Section Theme Support */
.hero-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-section h1,
.hero-section .display-3 {
  color: var(--text-primary);
}

.hero-section p,
.hero-section .lead {
  color: var(--text-secondary);
}

/* Badge overrides for hero section */
.hero-section .badge {
  background-color: rgba(77, 171, 247, 0.2) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(77, 171, 247, 0.3);
}

[data-theme="dark"] .hero-section .badge {
  background-color: rgba(77, 171, 247, 0.15) !important;
  color: #ffffff !important;
}