/**
 * main.css — Master CSS entry point
 */

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

/* ─── Core ────────────────────────────────────────────────────────────────────── */
@import url('design-system.css');
@import url('layout.css');
@import url('theme.css');
@import url('components.css');
@import url('animations.css');
@import url('header.css');

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM HERO V2 (BEM Architecture & Glow System)
═══════════════════════════════════════════════════════════════════════════════ */
:root {
  --v2-header-height: 72px;
  --v2-bg: #080808;
  --v2-bg-soft: #111111;
  --v2-surface: rgba(255, 255, 255, 0.04);
  --v2-surface-border: rgba(255, 255, 255, 0.08);
  --v2-text: #f5f1e8;
  --v2-text-soft: rgba(245, 241, 232, 0.78);
  --v2-text-muted: rgba(245, 241, 232, 0.58);
  --v2-gold: #d4b257;
  --v2-gold-strong: #e2c56a;
  --v2-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --v2-shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.48);
  --v2-radius-lg: 28px;
  --v2-radius-md: 20px;
  --v2-radius-sm: 14px;
  --v2-container: 1280px;
}

[dir="rtl"] .v2-hero {
  direction: rtl;
}

.v2-container {
  width: min(calc(100% - 40px), var(--v2-container));
  margin-inline: auto;
}

.v2-hero {
  position: relative;
  min-height: calc(100vh - var(--v2-header-height));
  min-height: calc(100svh - var(--v2-header-height));
  display: flex;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(circle at 15% 50%, rgba(212, 178, 87, 0.12), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(212, 178, 87, 0.08), transparent 28%),
    linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  color: var(--v2-text);
  isolation: isolate;
}

.v2-hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.35));
  pointer-events: none; z-index: -3;
}

.v2-hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; z-index: -2;
}

.v2-hero__glow--1 { width: 340px; height: 340px; background: rgba(212, 178, 87, 0.14); inset-inline-start: -60px; top: 18%; }
.v2-hero__glow--2 { width: 280px; height: 280px; background: rgba(212, 178, 87, 0.08); inset-inline-end: 5%; bottom: 12%; }

.v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
}

.v2-hero__content { max-width: 700px; }

.v2-hero__eyebrow {
  display: inline-flex; align-items: center;
  gap: 8px; min-height: 38px; padding: 8px 16px;
  border: 1px solid rgba(212, 178, 87, 0.22); border-radius: 999px;
  background: rgba(212, 178, 87, 0.03); color: var(--v2-gold-strong);
  font-size: 0.88rem; font-weight: 700; margin-bottom: 20px;
}

.v2-hero__title {
  margin: 0; font-size: clamp(2.45rem, 4.8vw, 4.6rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 950;
}

.v2-hero__title span { display: block; margin-top: 6px; color: var(--v2-gold); }

.v2-hero__text {
  margin: 22px 0 0; max-width: 580px; font-size: 1.12rem;
  line-height: 1.85; color: var(--v2-text-soft); font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM ABOUT V2 (Robust Visibility & Theme-Aware)
═══════════════════════════════════════════════════════════════════════════════ */
.section--v2-about {
  padding-block: clamp(64px, 10vw, 110px);
  position: relative;
  overflow: clip;
  background: var(--color-bg);
  color: var(--color-text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
}

.v2-about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.v2-about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Section Label: Strong Secondary Color */
.v2-about-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 1 !important;
  visibility: visible !important;
}

.v2-about-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
  opacity: 1;
}

/* Heading: Controlled & Balanced Scale */
.v2-about-title {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem); /* Noticeably reduced size */
  font-weight: 950;
  line-height: 1.3;
  color: var(--color-text-primary) !important;
  letter-spacing: -0.01em;
}

.v2-about-title span {
  display: block;
  font-size: 0.82em;
  color: var(--color-text-secondary);
  font-weight: 700;
  margin-top: 6px;
}

.v2-about-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text-secondary); /* Dynamic color */
  margin-bottom: 48px;
  max-width: 640px;
  opacity: 1 !important;
}

/* Stats Cards: Compact & Consistent Grid */
.v2-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 440px;
}

.v2-stat-card {
  padding: 16px 20px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.v2-stat-card:hover {
  background: var(--color-surface-alt);
  border-color: var(--v2-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.v2-stat-number {
  font-size: 1.55rem;
  font-weight: 950;
  color: var(--v2-gold);
  line-height: 1;
}

.v2-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: block !important;
  opacity: 1 !important;
}

/* Visual Block: Master Presentation */

.v2-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.v2-btn {
  min-width: 180px; min-height: 54px; padding: 12px 24px; border-radius: 16px;
  font-size: 0.95rem; font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-btn:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.v2-btn--primary {
  background: linear-gradient(135deg, #d7b75c 0%, #caa949 100%);
  color: #111111 !important; box-shadow: 0 8px 24px rgba(212, 178, 87, 0.18);
}

.v2-btn--secondary {
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.01); color: var(--v2-text) !important;
}

.v2-btn--secondary:hover { border-color: rgba(212, 178, 87, 0.3); background: rgba(255,255,255,0.04); }

/* SERVICE CHIPS: Elegant treatment & Micro-interactions */
.v2-hero__highlights {
  list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px;
}

.v2-hero__highlights li {
  padding: 4px 0;
  background: transparent;
  border: none;
  color: var(--v2-text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s var(--h-ease);
  opacity: 0;
  animation: v2ChipReveal 0.6s var(--h-ease) forwards;
}

.v2-hero__highlights li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--v2-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 178, 87, 0.4);
  animation: v2BulletGlow 2.5s infinite ease-in-out;
}

@keyframes v2BulletGlow {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 8px rgba(212, 178, 87, 0.4); 
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.2); 
    box-shadow: 0 0 16px rgba(212, 178, 87, 1); 
    opacity: 1;
  }
}

/* Hover: Refined and calm */
.v2-hero__highlights li:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 178, 87, 0.3);
  background: rgba(212, 178, 87, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  color: var(--v2-text-soft);
}

/* Staggered entrance timing */
.v2-hero__highlights li:nth-child(1) { animation-delay: 0.7s; }
.v2-hero__highlights li:nth-child(2) { animation-delay: 0.85s; }
.v2-hero__highlights li:nth-child(3) { animation-delay: 1.0s; }

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

/* HERO VISUAL: Deep integration */
.v2-hero__visual { display: flex; justify-content: center; position: relative; }

/* Subtle Glow behind image */
.v2-hero__visual::after {
  content: ''; position: absolute; width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(212, 178, 87, 0.1), transparent 70%);
  z-index: -1; filter: blur(40px); top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.v2-hero__frame {
  position: relative; width: min(100%, 520px); aspect-ratio: 0.98 / 1.05; border-radius: 28px; padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--v2-shadow-lg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-hero__frame:hover { transform: translateY(-8px) rotateX(2deg); }

.v2-hero__image-wrap {
  position: relative; height: 100%; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); background: #0d0d0d;
}

.v2-hero__image-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.v2-hero__image { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.92); }

.v2-hero__card {
  position: absolute; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(13, 13, 13, 0.6); border: 1px solid rgba(255,255,255,0.08);
  color: var(--v2-text); box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 5;
}

.v2-hero__card--top { top: 14px; inset-inline-start: 14px; padding: 10px 14px; border-radius: 12px; }
.v2-hero__card--bottom { bottom: 14px; inset-inline-end: 14px; padding: 12px 16px; border-radius: 14px; }

.v2-hero__card-label { color: var(--v2-gold-strong); font-size: 0.88rem; font-weight: 800; }
.v2-hero__card strong { font-size: 0.9rem; font-weight: 800; }

@media (max-width: 1199px) { .v2-hero__grid { gap: 32px; } }

@media (max-width: 991px) {
  .v2-hero { min-height: auto; }
  .v2-hero__grid { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 60px; }
  
  /* MOBILE ORDER FIX: Content first, Image last */
  .v2-hero__content { order: 1; text-align: center; max-width: 100%; }
  .v2-hero__visual { order: 2; margin-top: 20px; }
  
  .v2-hero__frame { width: min(100%, 480px); margin-inline: auto; aspect-ratio: 1 / 0.95; }
  .v2-hero__title { max-width: 100%; }
  .v2-hero__text { max-width: 100%; margin-inline: auto; }
  .v2-hero__actions, .v2-hero__highlights { justify-content: center; }
}

@media (max-width: 767px) {
  .v2-hero__grid { padding-block: 24px 48px; gap: 32px; }
  .v2-hero__frame { border-radius: 20px; padding: 10px; }
  .v2-hero__title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .v2-hero__text { line-height: 1.75; font-size: 0.95rem; }
  .v2-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .v2-btn { min-height: 52px; width: 100%; }
  .v2-hero__actions, .v2-hero__highlights { justify-content: center; }
  .v2-hero__highlights { gap: 16px 24px; }
  .v2-hero__highlights li { width: auto; font-size: 0.88rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: inherit;
    pointer-events: none;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.stat-item {
    padding: var(--space-6);
    background: var(--color-surface-alt);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-normal);
}

.stat-item:hover { transform: translateY(-5px); }

.stat-num {
    display: block;
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: var(--weight-bold);
}

.about-text p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--fluid-body);
    margin-bottom: var(--space-4);
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-12); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WHY US — Feature List
═══════════════════════════════════════════════════════════════════════════════ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.why-us-item {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-us-item:hover {
    border-color: var(--color-accent-medium);
    background: var(--color-surface-alt);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-us-num {
    font-size: var(--text-5xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 0.8;
    flex-shrink: 0;
    font-family: var(--font-latin);
}

.why-us-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
    color: var(--color-text-primary);
}

.why-us-desc {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .why-us-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA SECTION (Compact Premium Band)
═══════════════════════════════════════════════════════════════════════════════ */
.cta-section {
    background: #0f0f0d;
    background: radial-gradient(circle at 50% 50%, #1a1a17 0%, #0a0a09 100%);
    position: relative;
    overflow: hidden;
    padding-block: clamp(50px, 6vw, 70px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    font-weight: 950;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .cta-title { white-space: normal; }
}

.cta-title .text-accent {
    color: var(--v2-gold) !important;
}

.cta-subtitle {
     color: rgba(255, 255, 255, 0.7);
     font-size: 1.05rem;
     line-height: 1.5;
     margin-bottom: 24px;
     max-width: 650px;
     margin-inline: auto;
}

.cta-inner .btn-xl {
    padding: 1.1rem 3.5rem;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 240, 213, 0.1);
    background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 50%, var(--gold-500) 100%);
    border: none;
}

.cta-inner .btn-xl:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM CONTACT V2 (Unified Heading System)
═══════════════════════════════════════════════════════════════════════════════ */
.section--v2-contact {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--color-bg-alt);
  position: relative;
  overflow: clip;
}

.v2-contact-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.v2-contact-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.v2-contact-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
}

.v2-contact-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.v2-contact-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 640px;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: stretch;
}

.contact-info-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: clamp(24px, 5vw, 48px);
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-item:hover {
    background: var(--color-bg-alt);
    transform: translateX(8px);
}

[dir="rtl"] .contact-info-item:hover {
    transform: translateX(-8px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--v2-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon .material-symbols-outlined {
    font-size: 22px;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.contact-info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

.contact-form-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: clamp(24px, 5vw, 48px);
    box-shadow: var(--shadow-lg);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* --- Input Typography Polish --- */
.form-control {
    font-family: inherit !important;
    font-weight: 500;
}

.form-control::placeholder {
    font-family: inherit;
    opacity: 0.5;
}

/* LTR/RTL Logic for localized inputs */
[dir="rtl"] .form-control { text-align: right; }
[dir="ltr"] .form-control { text-align: left; }

/* Ensure number/email/tel are always LTR for technical clarity */
.form-control[type="email"],
.form-control[type="tel"] {
    direction: ltr;
}

.contact-form-grid .form-group:last-child:nth-child(odd) {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .contact-grid { 
        display: flex;
        flex-direction: column-reverse; 
        gap: clamp(32px, 8vw, 48px);
    }
    .contact-form-card { padding: var(--space-8); }
}

@media (max-width: 640px) {
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-form-grid .form-group:last-child:nth-child(odd) { grid-column: span 1; }
    .contact-form-card { padding: var(--space-6); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--neutral-950);
    color: rgba(255,255,255,0.5);
    padding-block: var(--space-16);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.footer-logo-text {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    max-width: 320px;
    color: rgba(255,255,255,0.6);
}

.footer-nav-title {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--v2-gold);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

.footer-nav-link {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
}

.footer-nav-link:hover {
    color: var(--v2-gold);
    transform: translateX(5px);
}

[dir="rtl"] .footer-nav-link:hover {
    transform: translateX(-5px);
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all var(--transition-fast);
    line-height: 1.4;
}

.footer-contact-link .material-symbols-outlined,
.footer-contact-link svg {
    font-size: 18px;
    color: var(--v2-gold);
    fill: var(--v2-gold);
    opacity: 0.8;
    flex-shrink: 0;
}

.footer-contact-link:hover {
    color: var(--v2-gold);
    transform: translateX(5px);
}

[dir="rtl"] .footer-contact-link:hover {
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-xs);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-6);
}

.footer-legal-links a {
    color: rgba(255,255,255,0.4);
    transition: color var(--transition-fast);
}

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

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ADMIN STYLES
═══════════════════════════════════════════════════════════════════════════════ */
.admin-body {
    min-height: 100vh;
    background: var(--color-bg-alt);
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background:
        radial-gradient(ellipse 60% 60% at 30% 40%, rgba(201,168,76,0.04) 0%, transparent 60%),
        var(--color-bg);
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
}

.admin-sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    background: var(--color-surface);
    border-inline-end: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    z-index: var(--z-sticky);
    padding: var(--space-6);
}

.admin-main {
    margin-inline-start: 260px;
    padding: var(--space-8);
    min-height: 100vh;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    margin-bottom: var(--space-1);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(201,168,76,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* Global Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM SERVICES V2 (Flip Cards & Corporate Layout)
═══════════════════════════════════════════════════════════════════════════════ */
.section--v2-services {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--color-bg-alt);
  position: relative;
  overflow: clip;
}

/* Subtle Premium Depth Overlay */
.section--v2-services::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(circle at 50% -10%, var(--color-accent-light), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.section--v2-services .container {
  position: relative;
  z-index: 2;
}

.v2-services-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.v2-services-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.v2-services-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
}

.v2-services-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.v2-services-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 600px;
}

/* Grid Layout */
.v2-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Flip Card Container */
.v2-service-card {
  perspective: 1500px;
  height: 300px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.v2-service-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Flip on Hover for Desktop */
@media (hover: hover) {
  .v2-service-card:hover .v2-service-card__inner {
    transform: rotateY(180deg);
  }
}

/* Front & Back Sides */
.v2-service-card__front,
.v2-service-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--v2-radius-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.v2-service-card__front {
  z-index: 2;
}

.v2-service-card__back {
  transform: rotateY(180deg);
  background: var(--color-surface-alt);
  border-color: var(--v2-gold);
}

.v2-service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--v2-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.v2-service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin: 0;
}

.v2-service-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0;
}

/* Hover Adjustments */
@media (hover: hover) {
  .v2-service-card:hover .v2-service-card__front {
    border-color: rgba(212, 178, 87, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .v2-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .v2-service-card {
    height: auto;
    perspective: none;
  }
  
  .v2-service-card__inner {
    transform: none !important;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    transition: none;
  }
  
  .v2-service-card__front,
  .v2-service-card__back {
    position: static;
    transform: none;
    backface-visibility: visible;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    text-align: right;
  }

  .v2-service-card__front {
    padding: 30px 24px 15px;
  }

  .v2-service-card__back {
    padding: 0 24px 30px;
  }
  
  .v2-service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }
  
  .v2-service-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .v2-service-desc {
    font-size: 0.92rem;
    opacity: 0.85;
  }
}

@media (max-width: 640px) {
  .v2-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM WHY US V2 (Unified Heading System)
═══════════════════════════════════════════════════════════════════════════════ */
.section--v2-why-us {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--color-bg-alt);
  position: relative;
  overflow: clip;
}

/* Merged Premium Depth Overlay from Team section */
.section--v2-why-us::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(circle at 50% -10%, var(--color-accent-light), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.section--v2-why-us .container {
  position: relative;
  z-index: 2;
}

.v2-why-us-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.v2-why-us-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.v2-why-us-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
}

.v2-why-us-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.v2-why-us-subtitle {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 850px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM TEAM V2 (Brand Statement & Content Centric)
═══════════════════════════════════════════════════════════════════════════════ */




/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM CLIENTS V2 (Unified Heading System)
═══════════════════════════════════════════════════════════════════════════════ */
.section--v2-clients {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--color-bg);
  position: relative;
  overflow: clip;
}

.v2-clients-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.v2-clients-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.v2-clients-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
}

.v2-clients-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.v2-clients-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 640px;
}

/* Logos Marquee — Seamless & Professional */
.v2-clients-marquee-wrapper {
  position: relative;
  overflow: clip;
  margin-top: var(--space-8);
  padding: 40px 0;
  width: 100%;
}

.v2-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 50s linear infinite;
  will-change: transform;
}

.v2-marquee-group {
  display: flex;
  flex-shrink: 0;
  padding-inline-end: 40px; /* Internal gap between groups */
}

/* Perfect Loop: Moves exactly half of the total width */
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.v2-client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 60px;
  margin-inline-end: 40px; /* Gap between individual logos */
}


.v2-client-img {
  max-width: 130px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.4s ease;
  pointer-events: none;
}

.v2-client-logo-item:hover {
  transform: translateY(-4px) scale(1.1);
}

.v2-client-logo-item:hover .v2-client-img {
  filter: grayscale(0) opacity(1);
}

/* Gradient Masks to fade the edges seamlessly */
.v2-marquee-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.v2-marquee-mask--start {
  inset-inline-start: 0;
  background: linear-gradient(to right, var(--color-bg), transparent 100%);
}

.v2-marquee-mask--end {
  inset-inline-end: 0;
  background: linear-gradient(to left, var(--color-bg), transparent 100%);
}

[dir="rtl"] .v2-marquee-mask--start {
  background: linear-gradient(to left, var(--color-bg), transparent 100%);
}
[dir="rtl"] .v2-marquee-mask--end {
  background: linear-gradient(to right, var(--color-bg), transparent 100%);
}

@media (max-width: 768px) {
  .v2-client-logo-item { width: 140px; height: 50px; }
  .v2-client-img { max-width: 110px; max-height: 40px; }
  .v2-marquee-mask { width: 80px; }
  .v2-marquee-track { gap: 40px; animation-duration: 30s; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════════════════════════ */
@media print {
    .nav, .theme-toggle { display: none !important; }
    .section { page-break-inside: avoid; }
    body { color: #000; background: #fff; }

}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM PORTFOLIO / GALLERY SECTION (V2 Design System)
   ═══════════════════════════════════════════════════════════════════════════════ */
.portfolio-section {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--color-bg);
  position: relative;
  overflow: clip;
}

.portfolio-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.portfolio-label {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v2-gold) !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--v2-gold);
  border-radius: 2px;
}

.portfolio-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.portfolio-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 640px;
}

/* Filters */
.portfolio-filters {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 12px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: var(--v2-gold);
  color: var(--v2-gold);
}

.filter-btn.active {
  background: var(--v2-gold);
  border-color: var(--v2-gold);
  color: #111111;
  box-shadow: 0 8px 20px rgba(212, 178, 87, 0.25);
}

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

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
  display: none; /* Controlled by JS load more */
}

.portfolio-item.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card {
  position: relative;
  width: 100%;
  height: 100%;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: var(--v2-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Lightbox */
.portfolio-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.portfolio-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--v2-gold);
}

#lightbox-caption {
  margin-top: 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* Responsive */
@media (min-width: 1025px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .portfolio-header {
    text-align: center;
    align-items: center;
  }
}

/* Load More Button Styling */
.portfolio-actions {
  display: flex;
  justify-content: center;
}

#load-more-btn {
  background: var(--v2-gold);
  color: #111111;
  border: none;
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(212, 178, 87, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.25);
}

#load-more-btn:active {
  transform: translateY(-2px);
}

