/*
Theme Name: Elite Counsel - ECLC
Theme URI: https://eclcuae.com
Author: Elite Counsel For Legal Consultants
Description: قالب احترافي للنخبة للاستشارات القانونية - Elite Counsel UAE. Dark luxury theme with gold accents, fully bilingual Arabic/English.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: eclc
Tags: rtl-language, arabic, bilingual, dark, luxury, legal, professional
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&family=Lato:wght@300;400;700&family=Tajawal:wght@300;400;500;700;800&family=Cairo:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - matching original exactly */
  --bg:        #1a1a1a;
  --bg-card:   #212121;
  --bg-secondary: #262626;
  --gold:      #d4af37;
  --gold-hover:#c9a030;
  --gold-light: #f3e5ab;
  --white:     #ffffff;
  --foreground: #ffffff;
  --muted:     #b3b3b3;
  --border:    #404040;
  --input-bg:  #333333;
  --destructive: #ef4444;
  --success:   #22c55e;
  --whatsapp:  #25D366;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Lato', sans-serif;
  --font-arabic:  'Tajawal', 'Cairo', sans-serif;

  /* Spacing */
  --section-pad: 5rem 0;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  /* Shadows */
  --shadow-premium: 0 10px 40px -10px rgba(0,0,0,0.8);
  --shadow-gold: 0 10px 30px -5px rgba(212,175,55,0.4);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.625;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body,
body.lang-ar {
  font-family: var(--font-arabic);
  direction: rtl;
}

html[lang="en"] body,
body.lang-en {
  direction: ltr;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--foreground);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

p { margin-bottom: 1rem; }

.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section-padding { padding: var(--section-pad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== COMPONENTS ===== */

/* Divider Gold */
.divider-gold {
  width: 4rem;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0;
}
.divider-gold.mx-auto { margin-left: auto; margin-right: auto; }

/* Premium Card */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
}

.premium-card:hover {
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
}

/* Expertise Card */
.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.expertise-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

html[lang="ar"] .expertise-card::after { transform-origin: right; }

.expertise-card:hover {
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.5);
}

.expertise-card:hover::after { transform: scaleX(1); }

.expertise-icon-wrapper {
  width: 4rem; height: 4rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}

.expertise-card:hover .expertise-icon-wrapper {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
}

.expertise-card:hover .expertise-icon-wrapper svg { color: var(--gold) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer; border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  box-shadow: 0 15px 30px -5px rgba(212,175,55,0.6);
  transform: translateY(-2px);
  color: #1a1a1a;
}

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

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; height: 3.5rem; border-radius: var(--radius-lg); }

/* Gradient backgrounds */
.gradient-primary {
  background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
}

/* ===== TOP NAV BAR ===== */
#top-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-nav-left, .top-nav-right {
  display: flex; align-items: center; gap: 1.5rem;
}

.top-nav-link {
  color: var(--muted);
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.top-nav-link:hover { color: var(--gold); }
.top-nav-link svg { width: 14px; height: 14px; }

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(64,64,64,0.4);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  padding: 0.75rem 0;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.site-logo:hover { opacity: 0.9; }

.site-logo img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) { .site-logo img { height: 6rem; } }

.logo-text-wrap {
  display: none;
}
@media (min-width: 768px) {
  .logo-text-wrap {
    display: flex; flex-direction: column; justify-content: center;
  }
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* Main Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: var(--gold); }

.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 14rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
}

html[lang="ar"] .dropdown-menu { left: auto; right: 0; }

.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: var(--transition);
}
.dropdown-item:hover,
.dropdown-item.active {
  color: var(--gold);
  background: rgba(212,175,55,0.05);
}

/* Nav Actions */
.nav-actions {
  display: flex; align-items: center; gap: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(64,64,64,0.5);
}

html[lang="ar"] .nav-actions {
  padding-left: 0; padding-right: 1rem;
  border-left: none; border-right: 2px solid rgba(64,64,64,0.5);
}

.lang-toggle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--foreground);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.lang-toggle:hover { color: var(--gold); background: rgba(212,175,55,0.1); }

.track-btn {
  color: var(--foreground);
  padding: 0.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex; align-items: center;
}
.track-btn:hover { color: var(--gold); }
.track-btn svg { width: 18px; height: 18px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: var(--transition);
}
.menu-toggle:hover { color: var(--gold); background: rgba(212,175,55,0.1); }
.menu-toggle svg { width: 24px; height: 24px; }

@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 301;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 1.5rem;
}

html[lang="ar"] .mobile-nav-drawer {
  right: auto; left: -320px;
  border-left: none; border-right: 1px solid var(--border);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open .mobile-nav-drawer { right: 0; }
html[lang="ar"] .mobile-nav-overlay.open .mobile-nav-drawer { left: 0; }

.mobile-nav-close {
  display: flex; margin-left: auto;
  width: 2rem; height: 2rem;
  align-items: center; justify-content: center;
  color: var(--muted);
  margin-bottom: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-nav-close:hover { color: var(--gold); }

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--gold); }

.mobile-services-label {
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.75rem; margin-top: 1rem;
}

.mobile-service-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-service-link:hover { color: var(--gold); }

/* ===== HERO SECTION ===== */
.hero-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
  overflow: hidden;
}

.hero-bg-image {
  position: absolute; inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%; max-width: 56rem;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo {
  width: 100%; max-width: 32rem;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 10px 20px rgba(212,175,55,0.1));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== ABOUT / DR MAHRAN SECTION ===== */
.dr-section {
  padding: 5rem 0 7rem;
  background: var(--bg);
  border-top: 1px solid rgba(64,64,64,0.5);
}

.dr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .dr-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
}

.dr-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-premium);
}

.dr-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.7s ease;
}

.dr-image-wrap:hover img { transform: scale(1.05); }

.dr-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(26,26,26,0.2) 50%, transparent 100%);
  opacity: 0.8;
  z-index: 1;
  transition: opacity 0.5s;
}

.dr-image-wrap:hover .dr-image-overlay { opacity: 0.6; }

.dr-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dr-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.dr-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.dr-credentials { list-style: none; margin-bottom: 2.5rem; }

.dr-credential-item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.dr-credential-item:hover .dr-cred-icon { border-color: var(--gold); }
.dr-credential-item:hover .dr-cred-title { color: var(--gold); }

.dr-cred-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.dr-cred-icon svg { width: 1.75rem; height: 1.75rem; color: var(--muted); }

.dr-credential-item:hover .dr-cred-icon svg { color: var(--gold); }

.dr-cred-title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.2rem;
  transition: var(--transition);
}

.dr-cred-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(64,64,64,0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(212,175,55,0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.stat-card:hover {
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.5);
}

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

.stat-icon {
  width: 4rem; height: 4rem;
  border-radius: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.stat-card:hover .stat-icon { border-color: rgba(212,175,55,0.5); }
.stat-icon svg { width: 2rem; height: 2rem; color: var(--muted); transition: var(--transition); }
.stat-card:hover .stat-icon svg { color: var(--gold); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--foreground);
  font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header { text-align: center; margin-bottom: 4rem; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 1rem auto 0;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  transform: translateY(-5px);
  border-color: rgba(212,175,55,0.5);
}

.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
}

.service-icon svg { width: 1.75rem; height: 1.75rem; color: var(--muted); transition: var(--transition); }
.service-card:hover .service-icon svg { color: var(--gold); }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.service-card:hover .service-title { color: var(--gold); }

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service-arrow {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition);
}

html[lang="ar"] .service-arrow { transform: translateX(5px); }

.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ===== AREAS OF EXPERTISE ===== */
.expertise-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

/* ===== WHY CHOOSE US ===== */
.why-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.page-hero-inner { text-align: center; position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 1rem auto 0;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 5rem; }
}

.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }

.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--foreground);
}

.contact-info-value a:hover { color: var(--gold); }

.map-embed {
  width: 100%; height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.map-embed iframe { width: 100%; height: 100%; border: none; filter: grayscale(60%); }

/* ===== FORMS ===== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-label .required { color: var(--gold); }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  transition: var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.form-control::placeholder { color: var(--muted); }
.form-control.error { border-color: var(--destructive); }
.form-control[dir="ltr"] { direction: ltr; }

textarea.form-control { resize: vertical; min-height: 7rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-error {
  font-size: 0.8rem;
  color: var(--destructive);
  margin-top: 0.35rem;
  font-family: var(--font-heading);
}

.form-success {
  text-align: center;
  padding: 3rem;
}

.form-success-icon {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success-icon svg { width: 2.5rem; height: 2.5rem; color: var(--success); }

.reference-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.reference-id {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ===== BOOKING FORM SPECIFIC ===== */
.booking-page { min-height: calc(100vh - 200px); }

/* ===== TEAM PAGE ===== */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .founder-card { grid-template-columns: 2fr 3fr; gap: 4rem; }
}

.founder-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
}

.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.founder-socials {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}

.founder-social-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: var(--transition);
}

.founder-social-link:hover { color: var(--gold); border-color: var(--gold); }

.team-members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.5);
}

.team-member-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-member-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-photo img { transform: scale(1.05); }

.team-member-info { padding: 1.5rem; }

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-member-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ===== CAREERS ===== */
.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.career-value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.career-value-card:hover { border-color: rgba(212,175,55,0.5); }

/* ===== NEWS / BLOG ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.5);
}

.news-card-image {
  aspect-ratio: 16/9; overflow: hidden;
}

.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-content { padding: 1.5rem; }

.news-card-category {
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem; display: block;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: var(--transition);
}

.news-card:hover .news-card-title { color: var(--gold); }

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.news-card-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== TRACK REQUEST ===== */
.track-result {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.track-status-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
}

.track-status-badge.pending { background: rgba(251,191,36,0.15); color: #fbbf24; }
.track-status-badge.in_review { background: rgba(59,130,246,0.15); color: #3b82f6; }
.track-status-badge.completed { background: rgba(34,197,94,0.15); color: #22c55e; }
.track-status-badge.cancelled { background: rgba(239,68,68,0.15); color: #ef4444; }

/* ===== SUBMISSIONS PAGE ===== */
.submissions-table {
  width: 100%;
  border-collapse: collapse;
}

.submissions-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

html[lang="ar"] .submissions-table th { text-align: right; }

.submissions-table td {
  padding: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(64,64,64,0.4);
  vertical-align: top;
}

.submissions-table tr:hover td { background: rgba(212,175,55,0.03); }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; } }

.footer-logo-wrap {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo-wrap img { height: 4rem; width: auto; }

.footer-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex; gap: 0.75rem;
}

.footer-social {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--foreground);
  transition: var(--transition);
}

.footer-social:hover { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.footer-col-title::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}

.footer-link:hover { color: var(--gold); }

.footer-link svg { width: 1rem; height: 1rem; opacity: 0; transition: var(--transition); }
.footer-link:hover svg { opacity: 1; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-contact-item svg { width: 1.25rem; height: 1.25rem; color: var(--gold); flex-shrink: 0; margin-top: 0.1rem; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  html[lang="ar"] .footer-bottom { text-align: right; }
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal {
  display: flex; gap: 1.5rem;
}

.footer-legal a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--muted);
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--gold); }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 4.5rem; height: 4.5rem;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}

html[lang="ar"] .whatsapp-btn { right: auto; left: 1.5rem; }

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.whatsapp-btn::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: whatsapp-ping 2s infinite;
  opacity: 0.3;
}

@keyframes whatsapp-ping {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-btn svg { width: 2.5rem; height: 2.5rem; color: white; position: relative; z-index: 1; }

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%; transform: translateY(-50%);
  background: var(--foreground);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

html[lang="ar"] .whatsapp-tooltip { right: auto; left: calc(100% + 0.75rem); }

.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ===== PRIVACY / TERMS ===== */
.legal-content {
  max-width: 50rem;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin: 2rem 0 1rem;
}

.legal-content h3 { font-size: 1.2rem; color: var(--foreground); margin: 1.5rem 0 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin: 0.75rem 0; }
html[lang="ar"] .legal-content ul { padding-left: 0; padding-right: 1.5rem; }
.legal-content li { margin-bottom: 0.4rem; }

/* ===== ALERTS & NOTIFICATIONS ===== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem;
}

.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.alert-info { background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3); color: var(--gold); }

/* ===== LOADING ===== */
.spinner {
  display: inline-block;
  width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(26,26,26,0.3);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-padding { padding: 3rem 0; }
  .hero-shell { min-height: 50vh; padding: 3rem 0; }
  .page-hero { padding: 6rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .careers-values-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .careers-values-grid { grid-template-columns: 1fr; }
  .founder-socials { flex-direction: column; }
}

/* ===== WORDPRESS SPECIFICS ===== */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

.wp-caption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.wp-block-image { margin: 2rem 0; }
