/* ==========================================================================
   EXPORTZON - Complete Stylesheet
   Azerbaijan Transit Hub for Global Trade
   Modern Purple Theme - All-in-One File
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES (Design Tokens)
   ========================================================================== */

:root {
  /* ===== PRIMARY COLORS - Purple Theme ===== */
  --color-primary: #7c3aed;
  --color-primary-dark: #6d28d9;
  --color-primary-darker: #5b21b6;
  --color-primary-light: #a78bfa;
  --color-primary-lighter: #c4b5fd;
  --color-primary-glow: rgba(124, 58, 237, 0.15);
  --color-primary-shadow: rgba(124, 58, 237, 0.4);
  
  /* Secondary Colors */
  --color-secondary: #4f46e5;
  --color-secondary-dark: #4338ca;
  --color-secondary-light: #818cf8;
  
  /* Accent Colors */
  --color-accent: #c084fc;
  --color-accent-dark: #a855f7;
  --color-accent-light: #d8b4fe;
  
  /* ===== GRADIENTS ===== */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  --gradient-primary-reverse: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  
  --gradient-announcement: #4c1d95;
  --gradient-announcement-dark: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
  
  --gradient-hero: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 50%, #3b0764 100%);
  --gradient-hero-alt: linear-gradient(135deg, #0f172a 0%, #312e81 60%, #4c1d95 100%);
  
  --gradient-markets: linear-gradient(135deg, #2e1065 0%, #5b21b6 50%, #7c3aed 100%);
  --gradient-markets-alt: linear-gradient(135deg, #3b0764 0%, #6d28d9 50%, #8b5cf6 100%);
  
  --gradient-cta: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  --gradient-cta-alt: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  
  --gradient-secondary: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  
  --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  --gradient-info: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  
  /* ===== SURFACE COLORS - Light Mode ===== */
  --surface-default: #ffffff;
  --surface-elevated: #f8fafc;
  --surface-subtle: #f1f5f9;
  --surface-muted: #e2e8f0;
  
  --surface-glass: rgba(255, 255, 255, 0.85);
  --surface-glass-heavy: rgba(255, 255, 255, 0.95);
  --surface-glass-light: rgba(255, 255, 255, 0.7);
  
  --surface-glass-border: rgba(124, 58, 237, 0.2);
  --surface-glass-border-light: rgba(124, 58, 237, 0.1);
  --surface-glass-border-dark: rgba(124, 58, 237, 0.3);
  
  /* ===== TEXT COLORS - Light Mode ===== */
  --text-primary: #1e1b4b;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  --text-disabled: #cbd5e1;
  
  --text-on-primary: #ffffff;
  --text-on-primary-muted: rgba(255, 255, 255, 0.9);
  --text-on-primary-subtle: rgba(255, 255, 255, 0.75);
  --text-on-primary-faint: rgba(255, 255, 255, 0.6);
  
  /* ===== STATUS COLORS ===== */
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #34d399;
  --success-lighter: #d1fae5;
  --success-glow: rgba(16, 185, 129, 0.15);
  
  --warning: #ffc107;
  --warning-dark: #d97706;
  --warning-light: #fbbf24;
  --warning-lighter: #fef3c7;
  --warning-glow: rgba(245, 158, 11, 0.15);
  
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --danger-light: #f87171;
  --danger-lighter: #fee2e2;
  --danger-glow: rgba(239, 68, 68, 0.15);
  
  --info: #3b82f6;
  --info-dark: #2563eb;
  --info-light: #60a5fa;
  --info-lighter: #dbeafe;
  --info-glow: rgba(59, 130, 246, 0.15);
  
  /* ===== SHADOWS ===== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Purple Themed Shadows */
  --shadow-purple: 0 8px 32px rgba(124, 58, 237, 0.15);
  --shadow-purple-lg: 0 16px 48px rgba(124, 58, 237, 0.2);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
  --shadow-glow-lg: 0 0 60px rgba(124, 58, 237, 0.3);
  
  /* Text Shadows for Visibility */
  --text-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  --text-shadow-lg: 0 3px 6px rgba(0, 0, 0, 0.5);
  --text-shadow-xl: 0 4px 12px rgba(0, 0, 0, 0.7);
  
  --text-shadow-gold: 0 2px 8px rgba(255, 193, 7, 0.4);
  --text-shadow-white: 0 2px 4px rgba(255, 255, 255, 0.3);
  
  /* ===== BORDER RADIUS ===== */
  --radius-none: 0;
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* ===== SPACING ===== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* ===== TYPOGRAPHY ===== */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* ===== BACKDROP FILTERS ===== */
  --backdrop-blur-sm: blur(4px) saturate(180%);
  --backdrop-blur: blur(12px) saturate(180%);
  --backdrop-blur-md: blur(16px) saturate(180%);
  --backdrop-blur-lg: blur(24px) saturate(180%);
  
  /* ===== HERO SECTION SPECIFIC ===== */
  --hero-padding-y: 4rem;
  --hero-padding-y-lg: 6rem;
  --hero-title-size: clamp(2rem, 5vw, 3.5rem);
  --hero-subtitle-size: clamp(1rem, 2vw, 1.25rem);
  
  /* ===== TARGET MARKETS SPECIFIC ===== */
  --market-card-bg: rgba(255, 255, 255, 0.2);
  --market-card-border: 1px solid rgba(255, 255, 255, 0.3);
  
  /* ===== TRUST BADGES SPECIFIC ===== */
  --trust-badge-bg: rgba(255, 255, 255, 0.2);
  --trust-badge-border: 1px solid rgba(255, 255, 255, 0.3);
  --trust-badge-icon-size: 22px;
  --trust-badge-icon-bg: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   DARK MODE OVERRIDES
   ========================================================================== */

[data-bs-theme="dark"] {
  --surface-default: #0f172a;
  --surface-elevated: #1e293b;
  --surface-subtle: #334155;
  --surface-muted: #475569;
  
  --surface-glass: rgba(30, 41, 59, 0.85);
  --surface-glass-heavy: rgba(15, 23, 42, 0.95);
  --surface-glass-light: rgba(30, 41, 59, 0.7);
  
  --surface-glass-border: rgba(139, 92, 246, 0.3);
  --surface-glass-border-light: rgba(139, 92, 246, 0.2);
  --surface-glass-border-dark: rgba(139, 92, 246, 0.4);
  
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  --text-disabled: #475569;
  
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.2);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  
  --shadow-purple: 0 8px 32px rgba(124, 58, 237, 0.3);
  --shadow-purple-lg: 0 16px 48px rgba(124, 58, 237, 0.4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.4);
  --shadow-glow-lg: 0 0 60px rgba(124, 58, 237, 0.5);
  
  --navbar-bg: rgba(15, 23, 42, 0.9);
  --navbar-bg-scrolled: rgba(15, 23, 42, 0.95);
  --navbar-border: rgba(139, 92, 246, 0.3);
  
  --market-card-bg: rgba(255, 255, 255, 0.15);
  --market-card-border: 1px solid rgba(255, 255, 255, 0.25);
  
  --trust-badge-bg: rgba(255, 255, 255, 0.15);
  --trust-badge-border: 1px solid rgba(255, 255, 255, 0.25);
  --trust-badge-icon-bg: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition) ease;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  background: var(--surface-glass-heavy);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-glass-border);
  padding: 1rem 0;
  transition: all var(--transition) ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar-brand i {
  font-size: var(--text-2xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius);
  transition: all var(--transition) ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
  background: rgba(124, 58, 237, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-2);
  background: var(--surface-glass-heavy);
  backdrop-filter: blur(10px);
}

.dropdown-item {
  padding: var(--space-2) var(--space-4);
  transition: all var(--transition) ease;
  color: var(--text-secondary);
}

.dropdown-item:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--color-primary);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
  .hero-section {
    padding: var(--hero-padding-y-lg) 0;
  }
}

.hero-title {
  font-size: var(--hero-title-size);
  line-height: 1.2;
  font-weight: var(--font-extrabold);
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: var(--text-shadow-xl);
  margin-bottom: var(--space-6);
}

.hero-highlight {
  color: var(--warning);
  text-shadow: var(--text-shadow-gold);
}

.hero-subtitle {
  font-size: var(--hero-subtitle-size);
  line-height: 1.6;
  color: var(--text-on-primary-muted);
  text-shadow: var(--text-shadow-lg);
  margin-bottom: var(--space-10);
}

/* Trust Badges */
.trust-badge {
  background: var(--trust-badge-bg);
  backdrop-filter: blur(12px);
  border: var(--trust-badge-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}

.trust-badge-icon {
  width: var(--trust-badge-icon-size);
  height: var(--trust-badge-icon-size);
  background: var(--trust-badge-icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon i {
  font-size: 11px;
}

/* Search Card */
.search-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.search-form .form-control,
.search-form .form-select {
  border-radius: var(--radius-lg);
  border: 2px solid rgba(124, 58, 237, 0.2);
  padding: var(--space-3) var(--space-4);
  transition: all var(--transition) ease;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  outline: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition) ease;
}

.scroll-indicator a:hover {
  color: #ffffff;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */

.category-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition) ease;
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition) ease;
  transform-origin: left;
}

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

.category-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-2xl);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  transition: transform var(--transition) ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card .card-title {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.category-card .card-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.service-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: var(--surface-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition) ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition) ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  transition: transform var(--transition) ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-card .card-title {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.service-card .card-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

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

.service-card li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.service-card li i {
  color: var(--success);
  font-size: var(--text-xs);
}

/* ==========================================================================
   LISTINGS SECTION
   ========================================================================== */

.listing-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: var(--surface-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition) ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-purple);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}

.listing-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition) ease;
}

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

.listing-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.listing-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-title {
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.listing-description {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  flex: 1;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--surface-glass-border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.listing-meta i {
  color: var(--color-primary);
}

/* ==========================================================================
   TARGET MARKETS SECTION
   ========================================================================== */

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

.target-markets-section {
  background: linear-gradient(135deg, #2e1065 0%, #5b21b6 50%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
}

.target-markets-title {
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.target-markets-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.market-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl, 1rem);
  transition: all var(--transition, 250ms) ease;
}

.market-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.market-card-title {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.market-card h6 {
  color: #ffffff;
  text-shadow: var(--text-shadow);
  font-weight: var(--font-semibold);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section-card {
  background: var(--gradient-cta);
  color: #ffffff;
  border: none;
}

.cta-section-card h2,
.cta-section-card p,
.cta-section-card .lead,
.cta-section-card .small {
  color: inherit;
}

.cta-section-card .btn-light {
  background: #ffffff;
  color: var(--color-primary);
  border: none;
}

.cta-section-card .btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
}

.cta-section-card .btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-section-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  font-weight: var(--font-medium);
  padding: var(--btn-padding, 0.625rem 1.25rem);
  border-radius: var(--btn-border-radius, var(--radius-lg));
  transition: all var(--transition) ease;
  position: relative;
  overflow: hidden;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  cursor: pointer;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
  color: #ffffff;
}

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

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-lg {
  padding: var(--btn-padding-lg, 0.875rem 2rem);
  font-size: var(--btn-font-size-lg, 1.125rem);
  border-radius: var(--btn-border-radius-lg, var(--radius-xl));
}

.btn-sm {
  padding: var(--btn-padding-sm, 0.375rem 1rem);
  font-size: var(--btn-font-size-sm, 0.875rem);
  border-radius: var(--radius);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
  font-weight: var(--font-medium);
  padding: var(--badge-padding, 0.35rem 0.75rem);
  border-radius: var(--badge-border-radius, var(--radius-full));
  font-size: var(--badge-font-size, 0.75rem);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-purple {
  background: rgba(124, 58, 237, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
}

.badge-primary {
  background: var(--gradient-primary);
  color: #ffffff;
}

.badge-success {
  background: var(--success-lighter);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-lighter);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-lighter);
  color: var(--danger);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-control,
.form-select {
  background: var(--surface-default);
  border: 2px solid #e2e8f0;
  border-radius: var(--input-border-radius, var(--radius-lg));
  padding: var(--input-padding, 0.75rem 1rem);
  font-size: var(--text-base);
  transition: all var(--transition) ease;
  color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: var(--input-shadow-focus, 0 0 0 4px rgba(124, 58, 237, 0.15));
  outline: none;
  background: var(--surface-glass);
}

.form-label {
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  display: block;
}

.form-text {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: var(--card-border, 1px solid var(--surface-glass-border));
  border-radius: var(--card-border-radius, var(--radius-xl));
  box-shadow: var(--card-shadow, var(--shadow-purple));
  transition: transform var(--transition) ease, box-shadow var(--transition) ease;
  overflow: hidden;
}

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

.card-header {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent);
  border-bottom: 1px solid var(--surface-glass-border);
  padding: var(--space-4) var(--space-6);
}

.card-body {
  padding: var(--card-padding, 1.5rem);
}

.card-footer {
  background: rgba(124, 58, 237, 0.03);
  border-top: 1px solid var(--surface-glass-border);
  padding: var(--space-4) var(--space-6);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.hover-lift:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}

.hover-white:hover {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.transition-colors {
  transition: color 0.2s ease;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

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

.rounded-4 {
  border-radius: var(--radius-2xl) !important;
}

.backdrop-blur-sm {
  backdrop-filter: blur(12px) saturate(180%);
}

.bg-light-subtle {
  background: var(--surface-subtle);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .search-card {
    padding: var(--space-4);
  }
  
  .category-card,
  .service-card,
  .listing-card {
    padding: var(--space-6) var(--space-4);
  }
  
  .navbar-brand span {
    display: none;
  }
  
  .trust-badge {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .target-markets-section {
    padding: 3rem 0;
  }
}

/* ==========================================================================
   DARK MODE SUPPORT
   ========================================================================== */

[data-bs-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.9) !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  background: var(--surface-elevated);
  border-color: var(--color-primary-light);
  color: var(--text-primary);
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .category-card,
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .listing-card {
  background: var(--surface-elevated);
}

[data-bs-theme="dark"] .table {
  background: var(--surface-elevated);
}

[data-bs-theme="dark"] .pagination .page-link {
  background: var(--surface-elevated);
  border-color: var(--surface-glass-border);
}

[data-bs-theme="dark"] .alert {
  background: var(--surface-elevated);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .navbar,
  .top-announcement-bar,
  .btn,
  .footer {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .card,
  .category-card,
  .service-card,
  .listing-card {
    box-shadow: none;
    border: 1px solid #000000;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   CTA SECTION CARD - Dark Purple Gradient Background
   ========================================================================== */

.cta-section-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  border: none;
}

.cta-section-card h2,
.cta-section-card .cta-title,
.cta-section-card p,
.cta-section-card .lead,
.cta-section-card .small {
  color: #ffffff;
}

.cta-title {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Footer Brand */
.footer-brand a:hover {
  opacity: 0.9;
}

.footer-description {
  line-height: 1.7;
  max-width: 400px;
}

/* Footer Social Links */
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition) ease;
}

.footer-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Footer Trust Badges */
.badge-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-xs);
  padding: 0.25rem 0.5rem;
}

/* Footer Headings */
.footer-heading {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

/* Footer Links */
.footer-links {
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition) ease;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--color-primary-light);
  transform: translateX(5px);
}

.footer-link i {
  font-size: 10px;
  opacity: 0.7;
  transition: all var(--transition) ease;
}

.footer-link:hover i {
  opacity: 1;
  color: var(--color-primary-light);
}

/* Footer Contact */
.footer-contact-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition) ease;
}

.footer-contact-item a:hover {
  color: var(--color-primary-light);
}

/* Footer Newsletter */
.footer-newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.footer-newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  color: #ffffff;
}

.footer-newsletter-form .btn-primary {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  line-height: 1.6;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition) ease;
}

.footer-legal-link:hover {
  color: var(--color-primary-light);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: var(--space-8) 0;
  }
  
  .footer-heading::after {
    display: none;
  }
  
  .footer-description {
    max-width: 100%;
  }
  
  .footer-legal {
    justify-content: center !important;
  }
  
  .footer-copyright {
    text-align: center !important;
  }
}

/* Dark Mode Footer Adjustments */
[data-bs-theme="dark"] .site-footer {
  background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 50%, #2e1065 100%);
}

[data-bs-theme="dark"] .footer-social-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .footer-newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   SERVICES PAGE SPECIFIC
   ========================================================================== */

/* Services Hero */
.services-hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
  .services-hero {
    padding: var(--hero-padding-y-lg) 0;
  }
}

.services-title {
  font-size: var(--hero-title-size);
  line-height: 1.2;
  font-weight: var(--font-extrabold);
  color: #ffffff;
  text-shadow: var(--text-shadow-xl);
}

.services-subtitle {
  font-size: var(--hero-subtitle-size);
  line-height: 1.6;
  color: var(--text-on-primary-muted);
  text-shadow: var(--text-shadow-lg);
}

/* Service Detail Sections */
.service-detail-image {
  background: var(--surface-muted);
  min-height: 300px;
}

.service-detail-image img {
  transition: transform var(--transition) ease;
}

.service-detail-image:hover img {
  transform: scale(1.02);
}

.service-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

/* Service Feature Cards */
.service-feature-card {
  background: var(--surface-subtle);
  border: 1px solid var(--surface-glass-border);
  transition: all var(--transition) ease;
}

.service-feature-card:hover {
  background: var(--surface-glass);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* Resources Section */
.resources-section {
  background: var(--gradient-markets);
  position: relative;
  overflow: hidden;
}

.resources-title {
  color: #ffffff;
  text-shadow: var(--text-shadow-lg);
  font-weight: var(--font-bold);
}

.resources-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: var(--text-shadow);
}

.resource-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition) ease;
  text-align: center;
}

.resource-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.resource-card i {
  color: #ffffff;
}

.resource-card strong {
  color: #ffffff;
  text-shadow: var(--text-shadow);
}

/* Accordion Customization */
.accordion-button {
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-weight: var(--font-medium);
}

.accordion-button:not(.collapsed) {
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
  border-color: var(--color-primary);
}

/* Responsive Services */
@media (max-width: 768px) {
  .services-title {
    font-size: 2rem;
  }
  
  .services-subtitle {
    font-size: 1rem;
  }
  
  .service-detail-image {
    min-height: 200px;
  }
  
  .service-title {
    font-size: var(--text-xl);
  }
}
/* ==========================================================================
   SERVICES PAGE HERO BADGE - Better Visibility
   ========================================================================== */

.services-hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
  .services-hero {
    padding: var(--hero-padding-y-lg) 0;
  }
}

.services-title {
  font-size: var(--hero-title-size);
  line-height: 1.2;
  font-weight: var(--font-extrabold);
  color: #ffffff;
  text-shadow: var(--text-shadow-xl);
  margin-bottom: var(--space-4);
}

.services-subtitle {
  font-size: var(--hero-subtitle-size);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: var(--text-shadow-lg);
}

/* FIXED: Hero Badge with Better Contrast */
.badge-light-warning {
  background: rgba(255, 255, 255, 0.95);
  color: #4c1d95;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-light-warning i {
  color: var(--color-primary);
}
/* ==========================================================================
   FOOTER LOGO
   ========================================================================== */

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition) ease;
}

.footer-brand-link:hover {
  opacity: 0.9;
}

.footer-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition) ease;
}

.footer-brand-link:hover .footer-logo {
  transform: scale(1.02);
}

/* Responsive Footer Logo */
@media (max-width: 768px) {
  .footer-logo {
    width: 150px;
  }
}

@media (max-width: 576px) {
  .footer-logo {
    width: 130px;
  }
}
/* ==========================================================================
   ABOUT PAGE SPECIFIC
   ========================================================================== */

/* About Hero */
.about-hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
  .about-hero {
    padding: var(--hero-padding-y-lg) 0;
  }
}

.about-title {
  font-size: var(--hero-title-size);
  line-height: 1.2;
  font-weight: var(--font-extrabold);
  color: #ffffff;
  text-shadow: var(--text-shadow-xl);
}

.about-subtitle {
  font-size: var(--hero-subtitle-size);
  line-height: 1.6;
  color: var(--text-on-primary-muted);
  text-shadow: var(--text-shadow-lg);
}

/* Section Titles */
.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

/* About Image */
.about-image-wrapper {
  background: var(--surface-muted);
  min-height: 300px;
}

.about-image-wrapper img {
  transition: transform var(--transition) ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.02);
}

/* Value Cards */
.value-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-purple);
  transition: all var(--transition) ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}

.value-icon {
  color: var(--color-primary);
  transition: transform var(--transition) ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-purple);
}

.mission-icon,
.vision-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Team Cards */
.team-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-purple);
  transition: all var(--transition) ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-primary);
}

.team-avatar {
  margin-bottom: var(--space-4);
}

.avatar-lg {
  width: 80px;
  height: 80px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Statistics Section */
.stats-section {
  background: var(--gradient-markets);
  position: relative;
  overflow: hidden;
}

.stats-title {
  color: #ffffff;
  text-shadow: var(--text-shadow-lg);
  font-weight: var(--font-bold);
}

.stats-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: var(--text-shadow);
}

.stat-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition) ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.stat-number {
  color: #ffffff;
  text-shadow: var(--text-shadow);
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Partner Logos */
.partner-logo {
  transition: transform var(--transition) ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
}

.placeholder-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 2px dashed var(--surface-glass-border);
}

.placeholder-logo i {
  font-size: 2.5rem;
}

/* Responsive About */
@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }
  
  .about-subtitle {
    font-size: 1rem;
  }
  
  .about-image-wrapper {
    min-height: 200px;
  }
  
  .section-title {
    font-size: var(--text-xl);
  }
  
  .value-card,
  .mission-card,
  .vision-card,
  .team-card {
    padding: var(--space-4);
  }
}
/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */

/* Contact Hero */
.contact-hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
  .contact-hero {
    padding: var(--hero-padding-y-lg) 0;
  }
}

.contact-title {
  font-size: var(--hero-title-size);
  line-height: 1.2;
  font-weight: var(--font-extrabold);
  color: #ffffff;
  text-shadow: var(--text-shadow-xl);
}

.contact-subtitle {
  font-size: var(--hero-subtitle-size);
  line-height: 1.6;
  color: var(--text-on-primary-muted);
  text-shadow: var(--text-shadow-lg);
}

/* Contact Cards */
.contact-card,
.contact-info-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-purple);
}

.contact-info-card {
  transition: transform var(--transition) ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--radius-lg);
  border: 2px solid #e2e8f0;
  padding: var(--space-3) var(--space-4);
  transition: all var(--transition) ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  outline: none;
}

.contact-form .form-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Contact Promise */
.contact-promise {
  background: var(--surface-subtle);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
}

.promise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Map Placeholder */
.map-placeholder {
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Accordion */
.accordion-button {
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-weight: var(--font-medium);
  border-radius: var(--radius-lg) !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
  border-color: var(--color-primary);
}

.accordion-body {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
  }
  
  .contact-card,
  .contact-info-card {
    padding: var(--space-4);
  }
  
  .map-placeholder {
    min-height: 300px;
  }
}
/* ==========================================================================
   LISTINGS PAGE SPECIFIC
   ========================================================================== */

/* Listings Hero */
.listings-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: var(--hero-padding-y) 0;
}

@media (min-width: 992px) {
    .listings-hero { padding: 5rem 0; }
}

.listings-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: var(--font-extrabold);
    color: #ffffff;
    text-shadow: var(--text-shadow-xl);
}

.listings-subtitle {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--text-on-primary-muted);
    text-shadow: var(--text-shadow-lg);
}

/* Filter Section */
.filter-section {
    background: var(--surface-subtle);
    border-color: var(--surface-muted) !important;
}

.input-group .input-group-text {
    background: var(--surface-default);
    border-right: none;
    border-color: #e2e8f0;
}

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

.input-group .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

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

/* Pagination */
.pagination {
    gap: 8px;
}

.page-link {
    border: 1px solid var(--surface-glass-border);
    background: var(--surface-default);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    transition: all var(--transition) ease;
}

.page-link:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
    border-color: var(--color-primary-light);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.page-item.disabled .page-link {
    background: var(--surface-muted);
    color: var(--text-muted);
    border-color: transparent;
    cursor: not-allowed;
}
/* ==========================================================================
   AUTH PAGES (Login / Register)
   ========================================================================== */

/* Section Background */
.auth-section {
    background: var(--surface-subtle);
}

/* Card Styling */
.auth-card {
    background: #ffffff;
}

/* Logo */
.auth-logo {
    max-width: 180px;
    height: auto;
}

/* Form Inputs */
.auth-form .input-group-text {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.auth-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    background: #ffffff !important;
}

/* Social Buttons */
.btn-outline-secondary {
    border-color: #e2e8f0;
    color: var(--text-secondary);
    background: #ffffff;
}

.btn-outline-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
}

/* Divider */
.divider {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    padding: 0 1rem;
}

/* Alert Dismiss */
.alert-dismissible .btn-close {
    padding: 0.5rem 1rem;
}
/* ==========================================================================
   ADMIN DASHBOARD STYLES
   ========================================================================== */

/* Layout Structure */
.admin-body {
    background: var(--surface-subtle);
}

.pt-navbar {
    padding-top: calc(70px + var(--space-4));
}

.admin-layout {
    min-height: 100vh;
}

.admin-main {
    margin-left: 0;
    transition: margin-left var(--transition) ease;
}

@media (min-width: 992px) {
    .admin-main {
        margin-left: 260px;
    }
}

/* Admin Navbar */
.admin-navbar {
    background: var(--surface-glass-heavy);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-glass-border);
    height: 70px;
    z-index: var(--z-fixed, 1030);
}

.admin-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--surface-default);
    border-right: 1px solid var(--surface-glass-border);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed, 1030);
    overflow-y: auto;
}

.admin-nav-link {
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition) ease;
    margin-bottom: var(--space-1);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
}

.admin-nav-link.active {
    font-weight: 600;
}

/* Admin Cards */
.admin-card,
.admin-stat-card {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--surface-glass-border);
    box-shadow: var(--shadow-purple);
    transition: transform var(--transition) ease, box-shadow var(--transition) ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Admin Tables */
.admin-table th {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--surface-muted);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
}

.admin-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--surface-muted);
    color: var(--text-secondary);
}

.admin-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.03);
}

/* Sidebar Overlay (Mobile) */
.admin-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop, 1040);
    display: none;
    opacity: 0;
    transition: opacity var(--transition) ease;
}

.admin-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Admin Titles */
.admin-title {
    font-size: var(--text-2xl);
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pt-navbar {
        padding-top: calc(70px + var(--space-2));
    }
    .admin-main {
        padding: var(--space-3);
    }
    .admin-title {
        font-size: var(--text-xl);
    }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .admin-navbar,
[data-bs-theme="dark"] .admin-sidebar {
    background: var(--surface-elevated);
    border-color: var(--surface-glass-border-dark);
}

[data-bs-theme="dark"] .admin-card,
[data-bs-theme="dark"] .admin-stat-card {
    background: var(--surface-elevated);
}
/* ==========================================================================
   UNIFIED SIDEBAR STYLES
   ========================================================================== */

.export-sidebar {
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.sidebar-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand { color: #ffffff; text-decoration: none; }
.sidebar-logo { max-width: 180px; height: auto; }

.sidebar-toggle {
    background: none; border: none; color: #ffffff; font-size: 1.25rem; cursor: pointer;
}

.sidebar-profile {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; flex-shrink: 0; font-size: 0.875rem;
}

.profile-info { display: flex; flex-direction: column; }
.profile-name { color: #ffffff; font-weight: 500; font-size: 0.875rem; }
.profile-role { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: capitalize; }

.sidebar-nav {
    flex: 1; display: flex; flex-direction: column; padding: 1rem 0.75rem;
}

.nav-section { margin-bottom: 1.5rem; display: flex; flex-direction: column; }
.nav-section.mt-auto { margin-top: auto; }

.nav-section-title {
    color: rgba(255,255,255,0.4); font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 1px; padding: 0 0.75rem 0.5rem; font-weight: 600;
}

.nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem; color: rgba(255,255,255,0.75);
    text-decoration: none; border-radius: var(--radius-lg);
    transition: all var(--transition) ease; font-size: 0.875rem; font-weight: 500;
    margin-bottom: 0.25rem;
}

.nav-link:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.nav-link.active {
    background: var(--gradient-primary); color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.nav-link i { font-size: 1.1rem; width: 20px; text-align: center; }

.sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1035; display: none;
    transition: opacity 0.3s ease;
}

/* Responsive Behavior */
@media (max-width: 992px) {
    .export-sidebar { transform: translateX(-100%); }
    .export-sidebar.active { transform: translateX(0); }
    .sidebar-overlay.active { display: block; opacity: 1; }
}

/* Dark Mode Adjustment */
[data-bs-theme="dark"] .export-sidebar {
    background: linear-gradient(180deg, #0b0f19 0%, #1e1b4b 100%);
}
/* ==========================================================================
   MODERN ADMIN UI REDESIGN
   ========================================================================== */

/* Sidebar Redesign */
.export-sidebar {
    width: 270px;
    height: 100vh;
    background: #0f172a; /* Deep Slate */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1); /* Ensures logo is white */
}

.sidebar-profile {
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.profile-name {
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.profile-role {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}

.nav-section-title {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 0.75rem 0.75rem;
    margin-top: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), transparent);
    color: #a78bfa;
    border-left: 3px solid #7c3aed;
}

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

.text-danger-subtle {
    color: #f87171 !important;
}
.text-danger-subtle:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

/* Main Content Area */
.admin-main {
    margin-left: 270px;
    padding: 2rem;
    background: #f1f5f9; /* Light Gray Background */
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Admin Cards */
.admin-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    border-color: #a78bfa;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tables */
.admin-table {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.admin-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

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

.admin-table tr:hover td {
    background: #f8fafc;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .export-sidebar { transform: translateX(-100%); }
    .export-sidebar.active { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .sidebar-overlay.active {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5); z-index: 1035; display: block;
    }
}
/* Add spacing for pages with fixed headers */
body:not(.admin-page) .py-5.bg-light-subtle:first-of-type {
    padding-top: 100px !important; /* Adjust based on your header height */
}