/* ============================================================
   Raja Bilal Saleem Curtains & Majlis - Complete Responsive Design System
   v3.0 — Robust Dark/Light Mode, Seamless Contrast, Arabic/English RTL
   ============================================================ */

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

/* ============================================================
   ROOT VARIABLES - LIGHT MODE (DEFAULT)
   ============================================================ */
:root {
  --gold: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f5d77f;
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 60%, #b8860b 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --border-gold: rgba(212, 175, 55, 0.35);

  /* Light Theme Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #fbf9f5;
  --bg-tertiary: #f3ede2;
  --bg-nav: rgba(255, 255, 255, 0.96);
  --nav-link-color: #1a1a2e;
  --toolbar-btn-bg: rgba(0, 0, 0, 0.05);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #e5e7eb;

  --dark: #0f172a;
  --white: #ffffff;
  --light-gray: #fbf9f5;
  --off-white: #f5ede1;

  --card-bg: #ffffff;
  --card-border: #e8e2d5;
  --input-bg: #fcfbf8;
  --icon-bg: #f5efe3;
  --shadow-color: rgba(0, 0, 0, 0.08);

  /* Section specific light adaptations */
  --stats-bg: #f9f6ee;
  --stats-border: #e5ded0;
  --testi-bg: #fbf9f5;
  --testi-card-bg: #ffffff;
  --testi-card-border: #e5ded0;
  --footer-bg: #0d1b2a;

  --font-en: 'Montserrat', 'Poppins', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 14px 50px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.28);

  /* Fluid spacing */
  --section-py: clamp(60px, 8vw, 100px);
  --container-px: clamp(16px, 4vw, 32px);
}

/* ============================================================
   DARK MODE VARIABLES
   ============================================================ */
[data-theme="dark"] {
  --gold: #e5be3d;
  --gold-dark: #c89c1b;
  --gold-light: #f7e096;
  --gold-gradient: linear-gradient(135deg, #f7e096 0%, #e5be3d 60%, #c89c1b 100%);
  --gold-glow: rgba(229, 190, 61, 0.3);
  --border-gold: rgba(229, 190, 61, 0.28);

  --bg-primary: #0a1118;
  --bg-secondary: #0f1824;
  --bg-tertiary: #162232;
  --bg-nav: rgba(10, 17, 24, 0.97);
  --nav-link-color: #f8fafc;
  --toolbar-btn-bg: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8896ab;
  --text-light: #f1f5f9;

  --dark: #0a1118;
  --white: #ffffff;
  --light-gray: #0f1824;
  --off-white: #162232;

  --card-bg: #141f2e;
  --card-border: rgba(229, 190, 61, 0.2);
  --input-bg: #0f1824;
  --icon-bg: rgba(229, 190, 61, 0.12);
  --shadow-color: rgba(0, 0, 0, 0.5);

  --stats-bg: #080f17;
  --stats-border: rgba(229, 190, 61, 0.2);
  --testi-bg: #0b121b;
  --testi-card-bg: #141f2e;
  --testi-card-border: rgba(229, 190, 61, 0.22);
  --footer-bg: #070c12;

  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 55px rgba(0, 0, 0, 0.65);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* Arabic RTL Support */
html[dir="rtl"] { direction: rtl; }
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="en"] body { font-family: var(--font-en); }

body {
  font-family: var(--font-ar);
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-subtitle {
  display: inline-block;
  color: var(--gold-dark);
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

[data-theme="dark"] .section-subtitle {
  color: var(--gold);
}

.section-subtitle::before { content: '— '; }
.section-subtitle::after { content: ' —'; }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title span, .gold-text {
  color: var(--gold-dark);
}

[data-theme="dark"] .section-title span,
[data-theme="dark"] .gold-text {
  color: var(--gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000 !important;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  filter: brightness(1.08);
  color: #000 !important;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: var(--gold);
}

.hero-actions .btn-outline {
  color: #fff !important;
}

.btn-outline:hover {
  background: var(--gold-gradient);
  color: #000 !important;
  transform: translateY(-2px);
}

/* ============================================================
   TOOLBAR BUTTONS (THEME & LANG)
   ============================================================ */
.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: var(--toolbar-btn-bg);
  color: var(--nav-link-color);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.toolbar-btn:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.toolbar-btn .icon { font-size: 0.85rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 12px 0;
}

.header.transparent {
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.header.transparent .nav-menu li a {
  color: rgba(255, 255, 255, 0.95);
}

.header.transparent .toolbar-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.5);
}

.header.transparent .hamburger span {
  background: #ffffff;
}

.header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 9px 0;
  box-shadow: 0 4px 25px var(--shadow-color);
  border-bottom: 1px solid var(--border-gold);
}

.header.scrolled .nav-menu li a {
  color: var(--nav-link-color);
}

.header.scrolled .nav-menu li a:hover,
.header.scrolled .nav-menu li a.active {
  color: var(--gold-dark);
}

[data-theme="dark"] .header.scrolled .nav-menu li a:hover,
[data-theme="dark"] .header.scrolled .nav-menu li a.active {
  color: var(--gold);
}

.header.scrolled .toolbar-btn {
  background: var(--toolbar-btn-bg);
  color: var(--nav-link-color);
  border-color: var(--border-gold);
}

.header.scrolled .hamburger span {
  background: var(--nav-link-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: clamp(32px, 4vw, 46px);
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-menu li a {
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  white-space: nowrap;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after { width: 70%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--gold-gradient) !important;
  color: #000 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  border: none !important;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.06);
  color: #000 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--nav-link-color);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px;
}

.nav-overlay.active { display: flex; }
.nav-overlay a {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-overlay a:hover, .nav-overlay a.active { color: var(--gold); }
.nav-overlay .overlay-toolbar { display: flex; gap: 12px; margin-top: 10px; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 1100px;
  overflow: hidden;
  margin-top: 0;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: min(820px, 92%);
}

.hero-slide.active .hero-content { animation: heroFadeIn 0.9s ease forwards; }

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

.hero-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: #000;
  font-size: clamp(0.7rem, 1.5vw, 0.78rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title .gold-text { color: var(--gold); }

.hero-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.15rem);
  color: #e5e7eb;
  margin-bottom: 34px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: clamp(40px, 5vw, 54px);
  height: clamp(40px, 5vw, 54px);
  background: rgba(13,27,42,0.75);
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.hero-arrow:hover { background: var(--gold); color: #000; }
.hero-prev { left: clamp(10px, 2vw, 30px); }
.hero-next { right: clamp(10px, 2vw, 30px); }

.hero-dots {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid var(--gold);
  cursor: pointer; transition: var(--transition);
}

.hero-dot.active { background: var(--gold); width: 30px; border-radius: var(--radius-pill); }

/* Hero Stats Box */
.hero-stats {
  position: absolute;
  bottom: clamp(50px, 8vw, 80px);
  right: clamp(16px, 3vw, 40px);
  z-index: 10;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 24px) clamp(18px, 3vw, 32px);
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.hero-stat-item { text-align: center; }
.hero-stat-item h4 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.hero-stat-item p { font-size: clamp(0.65rem, 1vw, 0.78rem); color: #e5e7eb; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ============================================================
   SCROLL REVEAL (SAFE FAIL-SAFE DEFAULT: VISIBLE)
   ============================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   SECTIONS PADDING
   ============================================================ */
.about-section, .services-section, .portfolio-section,
.team-section, .testimonials-section, .faq-section,
.process-section, .contact-section {
  padding: var(--section-py) 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg-primary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.about-image-wrap { position: relative; }
.about-image-wrap .main-img {
  width: 100%;
  height: clamp(300px, 45vw, 550px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
}

.about-image-wrap .exp-badge {
  position: absolute;
  bottom: -24px; right: -20px;
  width: clamp(110px, 15vw, 150px);
  height: clamp(110px, 15vw, 150px);
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #000; text-align: center;
  box-shadow: var(--shadow-gold);
  border: 3px solid var(--bg-primary);
}

.exp-badge .num { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; line-height: 1; }
.exp-badge .text { font-size: clamp(0.6rem, 1vw, 0.75rem); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.checklist { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--text-primary);
  font-size: clamp(0.85rem, 1.5vw, 0.98rem);
}

.checklist li::before {
  content: '✓';
  width: 22px; height: 22px; min-width: 22px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 0.8rem; font-weight: 900;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
}

.service-card {
  background: var(--card-bg);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative; overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto clamp(16px, 2vw, 24px);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  transition: var(--transition);
}

.service-card:hover .service-icon { background: var(--gold-gradient); color: #000; }
.service-card h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin-bottom: 10px; color: var(--text-primary); }
.service-card p { font-size: clamp(0.85rem, 1.4vw, 0.95rem); color: var(--text-secondary); line-height: 1.8; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: clamp(50px, 6vw, 80px) 0;
  background: var(--stats-bg);
  position: relative; overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--stats-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid var(--stats-border);
}

.stat-item:last-child { border-right: none; }
.stat-item .number {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

[data-theme="dark"] .stat-item .number { color: var(--gold); }

.stat-item p {
  color: var(--text-primary);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-section { background: var(--bg-primary); }

.portfolio-filter {
  display: flex; gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: clamp(8px, 1.2vw, 11px) clamp(20px, 2.5vw, 30px);
  border-radius: var(--radius-pill);
  border: 2px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-primary);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  cursor: pointer; transition: var(--transition);
  font-family: inherit;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gold-gradient);
  color: #000; border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--card-border);
}

.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, transparent 60%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2vw, 24px);
  opacity: 0; transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: #fff; font-size: clamp(1rem, 1.8vw, 1.2rem); margin-bottom: 4px; }
.portfolio-overlay p { color: var(--gold); font-size: clamp(0.78rem, 1.2vw, 0.9rem); font-weight: 700; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { background: var(--bg-primary); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: clamp(40px, 6vw, 50px);
  left: 10%; right: 10%;
  height: 2px;
  background: var(--gold-gradient);
  z-index: 0;
}

.process-card {
  text-align: center; position: relative; z-index: 1;
  padding: clamp(20px, 2.5vw, 30px) clamp(12px, 1.5vw, 20px);
}

.process-num {
  width: clamp(70px, 10vw, 100px);
  height: clamp(70px, 10vw, 100px);
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900; color: #000;
  margin: 0 auto clamp(16px, 2vw, 24px);
  box-shadow: var(--shadow-gold);
  border: 4px solid var(--bg-primary);
  outline: 2px solid var(--gold);
}

.process-card h3 { font-size: clamp(0.95rem, 1.5vw, 1.15rem); margin-bottom: 10px; color: var(--text-primary); }
.process-card p { font-size: clamp(0.82rem, 1.3vw, 0.92rem); color: var(--text-secondary); line-height: 1.8; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section { background: var(--bg-secondary); }

.owner-card-wrap { margin-bottom: 50px; }

.owner-card {
  background: var(--card-bg);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

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

.owner-img-box {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.owner-img-box img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

.owner-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .owner-badge { left: auto; right: 20px; }

.owner-info { padding: clamp(24px, 4vw, 44px); }
.owner-info .tag {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: block;
}

[data-theme="dark"] .owner-info .tag { color: var(--gold); }

.owner-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.owner-info .role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

[data-theme="dark"] .owner-info .role { color: var(--gold); }

.owner-info .bio {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 620px;
}

.owner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
}

.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.team-card img { width: 100%; height: clamp(220px, 25vw, 320px); object-fit: cover; object-position: top; transition: transform 0.6s ease; }
.team-card:hover img { transform: scale(1.04); }
.team-card .info { padding: clamp(16px, 2vw, 24px) clamp(12px, 1.5vw, 20px); }
.team-card .info h3 { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 6px; color: var(--text-primary); }
.team-card .info p { color: var(--gold-dark); font-weight: 700; font-size: clamp(0.75rem, 1.2vw, 0.88rem); text-transform: uppercase; letter-spacing: 0.5px; }
[data-theme="dark"] .team-card .info p { color: var(--gold); }

/* ============================================================
   TESTIMONIALS SECTION (ELEVATED PRO MAX STYLING)
   ============================================================ */
.testimonials-section {
  background: var(--testi-bg);
  border-top: 1px solid var(--card-border);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
}

.testi-card {
  background: var(--testi-card-bg);
  border: 1px solid var(--testi-card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--gold); opacity: 0.18;
  line-height: 1; font-family: Georgia, serif;
}

html[dir="rtl"] .testi-card::before { right: auto; left: 24px; }

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

.testi-stars { display: flex; gap: 4px; margin-bottom: 12px; color: var(--gold); }
.testi-stars i { font-size: 0.95rem; }

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

[data-theme="dark"] .verified-tag {
  background: rgba(37, 211, 102, 0.18);
  color: #34d399;
}

.testi-text {
  color: var(--text-secondary);
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.85;
  margin-bottom: 22px;
  font-style: italic;
}

.testi-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-author h4 {
  color: var(--text-primary);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-bottom: 3px;
  font-weight: 700;
}

.testi-author p {
  color: var(--gold-dark);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .testi-author p { color: var(--gold); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--bg-secondary); }

.faq-container { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  padding: clamp(16px, 2vw, 22px) clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: var(--text-primary);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}

.faq-question:hover { color: var(--gold-dark); }
[data-theme="dark"] .faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
  transition: var(--transition);
}

.faq-item.open .faq-icon { background: var(--gold-gradient); color: #000; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 clamp(20px, 2.5vw, 28px) clamp(16px, 2vw, 22px); font-size: clamp(0.85rem, 1.3vw, 0.95rem); line-height: 1.85; color: var(--text-secondary); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
  position: relative;
  padding: clamp(120px, 15vw, 180px) 0 clamp(60px, 8vw, 80px);
  background-size: cover; background-position: center;
  text-align: center;
}

.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.78) 100%);
}

.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900; margin-bottom: 16px; }

.breadcrumb {
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  color: #cbd5e1; font-size: clamp(0.85rem, 1.4vw, 0.98rem);
}

.breadcrumb a { color: var(--gold); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #aaa; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg-primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }

.contact-info-icon {
  width: clamp(46px, 6vw, 58px);
  height: clamp(46px, 6vw, 58px);
  min-width: clamp(46px, 6vw, 58px);
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #000;
}

.contact-info-text h4 { font-size: clamp(0.95rem, 1.5vw, 1.1rem); margin-bottom: 4px; color: var(--text-primary); }
.contact-info-text p { color: var(--text-secondary); font-size: clamp(0.85rem, 1.3vw, 0.95rem); line-height: 1.7; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); }
.form-group { margin-bottom: clamp(14px, 2vw, 20px); }

.form-control {
  width: 100%;
  padding: clamp(11px, 1.5vw, 15px) clamp(14px, 1.8vw, 20px);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: clamp(0.85rem, 1.4vw, 0.98rem);
  color: var(--text-primary);
  background: var(--input-bg);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
textarea.form-control { height: clamp(120px, 15vw, 150px); resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  padding: clamp(50px, 7vw, 80px) 0 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer-logo { height: clamp(38px, 5vw, 52px); width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-about-text { color: #9aa8bc; font-size: clamp(0.85rem, 1.3vw, 0.95rem); line-height: 1.85; margin-bottom: 22px; }

.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
  width: clamp(36px, 4vw, 42px); height: clamp(36px, 4vw, 42px);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: clamp(0.85rem, 1.2vw, 1rem);
  transition: var(--transition);
}

.footer-social-link:hover { background: var(--gold-gradient); color: #000; border-color: transparent; }

.footer-heading {
  color: #fff; font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}

.footer-heading::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
}

html[dir="rtl"] .footer-heading::after { left: auto; right: 0; }

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

.footer-links a {
  color: #9aa8bc; font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}

html[dir="rtl"] .footer-links a { flex-direction: row-reverse; justify-content: flex-end; }

.footer-links a::before { content: '›'; color: var(--gold); font-weight: 700; font-size: 1.1rem; }
html[dir="rtl"] .footer-links a::before { content: '‹'; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
html[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 5px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: #9aa8bc; font-size: clamp(0.85rem, 1.3vw, 0.95rem); }
.footer-contact-item .icon { color: var(--gold); font-size: 1rem; margin-top: 3px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; color: #718096; font-size: clamp(0.78rem, 1.2vw, 0.88rem); }

/* ============================================================
   FLOATING CTAS
   ============================================================ */
.floating-ctas {
  position: fixed;
  bottom: clamp(20px, 3vw, 30px);
  right: clamp(16px, 2.5vw, 30px);
  z-index: 999; display: flex; flex-direction: column; gap: 12px;
}

.float-btn {
  width: clamp(50px, 6vw, 58px); height: clamp(50px, 6vw, 58px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.float-wa { background: #25d366; animation: pulse-wa 2.5s infinite; }
.float-call { background: var(--gold-gradient); color: #000 !important; }
.float-btn:hover { transform: scale(1.12); }

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   RTL ADJUSTMENTS
   ============================================================ */
html[dir="rtl"] .hero-content { text-align: right; }
html[dir="rtl"] .hero-actions { justify-content: flex-start; }
html[dir="rtl"] .hero-stats { right: auto; left: clamp(16px, 3vw, 40px); }
html[dir="rtl"] .hero-prev { left: auto; right: clamp(10px, 2vw, 30px); }
html[dir="rtl"] .hero-next { right: auto; left: clamp(10px, 2vw, 30px); }
html[dir="rtl"] .exp-badge { right: auto; left: -20px; bottom: -24px; }
html[dir="rtl"] .process-grid::before { left: 10%; right: 10%; }
html[dir="rtl"] .floating-ctas { right: auto; left: clamp(16px, 2.5vw, 30px); }

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-banner-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #17263c 100%);
  border-top: 2px solid var(--border-gold);
  border-bottom: 2px solid var(--border-gold);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-section h2 {
  color: #ffffff !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner-section p {
  color: #cbd5e1 !important;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}
[data-theme="dark"] .cta-banner-section {
  background: linear-gradient(135deg, #070c12 0%, #0e1724 100%);
  border-color: rgba(229, 190, 61, 0.25);
}

/* ============================================================
   FABRIC GUIDE TABLE
   ============================================================ */
.fabric-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
  margin-top: 36px;
}
.fabric-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
}
html[dir="ltr"] .fabric-table {
  text-align: left;
}
.fabric-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 16px 20px;
  font-weight: 800;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}
[data-theme="dark"] .fabric-table th {
  background: #141f2e;
}
.fabric-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-secondary);
}
.fabric-table tr:last-child td {
  border-bottom: none;
}
.fabric-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}
[data-theme="dark"] .fabric-table tr:hover td {
  background: rgba(229, 190, 61, 0.05);
}
.fabric-badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
}
[data-theme="dark"] .fabric-badge-tag {
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (min-width: 1400px) {
  .hero-title { font-size: 4.2rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .nav-menu li a { font-size: 0.72rem; padding: 6px 8px; }
}

@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); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image-wrap .exp-badge { right: 10px; bottom: -20px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-content { text-align: center; }
  html[dir="ltr"] .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 32px; }
  .owner-card { grid-template-columns: 1fr; }
  .owner-img-box { height: 320px; }
}

@media (max-width: 600px) {
  html { font-size: 14px; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--stats-border); padding: 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--stats-border); }
  .stat-item:last-child, .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-ctas { bottom: 16px; right: 12px; gap: 8px; }
}
