/* UAE Yacht Golden Visa Directory - CSS Foundation */
/* Part 1: Luxury Design System, Custom Properties, and Base Styles */

/* ========================================
   CSS CUSTOM PROPERTIES - LUXURY DESIGN SYSTEM
======================================== */

:root {
  /* Typography System */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  
  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  
  /* Luxury Color System */
  /* Base Colors */
  --color-cream: #f7f5f0;
  --color-warm-white: #fdfcfa;
  --color-soft-beige: #f0ede6;
  --color-card-cream: #faf8f5;
  
  /* Text Colors */
  --color-charcoal: #2d3748;
  --color-dark-brown: #4a3429;
  --color-medium-gray: #6b7280;
  --color-light-gray: #9ca3af;
  --color-white: #ffffff;
  
  /* Accent Colors */
  --color-orange: #ff6b35;
  --color-orange-hover: #e55a2b;
  --color-warm-brown: #8b5a3c;
  --color-warm-brown-light: #a67c52;
  --color-warm-brown-hover: #6b4423;
  
  /* Background Colors */
  --color-bg-primary: var(--color-warm-white);
  --color-bg-secondary: var(--color-cream);
  --color-bg-subtle: var(--color-soft-beige);
  --color-bg-dark: var(--color-charcoal);
  --color-bg-darker: #1a202c;
  
  /* Border Colors */
  --color-border: #e8e4dd;
  --color-border-dark: #d1cdc4;
  --color-border-focus: var(--color-orange);
  --color-border-subtle: #f3f0e9;
  
  /* Card Colors */
  --color-card-dark: var(--color-charcoal);
  --color-card-light: var(--color-white);
  --color-card-background: var(--color-warm-white);
  
  /* Spacing System */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Shadow System */
  --shadow-sm: 0 2px 4px rgba(45, 55, 72, 0.08);
  --shadow-md: 0 4px 12px rgba(45, 55, 72, 0.12);
  --shadow-lg: 0 8px 24px rgba(45, 55, 72, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(45, 55, 72, 0.15);
  --shadow-focus: 0 0 0 3px rgba(255, 107, 53, 0.15);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 20px;
  
  /* Z-Index System */
  --z-dropdown: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-tooltip: 300;
  
  /* Container Widths */
  --container-xs: 480px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  
  /* Transition System */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
}

/* ========================================
   CSS RESET AND BASE STYLES
======================================== */

/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove default list styles */
ol, ul {
  list-style: none;
}

/* Remove default button styles */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  border: none;
  cursor: pointer;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Image optimization */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img, video {
  height: auto;
}

/* Form elements */
input, textarea, select {
  background-color: transparent;
  border: none;
  outline: none;
}

/* Table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Hidden content */
[hidden] {
  display: none;
}

/* ========================================
   TYPOGRAPHY SYSTEM
======================================== */

/* Heading Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  line-height: var(--leading-tight);
  margin: 0;
}

h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
}

h4 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}

h5 {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}

h6 {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* Body text */
p {
  margin: 0;
  line-height: var(--leading-relaxed);
  color: var(--color-medium-gray);
}

/* Small text */
small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-light-gray);
}

/* Strong and emphasis */
strong, b {
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
}

em, i {
  font-style: italic;
}

/* Links */
a {
  color: var(--color-warm-brown);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-orange);
}

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

/* ========================================
   UTILITY CLASSES
======================================== */

/* Container System */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-narrow {
  max-width: var(--container-lg);
}

.container-wide {
  max-width: var(--container-2xl);
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-charcoal { color: var(--color-charcoal); }
.text-dark-brown { color: var(--color-dark-brown); }
.text-medium-gray { color: var(--color-medium-gray); }
.text-light-gray { color: var(--color-light-gray); }
.text-white { color: var(--color-white); }
.text-warm-brown { color: var(--color-warm-brown); }
.text-orange { color: var(--color-orange); }

.font-normal { font-weight: var(--weight-normal); }
.font-medium { font-weight: var(--weight-medium); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-bold { font-weight: var(--weight-bold); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

/* Display Utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flexbox Utilities */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Background Utilities */
.bg-cream { background-color: var(--color-cream); }
.bg-warm-white { background-color: var(--color-warm-white); }
.bg-card-cream { background-color: var(--color-card-cream); }
.bg-white { background-color: var(--color-white); }
.bg-charcoal { background-color: var(--color-charcoal); }

/* Border Utilities */
.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-l { border-left: 1px solid var(--color-border); }
.border-r { border-right: 1px solid var(--color-border); }

.rounded { border-radius: var(--radius-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Transition Utilities */
.transition { transition: all var(--transition-base); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }

/* Hover Utilities */
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:bg-cream:hover { background-color: var(--color-cream); }

/* Focus Utilities */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring:focus { box-shadow: var(--shadow-focus); }

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

/* Mobile First Approach */
/* Base styles are mobile (0px+) */

/* Small tablets and large phones (640px+) */
@media (min-width: 640px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
  
  /* Responsive text sizes */
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  
  /* Responsive spacing */
  .sm\:mt-8 { margin-top: var(--space-8); }
  .sm\:mb-8 { margin-bottom: var(--space-8); }
  .sm\:mt-12 { margin-top: var(--space-12); }
  .sm\:mb-12 { margin-bottom: var(--space-12); }
}

/* Medium tablets (768px+) */
@media (min-width: 768px) {
  .container {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
  
  /* Responsive flexbox */
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  
  /* Responsive spacing */
  .md\:mt-16 { margin-top: var(--space-16); }
  .md\:mb-16 { margin-bottom: var(--space-16); }
}

/* Large tablets and small desktops (1024px+) */
@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }
  
  /* Responsive grid */
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:gap-6 { gap: var(--space-6); }
  .lg\:gap-8 { gap: var(--space-8); }
  
  /* Responsive spacing */
  .lg\:mt-20 { margin-top: var(--space-20); }
  .lg\:mb-20 { margin-bottom: var(--space-20); }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:gap-10 { gap: var(--space-10); }
}

/* Large desktop (1536px+) */
@media (min-width: 1536px) {
  .container {
    max-width: var(--container-2xl);
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */

/* Hardware acceleration for animations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
======================================== */

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 1000;
}

.skip-nav:focus {
  top: 6px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selection styling */
::selection {
  background: rgba(255, 107, 53, 0.2);
  color: var(--color-charcoal);
}

::-moz-selection {
  background: rgba(255, 107, 53, 0.2);
  color: var(--color-charcoal);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-border: #000000;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

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

@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a, a:visited {
    text-decoration: underline;
  }
  
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
}

/* ========================================
   SCROLLBAR STYLING
======================================== */

/* Webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-warm-brown);
}

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

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

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

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.loading-skeleton {
  background: linear-gradient(90deg, 
    var(--color-cream) 25%, 
    var(--color-soft-beige) 50%, 
    var(--color-cream) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-md);
}

/* Disable animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
  }
  
  .loading-skeleton {
    animation: none;
  }
}
/* === UAE Yacht Golden Visa Directory: Part 2 - Components & Layouts (REWRITTEN) === */

/* ===============================
   SITE HEADER (Enhanced Navigation & Hero)
================================== */
.site-header {
  background: linear-gradient(135deg, #fdfcfa 0%, #f7f5f0 100%);
  border-bottom: 2px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-warm-brown) 50%, transparent 100%);
}

/* Header Navigation */
.header-nav {
  padding: 16px 0;
  border-bottom: 1px solid rgba(232, 228, 221, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navigation Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-nav {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--color-medium-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--color-warm-brown);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-charcoal);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1000;
  padding: 80px 32px 32px 32px;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li {
  margin-bottom: 24px;
}

.mobile-nav-links .nav-link {
  font-size: 16px;
  display: block;
  padding: 12px 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-charcoal);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 96px 0;
  background: linear-gradient(135deg, #fdfcfa 0%, #f7f5f0 100%);
  position: relative;
}

.hero-container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Exclusive Badge */
.exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(139, 90, 60, 0.1);
  border: 1px solid var(--color-warm-brown);
  border-radius: 50px;
  color: var(--color-warm-brown);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

/* Hero Logo */
.hero-logo-wrapper {
  text-align: center;
  margin-bottom: 48px;
}

.hero-logo {
  height: 180px;
  width: 180px;
  display: inline-block;
}

.badge-icon {
  width: 12px;
  height: 12px;
}

/* Hero Title */
.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-title .highlight {
  color: var(--color-warm-brown);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-medium-gray);
  line-height: 1.4;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Key Stats */
.key-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(232, 228, 221, 0.5);
  border-bottom: 1px solid rgba(232, 228, 221, 0.5);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-warm-brown);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Section */
.hero-cta {
  margin-top: 48px;
}

.cta-text {
  font-size: 16px;
  color: var(--color-medium-gray);
  margin-bottom: 24px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--color-warm-brown);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.cta-button:hover {
  background: var(--color-warm-brown-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-icon {
  width: 16px;
  height: 16px;
}

/* Tablet: Hero Logo */
@media (max-width: 1023px) {
  .hero-logo {
    height: 140px;
    width: 140px;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Mobile Navigation Logo */
  .logo-nav {
    height: 24px;
    width: 24px;
  }

  /* Mobile Hero Logo */
  .hero-logo {
    height: 100px;
    width: 100px;
  }

  .hero-title {
    font-size: 42px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .key-stats {
    gap: 32px;
  }

  .hero-section {
    padding: 48px 0 64px 0;
  }
}

@media (max-width: 640px) {
  /* Hide logo text on small mobile */
  .logo-text {
    display: none;
  }

  .key-stats {
    flex-direction: row;
    gap: 24px;
  }

  .stat-number {
    font-size: 24px;
  }
}

/* ===============================
   PROGRAM OVERVIEW (2-Column Grid)
================================== */
.program-overview-section {
  background: var(--color-cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

/* Section Titles */
.section-title {
  text-align: left;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-warm-brown);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title p {
  font-size: 18px;
  color: var(--color-medium-gray);
  max-width: 600px;
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
  }
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.overview-card {
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  color: white;
}

.overview-card.abu-dhabi {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.overview-card.dubai {
  background: linear-gradient(135deg, #8b5a3c 0%, #a67c52 100%);
}

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

.overview-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.overview-content {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.overview-features li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
}

.overview-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: 700;
  font-size: 16px;
}

/* ===============================
   DIRECTORY SECTION
================================== */
.directory-section {
  background: var(--color-cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

/* ===============================
   SERVICE CATEGORIES (4x1 Desktop, 2x2 Tablet, 1x4 Mobile)
================================== */
.service-categories-wrapper {
  margin: 48px 0;
}

.service-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0 auto;
}

/* Tablet: 2x2 Grid */
@media (max-width: 1023px) {
  .service-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile: 1x4 Grid (Stacked) */
@media (max-width: 767px) {
  .service-categories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.service-category-card {
  background: #fff;
  border: 2px solid #e8e4dd;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(45,55,72,0.12);
  padding: 40px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.service-category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 16px;
  text-align: center;
}
.service-category-description {
  font-size: 14px;
  color: var(--color-medium-gray);
  line-height: 1.6;
  text-align: center;
}
.service-category-icon {
  width: 40px;
  height: 40px;
  margin: 0 0 16px 0;
  color: var(--color-warm-brown);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   PROVIDER CARDS GRID (2-Column)
================================== */
.providers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

/* ===============================
   PROVIDER CARD CONTAINER - FIXED FROM APPROVED DESIGN
================================== */
.provider-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 2px 8px rgba(45, 55, 72, 0.08);
  border: 3px solid #c9bba8;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 55, 72, 0.15);
}

/* CARD HEADER - RESPONSIVE HEIGHT */
.card-header {
  height: 100px;
  background: #f9f7f4;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-5) var(--space-6);
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) 0 calc(-1 * var(--space-6));
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile/Tablet: Flexible height for long company names */
@media (max-width: 1023px) {
  .card-header {
    height: auto;
    min-height: 80px;
  }
}

.provider-card .card-title {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.3;
  margin-bottom: 0;
}

.card-business-type-section {
  height: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.business-type-icon {
  width: 16px;
  height: 16px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-warm-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-location-section {
  height: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.location-icon {
  width: 16px;
  height: 16px;
  color: var(--color-medium-gray);
  flex-shrink: 0;
}

.card-location {
  font-size: 14px;
  color: var(--color-medium-gray);
  line-height: 1.2;
}

.card-badge-section {
  height: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(139, 90, 60, 0.05);
}

.card-badge.yacht-focus-high {
  color: var(--color-warm-brown);
}

.card-badge.yacht-focus-medium {
  color: var(--color-medium-gray);
}

.card-badge.yacht-focus-low {
  color: var(--color-light-gray);
}

.card-services-section {
  min-height: 60px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.services-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.services-icon {
  width: 16px;
  height: 16px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.services-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: rgba(139, 90, 60, 0.08);
  color: #5a4a3c;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(139, 90, 60, 0.15);
  line-height: 1;
  transition: background 0.2s ease;
}

.card-tag:hover {
  background: rgba(139, 90, 60, 0.12);
}

.card-pricing-section {
  height: 36px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-icon {
  width: 16px;
  height: 16px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.card-pricing {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
}

.card-footer {
  height: 48px;
  display: flex;
  align-items: center;
}

.contact-btn {
  width: 100%;
  height: 40px;
  background: var(--color-warm-brown);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background: #6b4423;
  transform: translateY(-1px);
}

/* ===============================
   UNIVERSAL INFO CARDS (DETAIL PAGE)
================================== */
.content-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(45,55,72,0.12);
  border: 1.5px solid #e8e4dd;
  padding: 40px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 32px;
}

/* ===============================
   SEARCH & FILTERS UI
================================== */
.search-filters-container {
  margin: 48px 0;
}
.search-container {
  width: 100%;
}
.search-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.search-input-wrapper {
  position: relative;
  width: 100%;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-warm-brown);
  pointer-events: none;
  z-index: 2;
}
.search-input {
  width: 100%;
  padding: 24px 16px 24px 48px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  font-size: 18px;
  background: #fff;
  color: var(--color-charcoal);
  box-shadow: 0 2px 4px rgba(45,55,72,0.08);
}
.search-input::placeholder {
  color: var(--color-light-gray);
}
.search-input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
.search-input:hover {
  border-color: var(--color-warm-brown);
}

/* Filter Groups */
.filters-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin: 24px 0 0 0;
}
.filter-group {
  display: flex;
  flex-direction: column;
}
.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-select {
  padding: 12px 40px 12px 12px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: var(--color-charcoal);
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%238b5a3c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  box-shadow: 0 2px 4px rgba(45,55,72,0.08);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.filter-select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
.filter-select:hover {
  border-color: var(--color-warm-brown);
}
@media (max-width: 767px) {
  .filters-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 479px) {
  .filters-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===============================
   NO RESULTS, ERROR, LOADING STATES
================================== */
.no-results, .error-message {
  text-align: center;
  padding: 64px 24px;
  color: var(--color-medium-gray);
  font-size: 18px;
  background: #fff;
  border: 2px solid #e8e4dd;
  border-radius: 18px;
  margin: 32px 0;
}
.error-message {
  color: #dc2626;
  background: #fef2f2;
  border: 2px solid #fecaca;
}
.loading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .loading-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.loading-card {
  background: var(--color-warm-white);
  border: 3px solid var(--color-border-dark);
  border-radius: 18px;
  padding: 24px;
  height: 400px;
}

/* ===============================
   BUTTONS (Universal)
================================== */
.btn, .footer-contact {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  background: var(--color-warm-brown);
  color: white;
}
.btn:hover, .footer-contact:hover {
  background: #6b4423;
  transform: translateY(-1px);
}

/* ===============================
   MOBILE TEXT TRUNCATION & ADJUSTMENT
================================== */
@media (max-width: 768px) {
  .provider-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-services-section {
    min-height: 80px;
  }
}

/* ===============================
   FOOTER
================================== */
footer {
  background: var(--color-card-dark);
  color: var(--color-light-gray);
  padding: 48px 0 32px 0;
}
.footer-content {
  text-align: center;
}
.footer-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-text {
  font-size: 14px;
  color: var(--color-light-gray);
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-contact {
  margin-bottom: 32px;
}
.footer-legal {
  font-size: 11px;
  color: var(--color-light-gray);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* End of UAE Yacht Golden Visa Directory Components CSS */
/* UAE Yacht Golden Visa Directory - CSS Layouts */
/* Part 3: Provider Details Page, Footer, and Advanced Layout Components */

/* ========================================
   PROVIDER DETAILS PAGE LAYOUT
======================================== */

/* Provider Header Section */
.provider-header {
  background: var(--color-warm-white);
  padding: var(--space-12) 0 var(--space-16) 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  margin-bottom: var(--space-8);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-warm-brown);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: color var(--transition-base);
}

.breadcrumb-link:hover {
  color: var(--color-orange);
}

.breadcrumb-link svg {
  width: 16px;
  height: 16px;
}

/* Provider Hero Layout */
.provider-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.provider-info {
  flex: 1;
}

.provider-name {
  font-size: 36px;
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: var(--color-warm-brown);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-badge.primary {
  background: var(--color-orange);
}

.provider-summary {
  font-size: var(--text-lg);
  color: var(--color-medium-gray);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 600px;
}

.provider-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: var(--weight-bold);
  color: var(--color-warm-brown);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  font-weight: var(--weight-medium);
  margin-top: var(--space-1);
}

.contact-cta {
  margin-top: var(--space-8);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.primary-btn:hover {
  background: #e55a2b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.primary-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive provider hero */
@media (min-width: 768px) {
  .provider-hero {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  
  .provider-name {
    font-size: 42px;
  }
}

/* ========================================
   CONTENT GRID LAYOUT
======================================== */

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
}

/* Content Cards - Universal Styling */
.content-card {
  background: var(--color-white) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: var(--radius-xl) !important;
  padding: var(--space-6) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition-base);
}

.content-card:hover {
  border-color: var(--color-warm-brown);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Ensure contact section inherits content-card styling */
.content-card.contact-section {
  background: var(--color-white) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: var(--radius-xl) !important;
  padding: var(--space-6) !important;
  box-shadow: var(--shadow-sm) !important;
}

.content-card .card-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
}

.card-icon {
  width: 20px;
  height: 20px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.info-item {
  margin-bottom: var(--space-3);
  padding: var(--space-2) 0;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  line-height: var(--leading-relaxed);
}

.info-value a {
  color: var(--color-warm-brown);
  text-decoration: none;
  transition: color var(--transition-base);
}

.info-value a:hover {
  color: var(--color-orange);
  text-decoration: underline;
}

/* ========================================
   SERVICE PORTFOLIO SECTION
======================================== */

.service-portfolio {
  margin-bottom: var(--space-16);
}

.portfolio-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-8);
  text-align: center;
}

.credentials-section .portfolio-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.credentials-section .card-icon {
  width: 20px;
  height: 20px;
  color: var(--color-warm-brown);
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-item {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-base);
}

.service-item:hover {
  border-color: var(--color-warm-brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-warm-brown);
  margin: 0 auto var(--space-4);
}

.service-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  line-height: var(--leading-relaxed);
}

/* ========================================
   PROGRAM EXPERTISE SECTION
======================================== */

.program-expertise {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .program-expertise {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.program-card {
  background: var(--color-white);
  border: 3px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-base);
}

.program-card.abu-dhabi {
}

.program-card.dubai {
}

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

.program-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.competency-level {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  background: rgba(139, 90, 60, 0.1);
  color: var(--color-warm-brown);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.program-features li {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  line-height: var(--leading-relaxed);
}

.program-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-warm-brown);
  font-weight: var(--weight-semibold);
}

/* ========================================
   CREDENTIALS SECTION
======================================== */

.credentials-section {
  margin-bottom: var(--space-16);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.credential-item {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-base);
}

.credential-item:hover {
  border-color: var(--color-warm-brown);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.credential-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.credential-desc {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  line-height: var(--leading-relaxed);
}

/* ========================================
   CONTACT CALL-TO-ACTION (Bottom Section)
======================================== */

.contact-section:not(.content-card) {
  text-align: center;
  margin-bottom: var(--space-16);
  padding: var(--space-12) 0;
  background: var(--color-cream);
  border-radius: var(--radius-xl);
}

.primary-contact-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-8);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.primary-contact-button:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.primary-contact-button svg {
  width: 20px;
  height: 20px;
}

.contact-disclaimer {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  margin-top: var(--space-3);
}

/* ========================================
   NARROW CONTENT SECTIONS
======================================== */

.narrow-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-padding {
  padding: var(--space-16) 0;
}

.bg-card-cream {
  background: var(--color-cream);
}

.border {
  border: 1px solid var(--color-border);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.p-8 {
  padding: var(--space-8);
}

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

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-sm {
  font-size: var(--text-sm);
}

.font-semibold {
  font-weight: var(--weight-semibold);
}

.font-medium {
  font-weight: var(--weight-medium);
}

.text-charcoal {
  color: var(--color-charcoal);
}

.text-medium-gray {
  color: var(--color-medium-gray);
}

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

.mb-12 {
  margin-bottom: var(--space-12);
}

/* ========================================
   UNIFIED FOOTER - SINGLE CHARCOAL SECTION
======================================== */

.site-footer {
  background: #4a5568;
  color: #e2e8f0;
  padding: 48px 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

/* Footer Logo - 64px Centered */
.footer-logo {
  height: 64px;
  width: 64px;
  display: inline-block;
  margin-bottom: 8px;
}

/* Footer Brand Line - Name || Contact */
.footer-brand-line {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

.footer-site-name {
  color: #fdfcfa;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-separator {
  color: #a0aec0;
  margin: 0 12px;
  font-weight: 300;
}

.footer-contact-link {
  color: #fdfcfa;
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: color var(--transition-base);
}

.footer-contact-link:hover {
  color: #ff6b35;
  text-decoration: underline;
}

/* Footer Disclaimer - Small Text */
.footer-disclaimer {
  font-size: 11px;
  color: #a0aec0;
  line-height: var(--leading-relaxed);
  margin: 0;
  max-width: 800px;
}


/* ========================================
   UTILITY CLASSES
======================================== */

.hidden {
  display: none !important;
}

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

.skip-nav {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 1000;
  transition: top var(--transition-base);
}

.skip-nav:focus {
  top: 0;
}

/* ========================================
   RESPONSIVE GRID UTILITIES
======================================== */

@media (max-width: 767px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .provider-stats {
    justify-content: center;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .provider-name {
    font-size: 28px;
  }
  
  .primary-contact-button {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
  }
}

/* ========================================
   ANIMATION CLASSES
======================================== */

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ========================================
   HIGH CONTRAST MODE
======================================== */

@media (prefers-contrast: high) {
  .content-card,
  .service-item,
  .program-card,
  .credential-item {
    border-width: 3px;
  }
  
  .content-card .card-title,
  .info-label,
  .service-name,
  .program-name,
  .credential-title {
    font-weight: var(--weight-bold);
  }
}

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

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