/* =========================================
   Healthcare Dashboard System
   Modern App-Style Dashboard Design
   ========================================= */

/* === CSS Variables for Theme === */
:root {
  /* Dashboard Color Palette */
  --primary-color: #4F46E5; /* Indigo 600 - Dashboard accent */
  --primary-dark: #4338CA;  /* Indigo 700 */
  --primary-light: #818CF8; /* Indigo 400 */
  --primary-soft: rgba(79, 70, 229, 0.08);
  
  --secondary-color: #10B981; /* Emerald 500 */
  --secondary-dark: #059669;  /* Emerald 600 */
  --secondary-light: #6EE7B7; /* Emerald 300 */
  
  --accent-color: #8B5CF6;    /* Violet 500 */
  --accent-success: #10B981;  /* Emerald 500 */
  --accent-warning: #F59E0B;  /* Amber 500 */
  --accent-danger: #EF4444;   /* Red 500 */
  --accent-info: #06B6D4;     /* Cyan 500 */
  
  --text-primary: #1E293B;    /* Slate 800 */
  --text-secondary: #64748B;  /* Slate 500 */
  --text-muted: #94A3B8;      /* Slate 400 */
  --text-light: #F8FAFC;      /* Slate 50 */
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;    /* Slate 50 */
  --bg-tertiary: #F1F5F9;     /* Slate 100 */
  --bg-sidebar: #1E293B;      /* Slate 800 - Dark sidebar */
  --bg-sidebar-hover: #334155; /* Slate 700 */
  
  --border-color: #E2E8F0;    /* Slate 200 */
  --border-light: #F1F5F9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Dashboard Utilities === */
.glass-panel {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.glass-card {
  background: white;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border-radius: var(--radius-lg);
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
}

/* Stat Cards */
.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 0.25rem;
}

.stat-card .stat-change {
  font-size: 0.75rem;
  font-weight: 500;
}

.stat-card .stat-change.positive {
  color: var(--accent-success);
}

.stat-card .stat-change.negative {
  color: var(--accent-danger);
}

/* Stat card links with better contrast */
.stat-card a.small,
.stat-card .small a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.stat-card a.small:hover,
.stat-card .small a:hover {
  color: var(--primary-color);
}

.stat-card .text-muted.small,
.stat-card .small.text-muted {
  color: var(--text-primary);
  opacity: 0.7;
}

/* === Text Colors === */
.text-gradient {
  color: var(--primary-color);
  font-weight: 700;
}

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

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hover-lift {
  transition: box-shadow var(--transition-fast);
}

.hover-lift:hover {
  box-shadow: var(--shadow-md);
}

.hover-scale {
  transition: transform var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.01);
}

/* Better focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth page transitions */
main {
  animation: fadeIn 0.3s ease-out;
}

/* === Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.display-1, .display-2, .display-3, .display-4 {
  font-weight: 700;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-primary);
  opacity: 0.75;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* === Top Navigation Bar === */
.navbar {
  background: white !important;
  box-shadow: 0 1px 0 var(--border-color);
  padding: 0;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  min-width: 200px;
}

.navbar-brand i {
  color: var(--primary-color);
  margin-right: 0.625rem;
  font-size: 1.375rem;
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  color: var(--text-secondary);
  background: transparent;
  order: -1;
  margin-right: 0.5rem;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1051;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler:hover {
  background: var(--primary-soft);
  border-radius: var(--radius-md);
}

/* Animated Hamburger Icon */
.navbar-toggler-icon {
  width: 22px;
  height: 16px;
  position: relative;
  background: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.navbar-toggler-icon::before {
  position: absolute;
  top: 0;
}

.navbar-toggler-icon::after {
  position: absolute;
  bottom: 0;
}

.navbar-toggler-icon span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Hamburger to X animation when menu is open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0 !important;
  }

  .navbar > .container-fluid {
    flex-wrap: nowrap;
    padding: 0 1rem;
    height: 60px;
    position: relative;
    justify-content: center;
  }

  .navbar-toggler {
    position: absolute;
    left: 1rem;
    z-index: 1051;
  }

  .navbar-brand {
    border-right: none;
    min-width: auto;
    padding: 0;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-brand span {
    display: inline;
  }

  /* Hide user dropdown or move to right on mobile */
  .navbar > .container-fluid > .dropdown,
  .navbar > .container-fluid > .d-flex {
    position: absolute;
    right: 1rem;
  }

  /* Mobile Menu Sidebar */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    padding: 80px 1.25rem 1.25rem 1.25rem;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  .navbar-collapse.show {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar-collapse.collapsing {
    transform: translateX(-100%);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .navbar-collapse .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
  }

  .navbar-collapse .nav-item {
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Staggered animation for menu items */
  .navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.05s; }
  .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.1s; }
  .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.15s; }
  .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.2s; }
  .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.25s; }
  .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.3s; }
  .navbar-collapse.show .nav-item:nth-child(7) { transition-delay: 0.35s; }
  .navbar-collapse.show .nav-item:nth-child(8) { transition-delay: 0.4s; }

  .navbar-collapse .nav-link {
    height: auto;
    padding: 0.875rem 1rem !important;
    border-radius: var(--radius-md);
    color: var(--text-primary) !important;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    background: var(--primary-soft);
    color: var(--primary-color) !important;
    transform: translateX(4px);
  }

  .navbar-collapse .nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.8;
  }

  .navbar-collapse .nav-link:hover i {
    opacity: 1;
  }

  /* Mobile menu overlay */
  .navbar-collapse::before {
    content: '';
    position: fixed;
    top: 0;
    left: 300px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    backdrop-filter: blur(2px);
  }

  .navbar-collapse.show::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* User dropdown in mobile */
  .navbar-collapse .dropdown {
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar-collapse.show .dropdown {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.35s;
  }

  .navbar-collapse .dropdown .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
  }

  .navbar-collapse .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-top: 0.25rem;
    animation: slideDown 0.2s ease;
  }

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

  /* Mobile header title */
  .navbar-collapse::after {
    content: 'Menu';
    position: absolute;
    top: 24px;
    left: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
  }

  /* Close button hint */
  .navbar-collapse .close-hint {
    position: absolute;
    top: 28px;
    right: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
  }
}

.nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.125rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--text-secondary) !important;
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-soft);
}

.nav-link i {
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* User dropdown in navbar */
.navbar .dropdown-toggle::after {
  display: none;
}

.navbar .btn-outline-light {
  border-color: var(--border-color);
  color: var(--text-secondary);
  background: transparent;
}

.navbar .btn-outline-light:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

/* === Buttons === */
.btn {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  cursor: pointer;
}

.btn i {
  font-size: 0.875rem;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-success {
  background: var(--secondary-color);
  color: white;
}

.btn-success:hover {
  background: var(--secondary-dark);
}

.btn-danger {
  background: var(--accent-danger);
  color: white;
}

.btn-danger:hover {
  background: #DC2626;
}

.btn-warning {
  background: var(--accent-warning);
  color: white;
}

.btn-warning:hover {
  background: #D97706;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-outline-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  background: white;
}

.btn-outline-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-muted);
}

.btn-outline-success {
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
}

.btn-outline-success:hover {
  background: var(--secondary-color);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
}

.btn-ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-lg {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

.btn-sm {
  padding: 0.3125rem 0.625rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* === Cards / Panels === */
.card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-color: white;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-sm);
}

.card-header {
  background: white;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header .card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 0.875rem 1.25rem;
}

.card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  color: var(--text-primary);
}

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

/* === Forms === */
.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}

.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  background-color: white;
  color: var(--text-primary);
  height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control-sm {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}

.input-group-text {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-right: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.input-group .form-control {
  border-left: none;
}

.input-group:focus-within .input-group-text {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.input-group:focus-within .form-control {
  border-left: 1px solid var(--primary-color);
}

/* Search input */
.search-input {
  background: var(--bg-secondary);
  border: none;
  padding-left: 2.5rem;
}

.search-input:focus {
  background: white;
  border: 1px solid var(--primary-color);
}

/* Form help text */
.form-text {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* === Alerts === */
.alert {
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background-color: #ECFDF5;
  color: #065F46;
}

.alert-danger {
  background-color: #FEF2F2;
  color: #991B1B;
}

.alert-warning {
  background-color: #FFFBEB;
  color: #92400E;
}

.alert-info {
  background-color: #F0F9FF;
  color: #075985;
}

/* === Data Tables === */
.table {
  background-color: white;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.table thead {
  background: var(--bg-secondary);
}

.table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border: none;
  color: var(--text-secondary);
  white-space: nowrap;
}

.table tbody tr {
  transition: background-color var(--transition-fast);
  border-bottom: 1px solid var(--border-light);
}

.table tbody tr:hover {
  background-color: var(--bg-secondary);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  color: var(--text-primary);
}

.table-actions {
  white-space: nowrap;
}

.table-actions .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* === Status Badges === */
.badge {
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge.bg-success {
  background-color: #D1FAE5 !important;
  color: #065F46 !important;
}

.badge.bg-danger {
  background-color: #FEE2E2 !important;
  color: #991B1B !important;
}

.badge.bg-warning {
  background-color: #FEF3C7 !important;
  color: #92400E !important;
}

.badge.bg-info {
  background-color: #CFFAFE !important;
  color: #155E75 !important;
}

.badge.bg-primary {
  background-color: #E0E7FF !important;
  color: #3730A3 !important;
}

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

/* === Dashboard Metric Cards === */
.dashboard-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
}

.dashboard-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.875rem;
}

.dashboard-card .icon.icon-primary {
  background: #E0E7FF;
  color: #4F46E5;
}

.dashboard-card .icon.icon-success {
  background: #D1FAE5;
  color: #059669;
}

.dashboard-card .icon.icon-warning {
  background: #FEF3C7;
  color: #D97706;
}

.dashboard-card .icon.icon-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.dashboard-card .icon.icon-info {
  background: #CFFAFE;
  color: #0891B2;
}

.dashboard-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dashboard-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

/* === Appointment Status === */
.status-scheduled {
  background: #E0E7FF;
  color: #4F46E5;
}

.status-completed {
  background: #D1FAE5;
  color: #065F46;
}

.status-cancelled {
  background: #FEE2E2;
  color: #991B1B;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
}

/* === Dropdown Menu === */
.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.25rem;
  margin-top: 0.25rem;
  min-width: 10rem;
  font-size: 0.875rem;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.dropdown-item i {
  width: 1.25rem;
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item:hover i {
  color: var(--primary-color);
}

.dropdown-item.text-danger {
  color: var(--accent-danger);
}

.dropdown-item.text-danger:hover {
  background-color: #FEF2F2;
}

.dropdown-divider {
  border-color: var(--border-color);
  margin: 0.25rem 0;
}

/* === Footer === */
footer {
  background: white;
  color: var(--text-muted);
  padding: 1rem 0;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border-color);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
}

/* === Utilities === */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

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

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

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

.bg-light {
  background-color: var(--bg-secondary) !important;
}

.bg-gradient-primary {
  background: var(--primary-color);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeInUp 0.3s ease-out;
}

.slide-in {
  animation: slideIn var(--transition-base) ease-out;
}

/* Content wrapper animation */
.container-fluid, .container {
  animation: fadeInUp 0.2s ease-out;
}

/* === Responsive === */
@media (max-width: 768px) {
  .dashboard-card {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .navbar-brand {
    min-width: auto;
    padding: 0 1rem;
    border-right: none;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-card .stat-value {
    font-size: 1.5rem;
  }
}

/* === Empty States === */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h5 {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* === Avatar === */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--primary-soft);
  color: var(--primary-color);
}

.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

/* === Quick Actions === */
.quick-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* === List Group for Dashboard === */
.list-group-flush .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 0.875rem 1.25rem;
}

.list-group-flush .list-group-item:first-child {
  border-top: 0;
}

.list-group-flush .list-group-item:last-child {
  border-bottom: 0;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* === Selection === */
::selection {
  background: var(--primary-color);
  color: white;
}

/* === Loading States === */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* === Accessibility === */
.btn:focus-visible,
.form-control:focus-visible,
.form-check-input:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Print Styles === */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
}

/* === Welcome Banner / Hero Section === */
.welcome-banner {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #7C3AED 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-bg 8s ease-in-out infinite;
}

.welcome-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-bg 10s ease-in-out infinite reverse;
}

@keyframes float-bg {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.welcome-banner h1,
.welcome-banner h2 {
  color: white;
  position: relative;
  z-index: 1;
}

.welcome-banner p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.welcome-banner .btn {
  position: relative;
  z-index: 1;
}

.welcome-banner .badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

/* === Feature Cards === */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  height: 100%;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon-primary {
  background: #E0E7FF;
  color: #4F46E5;
}

.feature-icon-success {
  background: #D1FAE5;
  color: #059669;
}

.feature-icon-info {
  background: #CFFAFE;
  color: #0891B2;
}

.feature-icon-warning {
  background: #FEF3C7;
  color: #D97706;
}

.feature-icon-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.feature-icon-secondary {
  background: #F1F5F9;
  color: #64748B;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* === CTA Card === */
.cta-card {
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
  border-radius: var(--radius-xl);
  padding: 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
  min-height: 280px;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: cta-float 8s ease-in-out infinite;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: cta-float 10s ease-in-out infinite reverse;
}

@keyframes cta-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -15px) scale(1.05); }
}

/* Decorative shapes */
.cta-deco {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.cta-deco-1 {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  top: 15%;
  left: 8%;
  animation: deco-pulse 4s ease-in-out infinite;
}

.cta-deco-2 {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  bottom: 20%;
  right: 12%;
  animation: deco-pulse 5s ease-in-out infinite 1s;
}

.cta-deco-3 {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  top: 60%;
  left: 15%;
  animation: deco-pulse 3s ease-in-out infinite 0.5s;
}

@keyframes deco-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Floating icons */
.cta-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  z-index: 1;
}

.cta-icon-1 {
  top: 20%;
  right: 18%;
  animation: icon-float-1 4s ease-in-out infinite;
}

.cta-icon-2 {
  bottom: 25%;
  left: 10%;
  animation: icon-float-2 5s ease-in-out infinite;
}

.cta-icon-3 {
  top: 35%;
  left: 5%;
  animation: icon-float-3 4.5s ease-in-out infinite;
}

@keyframes icon-float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes icon-float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-8deg); }
}

@keyframes icon-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -8px); }
}

/* Dot pattern */
.cta-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 25px 25px;
  z-index: 0;
  opacity: 0.4;
}

/* Badge */
.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.cta-card h4,
.cta-card h3 {
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  font-size: 1.75rem;
}

.cta-card p,
.cta-subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

.cta-card .btn,
.cta-btn {
  position: relative;
  z-index: 2;
  background: white;
  color: #059669;
  border: none;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: white;
  color: #047857;
}

/* Trust indicators */
.cta-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-trust span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 500;
}

.cta-trust i {
  color: rgba(255, 255, 255, 0.9);
}

/* === Hero Illustration Container === */
.hero-illustration-container {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main central heartbeat icon */
.hero-main-icon {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
  animation: pulse-main 2s ease-in-out infinite;
}

@keyframes pulse-main {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Floating medical icons */
.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.floating-1 {
  top: 10%;
  left: 10%;
  animation: float-1 4s ease-in-out infinite;
}

.floating-2 {
  top: 5%;
  right: 20%;
  animation: float-2 5s ease-in-out infinite;
}

.floating-3 {
  bottom: 25%;
  left: 0;
  animation: float-3 4.5s ease-in-out infinite;
}

.floating-4 {
  bottom: 10%;
  left: 25%;
  animation: float-4 3.5s ease-in-out infinite;
}

.floating-5 {
  bottom: 15%;
  right: 5%;
  animation: float-5 5.5s ease-in-out infinite;
}

.floating-6 {
  top: 30%;
  right: 0;
  animation: float-6 4s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5px, -15px) rotate(5deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, 12px) rotate(-5deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -8px); }
}

@keyframes float-4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5px, 10px) rotate(8deg); }
}

@keyframes float-5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

@keyframes float-6 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, 8px) rotate(-8deg); }
}

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.deco-1 {
  width: 180px;
  height: 180px;
  top: -10%;
  right: -15%;
  animation: scale-pulse 6s ease-in-out infinite;
}

.deco-2 {
  width: 100px;
  height: 100px;
  bottom: 5%;
  left: -10%;
  animation: scale-pulse 5s ease-in-out infinite 1s;
}

.deco-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 10%;
  background: rgba(255, 255, 255, 0.12);
  animation: scale-pulse 4s ease-in-out infinite 0.5s;
}

@keyframes scale-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Decorative rings */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.deco-4 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-rotate 20s linear infinite;
}

.deco-5 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  animation: ring-rotate 30s linear infinite reverse;
}

@keyframes ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Pulse rings emanating from center */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.pulse-1 {
  animation: pulse-expand 3s ease-out infinite;
}

.pulse-2 {
  animation: pulse-expand 3s ease-out infinite 1s;
}

.pulse-3 {
  animation: pulse-expand 3s ease-out infinite 2s;
}

@keyframes pulse-expand {
  0% {
    width: 120px;
    height: 120px;
    opacity: 0.6;
  }
  100% {
    width: 280px;
    height: 280px;
    opacity: 0;
  }
}

/* Dot pattern background */
.dot-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
  opacity: 0.5;
}

/* Legacy support */
.hero-illustration {
  position: relative;
}

.hero-illustration img,
.hero-illustration svg {
  max-width: 100%;
  height: auto;
}

/* Animated floating effect for hero images */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-illustration .floating {
  animation: float 4s ease-in-out infinite;
}

/* === Section Headings === */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* === Info Cards (Smaller Feature Cards) === */
.info-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.info-card:hover {
  background: var(--bg-tertiary);
}

.info-card .info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-card h6 {
  font-weight: 600;
  margin-bottom: 0.125rem;
  font-size: 0.875rem;
}

.info-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* === Quick Action Grid === */
.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-primary);
  min-height: 100px;
}

.quick-action:hover {
  background: var(--primary-soft);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.quick-action i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.quick-action span {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* === Nav Tabs (Custom Styling) === */
.nav-tabs {
  border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
  color: var(--text-secondary);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1rem;
  margin-bottom: -1px;
  border-radius: 0;
  height: auto;
  background: transparent;
}

.nav-tabs .nav-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-light);
  background: transparent;
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: transparent;
  font-weight: 600;
}

.nav-tabs .nav-link .badge {
  font-size: 0.65rem;
}

/* === Responsive Table === */
@media (max-width: 768px) {
  .table thead {
    display: none;
  }
  
  .table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: white;
  }
  
  .table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border: none;
  }
  
  .table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
  }
}

/* === Action Buttons Hover === */
.btn-ghost:hover {
  background: var(--bg-tertiary);
}

.btn-ghost.text-danger:hover {
  background: #FEF2F2;
}

.btn-ghost.text-success:hover {
  background: #ECFDF5;
}

/* === Card Footer === */
.card-footer {
  background: white;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
}

/* === Form Validation States === */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--accent-danger);
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--secondary-color);
}

.invalid-feedback {
  color: var(--accent-danger);
  font-size: 0.75rem;
}

.valid-feedback {
  color: var(--secondary-color);
  font-size: 0.75rem;
}

/* === Tooltip Styling === */
.tooltip {
  font-size: 0.75rem;
}

.tooltip .tooltip-inner {
  background-color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.625rem;
}

/* === Modal Styling === */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem;
}

.modal-body {
  padding: 1.25rem;
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
}

/* === Breadcrumb === */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
}

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

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

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* === Pagination === */
.pagination {
  gap: 0.25rem;
}

.page-link {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.page-link:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--primary-color);
}

.page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.page-item.disabled .page-link {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* === Progress Bar === */
.progress {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
}

.progress-bar {
  border-radius: var(--radius-full);
  background: var(--primary-color);
}

/* === Custom Checkbox & Radio === */
.form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--border-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--primary-soft);
  border-color: var(--primary-color);
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.25rem;
}

/* === Switch Toggle === */
.form-switch .form-check-input {
  width: 2.5rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
}

/* === Links === */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* === Border Warning Override === */
.border-warning {
  border-color: var(--accent-warning) !important;
  border-width: 2px !important;
}

/* ==========================================
   NEW LANDING PAGE SECTION STYLES
   ========================================== */

/* === Section Headers === */
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.1));
  color: var(--primary-color);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.section-badge-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.section-badge-info {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
  color: #4F46E5;
  border-color: rgba(99, 102, 241, 0.2);
}

.section-badge-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* === How It Works Section === */
.how-it-works-section {
  position: relative;
}

.steps-container {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 120px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-color) 0%, 
    #10B981 33%, 
    #F59E0B 66%, 
    #EC4899 100%);
  border-radius: 3px;
  z-index: 0;
}

.step-card-new {
  background: white;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.step-card-new:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(79, 70, 229, 0.15);
}

.step-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
  white-space: nowrap;
}

.step-2 .step-badge {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.step-3 .step-badge {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.step-4 .step-badge,
.step-badge-final {
  background: linear-gradient(135deg, #EC4899, #DB2777) !important;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4) !important;
}

.step-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 1rem auto 1.5rem;
}

.step-icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #EEF2FF, #E0E7FF);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.step-2 .step-icon-bg {
  background: linear-gradient(145deg, #D1FAE5, #A7F3D0);
}

.step-3 .step-icon-bg {
  background: linear-gradient(145deg, #FEF3C7, #FDE68A);
}

.step-4 .step-icon-bg {
  background: linear-gradient(145deg, #FCE7F3, #FBCFE8);
}

.step-icon-new {
  position: absolute;
  inset: 10px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  z-index: 2;
}

.step-2 .step-icon-new {
  color: #059669;
}

.step-3 .step-icon-new {
  color: #D97706;
}

.step-4 .step-icon-new {
  color: #DB2777;
}

.step-card-new:hover .step-icon-bg {
  transform: scale(1.1);
}

.step-card-new:hover .step-icon-new {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  transform: scale(1.05);
}

.step-2:hover .step-icon-new {
  background: linear-gradient(135deg, #10B981, #059669);
}

.step-3:hover .step-icon-new {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.step-4:hover .step-icon-new {
  background: linear-gradient(135deg, #EC4899, #DB2777);
}

.step-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  opacity: 0;
  animation: step-pulse 2s ease-out infinite;
}

.step-card-new:hover .step-pulse {
  opacity: 1;
}

@keyframes step-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.step-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 5;
  font-size: 0.9rem;
}

/* === Services Section === */
.services-section {
  position: relative;
}

.service-card-new {
  background: white;
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  --service-color: var(--primary-color);
  --service-color-light: rgba(79, 70, 229, 0.1);
}

.service-purple {
  --service-color: #6366F1;
  --service-color-light: rgba(99, 102, 241, 0.1);
}

.service-orange {
  --service-color: #F59E0B;
  --service-color-light: rgba(245, 158, 11, 0.1);
}

.service-card-new:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  display: flex;
  justify-content: center;
}

.service-icon-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px dashed var(--service-color);
  border-radius: 50%;
  opacity: 0.2;
  animation: service-ring-spin 20s linear infinite;
}

@keyframes service-ring-spin {
  100% { transform: rotate(360deg); }
}

.service-icon-wrapper .service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, var(--service-color-light), white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--service-color);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card-new:hover .service-icon {
  background: var(--service-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
}

.service-purple:hover .service-icon {
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.service-orange:hover .service-icon {
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.service-content {
  padding: 0 2rem 2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.service-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

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

.service-list li:hover {
  color: var(--text-primary);
  padding-left: 0.5rem;
}

.service-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.service-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--service-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card-new:hover .service-hover-effect {
  transform: scaleX(1);
}

/* === FAQ Section === */
.faq-section {
  position: relative;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  display: flex;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.faq-icon-green {
  background: linear-gradient(135deg, #10B981, #059669);
}

.faq-icon-orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.faq-icon-purple {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
}

.faq-content {
  flex: 1;
  min-width: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question span {
  flex: 1;
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-question:not(.collapsed) .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  padding-top: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* === CTA Section === */
.cta-section-new {
  position: relative;
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 30%, #06B6D4 70%, #14B8A6 100%);
  border-radius: 32px;
  padding: 4rem 2rem;
  overflow: hidden;
  margin-top: 2rem;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: white;
  top: -200px;
  right: -100px;
  animation: cta-float-1 15s ease-in-out infinite;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: white;
  bottom: -150px;
  left: -50px;
  animation: cta-float-2 12s ease-in-out infinite;
}

.cta-shape-3 {
  width: 200px;
  height: 200px;
  background: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: cta-float-3 10s ease-in-out infinite;
}

@keyframes cta-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes cta-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes cta-float-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.cta-floating-icons {
  position: absolute;
  inset: 0;
}

.cta-float-icon {
  position: absolute;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.cta-float-1 {
  top: 15%;
  left: 10%;
  animation: icon-bob 4s ease-in-out infinite;
}

.cta-float-2 {
  top: 25%;
  right: 15%;
  animation: icon-bob 5s ease-in-out infinite 0.5s;
}

.cta-float-3 {
  bottom: 20%;
  left: 15%;
  animation: icon-bob 4.5s ease-in-out infinite 1s;
}

.cta-float-4 {
  bottom: 25%;
  right: 10%;
  animation: icon-bob 5.5s ease-in-out infinite 0.3s;
}

@keyframes icon-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-icon-main {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  color: #4F46E5;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: #4F46E5;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-feature i {
  color: #A7F3D0;
}

/* Responsive adjustments for new sections */
@media (max-width: 991px) {
  .steps-line {
    display: none;
  }
  
  .step-arrow {
    display: none !important;
  }
  
  .cta-float-icon {
    display: none;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .faq-item {
    flex-direction: column;
  }
  
  .faq-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .cta-section-new {
    padding: 3rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */

.section-badge-primary {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.1));
  color: #4F46E5;
  border-color: rgba(79, 70, 229, 0.2);
}

.why-choose-section {
  position: relative;
}

.feature-card-new {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(79, 70, 229, 0.12);
  border-color: transparent;
}

.feature-card-new:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.feature-icon-new {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.feature-cyan {
  background: linear-gradient(135deg, #E0F2FE, #CFFAFE);
  color: #0891B2;
}

.feature-green {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  color: #059669;
}

.feature-purple {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  color: #7C3AED;
}

.feature-orange {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #D97706;
}

.feature-red {
  background: linear-gradient(135deg, #FEE2E2, #FECACA);
  color: #DC2626;
}

.feature-blue {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
  color: #2563EB;
}

.feature-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.feature-card-new:hover .feature-cyan {
  background: linear-gradient(135deg, #06B6D4, #0891B2);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.35);
}

.feature-card-new:hover .feature-green {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.35);
}

.feature-card-new:hover .feature-purple {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.35);
}

.feature-card-new:hover .feature-orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.35);
}

.feature-card-new:hover .feature-red {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.35);
}

.feature-card-new:hover .feature-blue {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.35);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-link i {
  transition: transform 0.3s ease;
}

.feature-link:hover {
  color: var(--primary-dark);
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* Responsive for Why Choose Us */
@media (max-width: 767px) {
  .feature-card-new {
    padding: 1.5rem;
  }
  
  .feature-icon-new {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
}