/* ============================================
   LAST STEP REAL ESTATE - Main Stylesheet
   ============================================ */

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

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --blue-primary: #1E4FD8;
  --blue-light: #60A5FA;
  --blue-dark: #1238A0;
  --blue-deeper: #0D2466;
  --beige: #C8A97E;
  --beige-light: #E8D5B7;
  --beige-dark: #A08060;
  --beige-pale: #F5EDE0;
  --white: #FFFFFF;
  --off-white: #F8F6F2;
  --dark: #0D1B2A;
  --dark-medium: #1A2940;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --shadow-sm: 0 2px 8px rgba(30, 79, 216, 0.08);
  --shadow-md: 0 4px 20px rgba(30, 79, 216, 0.12);
  --shadow-lg: 0 8px 40px rgba(30, 79, 216, 0.16);
  --shadow-beige: 0 8px 30px rgba(200, 169, 126, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --font-display: 'Playfair Display', 'Cairo', serif;
  --font-arabic: 'Cairo', sans-serif;
  --font-latin: 'Montserrat', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-arabic);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.rtl, [dir="rtl"] { direction: rtl; text-align: right; }
body.ltr, [dir="ltr"] { direction: ltr; text-align: left; }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(30, 79, 216, 0.08);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--beige);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-title .highlight {
  color: var(--blue-primary);
  position: relative;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 600px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30, 79, 216, 0.35);
}

.btn-primary::before { background: rgba(255,255,255,0.1); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 79, 216, 0.45);
}

.btn-beige {
  background: var(--beige);
  color: var(--white);
  box-shadow: var(--shadow-beige);
}

.btn-beige:hover {
  background: var(--beige-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-sm { padding: 10px 24px; font-size: 13px; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.site-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

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

.main-nav a {
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}

#site-header.scrolled .main-nav a { color: var(--dark); }

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

#site-header.scrolled .main-nav a:hover,
#site-header.scrolled .main-nav a.active {
  background: var(--blue-primary);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}

#site-header.scrolled .lang-switcher {
  background: var(--gray-100);
}

.lang-switcher a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

#site-header.scrolled .lang-switcher a { color: var(--dark); }

.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--blue-primary);
  color: var(--white) !important;
  border-radius: 100px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#site-header.scrolled .mobile-menu-toggle span { background: var(--dark); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 40px 24px;
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--beige-pale);
  color: var(--blue-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deeper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1920&q=80');
  opacity: 0.35;
  transition: transform 8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 36, 102, 0.85) 0%,
    rgba(30, 79, 216, 0.6) 50%,
    rgba(13, 27, 42, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 169, 126, 0.2);
  border: 1px solid rgba(200, 169, 126, 0.4);
  color: var(--beige-light);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--beige); }
.hero-title .blue-accent { color: var(--blue-light); }

.hero-description {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 44px;
}

.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--beige);
  line-height: 1;
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  display: block;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Search Card */
.hero-search-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.search-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-arabic);
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
  appearance: none;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(30, 79, 216, 0.1);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   AREAS / LOCATIONS SECTION
   ============================================ */
.areas-section {
  padding: 100px 0;
  background: var(--off-white);
}

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

.section-header .section-subtitle { margin: 0 auto; }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.area-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.area-card:first-child { grid-column: span 2; aspect-ratio: auto; }
.area-card:nth-child(2) { grid-row: span 1; }

.area-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  background: var(--blue-deeper);
}

.area-card:hover .area-card-img { transform: scale(1.08); }

.area-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,36,102,0.85) 0%, rgba(13,36,102,0.2) 60%, transparent 100%);
  transition: var(--transition);
}

.area-card:hover .area-card-overlay {
  background: linear-gradient(to top, rgba(13,36,102,0.9) 0%, rgba(13,36,102,0.3) 60%, transparent 100%);
}

.area-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
}

.area-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.area-card-count {
  font-size: 13px;
  color: var(--beige-light);
  font-weight: 500;
}

.area-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--beige);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.area-card:hover .area-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder images for areas */
.area-img-sokhna { background: linear-gradient(135deg, #1E4FD8, #60A5FA); }
.area-img-northcoast { background: linear-gradient(135deg, #0D2466, #1E4FD8); }
.area-img-rassadr { background: linear-gradient(135deg, #C8A97E, #A08060); }
.area-img-gouna { background: linear-gradient(135deg, #1238A0, #60A5FA); }
.area-img-sahl { background: linear-gradient(135deg, #A08060, #C8A97E); }

.area-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.area-placeholder svg {
  width: 60px; height: 60px;
  fill: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.area-placeholder-name {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */
.projects-section {
  padding: 100px 0;
  background: var(--white);
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
}

.project-card:hover .project-card-img { transform: scale(1.06); }

.project-badge {
  position: absolute;
  top: 16px;
  background: var(--blue-primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}

[dir="rtl"] .project-badge { right: 16px; }
[dir="ltr"] .project-badge { left: 16px; }

.project-badge.featured { background: var(--beige); }
.project-badge.new { background: #10B981; }
.project-badge.sold { background: #EF4444; }

.project-card-body { padding: 24px; }

.project-area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.project-area-tag svg { width: 14px; height: 14px; }

.project-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-card-developer {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card-features {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-700);
}

.feature-item svg { width: 16px; height: 16px; color: var(--beige); flex-shrink: 0; }

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-primary);
}

.project-price-label {
  font-size: 11px;
  color: var(--gray-500);
  display: block;
  font-weight: 400;
}

/* Project Placeholder Images */
.proj-img-1 { background: linear-gradient(135deg, #1238A0 0%, #60A5FA 100%); }
.proj-img-2 { background: linear-gradient(135deg, #C8A97E 0%, #1E4FD8 100%); }
.proj-img-3 { background: linear-gradient(135deg, #0D2466 0%, #C8A97E 100%); }
.proj-img-4 { background: linear-gradient(135deg, #1E4FD8 0%, #10B981 100%); }
.proj-img-5 { background: linear-gradient(135deg, #A08060 0%, #1238A0 100%); }
.proj-img-6 { background: linear-gradient(135deg, #60A5FA 0%, #0D2466 100%); }

.project-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.project-placeholder-img svg {
  width: 50px; height: 50px;
  fill: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}

.project-placeholder-img span {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  font-weight: 600;
}

/* ============================================
   ABOUT / WHY US SECTION
   ============================================ */
.about-section {
  padding: 100px 0;
  background: var(--beige-pale);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deeper));
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-primary) 50%, var(--beige) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.05'%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");
}

.about-float-card {
  position: absolute;
  bottom: 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

[dir="rtl"] .about-float-card { left: -30px; }
[dir="ltr"] .about-float-card { right: -30px; }

.float-card-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-icon svg { width: 24px; height: 24px; fill: white; }
.float-card-number { font-size: 28px; font-weight: 800; color: var(--blue-primary); line-height: 1; }
.float-card-text { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

.about-expo-badge {
  position: absolute;
  top: 40px;
  background: var(--beige);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-beige);
  text-align: center;
}

[dir="rtl"] .about-expo-badge { right: -20px; }
[dir="ltr"] .about-expo-badge { left: -20px; }

.expo-badge-num { font-size: 36px; font-weight: 800; line-height: 1; }
.expo-badge-text { font-size: 12px; font-weight: 600; margin-top: 4px; }

.about-content { padding: 20px 0; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.about-feature {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige-light);
}

.about-feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--beige-pale), var(--beige-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-feature-icon svg { width: 24px; height: 24px; color: var(--beige-dark); }

.about-feature-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.about-feature-text { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ============================================
   DEVELOPERS SECTION
   ============================================ */
.developers-section {
  padding: 100px 0;
  background: var(--white);
}

.developers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.developer-card {
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.developer-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.developer-logo-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  transition: var(--transition);
}

.developer-card:hover .developer-logo-wrap {
  background: var(--beige-pale);
}

.developer-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.developer-logo-placeholder {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-primary);
}

.developer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.developer-projects-count {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   EXPO SECTION
   ============================================ */
.expo-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 50%, var(--dark-medium) 100%);
  position: relative;
  overflow: hidden;
}

.expo-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,169,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.expo-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.expo-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.expo-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.expo-title .gold { color: var(--beige); }

.expo-description {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.expo-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expo-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.expo-stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.expo-stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--beige);
  line-height: 1;
  font-family: var(--font-display);
  display: block;
  margin-bottom: 8px;
}

.expo-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  font-size: 80px;
  line-height: 1;
  color: var(--beige-light);
  font-family: var(--font-display);
}

[dir="rtl"] .testimonial-card::before { right: 24px; }
[dir="ltr"] .testimonial-card::before { left: 24px; }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg { width: 18px; height: 18px; fill: #F59E0B; }

.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 15px; color: var(--dark); }
.testimonial-role { font-size: 13px; color: var(--gray-500); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

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

.contact-info { padding: 10px 0; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 24px; height: 24px; fill: white; }

.contact-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.contact-value a { color: var(--blue-primary); }
.contact-value a:hover { color: var(--blue-dark); }

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-form-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--dark);
}

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

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 14px;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
}

.contact-form .form-group textarea { min-height: 120px; resize: vertical; }

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(30, 79, 216, 0.1);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deeper));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content { position: relative; z-index: 1; }

.cta-banner .section-tag {
  color: var(--beige-light);
  background: rgba(200,169,126,0.2);
}

.cta-banner .section-title { color: var(--white); }
.cta-banner .section-title .highlight { color: var(--beige); }

.cta-banner .section-subtitle {
  color: rgba(255,255,255,0.75);
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand .site-logo img { height: 48px; }

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

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

.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue-primary);
  transform: translateY(-3px);
}

.social-link svg { width: 18px; height: 18px; fill: white; }

.footer-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 30px; height: 2px;
  background: var(--beige);
}

[dir="rtl"] .footer-widget-title::after { right: 0; }
[dir="ltr"] .footer-widget-title::after { left: 0; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--beige); }
.footer-links a::before { content: '›'; font-size: 16px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 18px; height: 18px;
  fill: var(--beige);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--beige); }

/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
  min-height: 420px;
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-primary));
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.03'%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");
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.breadcrumb a, .breadcrumb span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover { color: var(--beige); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--beige); }

.page-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

/* ============================================
   FILTERS BAR
   ============================================ */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filters-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-arabic);
}

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

.filter-select {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--blue-primary);
}

/* ============================================
   SINGLE PROJECT PAGE
   ============================================ */
.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-main {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.gallery-side-item {
  overflow: hidden;
}

.gallery-main img,
.gallery-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-main:hover img,
.gallery-side-item:hover img { transform: scale(1.05); }

.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 60px 0;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.spec-item {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.spec-icon {
  width: 40px; height: 40px;
  background: var(--beige-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.spec-icon svg { width: 20px; height: 20px; color: var(--beige-dark); }
.spec-label { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.spec-value { font-size: 16px; font-weight: 700; color: var(--dark); }

.project-sticky-card {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.sticky-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-primary);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.sticky-price-label { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid var(--beige-light);
  background: linear-gradient(135deg, var(--blue-primary), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
}

.team-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.team-role { font-size: 14px; color: var(--blue-primary); font-weight: 600; }

/* ============================================
   UNITS SECTION
   ============================================ */
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 0;
}

.unit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.unit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.unit-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  overflow: hidden;
}

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

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

.unit-card-body { padding: 20px; }

.unit-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--beige-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.unit-name { font-size: 18px; font-weight: 700; margin-bottom: 12px; }

.unit-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.unit-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
}

.unit-spec svg { width: 14px; height: 14px; color: var(--beige); }

.unit-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-primary);
  font-family: var(--font-display);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

[dir="rtl"] .whatsapp-float { left: 32px; }
[dir="ltr"] .whatsapp-float { right: 32px; }

.whatsapp-float a {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

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

.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

.whatsapp-tooltip {
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8); }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue-primary); }
.text-beige { color: var(--beige); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.bg-blue { background: var(--blue-primary); }
.bg-beige { background: var(--beige); }
.bg-dark { background: var(--dark); }
.bg-pale { background: var(--beige-pale); }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.section-pad { padding: 100px 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE - TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-search-card { display: none; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .area-card:first-child { grid-column: span 1; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .developers-grid { grid-template-columns: repeat(2, 1fr); }
  .expo-inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-details-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero { min-height: 100svh; }
  .hero-title { font-size: 38px; }
  .hero-stats { gap: 24px; }
  .hero-stat .number { font-size: 30px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .developers-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .project-specs { grid-template-columns: repeat(2, 1fr); }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-side { display: none; }
  .section-header-flex { flex-direction: column; align-items: flex-start; }
  .expo-stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .container-wide { padding: 0 16px; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   LANGUAGE SWITCHER STYLES
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-switcher button,
.lang-switcher a {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-arabic);
  letter-spacing: 0.5px;
}

.lang-switcher button.active,
.lang-switcher a.active {
  background: var(--beige);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(200,169,126,0.4);
}

.lang-switcher button:hover:not(.active),
.lang-switcher a:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* LTR mode overrides */
body.lang-en {
  font-family: var(--font-latin), sans-serif;
  text-align: left;
}

body.lang-en .site-header,
body.lang-en .main-nav,
body.lang-en .footer-grid,
body.lang-en .hero-content,
body.lang-en .section-header {
  direction: ltr;
  text-align: left;
}

body.lang-en .section-header { text-align: center; }

body.lang-en [dir="rtl"] .footer-widget-title::after { right: auto; left: 0; }
body.lang-en [dir="rtl"] .project-badge { right: auto; left: 16px; }
body.lang-en [dir="rtl"] .whatsapp-float { left: auto; right: 32px; }
body.lang-en [dir="rtl"] .about-float-card { left: auto; right: -30px; }
body.lang-en [dir="rtl"] .about-expo-badge { right: auto; left: -20px; }

/* Logo sizing in header */
.site-logo img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Powered by strip */
.powered-by-strip {
  text-align: center;
  padding: 10px 0 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}

.powered-by-strip a {
  color: rgba(200,169,126,0.65);
  font-weight: 700;
  text-decoration: none;
  margin-inline-start: 6px;
  transition: color .2s;
}
.powered-by-strip a:hover { color: var(--beige); }

/* ── Dual-language visibility ── */
body.lang-ar .ls-en { display: none !important; }
body.lang-en .ls-ar { display: none !important; }
.ls-ar, .ls-en { display: inline; }
span.ls-ar, span.ls-en { display: inline; }
div.ls-ar, div.ls-en { display: block; }
p.ls-ar, p.ls-en { display: block; }
