* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a961;
  --gold-light: #e8d5a3;
  --gold-dark: #a08b47;
  --gold-accent: #d4b76a;
  --black: #0a0a0a;
  --black-soft: #151515;
  --white: #fefefe;
  --cream: #f9f7f2;
  --cream-dark: #f0ede6;
  --gray: #8b8b8b;
  --gray-light: #b8b8b8;
  --gray-dark: #4a4a4a;

  /* Optimized background pattern controls */
  --pattern-opacity-dark: 0.04;
  --pattern-opacity-light: 0.03;
  --pattern-size: 300px;
}

/* Arabic Typography */
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;600;700;800;900&family=Cairo:wght@200;300;400;500;600;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  font-family: "Tajawal", "Cairo", "Inter", sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

/* Enhanced Navigation */
.nav-constellation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
  height: auto;
  min-height: 120px;
}

.nav-constellation.nav-hidden {
  transform: translateY(-120px);
  opacity: 0;
  pointer-events: none;
}

.nav-constellation.nav-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: none;
}

.nav-constellation.nav-visible .nav-brand-complex,
.nav-constellation.nav-visible .nav-constellation-menu {
  pointer-events: all;
}

/* Dark theme */
.nav-constellation.nav-dark {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, transparent 100%);
}

.nav-constellation.nav-dark .brand-primary {
  color: var(--white);
}

.nav-constellation.nav-dark .brand-secondary {
  color: var(--gold);
}

.nav-constellation.nav-dark .brand-accent {
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.nav-constellation.nav-dark .nav-constellation-item {
  color: rgba(255, 255, 255, 0.5);
}

.nav-constellation.nav-dark .nav-constellation-item:hover {
  color: var(--gold);
}

.nav-constellation.nav-dark .nav-constellation-item::before,
.nav-constellation.nav-dark .nav-constellation-item::after {
  background: var(--gold);
}

/* Light theme */
.nav-constellation.nav-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
}

.nav-constellation.nav-light .brand-primary {
  color: var(--black);
}

.nav-constellation.nav-light .brand-secondary {
  color: var(--gold-dark);
}

.nav-constellation.nav-light .brand-accent {
  background: linear-gradient(180deg, var(--gold-dark) 0%, transparent 100%);
}

.nav-constellation.nav-light .nav-constellation-item {
  color: rgba(0, 0, 0, 0.6);
}

.nav-constellation.nav-light .nav-constellation-item:hover {
  color: var(--gold-dark);
}

.nav-constellation.nav-light .nav-constellation-item::before,
.nav-constellation.nav-light .nav-constellation-item::after {
  background: var(--gold-dark);
}

.nav-brand-complex {
  position: relative;
  top: 0;
  right: 0;
  pointer-events: all;
  display: inline-block;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-direction: row-reverse;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.brand-primary {
  font-family: "Cairo", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.brand-secondary {
  font-family: "Tajawal", sans-serif;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: color 0.3s ease;
  margin-top: 0.2rem;
}

.brand-accent {
  position: absolute;
  top: -0.3rem;
  left: -0.8rem;
  width: 1px;
  height: 2.5rem;
  transition: background 0.3s ease;
}

.brand-container:hover .brand-logo {
  transform: scale(1.05);
}

.brand-container:hover .brand-primary {
  transform: translateX(-2px);
}

.nav-constellation-menu {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: all;
  align-items: flex-start;
}

.nav-constellation-item {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: right;
  transition: all 0.4s ease;
  position: relative;
  padding-left: 1.5rem;
  direction: rtl;
}

.nav-constellation-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  transition: width 0.4s ease;
}

.nav-constellation-item::after {
  content: "";
  position: absolute;
  left: -0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-constellation-item:hover {
  transform: translateX(0.5rem);
}

.nav-constellation-item:hover::before {
  width: 1rem;
}

.nav-constellation-item:hover::after {
  opacity: 1;
}

/* Language Switcher - Bottom Left Corner for RTL */
.language-switcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  pointer-events: all;
  flex-direction: row-reverse;
}

.language-toggle {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1rem;
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 45px;
  text-align: center;
  backdrop-filter: blur(15px);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.language-toggle:hover,
.language-toggle.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* Light theme adjustments for language switcher */
.nav-light ~ .language-switcher .language-toggle {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 0, 0, 0.3);
}

.nav-light ~ .language-switcher .language-toggle:hover,
.nav-light ~ .language-switcher .language-toggle.active {
  background: var(--gold-dark);
  color: var(--white);
  border-color: var(--gold-dark);
}

/* Hero Section */
.hero-universe {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-media-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.9);
}

.hero-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.6) 30%,
    rgba(201, 169, 97, 0.15) 60%,
    rgba(10, 10, 10, 0.4) 100%
  );
  z-index: 2;
}

.hero-content-matrix {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  direction: rtl;
}

.hero-text-sculpture {
  position: relative;
  text-align: right;
}

.hero-preface {
  font-family: "Tajawal", sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 2rem;
  position: relative;
  padding-right: 3rem;
}

.hero-preface::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(270deg, var(--gold) 0%, transparent 100%);
}

.hero-title-masterpiece {
  font-family: "Cairo", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 0;
  word-spacing: 0.05em;
  text-align: right;
}

.hero-title-line {
  display: block;
  position: relative;
  margin-bottom: 0.1rem;
  white-space: nowrap;
}

.hero-title-line:nth-child(1) {
  font-weight: 300;
  color: var(--white);
}

.hero-title-line:nth-child(2) {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  margin-right: 1.5rem;
  position: relative;
}

.hero-title-line:nth-child(2)::before {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 1rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-title-line:nth-child(3) {
  font-weight: 600;
  color: var(--white);
  margin-right: 0.5rem;
  letter-spacing: 0;
}

.hero-philosophy {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 3rem;
  margin-right: 1rem;
  position: relative;
}

.hero-philosophy::before {
  content: '"';
  position: absolute;
  right: -1rem;
  top: -0.5rem;
  font-family: "Cairo", serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.3;
}

.hero-actions-complex {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 1rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.hero-primary-action {
  font-family: "Tajawal", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  min-width: 180px;
  text-align: center;
}

.hero-primary-action::after {
  content: "←";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.4s ease;
}

.hero-primary-action:hover {
  color: var(--gold);
  border-color: var(--gold);
  padding-left: 1.5rem;
}

.hero-primary-action:hover::after {
  opacity: 1;
}

.hero-secondary-action {
  font-family: "Tajawal", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-secondary-action:hover {
  color: var(--gold);
}

.hero-metrics-constellation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  direction: ltr;
}

.metric-constellation {
  text-align: right;
  position: relative;
  padding-right: 2rem;
  direction: rtl;
}

.metric-constellation::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.metric-value {
  font-family: "Cairo", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-descriptor {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Projects Section */
.projects-dimension {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

.projects-dimension::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=80&width=80&text=ARM+Pattern");
  background-size: var(--pattern-size) var(--pattern-size);
  background-repeat: repeat;
  background-position: 0 0;
  opacity: var(--pattern-opacity-dark);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  image-rendering: crisp-edges;
  will-change: transform;
}

.projects-dimension > * {
  position: relative;
  z-index: 2;
}

.section-orchestration {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 6rem;
  position: relative;
}

.section-number-art {
  position: absolute;
  top: -2rem;
  left: 0;
  font-family: "Cairo", serif;
  font-size: 6rem;
  font-weight: 100;
  color: rgba(201, 169, 97, 0.08);
  line-height: 1;
  z-index: 1;
}

.section-title-architecture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  position: relative;
  z-index: 2;
}

.section-title-primary {
  font-family: "Cairo", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  position: relative;
  letter-spacing: 0;
  word-spacing: 0.1em;
}

.section-title-word {
  display: block;
  margin-bottom: 0.2rem;
}

.section-title-word:nth-child(1) {
  color: var(--white);
}

.section-title-word:nth-child(2) {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  margin-right: 1rem;
}

.section-philosophy {
  font-family: "Tajawal", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  position: relative;
}

.section-philosophy::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.projects-gallery {
  position: relative;
}

.project-exhibition {
  margin-bottom: 6rem;
  position: relative;
}

.project-composition {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  direction: rtl;
}

.project-exhibition:nth-child(even) .project-composition {
  grid-template-columns: 1.2fr 1fr;
  direction: ltr;
}

.project-exhibition:nth-child(even) .project-composition > * {
  direction: rtl;
}

.project-visual-art {
  position: relative;
  height: 60vh;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.project-exhibition:nth-child(even) .project-visual-art {
  clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.project-image-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: contrast(1.1) saturate(0.9);
}

.project-exhibition:hover .project-image-art {
  transform: scale(1.05);
}

.project-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(10, 10, 10, 0.4) 0%,
    transparent 40%,
    rgba(201, 169, 97, 0.15) 80%,
    transparent 100%
  );
}

.project-narrative {
  position: relative;
  padding: 2rem 0;
}

.project-identifier {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 2rem;
  position: relative;
  padding-right: 2.5rem;
}

.project-identifier::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.project-title-art {
  font-family: "Cairo", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 0;
}

.project-story {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 500px;
}

.project-specifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.spec-constellation {
  position: relative;
  padding-right: 1.5rem;
}

.spec-constellation::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.spec-title {
  font-family: "Tajawal", sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.spec-detail {
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
}

.project-exploration {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.8rem;
  transition: all 0.4s ease;
  display: inline-block;
}

.project-exploration:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateX(-1rem);
}

/* Magazine Section */
.magazine-realm {
  background: var(--cream);
  color: var(--black);
  padding: 8rem 0;
  position: relative;
}

.magazine-realm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=80&width=80&text=ARM+Light+Pattern");
  background-size: var(--pattern-size) var(--pattern-size);
  background-repeat: repeat;
  background-position: 0 0;
  opacity: var(--pattern-opacity-light);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
  image-rendering: crisp-edges;
  will-change: transform;
}

.magazine-realm > * {
  position: relative;
  z-index: 2;
}

.magazine-orchestration {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.magazine-introduction {
  margin-bottom: 6rem;
  position: relative;
}

.magazine-title-sculpture {
  font-family: "Cairo", serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  position: relative;
  margin-bottom: 3rem;
  letter-spacing: 0;
}

.magazine-title-word {
  display: block;
  margin-bottom: 0.2rem;
}

.magazine-title-word:nth-child(1) {
  color: var(--black);
}

.magazine-title-word:nth-child(2) {
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 400;
  margin-right: 2rem;
}

.magazine-manifesto {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
  max-width: 400px;
  text-align: right;
}

.magazine-exhibition {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  min-height: 600px;
}

.magazine-masterpiece {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.magazine-piece {
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.magazine-visual {
  width: 100%;
  flex: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}

.magazine-masterpiece .magazine-visual {
  min-height: 350px;
}

.magazine-narrative {
  padding: 2rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  text-align: right;
}

.magazine-masterpiece .magazine-narrative {
  min-height: 250px;
}

.magazine-classification {
  font-family: "Tajawal", sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.magazine-headline {
  font-family: "Cairo", serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 1rem;
}

.magazine-masterpiece .magazine-headline {
  font-size: 2rem;
  font-weight: 300;
}

.magazine-summary {
  font-family: "Tajawal", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.magazine-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray);
  font-family: "Tajawal", sans-serif;
}

/* About Section */
.about-universe {
  padding: 8rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 50%, var(--black) 100%);
}

.about-universe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=80&width=80&text=ARM+Pattern");
  background-size: var(--pattern-size) var(--pattern-size);
  background-repeat: repeat;
  background-position: 0 0;
  opacity: var(--pattern-opacity-dark);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  image-rendering: crisp-edges;
  will-change: transform;
}

.about-universe > * {
  position: relative;
  z-index: 2;
}

.about-orchestration {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-composition {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-narrative {
  position: relative;
}

.about-title-sculpture {
  font-family: "Cairo", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: 0;
}

.about-title-element {
  display: block;
  margin-bottom: 0.2rem;
}

.about-title-element:nth-child(1) {
  color: var(--white);
}

.about-title-element:nth-child(2) {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  margin-right: 1rem;
}

.about-title-element:nth-child(3) {
  color: var(--white);
  font-weight: 500;
  margin-right: 0.5rem;
}

.about-manifesto {
  font-family: "Tajawal", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4rem;
  max-width: 600px;
  position: relative;
}

.about-manifesto::before {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.about-achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.achievement-constellation {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(201, 169, 97, 0.15);
  background: rgba(201, 169, 97, 0.03);
  position: relative;
  transition: transform 0.3s ease;
}

.achievement-constellation:hover {
  transform: translateY(-0.5rem);
}

.achievement-constellation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.achievement-value {
  font-family: "Cairo", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.achievement-description {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.about-visual-symphony {
  position: relative;
  height: 70vh;
}

.about-image-orchestration {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-visual-element {
  position: absolute;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.about-visual-element:first-child {
  top: 0;
  right: 0;
  width: 75%;
  height: 60%;
  z-index: 2;
}

.about-visual-element:last-child {
  bottom: 0;
  left: 0;
  width: 65%;
  height: 75%;
  z-index: 1;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
}

.about-visual-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}

/* Footer */
.footer-universe {
  background: var(--black);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(201, 169, 97, 0.08);
  position: relative;
}

.footer-universe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=80&width=80&text=ARM+Pattern");
  background-size: var(--pattern-size) var(--pattern-size);
  background-repeat: repeat;
  background-position: 0 0;
  opacity: var(--pattern-opacity-dark);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  image-rendering: crisp-edges;
  will-change: transform;
}

.footer-universe > * {
  position: relative;
  z-index: 2;
}

.footer-orchestration {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-constellation {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-universe {
  position: relative;
}

.footer-brand-title {
  font-family: "Cairo", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2rem;
}

.footer-brand-philosophy {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.footer-dimension {
  position: relative;
}

.footer-dimension-title {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-dimension-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.footer-dimension-link {
  display: block;
  font-family: "Tajawal", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 0.8rem;
}

.footer-dimension-link::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.footer-dimension-link:hover {
  color: var(--gold);
  padding-right: 1.5rem;
}

.footer-dimension-link:hover::before {
  width: 0.8rem;
}

.footer-finale {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-copyright {
  font-family: "Tajawal", sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Move social media to footer brand section */
.footer-brand-universe {
  position: relative;
}

.footer-social-constellation {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-constellation {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(201, 169, 97, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 300;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-constellation::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.3s ease;
  z-index: -1;
}

.social-constellation:hover::before {
  left: 0;
}

.social-constellation:hover {
  color: var(--black);
  transform: translateY(-0.3rem);
}

/* RTL Language Switcher positioning */
.language-switcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  pointer-events: all;
  flex-direction: row-reverse;
}

/* Lead Form Styles */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.2);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  text-align: right;
  direction: rtl;
}

/* Project Details Specific Styles */
.project-detail-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.project-detail-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-detail-description {
  font-family: "Tajawal", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.project-detail-description p {
  margin-bottom: 2rem;
}

.project-detail-specs {
  position: relative;
}

.project-detail-specs h3 {
  font-family: "Cairo", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.project-detail-specs h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Tajawal", sans-serif;
}

.spec-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.spec-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

/* Project Gallery Styles */
.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--black-soft);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-0.5rem);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Hero Metrics for Project Details */
.hero-metric-element {
  text-align: right;
  position: relative;
  padding-right: 2rem;
  direction: rtl;
}

.hero-metric-element::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.hero-metric-value {
  font-family: "Cairo", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-metric-label {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Magazine Article Styles for Features */
.magazine-article {
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.magazine-article:hover {
  transform: translateY(-0.5rem);
}

.magazine-visual {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.magazine-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.magazine-article:hover .magazine-image {
  transform: scale(1.05);
}

.magazine-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.magazine-article-category {
  font-family: "Tajawal", sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.magazine-article-title {
  font-family: "Cairo", serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 1rem;
}

.magazine-article-excerpt {
  font-family: "Tajawal", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.magazine-article-link {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.magazine-article-link:hover {
  color: var(--black);
  border-color: var(--gold-dark);
}

/* Media Tabs Styles */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.media-tab {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.media-tab.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.media-tab:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.media-content {
  display: none;
}

.media-content.active {
  display: block;
}

/* Project Card Styles */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.project-card-content {
  position: relative;
}

.project-card-identifier {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  padding-right: 2.5rem;
}

.project-card-identifier::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.project-card-title {
  font-family: "Cairo", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.project-card-description {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.project-card-link {
  font-family: "Tajawal", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  background: var(--gold);
  text-decoration: none;
  padding: 1rem 2rem;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.project-card-link:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* About Achievement Styles for Project Details */
.about-achievement {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(201, 169, 97, 0.15);
  background: rgba(201, 169, 97, 0.03);
  position: relative;
  transition: transform 0.3s ease;
}

.about-achievement:hover {
  transform: translateY(-0.5rem);
}

.about-achievement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.about-achievement-value {
  font-family: "Cairo", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.about-achievement-label {
  font-family: "Tajawal", sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Lead Form Styles */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 0;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  direction: rtl;
}

.lead-form select option {
  background: var(--black);
  color: var(--white);
}

/* Download Popup Styles */
#download-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

#download-popup .popup-content {
  background: var(--black);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  border: 1px solid var(--gold);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

#download-popup .close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

#download-popup .close-button:hover {
  color: var(--white);
}

#popup-title {
  color: var(--gold);
  font-family: "Amiri", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

#popup-description {
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  font-family: "Tajawal", sans-serif;
}

/* Button Styles for Forms */
.form-button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.form-button-secondary {
  flex: 1;
  padding: 1rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.form-button-primary {
  flex: 2;
  padding: 1rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* Responsive Design Updates */
@media (max-width: 1200px) {
  .project-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-detail-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .media-tabs {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .media-tab {
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
  }

  .hero-content-matrix {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-metrics-constellation {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hero-title-line:nth-child(2),
  .hero-title-line:nth-child(3) {
    margin-right: 0;
  }

  .project-composition {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-exhibition:nth-child(even) .project-composition {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .magazine-exhibition {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .magazine-masterpiece {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 50vh;
  }

  .about-composition {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .project-detail-content {
    padding: 0 1.5rem;
  }

  .project-detail-gallery {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .project-card {
    padding: 2rem 1.5rem;
  }

  .media-tabs {
    flex-direction: column;
    align-items: center;
  }

  .media-tab {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .magazine-exhibition {
    grid-template-columns: 1fr;
  }

  .hero-metrics-constellation {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-metric-element {
    padding-right: 0;
    text-align: center;
  }

  .hero-metric-element::before {
    display: none;
  }

  .about-achievements {
    grid-template-columns: 1fr;
  }

  #download-popup .popup-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .form-button-group {
    flex-direction: column;
  }

  .form-button-secondary,
  .form-button-primary {
    flex: none;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .project-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-detail-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .media-tabs {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .media-tab {
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
  }

  .hero-content-matrix {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-metrics-constellation {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hero-title-line:nth-child(2),
  .hero-title-line:nth-child(3) {
    margin-right: 0;
  }

  .project-composition {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-exhibition:nth-child(even) .project-composition {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .magazine-exhibition {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .magazine-masterpiece {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 50vh;
  }

  .about-composition {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-constellation {
    padding: 1.5rem;
  }

  .nav-brand-complex,
  .nav-constellation-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }

  .nav-constellation-menu {
    left: 1.5rem;
  }

  .brand-container {
    gap: 0.5rem;
  }

  .brand-logo {
    width: 2rem;
    height: 2rem;
  }

  .brand-primary {
    font-size: 1.5rem;
  }

  .brand-secondary {
    font-size: 0.47rem;
  }

  .hero-universe {
    padding: 1.5rem;
    padding-top: 8rem;
  }

  .section-orchestration,
  .magazine-orchestration,
  .about-orchestration,
  .footer-orchestration {
    padding: 0 1.5rem;
  }

  .project-composition {
    padding: 0 1.5rem;
  }

  .magazine-exhibition {
    grid-template-columns: 1fr;
  }

  .footer-constellation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-finale {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .section-number-art {
    left: 0;
  }

  /* Further reduce pattern opacity for mobile performance */
  :root {
    --pattern-opacity-dark: 0.02;
    --pattern-opacity-light: 0.015;
    --pattern-size: 60px;
  }

  .language-switcher {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .footer-finale {
    padding-bottom: 5rem; /* Add extra padding to avoid overlap on mobile */
  }
}

/* Disable patterns on very small screens for performance */
@media (max-width: 480px) {
  .projects-dimension::before,
  .magazine-realm::before,
  .about-universe::before,
  .footer-universe::before {
    display: none;
  }
}

/* Performance optimizations */
.projects-dimension::before,
.magazine-realm::before,
.about-universe::before,
.footer-universe::before {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* أنماط قسم القيادة */
.leadership-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.leadership-profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 3rem;
  transition: all 0.4s ease;
  direction: rtl;
}

.leadership-profile:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.leadership-visual {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 250px;
  overflow: hidden;
}

.leadership-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leadership-profile:hover .leadership-image {
  transform: scale(1.05);
}

.leadership-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.leadership-profile:hover .leadership-overlay {
  opacity: 1;
}

.leadership-content {
  flex: 1;
  text-align: right;
}

.leadership-role {
  font-family: "Tajawal", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.leadership-name {
  font-family: "Cairo", serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.leadership-bio {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 2rem;
  text-align: right;
}

.leadership-credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  direction: rtl;
}

.credential-title {
  font-family: "Tajawal", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
}

.credential-detail {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
  text-align: left;
}

/* التصميم المتجاوب للقيادة */
@media (max-width: 768px) {
  .leadership-gallery {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .leadership-profile {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .leadership-visual {
    width: 100%;
    height: 300px;
  }

  .credential-item {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .credential-detail {
    text-align: right;
  }
}

@media (max-width: 480px) {
  :root {
    --pattern-opacity-dark: 0.01;
    --pattern-opacity-light: 0.008;
    --pattern-size: 40px;
  }
}

@media (max-width: 768px) {
  .nav-constellation {
    padding: 1rem;
    min-height: 80px;
  }

  .nav-constellation.nav-hidden {
    transform: translateY(-80px);
  }

  .nav-constellation-menu {
    top: 1rem;
    left: 1rem;
    gap: 0.4rem;
  }

  .nav-constellation-item {
    font-size: 0.6rem;
    padding-left: 1rem;
  }

  .brand-primary {
    font-size: 1.2rem;
  }

  .brand-secondary {
    font-size: 0.4rem;
  }

  .brand-logo {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-universe {
    height: 100vh;
    padding: 1rem;
    padding-top: 6rem;
  }

  .hero-content-matrix {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-title-masterpiece {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.2;
  }

  .hero-title-line:nth-child(2),
  .hero-title-line:nth-child(3) {
    margin-right: 0;
  }

  .hero-philosophy {
    font-size: 0.9rem;
    margin-right: 0;
    max-width: 100%;
  }

  .hero-actions-complex {
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }

  .hero-primary-action {
    min-width: 100%;
    text-align: center;
  }

  .hero-metrics-constellation {
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
  }

  .metric-constellation {
    padding-right: 1rem;
  }

  .metric-value {
    font-size: 1.8rem;
  }

  .metric-descriptor {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .section-orchestration,
  .magazine-orchestration,
  .about-orchestration,
  .footer-orchestration {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }

  .section-title-architecture {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title-primary {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-philosophy {
    font-size: 1rem;
    max-width: 100%;
  }

  .section-number-art {
    font-size: 4rem;
    top: -1rem;
    left: 0;
  }
}

@media (max-width: 768px) {
  .project-composition {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    direction: rtl;
  }

  .project-visual-art {
    height: 40vh;
    clip-path: none;
  }

  .project-exhibition:nth-child(even) .project-visual-art {
    clip-path: none;
  }

  .project-narrative {
    padding: 1rem 0;
  }

  .project-title-art {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .project-specifications {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .project-card-content {
    padding: 1.5rem;
  }

  .project-card-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .magazine-exhibition {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .magazine-masterpiece {
    grid-column: 1;
    grid-row: auto;
    min-height: 400px;
  }

  .magazine-piece {
    min-height: 300px;
  }

  .magazine-title-sculpture {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .magazine-manifesto {
    position: static;
    text-align: right;
    margin-top: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-composition {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual-symphony {
    height: 50vh;
  }

  .about-achievements {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .achievement-constellation {
    padding: 1.5rem 1rem;
  }

  .achievement-value {
    font-size: 2rem;
  }

  .achievement-description {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .footer-constellation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-title {
    font-size: 2rem;
  }

  .footer-brand-philosophy {
    font-size: 0.9rem;
  }

  .footer-finale {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-bottom: 6rem;
  }

  .footer-social-constellation {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    bottom: 1rem;
    left: 1rem;
    gap: 0.3rem;
  }

  .language-toggle {
    padding: 0.5rem 0.8rem;
    font-size: 0.6rem;
    min-width: 35px;
  }
}

@media (max-width: 768px) {
  .leadership-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leadership-profile {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .leadership-visual {
    width: 100%;
    height: 250px;
  }

  .leadership-name {
    font-size: 1.8rem;
  }

  .leadership-bio {
    font-size: 0.9rem;
  }

  .credential-item {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
  }

  .credential-detail {
    text-align: right;
  }
}
