:root {
  /* ألوان البراند الجديدة */
  --brand-gold: #f7b134;
  --brand-sky-blue: #52c1fe;
  --brand-dark-blue: #00b1ff;
  --brand-light-blue: #98e5fb;
  --brand-navy-blue: #062572;

  /* تحديث الألوان الحالية بألوان البراند */
  --primary-turquoise: var(--brand-sky-blue);
  --dark-teal: var(--brand-navy-blue);
  --gold-accent: var(--brand-gold);
  --sandy-beige: var(--brand-light-blue);
  --warm-brown: var(--brand-dark-blue);

  /* تحديث ألوان النظام */
  --color-primary: var(--brand-sky-blue);
  --color-primary-hover: var(--brand-dark-blue);
  --color-primary-active: var(--brand-navy-blue);
  --color-success: var(--brand-sky-blue);


  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

/* Accessibility utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -40px; left: 0; right: 0;
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
  padding: 8px 16px;
  text-align: center;
  z-index: 10001;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

/* Strong focus styles for keyboard users */
a:focus, button:focus, input:focus, textarea:focus {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

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

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

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

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

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

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

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

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

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

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

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

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

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

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Egyptian Tourism Website - Egypt Essence Tours */
/* Complete design system with multilingual support */

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

:root {
    /* Egyptian Color Palette - Updated */
    --primary-turquoise: #1bc8d2;
    --dark-teal: #083342;
    --gold-accent: #DED18D;
    --sandy-beige: #EFCF83;
    --warm-brown: #AA5725;
    --light-cream: #FFF8DC;
    --white: #ffffff;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --success-green: #28a745;
    --error-red: #dc3545;
    
    /* Typography */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Amiri', serif;
    --font-chinese: 'Noto Sans SC', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-teal);
    background-color: var(--light-cream);
    direction: rtl;
    overflow-x: hidden;
}

/* Language-specific font families */
body[data-lang="zh"] {
    font-family: var(--font-chinese);
}

body[data-lang="en"],
body[data-lang="de"],
body[data-lang="ru"],
body[data-lang="cs"],
body[data-lang="fr"] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* RTL/LTR Direction Support */
body[data-dir="ltr"] {
    direction: ltr;
}

body[data-dir="rtl"] {
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-turquoise) 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo-text span {
    color: var(--gold-accent);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Enhanced Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    color: var(--white);
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.language-btn .flag {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.language-btn .lang-name {
    font-weight: 600;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.1);
}

[data-dir="ltr"] .language-dropdown {
    right: auto;
    left: 0;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--dark-teal);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.language-dropdown a:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.language-dropdown a:last-child {
    border-bottom: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.language-dropdown a:hover,
.language-dropdown a.active {
    background: linear-gradient(135deg, var(--sandy-beige) 0%, rgba(222, 209, 141, 0.7) 100%);
    color: var(--dark-teal);
    transform: translateX(5px);
}

[data-dir="ltr"] .language-dropdown a:hover,
[data-dir="ltr"] .language-dropdown a.active {
    transform: translateX(-5px);
}

.language-dropdown .flag {
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

[data-dir="ltr"] .nav-list {
    gap: 25px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.nav-list a:hover {
    color: var(--gold-accent);
    transform: translateY(-1px);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, var(--gold-accent), var(--sandy-beige));
    transition: var(--transition);
    border-radius: 2px;
}

[data-dir="ltr"] .nav-list a::after {
    right: auto;
    left: 0;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--gold-accent) !important;
}

.nav-list a.active::after {
    width: 100% !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(8, 51, 66, 0.75), rgba(27, 200, 210, 0.4)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23DED18D;stop-opacity:0.4"/><stop offset="30%" style="stop-color:%23EFCF83;stop-opacity:0.6"/><stop offset="70%" style="stop-color:%231bc8d2;stop-opacity:0.4"/><stop offset="100%" style="stop-color:%23083342;stop-opacity:0.3"/></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg1)"/><polygon points="0,800 200,650 500,750 800,550 1200,650 1200,800" fill="%23083342" opacity="0.15"/><polygon points="0,600 300,450 600,550 900,350 1200,450 1200,600" fill="%23DED18D" opacity="0.1"/><circle cx="150" cy="150" r="60" fill="%23DED18D" opacity="0.2"/><circle cx="1050" cy="250" r="40" fill="%23EFCF83" opacity="0.3"/><circle cx="300" cy="600" r="25" fill="%231bc8d2" opacity="0.25"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    animation: heroFadeIn 1.2s ease-out;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    color: var(--gold-accent);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-turquoise), var(--sandy-beige));
    color: var(--dark-teal);
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(27, 200, 210, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(27, 200, 210, 0.6);
    background: linear-gradient(135deg, var(--sandy-beige), var(--primary-turquoise));
}

/* Section Styles */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3.2rem;
    color: var(--primary-turquoise);
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), var(--sandy-beige));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--warm-brown);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.7;
}

.alt-bg {
    background: linear-gradient(135deg, rgba(239, 207, 131, 0.1) 0%, rgba(222, 209, 141, 0.15) 100%);
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-teal);
    font-weight: 500;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-turquoise), var(--sandy-beige));
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    border-color: var(--primary-turquoise);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-turquoise);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.1);
    color: var(--gold-accent);
}

.feature span {
    font-weight: 600;
    color: var(--dark-teal);
    font-size: 1.1rem;
    display: block;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.tour-card {
    background: var(--white);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-turquoise), var(--sandy-beige), var(--gold-accent));
}

[data-dir="ltr"] .tour-card::before {
    right: auto;
    left: 0;
}

.tour-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: var(--primary-turquoise);
}

.tour-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 25px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: var(--transition);
}

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

.tour-card h3 {
    font-size: 1.7rem;
    color: var(--dark-teal);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.tour-time {
    color: var(--primary-turquoise);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: rgba(27, 200, 210, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
}

.tour-description {
    color: var(--warm-brown);
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    font-size: 1.05rem;
    font-weight: 500;
}

.tour-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.tour-highlights li {
    color: var(--dark-teal);
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
    font-weight: 500;
    font-size: 1.05rem;
}

[data-dir="ltr"] .tour-highlights li {
    padding-right: 0;
    padding-left: 25px;
}

.tour-highlights li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-turquoise);
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    background: rgba(27, 200, 210, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-dir="ltr"] .tour-highlights li::before {
    right: auto;
    left: 0;
}

.book-btn {
    display: block;
    background: linear-gradient(135deg, var(--primary-turquoise), var(--dark-teal));
    color: var(--white);
    text-align: center;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(27, 200, 210, 0.3);
}

.book-btn:hover {
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-turquoise));
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 200, 210, 0.5);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-turquoise) 100%);
    color: var(--white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="%23DED18D" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

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

.contact-section .section-header h2 {
    color: var(--gold-accent);
}

.contact-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

[data-dir="ltr"] .contact-item {
    flex-direction: row;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--gold-accent);
    width: 60px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--gold-accent);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 500;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold-accent);
}

.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 45px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-teal);
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(8, 51, 66, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--gold-accent);
    box-shadow: 0 0 15px rgba(222, 209, 141, 0.5);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-accent), var(--sandy-beige));
    color: var(--dark-teal);
    border: none;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(222, 209, 141, 0.5);
    background: linear-gradient(135deg, var(--sandy-beige), var(--gold-accent));
}

/* Success message styles */
.success-message {
    background: linear-gradient(135deg, var(--success-green), #20c997);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    display: none;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.success-message.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: slideUp 0.6s ease;
}

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

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 25px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-turquoise), var(--gold-accent), var(--sandy-beige));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold-accent);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-section h4 {
    color: var(--primary-turquoise);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--primary-turquoise);
}

.social-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-turquoise), var(--dark-teal));
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.4rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--sandy-beige));
    color: var(--dark-teal);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 209, 141, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    left: 25px !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #25D366, #1ebe52) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 65px !important;
    height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: pulse 2s infinite !important;
}

[data-dir="ltr"] .whatsapp-float {
    left: auto !important;
    right: 25px !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.8) !important;
    animation: none !important;
}

/* Language transition */
.fade-transition {
    transition: opacity 0.4s ease;
}

.fade-transition.fade-out {
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--dark-teal);
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        border-radius: 15px;
        margin-top: 15px;
        z-index: 999;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav-list a {
        padding: 15px;
        display: block;
        border-radius: 10px;
        transition: var(--transition);
    }
    
    .nav-list a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    [data-dir="ltr"] .nav-list {
        right: 0;
        left: 0;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list a::after {
        display: none;
    }
    
    .language-switcher {
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .whatsapp-float {
        bottom: 20px !important;
        left: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 24px !important;
    }
    
    [data-dir="ltr"] .whatsapp-float {
        left: auto !important;
        right: 20px !important;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-image svg {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h2 {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .tour-card {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .language-switcher {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn-hero {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page loaded animations */
.page-loaded .tour-card {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility improvements */
.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;
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--gold-accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .language-switcher {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
        background: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .tour-card,
    .feature {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* تحسينات إضافية بألوان البراند */
.btn-hero {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-sky-blue)) !important;
  color: var(--brand-navy-blue) !important;
  box-shadow: 0 6px 20px rgba(247, 177, 52, 0.4) !important;
}

.btn-hero:hover {
  background: linear-gradient(135deg, var(--brand-sky-blue), var(--brand-gold)) !important;
  box-shadow: 0 10px 30px rgba(82, 193, 254, 0.6) !important;
}

.book-btn {
  background: linear-gradient(135deg, var(--brand-sky-blue), var(--brand-navy-blue)) !important;
  box-shadow: 0 4px 15px rgba(82, 193, 254, 0.3) !important;
}

.book-btn:hover {
  background: linear-gradient(135deg, var(--brand-navy-blue), var(--brand-sky-blue)) !important;
  box-shadow: 0 8px 25px rgba(82, 193, 254, 0.5) !important;
}

.section-header h2 {
  color: var(--brand-navy-blue) !important;
}

.section-header h2::after {
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-sky-blue)) !important;
}

.nav-list a:hover {
  color: var(--brand-gold) !important;
}

.nav-list a::after {
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-light-blue)) !important;
}

.tour-card::before {
  background: linear-gradient(90deg, var(--brand-sky-blue), var(--brand-gold), var(--brand-light-blue)) !important;
}

.tour-icon {
  color: var(--brand-sky-blue);
}

.tour-card h3 {
  color: var(--brand-navy-blue) !important;
}

.tour-time {
  color: var(--brand-sky-blue) !important;
  background: rgba(82, 193, 254, 0.1) !important;
}

.tour-highlights li::before {
  color: var(--brand-sky-blue) !important;
  background: rgba(82, 193, 254, 0.15) !important;
}

.feature i {
  color: var(--brand-sky-blue) !important;
}

.feature:hover i {
  color: var(--brand-gold) !important;
}

.feature::before {
  background: linear-gradient(90deg, var(--brand-sky-blue), var(--brand-light-blue)) !important;
}

.contact-item i {
  color: var(--brand-gold) !important;
}

.contact-item h4 {
  color: var(--brand-gold) !important;
}

.contact-item a:hover {
  color: var(--brand-gold) !important;
}

.social-links a {
  background: linear-gradient(135deg, var(--brand-sky-blue), var(--brand-navy-blue)) !important;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-light-blue)) !important;
  color: var(--brand-navy-blue) !important;
}

.footer::before {
  background: linear-gradient(90deg, var(--brand-sky-blue), var(--brand-gold), var(--brand-light-blue)) !important;
}

.footer-section h3 {
  color: var(--brand-gold) !important;
}

.footer-section h4 {
  color: var(--brand-sky-blue) !important;
}

.footer-section ul li a:hover {
  color: var(--brand-sky-blue) !important;
}

.btn-submit {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-light-blue)) !important;
  color: var(--brand-navy-blue) !important;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--brand-light-blue), var(--brand-gold)) !important;
  box-shadow: 0 8px 20px rgba(247, 177, 52, 0.5) !important;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 15px rgba(247, 177, 52, 0.5) !important;
}

.language-btn {
  background: rgba(82, 193, 254, 0.15) !important;
  border-color: rgba(82, 193, 254, 0.25) !important;
}

.language-btn:hover {
  background: rgba(82, 193, 254, 0.25) !important;
  border-color: rgba(247, 177, 52, 0.4) !important;
}

.language-dropdown a:hover,
.language-dropdown a.active {
  background: linear-gradient(135deg, var(--brand-light-blue), rgba(247, 177, 52, 0.7)) !important;
  color: var(--brand-navy-blue) !important;
}

/* تحديث ألوان الهيدر */
.header {
  background: linear-gradient(135deg, var(--brand-navy-blue) 0%, var(--brand-sky-blue) 100%) !important;
}

.hero {
  background: linear-gradient(rgba(6, 37, 114, 0.75), rgba(82, 193, 254, 0.4)),
              url('data:image/svg+xml,') !important;
}

.hero-content h1 {
  color: var(--brand-gold) !important;
}

.contact-section {
  background: linear-gradient(135deg, var(--brand-navy-blue) 0%, var(--brand-sky-blue) 100%) !important;
}

.contact-section .section-header h2 {
  color: var(--brand-gold) !important;
}

/* تحديث ألوان الأزرار الأساسية */
.btn--primary {
  background: var(--brand-sky-blue) !important;
  color: var(--brand-navy-blue) !important;
}

.btn--primary:hover {
  background: var(--brand-dark-blue) !important;
}

/* إضافة تأثيرات جديدة بألوان البراند */
@keyframes brandPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(247, 177, 52, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(82, 193, 254, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(247, 177, 52, 0.4);
  }
}

.logo-image svg {
  animation: brandPulse 3s infinite ease-in-out;
}
