/* ===================================================================
   AL SAFRI COMPANY - Abdullah Barakah Ali Al Safari Al Harby Co.
   Elevator & Escalator Cladding | Architectural Steel Specialists
   Official Modern Website Stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Tajawal:wght@400;500;700&display=swap');

:root {
  /* Brand Palette - Industrial Elegance & Architectural Gold */
  --primary: #c5a059;
  --primary-light: #dfc282;
  --primary-dark: #9e7a36;
  --primary-glow: rgba(197, 160, 89, 0.25);
  
  --secondary: #1a2233;
  --secondary-light: #253147;
  --accent-blue: #1e3a5f;
  
  /* Metallic Stainless Steel Tones */
  --steel-100: #f8fafc;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1e293b;
  --steel-900: #0f172a;
  
  /* Executive Dark Theme (Default) */
  --bg-body: #080c14;
  --bg-surface: #0f1523;
  --bg-surface-elevated: #161e31;
  --bg-surface-hover: #1c263e;
  --bg-glass: rgba(15, 21, 35, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-primary: rgba(197, 160, 89, 0.28);
  --border-primary-hover: rgba(197, 160, 89, 0.6);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-primary: #dfc282;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Tajawal', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-primary: rgba(197, 160, 89, 0.4);
  --border-primary-hover: rgba(197, 160, 89, 0.8);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-primary: #9e7a36;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.15);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 960px;
}

.container-fluid {
  max-width: 1440px;
}

/* Typography Helpers */
.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
}

.font-heading {
  font-family: var(--font-heading);
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0f172a 20%, var(--primary-dark) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.badge-tag i {
  font-size: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle-arabic {
  font-family: var(--font-arabic);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #080c14;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-primary);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ===================================================================
   HEADER & NAVBAR (Rock-Solid Non-Overlapping Fixed Header)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Top Bar: sits cleanly INSIDE site-header, never overlaps navbar */
.top-bar {
  background: rgba(5, 8, 14, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

[data-theme="light"] .top-bar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #64748b;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.top-bar-item i {
  color: var(--primary);
  font-size: 0.78rem;
}

.top-bar-item a:hover {
  color: var(--primary);
}

/* Navbar Wrapper */
.navbar-wrapper {
  padding: 0.55rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  position: relative;
}

/* Logo with Illuminated Luxury Badge for Dark & Light View */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 88px;
  background: radial-gradient(circle, #ffffff 65%, #f6f3eb 100%);
  border: 1.5px solid var(--primary);
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  padding: 2px;
  filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4)) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-badge {
  transform: scale(1.05);
  filter: drop-shadow(0 0 11px rgba(197, 160, 89, 0.65)) drop-shadow(0 4px 7px rgba(0, 0, 0, 0.5));
  border-color: var(--primary-light);
}

.brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name-stack {
  max-width: 290px;
  gap: 0.3rem;
}

.brand-name-stack .brand-arabic {
  font-size: 1.08rem;
  line-height: 1.35;
}

.brand-english {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-footer .brand-logo {
  align-items: center;
  gap: 0.85rem;
}

.site-footer .brand-logo-badge {
  width: 76px;
  height: 88px;
}

.site-footer .brand-name-stack .brand-english {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-name-stack .brand-arabic {
  color: var(--primary);
}

[data-theme="light"] .site-footer .brand-name-stack .brand-english {
  color: #475569;
}

.brand-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.brand-arabic {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Nav Menu: Reduced Space & Guaranteed Single Line */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.35rem 0.15rem;
  white-space: nowrap; /* Ensures single line always */
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Actions: Language Switcher, Theme Toggle, CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: var(--primary);
  color: #080c14;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
}

.theme-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-nav-quote {
  padding: 0.48rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Body & Page offset to account for fixed header */
/* Header is sticky (in flow), so no body offset is needed at any width */
body {
  padding-top: 0;
}

.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-primary);
  background: rgba(197, 160, 89, 0.08);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled),
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #080c14;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===================================================================
   BEST IMAGES CAROUSEL (MAIN PAGE)
   =================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-primary);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 160, 89, 0.22);
  background: var(--bg-surface);
}

.carousel-slides-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.05);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 15%, rgba(8, 12, 20, 0.45) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem 2rem;
  z-index: 3;
}

.carousel-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.carousel-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.carousel-desc {
  font-size: 0.92rem;
  color: var(--steel-200);
  margin-bottom: 0.85rem;
  max-width: 90%;
  line-height: 1.5;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(15, 21, 35, 0.85);
  border: 1px solid var(--border-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1rem;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: #080c14;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

[dir="rtl"] .carousel-prev {
  left: auto;
  right: 15px;
}

[dir="rtl"] .carousel-next {
  right: auto;
  left: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 28px;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.8);
}


/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-primary);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ===================================================================
   HERO SECTION (HOME)
   =================================================================== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(30, 58, 95, 0.2) 0%, transparent 50%),
              var(--bg-body);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(8, 12, 20, 0.95) 45%, rgba(8, 12, 20, 0.7) 100%),
                    url('../images/escalators/escalator-habib-01.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Showcase Card */
.hero-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.hero-card-img-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.hero-card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

.hero-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 40%, transparent);
}

.hero-card-caption h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-card-caption p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #080c14;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ===================================================================
   PAGE HERO (SUBPAGES)
   =================================================================== */
.page-hero {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.15) 0%, transparent 60%),
              var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 0.75rem;
  opacity: 0.6;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-subtitle-arabic {
  font-family: var(--font-arabic);
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===================================================================
   SECTION GENERAL PADDING
   =================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
}

/* ===================================================================
   SERVICES GRID & CARDS
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080c14;
  font-size: 1.35rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.service-card-body {
  padding: 2.2rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-list {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-card-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.service-card-list li i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* ===================================================================
   FEATURED / LANDMARK PROJECTS
   =================================================================== */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #080c14;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.project-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.project-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-client-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8, 12, 20, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card-content {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-meta-pill {
  font-size: 0.78rem;
  background: var(--bg-surface-elevated);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ===================================================================
   GALLERY MASONRY & LIGHTBOX
   =================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

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

.gallery-overlay-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.gallery-overlay-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.gallery-overlay-desc {
  font-size: 0.8rem;
  color: var(--steel-300);
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.96);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: #000000;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.lightbox-caption {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  color: var(--text-main);
}

.lightbox-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(15, 21, 35, 0.85);
  border: 1px solid var(--border-primary);
  color: var(--text-main);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary);
  color: #080c14;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ===================================================================
   CLIENTS MARQUEE / GRID
   =================================================================== */
.clients-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.client-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.client-item:hover {
  border-color: var(--border-primary);
  background: var(--bg-surface-elevated);
  transform: translateY(-3px);
}

.client-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
}

.client-logo {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-align: center;
}

.client-logo-kone,
.client-logo-fujitec,
.client-logo-baytur {
  color: #1677b8;
}

.client-logo-schindler,
.client-logo-otis,
.client-logo-elseif {
  color: #c8242c;
}

.client-logo-mitsubishi {
  color: #d71920;
  font-size: 0.9rem;
}

.client-logo-toshiba {
  color: #e60012;
  letter-spacing: 0.12em;
}

.client-logo-binladin {
  width: 2rem;
  min-height: 2rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  letter-spacing: 0;
  color: #17733b;
}

.client-logo-nesma {
  color: #128b8b;
}

.client-logo-marine,
.client-logo-scpi {
  font-size: 0.82rem;
}

.client-logo-scpi span {
  margin: 0 0.25rem;
  color: var(--primary);
}

.client-item:hover .client-name {
  color: var(--primary);
}

.client-item .client-logo + .client-name {
  margin-top: 0.25rem;
}

.client-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===================================================================
   VALUES / PILLARS / TIMELINE
   =================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
}

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

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.value-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid var(--bg-body);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--border-primary);
}

.timeline-year {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

/* ===================================================================
   LEADERSHIP & MANAGEMENT TEAM
   =================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

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

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.3);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================================================
   CONTACT SECTION & FORMS
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  background: radial-gradient(circle at 90% 10%, rgba(197, 160, 89, 0.2) 0%, transparent 60%),
              linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  max-width: 650px;
  margin: 0 auto 2.2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2rem;
  color: var(--text-muted);
}

[data-theme="light"] .site-footer {
  background: #ffffff;
  color: #475569;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .site-footer .footer-heading {
  color: #0f172a;
}

[data-theme="light"] .site-footer .footer-links a {
  color: #475569;
}

[data-theme="light"] .site-footer .footer-links a:hover {
  color: var(--primary-dark);
}

[data-theme="light"] .site-footer .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

[data-theme="light"] .site-footer .brand-title {
  color: #0f172a !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 1rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-notice i {
  color: #22c55e;
  font-size: 1.25rem;
}

.toast-notice.error {
  border-color: #ef4444;
}

.toast-notice.error i {
  color: #ef4444;
}

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-card {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1150px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-item .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
}

@media (max-width: 900px) {
  .top-bar {
    padding: 0.4rem 0;
    font-size: 0.74rem;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .top-bar-left, .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 1rem;
  }

  .top-bar-item {
    white-space: normal;
    text-align: center;
  }

  .top-bar-right .top-bar-item:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-bar-left .top-bar-item:nth-child(2) {
    display: none;
  }

  .navbar {
    gap: 0.6rem;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo-badge {
    width: 52px;
    height: 62px;
  }

  .brand-name-stack {
    max-width: none;
    min-width: 0;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .navbar .lang-toggle-btn {
    display: none;
  }

  .brand-name-stack .brand-arabic {
    font-size: 0.85rem;
  }

  .brand-english {
    font-size: 0.64rem;
  }

  .site-footer .brand-logo-badge {
    width: 64px;
    height: 78px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.15rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrap {
    padding: 1.8rem 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-nav {
    display: none;
  }
}


/* ===================================================================
   LANGUAGE TOGGLE & RTL SUPPORT (ARABIC)
   =================================================================== */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: var(--primary);
  color: #080c14;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
}

[dir="rtl"] {
  font-family: var(--font-arabic), var(--font-body);
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .section-header.text-left {
  text-align: right;
}

[dir="rtl"] .hero-card-tag {
  left: auto;
  right: 1.25rem;
}

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

[dir="rtl"] .service-card-icon {
  right: auto;
  left: 24px;
}

[dir="rtl"] .project-card-category {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .project-card-client-badge {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .gallery-zoom-icon {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .lightbox-prev {
  left: auto;
  right: -60px;
}

[dir="rtl"] .lightbox-next {
  right: auto;
  left: -60px;
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 0;
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

[dir="rtl"] .footer-links a i,
[dir="rtl"] .drawer-link i,
[dir="rtl"] .breadcrumb i {
  transform: rotate(180deg);
}

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

[dir="rtl"] .mobile-drawer {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid var(--border-primary);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .mobile-drawer.open {
  right: auto;
  left: 0;
}


/* Hero Centered Full-Width Flow with Carousel Under Heading */
.hero-fullwidth {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-fullwidth .hero-badge {
  margin-bottom: 1.25rem;
}

.hero-fullwidth .hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto 1rem;
}

.hero-fullwidth .hero-subtitle-arabic {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-fullwidth .hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 860px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-fullwidth .hero-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2.5rem auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(197, 160, 89, 0.3);
}

.hero-fullwidth .carousel-slides-wrap {
  height: 500px;
}

.hero-fullwidth .hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-fullwidth .hero-stats {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .hero-fullwidth .hero-title {
    font-size: 2.2rem;
  }
  .hero-fullwidth .carousel-slides-wrap {
    height: 380px;
  }
}
