:root {
  --background: 210 20% 98%;
  --foreground: 215 50% 15%;

  --card: 0 0% 100%;
  --card-foreground: 215 50% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 215 50% 15%;

  --primary: 205 85% 45%;
  --primary-foreground: 0 0% 100%;

  --secondary: 210 25% 93%;
  --secondary-foreground: 215 50% 15%;

  --muted: 210 20% 96%;
  --muted-foreground: 215 20% 45%;

  --accent: 200 70% 50%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 205 85% 45%;

  --radius: 0.75rem;

  /* Custom colors for Loulouat Afrikia */
  --sky-blue: 200 85% 55%;
  --sky-blue-light: 200 85% 70%;
  --navy: 215 50% 20%;
  --navy-dark: 215 55% 12%;
  --grey: 210 15% 50%;
  --grey-light: 210 20% 85%;
  --gold: 45 90% 55%;
}

.dark {
  --background: 215 55% 8%;
  --foreground: 210 40% 98%;

  --card: 215 50% 12%;
  --card-foreground: 210 40% 98%;

  --popover: 215 50% 12%;
  --popover-foreground: 210 40% 98%;

  --primary: 200 85% 55%;
  --primary-foreground: 215 50% 10%;

  --secondary: 215 40% 20%;
  --secondary-foreground: 210 40% 98%;

  --muted: 215 40% 18%;
  --muted-foreground: 215 20% 65%;

  --accent: 200 70% 50%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;

  --border: 215 40% 20%;
  --input: 215 40% 20%;
  --ring: 200 85% 55%;

  --sky-blue: 200 85% 55%;
  --sky-blue-light: 200 85% 65%;
  --navy: 215 50% 30%;
  --navy-dark: 215 55% 8%;
  --grey: 210 15% 60%;
  --grey-light: 210 20% 25%;
  --gold: 45 90% 55%;
}

* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Cairo', sans-serif;
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
}

.bg-hero-gradient {
  background: linear-gradient(135deg, hsl(var(--navy-dark) / 0.95) 0%, hsl(var(--navy) / 0.85) 100%);
}

.bg-section-gradient {
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
}

.shadow-elegant {
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.2),
              0 4px 20px -5px hsl(var(--navy) / 0.1);
}

.shadow-card {
  box-shadow: 0 4px 20px -5px hsl(var(--navy) / 0.1),
              0 2px 10px -3px hsl(var(--primary) / 0.1);
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

.animate-slide-right {
  animation: slideRight 0.5s ease-out forwards;
}

.hover-lift {
  transition: all 0.3s;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px -10px hsl(var(--primary) / 0.25);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-animate {
  animation: countUp 0.5s ease-out forwards;
}
