/* public/style.css - Premium Automotive Design System */

:root {
  /* Premium Automotive Color Palette */
  --luxury-black: #0D0D0D;
  --carbon-black: #1A1A1A;
  --graphite-grey: #2B2B2B;
  --chrome-silver: #C0C0C0;
  --chrome-silver-light: #E5E5E5;
  --racing-red: #C8102E;
  --royal-maroon: #5A0F1B;
  --premium-gold: #FFD700;
  
  /* Standard colors */
  --primary: #C8102E;
  --primary-dark: #8B0000;
  --secondary: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #0ea5e9;
  --light: #f8fafc;
  --dark: #0f172a;
  --gray: #94a3b8;
  --border: #e2e8f0;
  
  /* Premium shadows and effects */
  --shadow: 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-premium: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-chrome: 0 4px 20px rgba(192, 192, 192, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #334155;
  margin: 0;
  padding: 0;
}

/* Bootstrap Color Overrides */
:root {
  --bs-primary: #C8102E !important;
  --bs-primary-rgb: 200, 16, 46 !important;
}

.btn-primary {
  --bs-btn-bg: #C8102E;
  --bs-btn-border-color: #C8102E;
  --bs-btn-hover-bg: #8B0000;
  --bs-btn-hover-border-color: #8B0000;
  --bs-btn-focus-shadow-rgb: 200, 16, 46;
  --bs-btn-active-bg: #8B0000;
  --bs-btn-active-border-color: #8B0000;
}

.btn-outline-primary {
  --bs-btn-color: #C8102E;
  --bs-btn-border-color: #C8102E;
  --bs-btn-hover-bg: #C8102E;
  --bs-btn-hover-border-color: #C8102E;
  --bs-btn-focus-shadow-rgb: 200, 16, 46;
  --bs-btn-active-bg: #C8102E;
  --bs-btn-active-border-color: #C8102E;
}

.bg-primary {
  background-color: #C8102E !important;
}

.text-primary {
  color: #C8102E !important;
}

.border-primary {
  border-color: #C8102E !important;
}

.badge.bg-primary {
  background-color: #C8102E !important;
}

a {
  color: #C8102E;
}

a:hover {
  color: #8B0000;
}

/* List Group Active State Override */
.list-group-item.active {
  background-color: #C8102E !important;
  border-color: #C8102E !important;
  color: white !important;
}

.list-group-item-action.active {
  background-color: #C8102E !important;
  border-color: #C8102E !important;
  color: white !important;
}

.list-group-item.list-group-item-action.active {
  background-color: #C8102E !important;
  border-color: #C8102E !important;
  color: white !important;
}

.list-group .list-group-item.active {
  background-color: #C8102E !important;
  border-color: #C8102E !important;
  color: white !important;
  z-index: 2;
}

.list-group-item-action:hover {
  background-color: rgba(200, 16, 46, 0.1) !important;
  color: #C8102E !important;
}

.list-group-item-action:focus {
  background-color: rgba(200, 16, 46, 0.1) !important;
  color: #C8102E !important;
}

/* Premium Navigation */
.navbar {
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--carbon-black) 50%, var(--graphite-grey) 100%);
  box-shadow: var(--shadow-premium);
  border: none;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar-brand:hover {
  color: var(--chrome-silver-light);
}

/* Premium Logo Styling */
.navbar-logo {
  height: 100px;
  width: auto;
  drop-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--chrome-silver-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  position: relative;
}

.dropdown-menu {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(192, 192, 192, 0.3);
  box-shadow: var(--shadow-premium);
  border-radius: 12px;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin: 0 0.5rem;
}

.dropdown-header {
  background: linear-gradient(135deg, var(--graphite-grey), var(--carbon-black));
  color: var(--chrome-silver);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  margin: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* Page Content Styles - NEW CLASSES FOR PAGES */
.page-container {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  overflow: hidden;
}

.page-header {
  background: linear-gradient(135deg, var(--graphite-grey), var(--carbon-black));
  color: white;
  border-bottom: 2px solid var(--chrome-silver);
  border-radius: 16px 16px 0 0 !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.page-body {
  padding: 1.5rem;
  color: #202020;
}

/* Premium Buttons */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-premium {
  background: linear-gradient(135deg, var(--racing-red), #8B0000);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-premium:hover {
  background: linear-gradient(135deg, #8B0000, var(--royal-maroon));
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
  color: white;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #5A0F1B 100%);
}

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

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

/* Premium Breadcrumbs */
.breadcrumb {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(192, 192, 192, 0.2);
  box-shadow: var(--shadow);
}

.breadcrumb-item {
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '▶';
  color: var(--chrome-silver);
  font-size: 0.8rem;
}

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

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

/* Enhanced Forms */
.form-control, .form-select {
  border-radius: 12px;
  border: 2px solid rgba(192, 192, 192, 0.3);
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
  border-color: var(--racing-red);
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
  background: white;
}

.form-label {
  font-weight: 600;
  color: var(--graphite-grey);
  margin-bottom: 0.5rem;
}

/* Premium Alerts */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border-left: 4px solid var(--racing-red);
}

.alert-success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #14532d;
  border-left: 4px solid var(--success);
}

.alert-info {
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
  color: #0c4a6e;
  border-left: 4px solid var(--info);
}

.alert-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border-left: 4px solid var(--warning);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--carbon-black) 50%, var(--graphite-grey) 100%);
  color: white;
  border-radius: 20px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(26,26,26,0.8) 50%, rgba(43,43,43,0.9) 100%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-stats .stat-item {
  text-align: center;
  margin-bottom: 1rem;
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--chrome-silver-light);
  display: block;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Premium Car Cards - ONLY FOR CAR LISTINGS */
.car-card {
  height: 100%;
  overflow: hidden;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  margin-bottom: 1.5rem;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  cursor: pointer;
}

.car-card .card-img-top {
  height: 250px;
  object-fit: cover;
  background: linear-gradient(45deg, #e2e8f0, #f1f5f9);
  transition: all 0.3s ease;
}

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

/* Premium Card - ONLY FOR PREMIUM CAR LISTINGS */
.premium-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border: 2px solid var(--racing-red);
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Card Body - ONLY FOR CAR LISTINGS */
.card-body {
  padding: 1.5rem;
}

/* Brand Cards */
.brand-card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  cursor: pointer;
}

.brand-card:hover .brand-title {
  color: var(--racing-red);
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, var(--chrome-silver), var(--chrome-silver-light), var(--chrome-silver)) border-box;
}

.brand-logo:hover {
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, var(--racing-red), var(--premium-gold), var(--racing-red)) border-box;
  transform: scale(1.1);
}

.chrome-frame {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, var(--chrome-silver), var(--chrome-silver-light), var(--chrome-silver)) border-box;
  transition: all 0.3s ease;
}

.chrome-frame:hover {
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, var(--racing-red), #8B0000, var(--racing-red)) border-box;
}

/* Flag and Location Icons */
.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Premium Info Blocks */
.info-card {
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-chrome);
}

.icon-circle-sm {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.feature-card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Luxury Gradient Backgrounds */
.luxury-gradient {
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--carbon-black) 50%, var(--graphite-grey) 100%);
}

/* Premium Tables */
.table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.table th {
  background: linear-gradient(135deg, var(--graphite-grey), var(--carbon-black));
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  border-color: rgba(192, 192, 192, 0.2);
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.05), rgba(192, 192, 192, 0.05));
}

/* Premium Pagination */
.pagination .page-link {
  border-radius: 12px;
  margin: 0 0.25rem;
  border: 2px solid #dee2e6;
  color: #6c757d;
  padding: 0.75rem 1rem;
}

.pagination .page-item.active .page-link {
  background: #6c757d;
  border-color: #6c757d;
  color: white;
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(200, 16, 46, 0.5); }
  50% { box-shadow: 0 0 20px rgba(200, 16, 46, 0.8), 0 0 30px rgba(200, 16, 46, 0.6); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .brand-logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
    border-radius: 16px;
    min-height: 300px;
  }
  
  .hero-stats {
    text-align: center;
    margin-top: 2rem;
  }
  
  .hero-stats .stat-item {
    display: inline-block;
    margin: 0 1rem;
  }
  
  .hero-stats .stat-number {
    font-size: 1.8rem;
  }
  
  .brand-logo {
    width: 80px;
    height: 80px;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .page-container {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 250px;
  }
  
  .hero-stats .stat-number {
    font-size: 1.5rem;
  }
  
  .page-body {
    padding: 1rem;
  }
  
  .premium-card {
    border-radius: 8px;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn, .pagination {
    display: none !important;
  }
  
  .page-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Pagination Styles */
.pagination {
  margin-top: 2rem;
  justify-content: center;
}

.pagination .page-item .page-link {
  color: #6c757d;
  background-color: transparent;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 0 2px;
  padding: 8px 12px;
}

.pagination .page-item .page-link:hover {
  color: #495057;
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.pagination .page-item.active .page-link {
  color: white;
  background-color: #6c757d;
  border-color: #6c757d;
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd;
  background-color: transparent;
  border-color: #dee2e6;
}

/* Additional Styles from PHP files */

/* Index Page Styles */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(26,26,26,0.8) 50%, rgba(43,43,43,0.9) 100%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-stats .stat-item {
  margin-bottom: 1rem;
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.btn-premium {
  background: linear-gradient(135deg, #C8102E, #8B0000);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
  color: white;
}

.luxury-header {
  background: linear-gradient(135deg, #2B2B2B, #1A1A1A);
  color: white;
  border-bottom: 2px solid #C0C0C0;
}

.quick-search-section .form-control,
.quick-search-section .form-select {
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
}

.quick-search-section .form-control:focus,
.quick-search-section .form-select:focus {
  border-color: #C8102E;
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

/* Car Cards - ONLY FOR CAR LISTINGS */
.car-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Brand Cards */
.brand-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.brand-card:hover .chrome-text {
  background: linear-gradient(45deg, #C8102E, #8B0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.brand-logo-placeholder {
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 8px;
  margin: 0 auto;
}

.chrome-frame {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, #C0C0C0, #E5E5E5, #C0C0C0) border-box;
  transition: all 0.3s ease;
}

.chrome-frame:hover {
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(45deg, #C8102E, #8B0000, #C8102E) border-box;
}

.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.1);
}

.info-card {
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.icon-circle-sm {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Car Catalog Styles */
.suggestions-dropdown {
  position: absolute;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 200px;
  overflow-y: auto;
  display: none;
  width: 100%;
  top: 100%;
  left: 0;
}

.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item.active {
  background-color: #e3f2fd;
}

.autocomplete-active {
  background-color: #2563eb !important;
  color: white !important;
}

.autocomplete-container {
  position: relative;
}

/* Page Styles */
.page-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


.page-content h2,
.page-content h3,
.page-content h4 {
  margin-bottom: 1.5rem;
}

.page-content .stat-item {
  margin-bottom: 1rem;
}

.page-content .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content .stat-label {
  font-size: 0.9rem;
  color: #6c757d;
}

.contact-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.service-card {
  border: none;
   border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.service-icon .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.service-card ul {
  padding-left: 1.2rem;
}

.service-card li {
  margin-bottom: 0.5rem;
  color: #6c757d;
}

.contact-form .form-control {
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
}

.contact-form .form-control:focus {
  border-color: #C8102E;
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

.premium-stats {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem 1rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .service-icon .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .premium-content .stat-number {
    font-size: 1.5rem;
  }
  
  .contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.8rem !important;
  }
}

/* Admin Styles */
.admin-navbar {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.admin-sidebar {
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  min-height: calc(100vh - 76px);
}

.admin-sidebar .nav-link {
  color: #495057;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background-color: #e9ecef;
  color: #dc3545;
}

.admin-sidebar .nav-link i {
  width: 20px;
  margin-right: 10px;
}

.admin-content {
  padding: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary) 100%);
  color: white;
  border: none;
}

.stat-card.bg-success {
  background: linear-gradient(135deg, var(--bs-success) 0%, #157347 100%) !important;
}

.stat-card.bg-warning {
  background: linear-gradient(135deg, var(--bs-warning) 0%, #e0a800 100%) !important;
}

.stat-card.bg-info {
  background: linear-gradient(135deg, var(--bs-info) 0%, #0f5132 100%) !important;
}

/* Admin Panel Styles */
.admin-navbar {
  background: #000000;
}

.admin-sidebar {
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  min-height: calc(100vh - 76px);
}

.admin-sidebar .nav-link {
  color: #495057;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background-color: #e9ecef;
  color: #dc3545;
}

.admin-sidebar .nav-link i {
  width: 20px;
  margin-right: 10px;
}

.admin-content {
  padding: 2rem;
}

/* Page-Specific Styles */
.page-content {
  margin-bottom: 2rem;
}

.premium-content h2,
.premium-content h3,
.premium-content h4 {
  margin-bottom: 1.5rem;
}

.premium-content .stat-item {
  margin-bottom: 1rem;
}

.premium-content .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, #C0C0C0, #E5E5E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-content .stat-label {
  font-size: 0.9rem;
  color: #6c757d;
}

.contact-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.service-icon .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.service-card ul {
  padding-left: 1.2rem;
}

.service-card li {
  margin-bottom: 0.5rem;
  color: #6c757d;
}

.contact-form .form-control {
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
}

.contact-form .form-control:focus {
  border-color: #C8102E;
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

.premium-stats {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem 1rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .service-icon .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .premium-content .stat-number {
    font-size: 1.5rem;
  }
  
  .contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.8rem !important;
  }
}

/* Utility classes for inline styles */
.cursor-pointer {
  cursor: pointer;
}

.image-cover {
  object-fit: cover;
}

.image-contain {
  object-fit: contain;
}

.max-size-logo {
  max-width: 100px;
  max-height: 80px;
}

.size-medium {
  width: 60px;
  height: 60px;
}

.size-small {
  width: 50px;
  height: 40px;
}

.size-flag {
  width: 24px;
  height: 18px;
}

.size-mini-flag {
  width: 40px;
  height: 30px;
}

.brand-logo-placeholder {
  width: 120px;
  height: 90px;
}

.brand-image-container {
  height: 180px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-img-250 {
  height: 250px;
}

.card-img-200 {
  height: 200px;
}

.card-img-400 {
  height: 400px;
}

.sticky-top-20 {
  top: 20px;
}

.autocomplete-container {
  position: relative;
}

.hidden-element {
  display: none;
}

.opacity-60 {
  opacity: 0.6;
}

.text-uppercase {
  text-transform: uppercase;
}

.background-light-padding {
  background: #f8f9fa;
  padding: 20px;
}

.min-width-100 {
  min-width: 100px;
}

.width-60 {
  width: 60px;
}

.max-size-small-logo {
  max-width: 60px;
  max-height: 40px;
}

.display-none {
  display: none;
}

/* Additional utility classes for inline styles found in PHP files */
.card-cursor-pointer {
  cursor: pointer;
}

.card-image-height {
  height: 200px;
}

.card-image-cover {
  height: 200px;
  object-fit: cover;
}

.card-bg-light-height {
  height: 200px;
}

.brand-logo-image {
  width: 50px;
  height: 40px;
  object-fit: contain;
}

.brand-logo-placeholder-small {
  width: 50px;
  height: 40px;
}

/* Gradient backgrounds for service icons */
.icon-circle-red {
  background: linear-gradient(135deg, #C8102E, #8B0000);
}

.icon-circle-blue {
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.icon-circle-green {
  background: linear-gradient(135deg, #28a745, #20692d);
}

/* Image preview styles */
.image-preview {
  height: 150px;
  object-fit: cover;
}

/* Display utility classes */
.display-block {
  display: block;
}

.display-none {
  display: none;
}