/* ============================================
   OLMEINAR — Premium Agency Landing Page
   Design System & Styles
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&family=Cairo:wght@400;600;700&display=swap');

/* --- Local Fonts Import --- */
@font-face {
  font-family: 'Oswald';
  src: url('Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --bg-primary: #1A1A1A;
  --bg-secondary: #0D1B2A;
  --bg-card: #222222;
  --text-primary: #F2F2F2;
  --text-muted: #8A8F98;
  --accent-gold: #A67C2E;
  --accent-gold-light: #C9A04E;
  --accent-burgundy: #660033;
  --navy: #0D1B2A;
  --gray: #8A8F98;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Oswald', sans-serif;
  --font-arabic: 'Cairo', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow-gold: 0 0 30px rgba(166, 124, 46, 0.3);
  --glow-gold-strong: 0 0 50px rgba(166, 124, 46, 0.5);
  --glass-bg: rgba(26, 26, 26, 0.75);
  --glass-border: rgba(242, 242, 242, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea {
  font-family: var(--font-body);
  border: none;
  outline: none;
  background: none;
  color: var(--text-primary);
}

/* --- Utility --- */
.section-padding { padding: 120px 5%; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-label {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 5%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 5%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-logo { margin-inline-start: auto; }
.navbar-logo img { height: 44px; transition: var(--transition); }
.navbar.scrolled .navbar-logo img { height: 38px; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Language Toggle Button */
.lang-toggle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  border: 1px solid var(--glass-border);
  background: rgba(242, 242, 242, 0.03);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-toggle:hover {
  border-color: var(--accent-gold);
  background: rgba(166, 124, 46, 0.1);
  box-shadow: var(--glow-gold);
  transform: scale(1.05);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  overflow: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Animated gradient orbs */
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-bg .orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-gold), transparent 70%);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.hero-bg .orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-burgundy), transparent 70%);
  bottom: -15%; right: -5%;
  animation-delay: -4s;
}
.hero-bg .orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--navy), transparent 70%);
  top: 40%; right: 20%;
  animation-delay: -8s;
  opacity: 0.3;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}
/* Particle dots */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--bg-primary);
  box-shadow: 0 4px 25px rgba(166, 124, 46, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold-strong);
}
.btn-outline {
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
}
.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}
/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.scroll-indicator i { font-size: 1.2rem; color: var(--accent-gold); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.9;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-tags span {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--glass-border);
  background: rgba(166, 124, 46, 0.08);
  color: var(--accent-gold-light);
  transition: var(--transition);
}
.about-tags span:hover {
  background: rgba(166, 124, 46, 0.18);
  border-color: var(--accent-gold);
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), var(--navy));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(166,124,46,0.1), transparent 60%);
}
.about-visual-card img {
  width: 60%;
  opacity: 0.85;
  filter: drop-shadow(0 0 30px rgba(166,124,46,0.2));
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services { background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(13,27,42,0.3) 50%, var(--bg-primary) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(166,124,46,0.3);
  box-shadow: var(--glow-gold);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(166, 124, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent-gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(166, 124, 46, 0.2);
  box-shadow: 0 0 20px rgba(166, 124, 46, 0.2);
}
.service-card h4 {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PORTFOLIO CTA SECTION
   ============================================ */
.portfolio-cta-wrapper {
  display: flex;
  justify-content: center;
}
.portfolio-card {
  position: relative;
  max-width: 680px;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover {
  border-color: rgba(166, 124, 46, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}
.portfolio-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(166, 124, 46, 0.08), transparent, rgba(102, 0, 51, 0.06), transparent);
  animation: glowSpin 8s linear infinite;
  z-index: 0;
}
@keyframes glowSpin {
  100% { transform: rotate(360deg); }
}
.portfolio-card-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  margin: 1px;
  border-radius: calc(var(--radius) - 1px);
  padding: 50px 40px;
  text-align: center;
}
.portfolio-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: inline-block;
}
.portfolio-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.portfolio-card-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--navy), var(--bg-primary));
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(166,124,46,0.06), transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 30px 10px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-carousel {
  overflow: hidden;
  position: relative;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.carousel-track {
  display: flex;
  gap: 30px;
  animation: scroll 75s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo {
  flex-shrink: 0;
  width: 160px; height: 100px;
  border-radius: var(--radius-sm);
  background: #F2F2F2; /* Off White Neutral */
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: grab;
  padding: 14px;
  overflow: hidden;
}
.client-logo:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6) contrast(1.1);
  opacity: 0.55;
  transition: filter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.client-logo:hover img {
  filter: grayscale(0%) brightness(1) contrast(1);
  opacity: 0.95;
}
.client-logo:hover img.logo-light {
  filter: grayscale(0%) brightness(0);
  opacity: 0.85;
}

/* ============================================
   TEAM SECTION
   ============================================ */
#team { background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(13,27,42,0.2) 50%, var(--bg-primary) 100%); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166,124,46,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(166,124,46,0.15), rgba(13,27,42,0.5));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--glass-border);
  transition: var(--transition);
}
.team-card:hover .team-avatar {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(166,124,46,0.2);
}
.team-avatar i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  opacity: 0.7;
}
.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.team-card p {
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.contact-info-row .contact-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px 30px;
  min-width: 280px;
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}
.contact-info-row .contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 124, 46, 0.35);
  box-shadow: var(--glow-gold);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(166,124,46,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.contact-item h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-item span {
  font-size: 1rem;
  font-weight: 500;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-primary);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(166,124,46,0.1);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.btn-submit {
  align-self: flex-start;
  padding: 16px 48px;
}

/* WhatsApp CTA Button */
.contact-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 44px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-whatsapp i {
  font-size: 1.4rem;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2BE06F, #1BA865);
}
.btn-whatsapp::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  background: linear-gradient(135deg, rgba(37,211,102,0.4), rgba(18,140,126,0.2));
  z-index: -1;
  animation: whatsappPulse 2s ease-in-out infinite;
}
@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 50px 5% 30px;
  border-top: 1px solid var(--glass-border);
  background: rgba(13, 27, 42, 0.3);
}
.footer-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img {
  height: auto;
  max-height: 140px;
  max-width: 280px;
  opacity: 0.85;
  transition: var(--transition);
}
.footer-logo img:hover {
  opacity: 1;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section-padding { padding: 80px 5%; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: var(--transition);
    padding: 40px;
  }
  .nav-links.active { right: 0; }

  /* RTL specific slider drawer behavior */
  html[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
  }
  html[dir="rtl"] .nav-links.active {
    left: 0;
    right: auto;
  }

  .menu-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .footer-content { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   GLOBAL RTL & ARABIC TYPOGRAPHY OVERRIDES
   ============================================ */
html[lang="ar"] {
  font-family: var(--font-arabic);
}
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] .nav-links a,
html[lang="ar"] .btn,
html[lang="ar"] .section-label,
html[lang="ar"] .about-text h3,
html[lang="ar"] .portfolio-card-content h3,
html[lang="ar"] .team-card h4,
html[lang="ar"] .contact-item h5,
html[lang="ar"] .stat-number {
  font-family: var(--font-arabic) !important;
  letter-spacing: normal !important;
}

/* Flip directional icons in RTL */
html[dir="rtl"] .ph-arrow-right {
  transform: scaleX(-1);
}
