:root {
  /* Luxury Color Palette */
  --primary-color: #1e3a8a; /* Royal Blue */
  --primary-dark: #172554;
  --secondary-color: #0f172a; /* Slate 900 */
  --accent-color: #c5a059; /* Gold */
  --accent-light: #e5c585;
  --text-color: #334155;
  --text-light: #64748b;
  --background-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --gold-gradient: linear-gradient(135deg, #c5a059 0%, #e5c585 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 10px 25px -5px rgba(197, 160, 89, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for sticky header */
}

/* Gradient Text Utility */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

body {
  font-family: 'Tajawal', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xs);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 65ch;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Header & Nav Enhanced Transparent */
.site-header {
  background-color: rgba(15, 23, 42, 0.1); /* Very subtle tint */
  backdrop-filter: blur(10px);
  position: fixed; /* Fixed to stay on top always */
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
  padding: 1rem 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-normal);
  filter: brightness(0) invert(1);
}

/* Desktop Navigation */
.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center; /* Center the nav items */
  margin: 0;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem; /* Slightly tighter gap */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  background: rgba(255, 255, 255, 0.05); /* Subtle pill background */
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

/* Nav Links */
.main-nav a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary-color);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav a i {
  font-size: 0.9rem;
  color: var(--accent-color);
  transition: color 0.3s;
}

.main-nav a:hover i,
.main-nav a.active i {
  color: var(--primary-color);
}

.main-nav a::after {
  display: none;
}

/* Extras Icon Separate */
.main-nav .icon-only-link {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.main-nav .icon-only-link:hover {
  background: var(--accent-color);
  color: var(--white);
}

/* Header Actions & Mobile Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 50px;
}

.nav-toggle {
  display: none; /* Hidden on Desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block; /* Override flex */
    z-index: 999;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
  }

  .main-nav a {
    font-size: 1.1rem;
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--secondary-color);
  }
  
  .main-nav a:hover, .main-nav a.active {
      background: transparent;
      color: var(--primary-color);
      box-shadow: none;
  }
  
  .cta-btn {
      display: none; /* Hide CTA on mobile header, maybe move to menu bottom? */
  }
  
  /* Add overlay when menu open */
  body.menu-open::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 998;
      backdrop-filter: blur(2px);
  }
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a i {
  margin-left: 0.5rem;
  font-size: 0.9em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn i {
  transition: transform var(--transition-normal);
}

.btn:hover i {
  transform: translateX(-4px);
}

.btn.primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

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

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

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 2000;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--gold-gradient);
  width: 0%;
  transition: width 0.1s;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Unified Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.wave-divider.top {
    bottom: auto;
    top: 0;
    transform: rotate(180deg);
}

.wave-divider.top .waves {
    margin-bottom: 0;
    margin-top: -7px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
}

/* Color Modifiers */
/* Gray (#f8fafc - 248, 250, 252) */
.wave-gray .parallax > use:nth-child(1) { fill: rgba(248, 250, 252, 0.7); }
.wave-gray .parallax > use:nth-child(2) { fill: rgba(248, 250, 252, 0.5); }
.wave-gray .parallax > use:nth-child(3) { fill: rgba(248, 250, 252, 0.3); }
.wave-gray .parallax > use:nth-child(4) { fill: #f8fafc; }

/* White (#ffffff - 255, 255, 255) */
.wave-white .parallax > use:nth-child(1) { fill: rgba(255, 255, 255, 0.7); }
.wave-white .parallax > use:nth-child(2) { fill: rgba(255, 255, 255, 0.5); }
.wave-white .parallax > use:nth-child(3) { fill: rgba(255, 255, 255, 0.3); }
.wave-white .parallax > use:nth-child(4) { fill: #ffffff; }

/* Dark (#0f172a - 15, 23, 42) */
.wave-dark .parallax > use:nth-child(1) { fill: rgba(15, 23, 42, 0.7); }
.wave-dark .parallax > use:nth-child(2) { fill: rgba(15, 23, 42, 0.5); }
.wave-dark .parallax > use:nth-child(3) { fill: rgba(15, 23, 42, 0.3); }
.wave-dark .parallax > use:nth-child(4) { fill: #0f172a; }

/* Animated Waves */
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /* Fix for Safari gap */
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

.custom-shape-divider-bottom-1689 .shape-fill {
    fill: var(--background-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--background-light);
}

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

/* Shimmer Effect for Buttons */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Enhanced Service Card */
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(197, 160, 89, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

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

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, color 0.3s ease;
  display: inline-block;
}

.service-card:hover i {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

/* Enhanced Hero Section Background */
.hero {
  padding: var(--spacing-xl) 0;
  min-height: 85vh; /* Ensure flexibility but minimum height */
  display: flex;
  align-items: center;
  /* background: linear-gradient... removed in favor of slider */
  background-color: var(--secondary-color); /* Fallback */
  position: relative;
  overflow: hidden;
  color: var(--white); /* Ensure text is white on dark bg */
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 58, 138, 0.5) 100%);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
}

/* Fix Typewriter Break */
.type-writer-container {
  display: inline-block;
  white-space: nowrap; /* Prevent breaking */
  max-width: 100%;
  overflow: hidden;
  vertical-align: bottom;
}

.type-writer {
  display: inline;
}

/* Update hero text colors for better contrast on dark image */
.hero h1, .hero h2, .hero p {
  color: var(--white);
}

.hero .lead {
  color: #cbd5e1; /* Lighter text for description */
}

.hero-badges span {
  background-color: rgba(255, 255, 255, 0.1); /* Glass effect */
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animated Background Shapes - Make them subtle on dark bg */
.hero::before {
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
}

.hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

@keyframes float-slow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 50px); }
}

@keyframes float-slower {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.hero-badges {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.hero-badges span {
  background-color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: var(--white);
  /* transform handled by JS */
}

.hero-card h3, .hero-card p {
  color: var(--white);
}

/* Glass Card Glow */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.hero-card-inner, .hero-card-stats {
  position: relative;
  z-index: 1;
}

/* Typing Effect */
.cursor-blink {
  display: inline-block;
  margin-right: 2px;
  animation: blink 1s infinite;
  color: var(--accent-color);
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Text Gradient */
.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Mouse Parallax Effect Classes */
.parallax-element {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Ambient Glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}

.glow-1 {
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  animation-delay: 0s;
}

.glow-2 {
  bottom: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 30px); }
}

/* Button Shimmer Effect */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.hero-card-inner {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  background: rgba(197, 160, 89, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.stat-item:hover .stat-icon {
  background: var(--accent-color);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.6);
  animation: none;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section.alt {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* Cards */
.about-grid, .services-grid, .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.about-card, .service-card, .work-card {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.about-card:hover, .service-card:hover, .work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.about-card h3, .service-card h3, .work-card h3 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.values {
  list-style: none;
  padding: 0;
}

.values li {
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;
  position: relative;
}

.values li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Services Specific */
.service-card {
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.service-card:hover {
  border-top-color: var(--accent-color);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  /* margin-bottom: 1rem; Removed to avoid double spacing with flex gap */
  transition: transform var(--transition-normal);
}

.service-card:hover i {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-color);
}

.service-card h3 {
  justify-content: center;
}

.service-card.qr {
  text-align: right;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.service-card.qr i,
.service-card.qr h3 {
  align-self: center;
  text-align: center;
}

.qr-generator {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.qr-preview img {
  width: 220px;
  height: 220px;
  max-width: 100%;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.qr-feedback {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-light);
}

.qr-feedback.error {
  color: #b91c1c;
}

.qr-feedback.success {
  color: #166534;
}

.qr-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.qr-actions .btn {
  flex: 1 1 140px;
  text-align: center;
}

.services-note {
  text-align: center;
  margin: var(--spacing-lg) 0;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.services-note::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.services-note h3 {
  color: var(--white);
  margin-top: 1rem;
}

/* Enhanced Contact Section */
.contact-section-enhanced {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--background-light);
  overflow: hidden;
  z-index: 1;
}

/* Background Decoration */
.contact-section-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: -1;
}

.contact-section-enhanced::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.contact-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Contact Info Side */
.contact-info-wrapper {
  position: relative;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  background: var(--primary-color);
  color: var(--white);
}

.info-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.info-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Contact Form Side */
.contact-form-enhanced {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gold-gradient);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-list {
  margin-top: var(--spacing-md);
}

.contact-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
}

.contact-list li i {
  color: var(--primary-color);
  width: 24px;
  text-align: center;
}

.contact-form {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Client Counter Badge */
.client-count-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  display: inline-block;
  vertical-align: middle;
}

/* Clients Section Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
}

/* Removed Marquee Styles */

.client-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  height: 120px;
  width: 100%; /* Flexible width for grid */
  border: 1px solid rgba(0,0,0,0.05);
  filter: grayscale(100%);
  opacity: 0.8;
  position: relative;
  box-shadow: var(--shadow-sm);
}

/* Tooltip Styles - DISABLED
.client-card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 10;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.client-card::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--secondary-color) transparent;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 10;
}

.client-card:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.client-card:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-24px) rotate(180deg);
}
*/

.client-card:hover {
  transform: translateY(-5px) scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.2);
  z-index: 5;
}

.client-card img {
  max-height: 70px;
  max-width: 100%;
  width: auto;
  margin-bottom: 0;
  object-fit: contain;
  transition: all var(--transition-normal);
}



/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

.partner-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

/* Project Cards Enhanced */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(197, 160, 89, 0.3);
}

.project-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
  transition: opacity 0.3s;
}

.project-card:hover .project-image {
  transform: scale(1.02); /* Subtle zoom on image container */
}

/* Icon on top of image */
.project-image i {
  font-size: 3rem;
  color: white;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  opacity: 0.9;
  transform: scale(1);
  transition: transform 0.3s;
}

.project-card:hover .project-image i {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.project-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.project-client {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: auto; /* Push to bottom */
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.project-client i {
  color: var(--primary-color);
}

.partner-logo {
  color: var(--text-light);
  margin-bottom: 1rem;
  transition: all var(--transition-normal);
  /* Placeholder for image scaling */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
}

.partner-logo img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.partner-card:hover .partner-logo {
  color: var(--primary-color);
  transform: scale(1.1);
}

.partner-card h3 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.visit-link {
  font-size: 0.85rem;
  color: var(--accent-color);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Companies Section (Legacy - kept if needed or can be removed) */
.companies-grid {
  display: none; 
}

/* Luxury Team Section */
.team-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
  z-index: 1;
}

.team-section-luxury {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=80');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.team-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
  z-index: 1;
}

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

.team-section-luxury .team-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 3rem 2rem;
  transition: all 0.4s ease;
}

.team-section-luxury .team-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-10px);
}

.team-section-luxury .team-card h3 {
  color: var(--white);
}

.team-section-luxury .team-role {
  color: var(--accent-color);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.team-section-luxury .team-desc {
  color: #cbd5e1;
}

.team-section-luxury .team-icon-bg {
  background: rgba(197, 160, 89, 0.1);
}

.team-section-luxury .team-icon {
  background: var(--gold-gradient);
  color: var(--secondary-color);
}

.projects-section-luxury {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
  overflow: hidden;
}

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

/* Updated Project Cards for Light Background */
.projects-section-luxury .project-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.projects-section-luxury .project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.projects-section-luxury .project-image {
  background: #f1f5f9;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.projects-section-luxury .project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
  opacity: 0.6;
}

.projects-section-luxury .project-image i {
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
  z-index: 1;
  transition: transform 0.5s ease;
}

.projects-section-luxury .project-card:hover .project-image i {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-color);
  opacity: 1;
}

.projects-section-luxury .project-content {
  padding: 1.5rem;
  color: var(--text-dark);
}

.projects-section-luxury .project-category {
  background: rgba(30, 58, 138, 0.05);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.projects-section-luxury .project-title {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.projects-section-luxury .project-client {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.projects-section-luxury .project-client i {
  color: var(--accent-color);
}

.projects-section-luxury .btn.ghost {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.projects-section-luxury .btn.ghost:hover {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.methodology-section-luxury {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.methodology-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  z-index: 0;
}

/* Horizontal Scrolling Path Container */
.methodology-steps-container {
  position: relative;
  margin-top: 4rem;
  padding-bottom: 2rem;
  overflow-x: auto;
  /* Hide scrollbar for clean look but allow scroll */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.methodology-steps-container::-webkit-scrollbar {
  display: none;
}

/* The winding path line */
.methodology-path {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--accent-color) 0, var(--accent-color) 10px, transparent 10px, transparent 20px);
  z-index: 0;
  transform: translateY(-50%);
  opacity: 0.3;
}

.methodology-grid-new {
  display: flex;
  gap: 2rem;
  padding: 1rem; /* Space for hover effects */
  min-width: max-content; /* Ensure items don't wrap */
}

/* Individual Step Card */
.m-step {
  width: 280px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.m-step-inner {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.m-step:hover {
  transform: translateY(-15px);
}

.m-step:hover .m-step-inner {
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
  border-color: rgba(197, 160, 89, 0.3);
}

/* Large Number Background */
.m-number {
  position: absolute;
  top: -15px;
  right: -10px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(30, 58, 138, 0.03);
  font-family: 'Tajawal', sans-serif;
  line-height: 1;
  z-index: 0;
  transition: all 0.4s ease;
}

.m-step:hover .m-number {
  color: rgba(197, 160, 89, 0.1);
  transform: scale(1.1);
}

/* Icon Wrapper */
.m-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.5);
}

.m-step:hover .m-icon-wrapper {
  background: var(--gold-gradient);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.m-step-inner h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.m-step-inner p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Highlight Last Step */
.m-step.highlight .m-step-inner {
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.m-step.highlight .m-number {
  color: rgba(255, 255, 255, 0.05);
}

.m-step.highlight h3, 
.m-step.highlight p {
  color: rgba(255, 255, 255, 0.9);
}

.m-step.highlight .m-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

.m-step.highlight:hover .m-icon-wrapper {
  background: var(--white);
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
  .methodology-steps-container {
    overflow-x: visible;
    margin-top: 2rem;
  }
  
  .methodology-path {
    display: none;
  }
  
  .methodology-grid-new {
    flex-direction: column;
    min-width: 0;
    gap: 1.5rem;
  }
  
  .m-step {
    width: 100%;
  }
  
  .m-step-inner {
    flex-direction: row;
    text-align: right;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .m-icon-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .m-number {
    right: auto;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
  }
}

/* Luxury CTA in Services */
.services-cta-luxury {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
  border-radius: 20px;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem;
  position: relative;
  z-index: 2;
  gap: 2rem;
}

@media (max-width: 768px) {
  .cta-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

.cta-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-color);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
  flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}

.cta-text-content {
  flex-grow: 1;
}

.cta-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.cta-text-content h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.cta-desc {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

.cta-action-box {
  flex-shrink: 0;
}

.glow-btn {
  background: var(--gold-gradient);
  color: var(--secondary-color);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
  transition: all 0.3s ease;
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
  background: var(--white);
}

/* Decorative Circles */
.cta-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

/* Enhanced Footer - Luxury & Clarity */
.site-footer {
  background-color: #0f172a; /* Deep Navy/Black */
  color: var(--white);
  padding-top: 5rem;
  margin-top: 5rem;
  position: relative;
  border-top: 4px solid var(--accent-color);
  overflow: hidden;
}

/* Background Pattern */
.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 20%);
  z-index: 0;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr; /* 4 Columns with specific weights */
  gap: 3rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* Column Styling */
.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0; /* RTL alignment */
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Logo & Desc */
.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
  max-width: 180px;
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

/* Links List */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 5px; /* Subtle movement */
}

.footer-links a:hover i {
  transform: translateX(-3px);
}

/* Contact List Footer */
.contact-list-footer {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list-footer li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.2rem;
  color: #cbd5e1;
}

.contact-list-footer li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 4px;
}

/* Simple Social Icons */
.social-icons-simple {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons-simple a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons-simple a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links-inline a {
  color: #64748b;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links-inline a:hover {
  color: var(--accent-color);
}

.separator {
  color: #475569;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 cols on tablet */
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 col on mobile */
    gap: 2.5rem;
    text-align: center;
  }

  .footer-col h4::after {
    right: 50%;
    transform: translateX(50%); /* Center underline */
  }

  .footer-links a {
    justify-content: center;
  }
  
  .contact-list-footer li {
    justify-content: center;
    text-align: center;
  }

  .social-icons-simple {
    justify-content: center;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: all var(--transition-normal);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s;
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-normal);
  color: var(--white);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 5rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions, .hero-badges {
    justify-content: center;
  }
  
  .hero-card {
    transform: none;
    margin-top: var(--spacing-md);
  }
  
  .hero-card:hover {
  /* transform handled by JS */
}
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    padding: 0.5rem; /* Ensure touch target */
  }
  
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
    text-align: center;
  }
  
  .main-nav ul.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }
  
  .header-actions {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-card-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-item {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    text-align: right; /* Align text for RTL */
  }
  
  .stat-icon {
    margin-bottom: 0;
  }
}

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

@media (max-width: 320px) {
  h1 { font-size: 1.75rem; }
  .btn { width: 100%; }
}

/* Projects Section */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Tajawal', sans-serif;
}

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

.project-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  /* transform is handled by JS for 3D tilt */
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
  z-index: 10;
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
  transition: all var(--transition-normal);
}

.project-card:hover .project-image {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.project-card:hover .project-image i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.project-client {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  border-radius: 6px;
  border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffffff 0%, #f8f9fa 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loader-logo {
  max-width: 280px; /* Increased for wide logo */
  height: auto;
  margin-bottom: 30px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.loader-bar {
  width: 240px;
  height: 6px;
  background: rgba(197, 160, 89, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 10px;
  position: relative;
  animation: progressFill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Shimmer effect on progress bar */
.loader-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: shimmer 1s linear infinite;
  opacity: 0.5;
}

.loader-text {
  margin-top: 15px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  color: var(--secondary-color);
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

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

@keyframes progressFill {
  0% { width: 0%; }
  40% { width: 70%; }
  100% { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

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

/* Stats Counter Animation Style */
.stat-number {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  color: var(--primary-color);
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  font-family: 'Tajawal', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark-bg);
  animation: bounce 2s infinite;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.chat-widget.active .chat-window {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-widget.active .chat-toggle {
  transform: rotate(180deg);
  background: var(--dark-bg);
}

.chat-header {
  padding: 1rem;
  background: rgba(197, 160, 89, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-title i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.chat-title h4 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.chat-title .status {
  font-size: 0.75rem;
  color: #10b981;
  display: block;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.chat-close:hover {
  color: var(--white);
}

.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.chat-welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 1rem;
  animation: fadeIn 0.5s ease;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 2.5rem;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.chat-welcome-screen h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.chat-welcome-screen p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.chat-welcome-screen .input-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.chat-welcome-screen input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem;
  color: var(--white);
  font-family: inherit;
  text-align: center;
  transition: all 0.3s ease;
}

.chat-welcome-screen input:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.start-chat-btn {
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.start-chat-btn:hover {
  background: #d4a959; /* Slightly lighter accent */
  transform: translateY(-2px);
}

.message {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

.bot-message {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-bottom-right-radius: 2px;
}

.user-message {
  align-self: flex-end;
  background: var(--accent-color);
  color: var(--white);
  border-bottom-left-radius: 2px;
}

.message .time {
  display: block;
  font-size: 0.65rem;
  margin-top: 5px;
  opacity: 0.7;
  text-align: left;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.option-btn {
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background: var(--accent-color);
  color: var(--white);
}

.chat-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.5rem;
}

.chat-footer input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: var(--white);
  font-family: inherit;
}

.chat-footer button {
  background: none;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-5px);}
  60% {transform: translateY(-3px);}
}

@media (max-width: 480px) {
  .chat-window {
    width: 300px;
    height: 400px;
    bottom: 70px;
    right: -20px;
  }
}
#scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem; /* RTL layout */
  background: var(--gold-gradient);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  border: 2px solid var(--white);
}

#scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
  display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
  .cursor {
    display: block;
  }
}

.cursor.hovered {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 160, 89, 0.1);
  border-color: transparent;
}

/* Parallax Effect */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Asset 1.svg'); /* Using logo pattern or similar */
  background-size: 500px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

/* Luxury Services Section */
.services-section-luxury {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-color);
  background-image: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.services-section-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%);
  z-index: 1;
}

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

.services-section-luxury .section-header h2,
.services-section-luxury .section-header p {
  color: var(--white);
}

.services-section-luxury .service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services-section-luxury .service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.services-section-luxury .service-card i {
  color: var(--accent-color);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.services-section-luxury .service-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.services-section-luxury .tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.services-section-luxury .tab-btn.active,
.services-section-luxury .tab-btn:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

.services-section-luxury .services-note {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}

.services-section-luxury .services-note h3 {
  color: var(--accent-color);
}

.about-section-luxury {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-visual {
  position: relative;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-visual:hover img {
  transform: scale(1.05);
}

.about-visual-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px; /* RTL alignment visual */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  max-width: 300px;
  z-index: 2;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.mv-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 12px;
  border-right: 3px solid var(--accent-color);
  transition: transform 0.3s;
}

.mv-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: var(--shadow-md);
}

.mv-card i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.mv-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.values-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.value-tag {
  background: rgba(30, 58, 138, 0.05);
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .about-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    height: 400px;
    order: -1; /* Image on top on mobile */
  }
  
  .about-visual-overlay {
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: none;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: right; /* RTL friendly */
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(197, 160, 89, 0.3);
}

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

.team-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.team-icon {
  width: 100%;
  height: 100%;
  background: var(--background-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.team-card:hover .team-icon {
  background: var(--white);
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

/* Decorating circle behind icon */
.team-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.team-card:hover .team-icon-bg {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0.1;
}

.team-role {
  font-size: 0.9rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  display: block;
}

.team-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.team-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--background-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--secondary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  color: #cbd5e1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.client-details h4 {
  color: var(--white);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.client-details span {
  color: var(--accent-color);
  font-size: 0.85rem;
}

/* Luxury CTA Section */
.cta-section {
  background: var(--gold-gradient);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn.cta-btn {
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 3rem;
  font-size: 1.1rem;
  border: none;
}

.btn.cta-btn:hover {
  background: var(--white);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Generic Section Spacing */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
  width: 100%;
}

.section.alt {
  background-color: var(--background-light);
}

/* Timeline Section Redesign - Single Column RTL Professional */
.timeline-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(30, 58, 138, 0.05) 0%, transparent 40%);
}

.timeline {
  position: relative;
  max-width: 800px; /* Narrower for single column readability */
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical Line - Positioned on the Right for RTL flow */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: rgba(197, 160, 89, 0.2); /* Faded background track */
  top: 0;
  bottom: 0;
  right: 0; /* Align to Right side */
  border-radius: 5px;
}

.timeline-line {
  position: absolute;
  width: 3px;
  background: var(--accent-color); /* Active filling color */
  top: 0;
  right: 0; /* Align to Right side */
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
  z-index: 1;
  transition: height 0.1s linear;
}

/* Timeline Item - Full Width, Right Aligned */
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  padding-right: 60px; /* Space for the line/marker */
  display: flex;
  flex-direction: column; /* Stack content naturally */
  align-items: flex-end; /* Align content to the line (Right) */
  opacity: 1; /* Reset opacity for visibility */
  z-index: 2; /* Ensure items (and markers) stay above the line */
}

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

/* Markers - On the Line */
.timeline-marker {
  position: absolute;
  right: -25px; /* Centered on the line (50px / 2) */
  top: 20px;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(197, 160, 89, 0.15), var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-marker i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-color);
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.25), var(--shadow-lg);
}

.timeline-item:hover .timeline-marker i {
  color: var(--white);
}

/* Scroll Animation Active State */
.timeline-item.active .timeline-marker {
  background: var(--accent-color);
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.25), var(--shadow-lg);
}

.timeline-item.active .timeline-marker i {
  color: var(--white);
}

/* Timeline Content Card */
.timeline-content {
  position: relative;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-right: 4px solid var(--accent-color);
  box-shadow: var(--shadow-md);
  width: 100%;
  transition: all 0.4s ease;
  text-align: right; /* Ensure Arabic text aligns right */
}

.timeline-content::before {
  /* Arrow pointing to marker */
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--white);
  transform: rotate(45deg);
  border-right: 4px solid transparent;
  border-top: 4px solid transparent;
  box-shadow: 2px -2px 2px rgba(0,0,0,0.03); /* Subtle shadow match */
  z-index: 1;
}

.timeline-item:hover .timeline-content {
  transform: translateX(-10px); /* Move slightly left on hover */
  box-shadow: var(--shadow-xl);
}

/* Date Badge - Elegant Styling */
.timeline-date {
  display: inline-block;
  background: rgba(197, 160, 89, 0.1);
  color: var(--accent-color);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1.5rem; /* Larger and clearer */
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Content Typography */
.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .timeline {
    padding: 20px 0;
    padding-right: 30px; /* Add padding to container */
  }
  
  .timeline::after {
    right: 30px;
  }
  
  .timeline-marker {
    right: 5px; /* 30px - 25px = 5px from right edge */
  }
  
  .timeline-item {
    padding-right: 50px; /* Space between line and content */
  }
}

/* Override old left/right classes to be uniform */
.timeline-item.left,
.timeline-item.right {
  left: auto;
  right: auto;
  width: 100%;
  transform: none;
}

.timeline-item.left .timeline-content,
.timeline-item.right .timeline-content {
  text-align: right;
  align-items: flex-start;
}

/* Service Tabs */
.services-tabs-container {
  margin-top: 3rem;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

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

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem; /* RTL layout */
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Selection Color */
::selection {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Mobile Responsiveness for Timeline - RTL Optimized */
@media (max-width: 768px) {
    .timeline::after {
        right: 31px;
        left: auto;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 0;
        padding-right: 70px;
    }
    
    .timeline-item::before {
        right: 60px;
        border: medium solid white;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent var(--white);
    }

    .timeline-left::after, .timeline-right::after {
        right: 21px;
        left: auto;
    }
    
    .timeline-left, .timeline-right {
        left: 0;
    }
}
