/* ==========================================================================
   INsite FOR CONSTRUCTION & DECORATION - DESIGN SYSTEM
   Ultra-Luxury Architecture & Interior Design Theme
   Bilingual: English (LTR) & Arabic (RTL) | Light & Dark Modes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Cinzel:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Palette from INsite Logo */
  --primary: #96573b;
  --primary-dark: #7a432b;
  --primary-light: #b87453;
  --primary-glow: rgba(150, 87, 59, 0.25);
  
  --secondary: #3b4750;
  --secondary-light: #52626e;
  
  --gold: #c69c6d;
  --gold-dark: #a98053;
  --gold-light: #e5cbab;
  --gold-glow: rgba(198, 156, 109, 0.3);

  /* Light Theme Defaults (Cream & Warm Sand Luxury) */
  --bg-main: #fbf9f5;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f4efe9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-dark-accent: #171a1d;
  
  --text-main: #181c1f;
  --text-muted: #5e666e;
  --text-light: #8a949e;
  --text-inverse: #ffffff;
  
  --border-light: rgba(150, 87, 59, 0.12);
  --border-strong: rgba(150, 87, 59, 0.28);
  --border-subtle: #eae3d9;
  --grid-line-color: rgba(150, 87, 59, 0.06);

  --shadow-sm: 0 4px 12px rgba(24, 28, 31, 0.04);
  --shadow-md: 0 10px 30px rgba(24, 28, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(24, 28, 31, 0.12);
  --shadow-primary: 0 10px 25px rgba(150, 87, 59, 0.28);

  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;
  --font-arabic: 'Cairo', 'Outfit', sans-serif;

  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1260px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-main: #111315;
  --bg-surface: #181b1e;
  --bg-surface-alt: #1e2226;
  --bg-glass: rgba(24, 27, 30, 0.88);
  
  --text-main: #f5f6f8;
  --text-muted: #a1a7b0;
  --text-light: #6d737d;
  --text-inverse: #111315;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(198, 156, 109, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --grid-line-color: rgba(255, 255, 255, 0.04);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-primary: 0 10px 25px rgba(150, 87, 59, 0.45);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

/* RTL Typography & Direction */
[dir="rtl"] body {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .font-serif,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: var(--font-arabic);
  letter-spacing: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Architectural Grid Lines Overlay */
.pxl-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1;
}

.pxl-grid-lines span {
  width: 1px;
  height: 100%;
  background: var(--grid-line-color);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 1px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  background: var(--primary-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

[dir="rtl"] .section-badge {
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-center .section-badge {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  z-index: 2;
}

[dir="rtl"] .btn {
  letter-spacing: 0;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(150, 87, 59, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111315;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background: var(--bg-dark-accent);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.top-bar-item i {
  color: var(--gold);
}

.top-bar-item a:hover {
  color: var(--gold);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.8rem;
}

.top-bar-social a:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Main Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header .container {
  max-width: 1440px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.site-header.scrolled {
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 20px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 74px;
}

/* Brand Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-inline-end: 35px;
}

.site-logo img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.site-logo:hover img {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.55)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.site-logo .logo-dark-mode {
  display: none;
}
.site-logo .logo-light-mode {
  display: block;
}

[data-theme="dark"] .site-logo .logo-dark-mode {
  display: block;
}
[data-theme="dark"] .site-logo .logo-light-mode {
  display: none;
}

.site-header.scrolled .site-logo img {
  height: 44px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-main);
  padding: 10px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

/* Mega & Sub Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 50;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 9px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.dropdown-item a:hover {
  background: var(--primary-glow);
  color: var(--primary);
  padding-left: 26px;
}

[dir="rtl"] .dropdown-item a:hover {
  padding-left: 22px;
  padding-right: 26px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-inline-start: 25px;
}

.action-icon-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.action-icon-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.lang-switch-btn {
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.lang-switch-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-quote-header {
  padding: 10px 22px;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 1250px) {
  .btn-quote-header {
    display: none;
  }
  .nav-list {
    gap: 18px;
  }
}

/* Hamburger / Drawer Toggle */
.hamburger-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: var(--transition);
}

.hamburger-btn:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

.hamburger-btn:hover .hamburger-line {
  background: var(--primary);
}

.hamburger-line:nth-child(2) {
  width: 14px;
}

.hamburger-btn:hover .hamburger-line:nth-child(2) {
  width: 20px;
}

.hamburger-btn:hover .hamburger-line {
  background: var(--primary);
}

.hamburger-line:nth-child(2) {
  width: 18px;
}

.hamburger-btn:hover .hamburger-line:nth-child(2) {
  width: 26px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
}

/* ==========================================================================
   OFFCANVAS SIDE PANEL
   ========================================================================== */
.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.side-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: var(--transition-slow);
}

[dir="rtl"] .side-panel {
  right: auto;
  left: -420px;
}

.side-panel-overlay.active .side-panel {
  right: 0;
}

[dir="rtl"] .side-panel-overlay.active .side-panel {
  left: 0;
}

.side-panel-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.side-panel-close:hover {
  background: var(--primary);
  color: #fff;
}

.side-panel-logo img {
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  margin: 15px 0 25px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.side-panel-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.side-panel-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.side-panel-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.side-panel-social {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.side-panel-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition);
}

.side-panel-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: 90vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: #0d0f11;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.86) contrast(1.06) saturate(1.12);
  transform: scale(1);
  will-change: transform;
}

/* ==========================================================================
   CINEMATIC ARCHITECTURAL KEN BURNS KEYFRAMES
   ========================================================================== */
@keyframes kenBurns1 {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1.13) translate(-2.5%, -1.8%);
  }
}

@keyframes kenBurns2 {
  0% {
    transform: scale(1.13) translate(1.5%, 1%);
  }
  50% {
    transform: scale(1.06) translate(0%, 0%);
  }
  100% {
    transform: scale(1.01) translate(-1.2%, 1%);
  }
}

@keyframes kenBurns3 {
  0% {
    transform: scale(1.03) translate(-1.5%, 1%);
  }
  50% {
    transform: scale(1.09) translate(1%, -0.8%);
  }
  100% {
    transform: scale(1.14) translate(1.8%, -1.2%);
  }
}

.slide:nth-child(1).active .slide-bg {
  animation: kenBurns1 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide:nth-child(2).active .slide-bg {
  animation: kenBurns2 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide:nth-child(3).active .slide-bg {
  animation: kenBurns3 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Directional Luxury Overlay: Keeps image clear & vibrant while making text readable */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 16, 0.85) 0%, rgba(12, 14, 16, 0.60) 38%, rgba(12, 14, 16, 0.15) 70%, transparent 100%),
              linear-gradient(180deg, rgba(12, 14, 16, 0.45) 0%, transparent 25%, transparent 70%, rgba(12, 14, 16, 0.70) 100%);
  pointer-events: none;
}

[dir="rtl"] .slide-overlay {
  background: linear-gradient(270deg, rgba(12, 14, 16, 0.85) 0%, rgba(12, 14, 16, 0.60) 38%, rgba(12, 14, 16, 0.15) 70%, transparent 100%),
              linear-gradient(180deg, rgba(12, 14, 16, 0.45) 0%, transparent 25%, transparent 70%, rgba(12, 14, 16, 0.70) 100%);
}

.slide-content-wrapper {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-content {
  max-width: 760px;
  color: #ffffff;
  padding: 0 10px;
}

/* Staggered Cinematic Reveals with Refined Luxury Proportions */
.slide-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.slide-subtitle::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

[dir="rtl"] .slide-subtitle {
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 600;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(32px);
  filter: blur(5px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
              filter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

[dir="rtl"] .slide-title {
  font-family: var(--font-arabic);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s,
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s;
}

.slide-btns .btn {
  padding: 13px 32px;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  border-radius: 4px;
}

[dir="rtl"] .slide-btns .btn {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.slide.active .slide-subtitle,
.slide.active .slide-title,
.slide.active .slide-btns {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Glassmorphic Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 36px rgba(184, 91, 53, 0.5);
}

.slider-arrow-prev {
  left: 36px;
}

.slider-arrow-next {
  right: 36px;
}

[dir="rtl"] .slider-arrow-prev {
  left: auto;
  right: 36px;
}

[dir="rtl"] .slider-arrow-next {
  right: auto;
  left: 36px;
}

/* Slide Dynamic Progress Line */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 15;
  overflow: hidden;
}

.slider-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  box-shadow: 0 0 14px var(--gold);
}

[dir="rtl"] .slider-progress-fill {
  background: linear-gradient(270deg, var(--gold), var(--primary));
}

/* Dots HUD */
.slider-dots {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 12;
  padding: 8px 18px;
  background: rgba(13, 15, 17, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.2);
}

.slider-dot.active {
  width: 36px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  box-shadow: 0 0 16px rgba(212, 163, 115, 0.7);
}

/* Slide Counter HUD */
.slider-counter {
  position: absolute;
  bottom: 38px;
  left: 45px;
  z-index: 12;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  letter-spacing: 2px;
  padding: 6px 18px;
  background: rgba(13, 15, 17, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[dir="rtl"] .slider-counter {
  left: auto;
  right: 45px;
}

.slider-counter .counter-curr {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
}

.slider-counter .counter-sep {
  opacity: 0.4;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  padding: 120px 0;
  position: relative;
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-badge-exp {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--bg-dark-accent);
  color: #ffffff;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 18px;
}

[dir="rtl"] .about-badge-exp {
  right: auto;
  left: -25px;
  border-left: none;
  border-right: 4px solid var(--primary);
}

.about-badge-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content-wrapper .section-badge {
  margin-bottom: 12px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 35px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.about-feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.about-feature-card:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   STATISTICS & METRICS COUNTER BAR
   ========================================================================== */
.stats-bar-section {
  background: var(--bg-dark-accent);
  color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .stat-item:not(:last-child)::after {
  right: auto;
  left: 0;
}

.stat-number {
  font-size: 3.2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   PROJECTS SECTION (Filterable Gallery & Showcase)
   ========================================================================== */
.projects-section {
  padding: 120px 0;
  background: var(--bg-main);
  position: relative;
}

.projects-header {
  margin-bottom: 45px;
}

/* Category Filter Tabs */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111315;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card:hover .project-thumb img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 19, 21, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.project-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.project-card:hover .project-view-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.service-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

/* ==========================================================================
   WORKFLOW & PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background: var(--bg-main);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  position: relative;
  transition: var(--transition);
}

.process-step-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE COST ESTIMATOR (Quick Quotation Tool)
   ========================================================================== */
.calculator-section {
  padding: 110px 0;
  background: var(--bg-surface-alt);
  position: relative;
}

.calculator-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 45px;
  max-width: 960px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.calc-select, .calc-range {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition);
}

.calc-select:focus {
  border-color: var(--primary);
}

.calc-range-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-result-box {
  background: var(--bg-dark-accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 15px;
}

.calc-result-price {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: #ffffff;
  margin-bottom: 10px;
}

.calc-result-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 25px;
}

/* ==========================================================================
   EXECUTIVE FOUNDER & LEADERSHIP SPOTLIGHT
   ========================================================================== */
.founder-spotlight-section {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.founder-spotlight-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 75px;
  align-items: center;
}

.founder-img-wrapper {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  width: 100%;
}

.founder-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--border-strong);
  background: var(--bg-surface-alt);
}

.founder-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-img-frame:hover .founder-img {
  transform: scale(1.04);
}

.founder-badge-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  background: rgba(17, 19, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(198, 156, 109, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.founder-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111315;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.founder-badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.founder-badge-sub {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.founder-content .section-badge {
  margin-bottom: 12px;
}

.founder-name {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.founder-role {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.founder-quote {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-style: italic;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--gold);
  margin-bottom: 30px;
}

.founder-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 35px;
}

.founder-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.founder-pillar-item:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  transform: translateX(-4px);
}

[dir="ltr"] .founder-pillar-item:hover {
  transform: translateX(4px);
}

.founder-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.founder-pillar-text strong {
  display: block;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.founder-pillar-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 120px 0;
  background-color: #171a1d;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.testimonials-section .section-title {
  color: #ffffff;
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
  max-width: 820px;
  margin: 50px auto 0;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 45px;
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--gold);
}

/* ==========================================================================
   CONSULTATION / CTA SECTION ("LET'S DISCUSS NEXT PROJECTS")
   ========================================================================== */
.cta-discuss-section {
  padding: 120px 0;
  background: var(--bg-surface-alt);
  position: relative;
}

.cta-box-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-info-pane {
  background: var(--bg-dark-accent);
  color: #ffffff;
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-info-pane .section-title {
  color: #ffffff;
}

.cta-info-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 35px;
}

.cta-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-contact-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

.cta-form-pane {
  padding: 60px 45px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   CLIENTS / PARTNERS CAROUSEL
   ========================================================================== */
.clients-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clients-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.client-logo-item {
  filter: grayscale(100%) opacity(0.65);
  transition: var(--transition);
  max-width: 160px;
}

.client-logo-item:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-accent);
  color: #ffffff;
  padding: 90px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.footer-about-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
}

[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold);
  transform: translateX(5px);
}

[dir="rtl"] .footer-links-list a:hover {
  transform: translateX(-5px);
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp & Quick Call)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

[dir="rtl"] .floating-actions {
  right: auto;
  left: 30px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.float-call {
  background: var(--primary);
}

.float-scroll-top {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 14, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: var(--transition);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.lightbox-img-wrap {
  width: 100%;
  height: 480px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

/* Multi-image Project Badge & Lightbox Gallery Navigation */
.project-gallery-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(18, 20, 24, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
[dir="rtl"] .project-gallery-badge {
  right: auto;
  left: 14px;
}

.lightbox-gallery-nav {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 20, 24, 0.85);
  backdrop-filter: blur(10px);
  padding: 5px 16px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.lightbox-nav-btn {
  background: transparent;
  border: none;
  color: var(--primary-gold);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav-btn:hover {
  transform: scale(1.25);
  color: #fff;
}
.lightbox-counter {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: monospace;
}
.lightbox-thumb-strip {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: 90%;
  overflow-x: auto;
  padding: 4px;
  z-index: 10;
}
.lightbox-thumb-btn {
  width: 44px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #000;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-thumb-btn.active {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  transform: scale(1.08);
}

.lightbox-details {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 15px;
}

.lightbox-close:hover {
  background: var(--primary);
}

/* ==========================================================================
   SEARCH POPUP MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 14, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: var(--transition);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  width: 100%;
  max-width: 650px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal-input {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold);
  color: #ffffff;
  font-size: 1.6rem;
  font-family: var(--font-serif);
}

.search-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

[dir="rtl"] .search-modal-close {
  right: auto;
  left: 0;
}

/* ==========================================================================
   NOTIFICATION TOAST
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-dark-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold);
  z-index: 3000;
  opacity: 0;
  transition: var(--transition);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-list {
    gap: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .top-bar {
    display: none;
  }
  .main-nav {
    display: none; /* Mobile menu active */
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .cta-box-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .lightbox-img-wrap {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    height: 70px;
  }
  .site-logo img {
    height: 40px;
  }
  .hero-slider-section {
    height: 75vh;
  }
  .slide-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item::after {
    display: none !important;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .about-badge-exp {
    bottom: -15px;
    right: 0;
    padding: 16px 20px;
  }
  [dir="rtl"] .about-badge-exp {
    left: 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
