@font-face {
  font-family: 'TheSansArabic';
  src: url('fonts/TheSansArabic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FreightDisplayPro';
  src: url('fonts/FreightDisplayPro.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --accent-purple: #111111;
  --accent-purple-hover: #000000;
  --accent-purple-rgb: 17, 17, 17;
  --accent-gold: var(--accent-purple);
  --accent-gold-hover: var(--accent-purple-hover);
  --accent-gold-rgb: var(--accent-purple-rgb);
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border-color: rgba(124, 58, 237, 0.15);
  --border-glow: rgba(124, 58, 237, 0.25);
  --white: #ffffff;
  --black: #000000;
  
  --font-arabic: 'TheSansArabic', system-ui, -apple-system, sans-serif;
  --font-latin: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading-latin: 'FreightDisplayPro', 'Outfit', Georgia, serif;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
}

/* Force font consistency: Arabic by default, clean Latin in LTR mode */
* {
  font-family: var(--font-arabic);
}

html[dir="ltr"] body,
html[dir="ltr"] p,
html[dir="ltr"] span,
html[dir="ltr"] a,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] label,
html[dir="ltr"] li {
  font-family: var(--font-latin) !important;
}

/* resets & scrollbar */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

*:focus,
*:focus-visible,
*:active {
  outline: none !important;
  box-shadow: none !important;
}

button,
a,
input,
select,
textarea {
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  border: none;
}

.resets-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-primary);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.latin-text {
  /* Inherits layout font family naturally */
}

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

/* Intro Animation Overlay */
#intro-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

#intro-overlay.lift-up {
  clip-path: circle(0% at 50% 50%);
}

.intro-logo-container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
}

.intro-logo {
  width: 240px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  user-select: none;
  pointer-events: auto;
  filter: none; /* Shows original purple logo color */
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.intro-logo.shrink {
  transform: scale(0.7) translateY(-10px);
}

.click-here-btn {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-purple);
  background: transparent;
  border: 2px solid var(--accent-purple);
  padding: 0.6rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
  animation: pulseGlow 2s infinite ease-in-out;
  cursor: pointer;
}
.click-here-btn:hover {
  background: var(--accent-purple);
  color: var(--white);
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.35);
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.35);
  }
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 99998;
  pointer-events: none;
  clip-path: circle(0% at var(--logo-pos-x, 50%) var(--logo-pos-y, 50%));
  transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}
.page-transition-overlay.active {
  clip-path: circle(150% at var(--logo-pos-x, 50%) var(--logo-pos-y, 50%));
  pointer-events: all;
}
.page-transition-overlay.active .transition-logo-wrapper {
  opacity: 1 !important;
}
.page-transition-overlay.shrink {
  clip-path: circle(0% at var(--logo-pos-x, 50%) var(--logo-pos-y, 50%));
}
.page-transition-overlay.shrink .transition-logo-wrapper {
  opacity: 0 !important;
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}


/* simulated mouse pointer */
.simulated-cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.5 3V19.5L9.75 14.25H18.75L4.5 3Z' fill='black' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
  z-index: 100000;
  top: 90%;
  left: 80%;
  transform: translate(-50%, -50%);
  animation: moveCursor 3.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.click-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%) scale(0);
  top: 50%;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  animation: rippleEffect 0.6s ease-out 2.5s forwards;
}

@keyframes moveCursor {
  0% {
    top: 90%;
    left: 80%;
  }
  60% {
    top: 55%;
    left: 55%;
  }
  70% {
    top: 50%;
    left: 50%;
  }
  80% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85); /* Click down */
  }
  90% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Release */
  }
  100% {
    top: -50px;
    left: 50%;
    opacity: 0;
  }
}

@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  color: #ffffff;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 4%;
  color: var(--text-primary);
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: inherit;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition-fast);
}

.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
  filter: brightness(0) invert(1); /* Turns dark logo into white on dark hero background */
}

header.scrolled .header-logo-img {
  filter: none; /* Reverts to original dark color when header is scrolled (white background) */
}

nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

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

header.scrolled .nav-link {
  color: var(--text-secondary);
}

header.scrolled .nav-link:hover {
  color: var(--text-primary);
}

.contact-btn {
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.contact-btn:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

header.scrolled .contact-btn {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

header.scrolled .contact-btn:hover {
  background-color: var(--accent-gold);
  color: var(--white);
  box-shadow: 0 0 15px var(--border-glow);
}

/* Header Actions wrapper */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px !important;
  height: 16px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  z-index: 10002 !important;
}

.mobile-menu-toggle span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background-color: currentColor !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: center !important;
  border-radius: 0 !important;
}

/* Hamburger transition into 'X' */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--text-primary) !important;
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--text-primary) !important;
}

header.mobile-menu-open {
  color: var(--text-primary) !important;
}

header.mobile-menu-open .header-logo-img {
  filter: none !important;
}

header.mobile-menu-open .lang-toggle-btn {
  color: var(--text-primary) !important;
  background: transparent !important;
  border: none !important;
}

header.mobile-menu-open .mobile-menu-toggle span {
  background-color: var(--text-primary) !important;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100vw;
  height: 100vh;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open .mobile-nav-content {
  transform: translateY(0);
}

.mobile-nav-link {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.2rem 1rem;
}

.mobile-nav-link::after,
.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

/* Sections Global Styling */
section {
  padding: 8rem 4% 4rem;
  position: relative;
}

.section-subtitle {
  color: var(--accent-purple);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
  position: relative;
  width: 100%;
}

.section-subtitle::after {
  display: none !important;
  content: none !important;
}

.section-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1.2rem;
  margin-bottom: 4rem;
  font-weight: 500;
  display: block;
  text-align: center;
  width: 100%;
}

/* Hero Section: Premium Background Slider */
.hero-slider-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
}

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

/* Overlay gradient to keep text readable */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 3;
}

/* Hero Text — no glass box, clean text reveal */
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  padding: 0 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.hero-slider-content-left {
  max-width: 760px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

html[dir="rtl"] .hero-slider-overlay {
  align-items: flex-start !important;
}

html[dir="rtl"] .hero-slider-content-left {
  align-items: flex-start !important;
  text-align: right !important;
}

html[dir="ltr"] .hero-slider-content-left {
  align-items: flex-start;
  text-align: left;
}

/* Each title line is clipped so text slides in from below */
.slider-title-line {
  overflow: hidden;
  display: block;
  line-height: 1.15;
}

.slider-title-line span {
  display: block;
  animation: lineRevealUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slider-title-line:nth-child(1) span { animation-delay: 0.1s; }
.slider-title-line:nth-child(2) span { animation-delay: 0.28s; }
.slider-title-line:nth-child(3) span { animation-delay: 0.46s; }

@keyframes lineRevealUp {
  from {
    transform: translateY(105%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slider-title {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: none;
}

/* Subtitle slides up & fades in after the title */
.slider-subtitle-wrapper {
  overflow: hidden;
  margin-top: 1.4rem;
  animation: lineRevealUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.slider-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-shadow: none;
}

.bullet-dot {
  display: none !important;
}

/* Indicators */
.slider-indicators {
  position: absolute;
  bottom: 8%;
  left: 8%;
  z-index: 20;
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 0 !important;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: #ffffff;
  border-color: #ffffff;
}

/* Floating widgets on the right */
.floating-side-badges {
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.badge-item {
  width: 150px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-fast);
  text-decoration: none;
}

.info-badge {
  background: #ffffff;
  color: #111111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.badge-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #555555;
  margin-top: 0.2rem;
}

.action-badge {
  background: #e02447;
  color: #ffffff;
  cursor: pointer;
}

.action-badge:hover {
  background: #c91a3b;
  transform: scale(1.03);
}

.action-badge .badge-icon {
  margin-bottom: 0.3rem;
  animation: pulseBag 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-badge .badge-lbl {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

@keyframes pulseBag {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Banner Customizer Styles */
.banner-customizer {
  position: absolute;
  bottom: 8%;
  right: 8%;
  z-index: 100;
  pointer-events: auto;
}

.customizer-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 !important;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.customizer-toggle-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.customizer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

.customizer-panel.open {
  transform: translateX(0);
}

.panel-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.panel-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.panel-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: right;
}

.panel-body label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: block;
}

.image-preset-picker {
  margin-top: 0.6rem;
}

.preset-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.preset-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.preset-thumb-img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 0 !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.preset-thumb-img:hover, .preset-thumb-img.active {
  border-color: var(--accent-gold);
}

.panel-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 0 !important;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.save-btn {
  background: var(--accent-gold);
  color: #ffffff;
}

.save-btn:hover {
  background: var(--accent-gold-hover);
}

.reset-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.reset-btn:hover {
  background: #e2e6ea;
}

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

/* Vision Statement Section — Minimal & Borderless */
.vision-statement {
  background-color: var(--bg-primary) !important;
  padding: 6rem 4% 3rem 4% !important;
  border: none !important;
  text-align: center !important;
  position: relative !important;
}

.vision-statement::before {
  display: none !important;
}

.vision-text {
  font-size: 2.2rem !important;
  font-weight: 500 !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  line-height: 1.55 !important;
  color: var(--text-primary) !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Featured Projects Section */
.featured-section {
  background-color: var(--bg-primary);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.featured-card {
  position: relative;
  height: 400px;
  border-radius: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(40px);
}

.featured-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 20%, rgba(10, 10, 12, 0.2) 70%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.featured-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 2rem;
  z-index: 3;
  transition: var(--transition-smooth);
}

.featured-tag {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  display: block;
}

.featured-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 700;
}

.featured-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 769px) {
  .featured-card:nth-child(odd):last-child {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 1.25rem);
  }
}

.featured-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 25px rgba(197, 168, 128, 0.08);
}

.featured-card:hover .featured-img {
  transform: scale(1.06);
}

.featured-card:hover::before {
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 25%, rgba(10, 10, 12, 0.3) 80%);
}

/* About Us Section & Drone Canvas Build Simulation */
.about-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-mission {
  border-right: 3px solid var(--accent-gold);
  padding-right: 1.5rem;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* Canvas Viewport */
.canvas-wrapper {
  background-color: #050507;
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.canvas-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 10;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(10px);
}

.canvas-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.canvas-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50% !important;
  animation: pulseRed 1s infinite alternate;
}

@keyframes pulseRed {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.canvas-timer {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 0 !important;
}

#drone-build-canvas {
  width: 100%;
  height: calc(100% - 100px);
  display: block;
}

.canvas-controls {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 10;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(10px);
}

.control-btn {
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.4rem 1.2rem;
  border-radius: 0 !important;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.canvas-legend {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50% !important;
}
.legend-dot.foundation { background-color: #f59e0b; }
.legend-dot.concrete { background-color: #3b82f6; }
.legend-dot.columns { background-color: #10b981; }
.legend-dot.glass { background-color: #06b6d4; }

/* Stats Counter Section */
.stats-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 5rem 4%;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem 3.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: inline-block;
  line-height: 1;
}

.stat-title {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Services Section - "بدون بلوك" (Float typography, minimal borders, hover lines) */
.services-section {
  background-color: var(--bg-secondary);
}

.services-list {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 3fr 120px;
  padding: 2.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-row::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.service-num {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.service-icon-wrapper {
  color: var(--accent-gold);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  background: rgba(197, 168, 128, 0.05);
  transition: var(--transition-smooth);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-link {
  justify-self: end;
  color: var(--accent-gold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(15px);
  transition: var(--transition-smooth);
}

/* Service row hover */
.service-row:hover {
  background-color: rgba(197, 168, 128, 0.02);
  padding-right: 2rem;
}

.service-row:hover::before {
  width: 100%;
}

.service-row:hover .service-title {
  color: var(--accent-gold);
}

.service-row:hover .service-icon-wrapper {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--border-glow);
}

.service-row:hover .service-num {
  color: var(--accent-gold);
}

.service-row:hover .service-link {
  opacity: 1;
  transform: translateX(0);
}

/* Featured Client Logos Section */
.logos-section {
  background-color: var(--bg-primary);
  padding: 4rem 4%;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.logos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.client-logo {
  background: rgba(124, 58, 237, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 0 !important;
  padding: 1.5rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.client-logo svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  transition: var(--transition-smooth);
}

.client-logo:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.12);
}

.client-logo:hover svg {
  transform: scale(1.04);
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.faq-icon {
  color: var(--accent-gold);
  transition: var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.faq-answer p {
  padding: 1rem 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* FAQ Active state */
.faq-item.active .faq-question h3 {
  color: var(--accent-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* Contact Us Section */
.contact-section {
  background-color: var(--bg-primary);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-icon {
  color: var(--accent-purple, #111111);
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.06) !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  border-radius: 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.contact-detail-item:hover .contact-detail-icon {
  background: rgba(124, 58, 237, 0.15) !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.2) !important;
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-detail-text a, .contact-detail-text span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-detail-text a.latin-text {
  direction: ltr;
  display: inline-block;
}

.contact-detail-text a:hover {
  color: var(--accent-gold);
}

.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 0 !important;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  border-radius: 0 !important;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

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

.submit-btn {
  width: 100%;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 !important;
  transition: var(--transition-fast);
}

.submit-btn:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.25);
}

/* Footer Section */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 4%;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent-gold);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-nav-link:hover {
  color: var(--accent-gold);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Project Detail Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.95);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 1350px;
  max-height: 92vh;
  border-radius: 0 !important;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

/* Center-aligned Banner Content for Sub-Pages */
.page-banner-content {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 0 2rem;
  padding-top: 80px; /* push content down inside the banner */
}
.page-banner-content .slider-title {
  text-align: center;
}
.page-banner-content .slider-title-line {
  justify-content: center;
}
.page-banner-content .slider-subtitle {
  justify-content: center;
  text-align: center;
}

/* Override overlay alignment for sub-page banners */
#hero .hero-slider-overlay:has(.page-banner-content) {
  align-items: center;
  justify-content: center;
}
#hero:has(.page-banner-content) .hero-slider-overlay {
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.modal-visuals {
  display: flex;
  flex-direction: column;
  background: #08080a;
  border-left: 1px solid var(--border-color);
  height: 100%;
}

.modal-main-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
}

.modal-gallery-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 0 !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.modal-gallery-img:hover, .modal-gallery-img.active {
  border-color: var(--accent-gold);
}

.modal-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.modal-tag {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.modal-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-meta-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Responsive adjustments */
/* =========================================
   RESPONSIVE DESIGN - TABLET (max 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .key-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .key-project-card:last-child {
    grid-column: span 2;
    height: 400px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .modal-visuals {
    border-left: none;
    border-bottom: 1px solid var(--border-color);
  }
  .modal-main-img {
    height: 300px;
  }
  .canvas-wrapper {
    height: 400px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* =========================================
   RESPONSIVE DESIGN - MOBILE (max 768px)
   ========================================= */
@media (max-width: 768px) {
  /* --- Global --- */
  section {
    padding: 4rem 5% 3rem;
  }

  .section-subtitle {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  /* --- Header --- */
  /* Handled below in phone-only media query to keep header open on desktops/tablets */
  .logo {
    font-size: 1.6rem;
    gap: 0.5rem;
  }
  .header-logo-img {
    height: 36px;
  }
  .contact-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  #lang-toggle-btn {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.78rem !important;
  }

  /* --- Hero Slider --- */
  .hero-slider-overlay {
    padding: 0 5%;
    justify-content: center;
  }
  .hero-slider-content-left {
    max-width: 100%;
    padding: 0;
  }
  .slider-title {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .slider-subtitle {
    font-size: 1.05rem;
  }
  .slider-subtitle-wrapper {
    margin-top: 0.8rem;
  }
  .slider-indicators {
    bottom: 5%;
    left: 5%;
  }

  /* --- Vision --- */
  .vision-statement {
    padding: 3rem 5%;
  }
  .vision-text {
    font-size: 1.3rem;
  }

  /* --- Featured Projects --- */
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .featured-card {
    height: 300px;
  }
  .featured-content {
    padding: 1.5rem;
  }
  .featured-title {
    font-size: 1.2rem;
  }
  .key-projects-grid {
    grid-template-columns: 1fr;
  }
  .key-project-card:last-child {
    grid-column: span 1;
    height: 400px;
  }

  /* --- About Section & Drone Canvas --- */
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-desc {
    font-size: 1rem;
  }
  .about-mission {
    font-size: 0.95rem;
  }
  .canvas-wrapper {
    height: 350px;
  }
  .canvas-header {
    padding: 0.6rem 1rem;
  }
  .canvas-title {
    font-size: 0.65rem;
  }
  .canvas-timer {
    font-size: 0.7rem;
  }
  .canvas-controls {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .canvas-legend {
    gap: 0.5rem;
    font-size: 0.65rem;
  }
  .control-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }

  /* --- Promo Banner --- */
  .promo-banner-section {
    min-height: 260px;
    height: auto;
    padding: 3rem 1.5rem;
  }

  /* --- Services --- */
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.5rem 0;
  }
  .service-num {
    margin-bottom: -0.5rem;
  }
  .service-title {
    font-size: 1.2rem;
  }
  .service-desc {
    font-size: 0.9rem;
  }
  .service-link {
    justify-self: start;
    opacity: 1;
    transform: none;
  }

  /* --- Stats --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }

  /* --- Logos --- */
  .logos-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .client-logo {
    height: 80px;
  }

  /* --- FAQ --- */
  .faq-question h3 {
    font-size: 1rem;
  }

  /* --- Contact --- */
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .inquiry-textarea {
    min-height: 140px;
  }

  /* --- Footer --- */
  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .footer-nav-link {
    font-size: 0.8rem;
  }

  /* --- Modal --- */
  .modal-overlay {
    padding: 0;
  }
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 100vh;
    border-radius: 0 !important;
    max-width: 100%;
    grid-template-columns: 1fr !important;
    max-height: 88vh !important;
    border-radius: 0 !important;
    max-width: 92% !important;
    margin: auto !important;
    position: relative !important;
    overflow-y: auto !important;
  }
  .modal-visuals {
    border-left: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }
  .modal-main-img {
    height: 250px !important;
  }
  .modal-gallery {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.3rem !important;
    padding: 0.5rem !important;
  }
  .modal-details {
    padding: 1.5rem !important;
  }
  .modal-close {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--accent-purple) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;
  }
  html[dir="ltr"] .modal-close {
    right: auto !important;
    left: 1rem !important;
  }
  .modal-title {
    font-size: 1.3rem;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .modal-meta-item[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* =========================================
   RESPONSIVE DESIGN - SMALL PHONE (max 480px)
   ========================================= */
@media (max-width: 480px) {
  .section-subtitle {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .slider-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .slider-subtitle {
    font-size: 0.9rem;
  }
  .vision-text {
    font-size: 1.1rem;
  }
  .featured-card {
    height: 250px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-title {
    font-size: 0.85rem;
  }
  .stat-desc {
    font-size: 0.7rem;
  }
  .canvas-wrapper {
    height: 280px;
  }
  .logo {
    font-size: 1.3rem;
  }
  .header-logo-img {
    height: 30px;
  }
  .contact-detail-text a,
  .contact-detail-text span {
    font-size: 0.9rem;
  }
  .contact-detail-text h4 {
    font-size: 0.75rem;
  }
  .promo-banner-section {
    min-height: 220px;
    height: auto;
    padding: 2rem 1rem;
  }
  .footer-nav {
    gap: 0.75rem;
  }
}

/* LTR Specific Layout & Border Overrides */
html[dir="ltr"] .about-mission {
  border-right: none;
  border-left: 3px solid var(--accent-gold);
  padding-right: 0;
  padding-left: 1.5rem;
}

html[dir="ltr"] .modal-visuals {
  border-left: none;
  border-right: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  html[dir="ltr"] .modal-visuals {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

/* Promo Banner Between Sections */
.promo-banner-section {
  width: 100% !important;
  min-height: 380px !important;
  height: 380px !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 3rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 0 !important;
}

.promo-banner-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.promo-bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1600&q=80');
}

.promo-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.62) !important;
  z-index: 2 !important;
}

/* Social Media Icon-Only Links */
.social-icons-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.social-icon-link svg {
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover svg {
  transform: scale(1.1);
}

/* Individual Brand Styles on Hover */
#contact-facebook {
  border-color: rgba(24, 119, 242, 0.2);
  color: #1877f2;
}

#contact-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.35);
  transform: translateY(-3px);
}

#contact-instagram {
  border-color: rgba(225, 48, 108, 0.2);
  color: #e1306c;
}

#contact-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(225, 48, 108, 0.35);
  transform: translateY(-3px);
}

/* WhatsApp Inquiry Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inquiry-textarea {
  min-height: 200px;
  resize: vertical;
  font-size: 1rem;
  line-height: 1.7;
}

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

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

/* Stagger delay helpers */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* Custom Reveal Animation Types */
.reveal-fade-only {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade-only.reveal-active {
  opacity: 1 !important;
}

.reveal-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-up.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-zoom-in.reveal-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.reveal-rotate-in {
  opacity: 0;
  transform: translateY(30px) rotate(-1.5deg);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-rotate-in.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) rotate(0) !important;
}

/* Map Container */
.contact-map-container {
  grid-column: span 2;
  width: 350px;
  max-width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  aspect-ratio: 1 / 1;
  margin: 2rem auto 0; /* Centers map container horizontally */
}

@media (max-width: 1024px) {
  .contact-map-container {
    grid-column: span 1;
  }
}

/* ========================================================
   LTR / English Mode Overrides
   Applied automatically when html[dir="ltr"] is set
   ======================================================== */

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .tab-navigation {
  border-left: none;
  border-right: 1px solid var(--border-color);
}

html[dir="ltr"] .tab-btn {
  text-align: left;
}

html[dir="ltr"] nav {
  gap: 2rem;
}

html[dir="ltr"] .header-actions {
  flex-direction: row;
}

html[dir="ltr"] .hero-slider-overlay {
  padding: 0 8%;
  align-items: flex-start !important;
}

html[dir="ltr"] .hero-slider-content-left {
  text-align: left;
}

html[dir="ltr"] .section-subtitle::before {
  left: auto;
  right: auto;
}

/* Contact details LTR */
html[dir="ltr"] .contact-detail-item {
  flex-direction: row;
}

html[dir="ltr"] .contact-detail-text {
  text-align: left;
}

/* Social icons row LTR */
html[dir="ltr"] .social-icons-row {
  justify-content: flex-start;
}

/* About section */
html[dir="ltr"] .about-section {
  direction: ltr;
}

html[dir="ltr"] .about-content {
  text-align: left;
}

/* Services */
html[dir="ltr"] .service-row {
  direction: ltr;
  text-align: left;
}

/* Vision statement */
html[dir="ltr"] .vision-text {
  text-align: center;
}

/* Footer */
html[dir="ltr"] footer {
  direction: ltr;
  text-align: center;
}

html[dir="ltr"] .footer-nav {
  flex-direction: row;
}

/* FAQ */
html[dir="ltr"] .faq-question {
  flex-direction: row;
  text-align: left;
}

/* Mobile nav */
html[dir="ltr"] .mobile-nav-content {
  text-align: left;
}

/* Modal */
html[dir="ltr"] .modal-details {
  text-align: left;
}

html[dir="ltr"] .modal-meta-label {
  text-align: left;
}

/* Typography overrides for Latin mode to ensure headings and all elements use the Latin font */
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6,
html[dir="ltr"] a,
html[dir="ltr"] p,
html[dir="ltr"] span,
html[dir="ltr"] div,
html[dir="ltr"] button,
html[dir="ltr"] select,
html[dir="ltr"] input,
html[dir="ltr"] textarea {
  font-family: var(--font-latin) !important;
}

/* Homepage Category Grid Cards */
.home-categories-section {
  background-color: var(--bg-primary) !important;
  padding: 2rem 4% 6rem 4% !important;
  border: none !important;
}
.home-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 3rem !important;
  max-width: 1250px !important;
  margin: 0 auto !important;
}
.home-category-card {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: right !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  position: relative !important;
}
html[dir="ltr"] .home-category-card {
  text-align: left !important;
}
.home-category-card:hover,
.home-category-card.active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-4px) !important;
}
.home-category-icon-wrapper {
  color: #000000 !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html[dir="ltr"] .home-category-icon-wrapper {
  justify-content: flex-start !important;
}
.home-category-icon-wrapper svg {
  width: 58px !important;
  height: 58px !important;
  stroke: #000000 !important;
  stroke-width: 1.4 !important;
  fill: none !important;
}
.home-category-custom-icon {
  width: 52px;
  height: 52px;
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  display: block;
}
.home-category-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.5rem;
}
.home-category-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Projects Split Layout for Homepage */
.projects-split-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.projects-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
html[dir="rtl"] .projects-left-col {
  align-items: flex-end;
  text-align: right;
}
.projects-preview-title {
  font-family: var(--font-latin);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}
html[dir="rtl"] .projects-preview-title {
  font-family: var(--font-arabic);
}
.view-more-link {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--accent-purple);
  padding-bottom: 4px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.view-more-link:hover {
  color: var(--accent-purple);
  border-color: #ffffff;
  transform: translateX(6px);
}
html[dir="rtl"] .view-more-link {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  letter-spacing: 0;
}
html[dir="rtl"] .view-more-link:hover {
  transform: translateX(-6px);
}
html[dir="ltr"] .projects-right-col {
  direction: ltr !important;
}
html[dir="ltr"] .projects-carousel-container {
  direction: ltr !important;
  scroll-behavior: auto !important;
}
html[dir="ltr"] .projects-carousel-track {
  direction: ltr !important;
  justify-content: flex-start !important;
}

.projects-right-col {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.projects-carousel-container {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  cursor: grab !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  touch-action: pan-x !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}
.projects-carousel-container::-webkit-scrollbar {
  display: none !important;
}
.projects-carousel-container:active {
  cursor: grabbing !important;
}
.projects-carousel-track {
  display: grid !important;
  grid-template-rows: repeat(2, 240px) !important;
  grid-auto-flow: column !important;
  gap: 1.5rem !important;
  width: max-content !important;
  padding: 0.5rem 0 !important;
  will-change: scroll-position !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
}
.projects-carousel-track .featured-card {
  width: 330px !important;
  height: 240px !important;
  flex: none !important;
  opacity: 1 !important;
  transform: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
.projects-carousel-track .featured-card .featured-content {
  padding: 1.2rem 1.4rem !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
}
.projects-carousel-track .featured-card .featured-title {
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  margin-bottom: 0.3rem !important;
  word-break: break-word !important;
}
.projects-carousel-track .featured-card .featured-tag {
  font-size: 0.8rem !important;
  margin-bottom: 0.25rem !important;
}
.projects-carousel-track .featured-card .featured-meta {
  font-size: 0.8rem !important;
}

/* Mobile Responsiveness for Projects Carousel */
@media (max-width: 1024px) {
  .projects-split-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 0 !important;
  }
  .projects-left-col {
    align-items: center !important;
    text-align: center !important;
    padding: 0 5% !important;
  }
  .projects-right-col {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;  /* was hidden — caused carousel to disappear on mobile */
  }
  .projects-carousel-container {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: none !important;
  }
  .projects-carousel-track {
    grid-template-rows: repeat(2, 200px) !important;
    gap: 1.2rem !important;
  }
  .projects-carousel-track .featured-card {
    width: 260px !important;
    height: 200px !important;
  }
}

@media (max-width: 576px) {
  .projects-carousel-track {
    grid-template-rows: repeat(2, 180px) !important;
    gap: 0.9rem !important;
  }
  .projects-carousel-track .featured-card {
    width: 230px !important;
    height: 180px !important;
  }
  .projects-carousel-track .featured-card .featured-content {
    padding: 0.9rem 1rem !important;
  }
  .projects-carousel-track .featured-card .featured-title {
    font-size: 1rem !important;
  }
}

.modal-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  left: auto !important;
  background: #111111 !important;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 999999 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.25s ease !important;
}

html[dir="ltr"] .modal-close {
  right: auto !important;
  left: 1rem !important;
}

.modal-close:hover {
  background: #000000 !important;
  transform: scale(1.1) !important;
}

.modal-close svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
  stroke-width: 2.8 !important;
}

/* Hide modal contact buttons completely */
.modal-contact-row {
  display: none !important;
}
@media (max-width: 1024px) {
  .projects-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .projects-left-col {
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 576px) {
  .projects-carousel-track {
    grid-template-rows: repeat(2, 190px);
  }
  .projects-carousel-track .featured-card {
    width: 270px;
    height: 190px;
  }
}

.promo-banner-section {
  position: relative !important;
  min-height: 380px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 4rem 1.5rem !important;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 !important;
}

.promo-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(15, 10, 35, 0.78) 100%) !important;
  z-index: 2 !important;
}

@media (max-width: 1024px) {
  .promo-banner-section {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 3.5rem 1.2rem !important;
  }
}

.promo-banner-content {
  position: relative !important;
  z-index: 5 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  color: #ffffff !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.2rem !important;
  width: 100% !important;
}
.promo-banner-title {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: none !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
.promo-banner-desc {
  font-size: 1.15rem !important;
  color: #f8fafc !important;
  text-align: center !important;
  text-shadow: none !important;
  line-height: 1.65 !important;
  max-width: 750px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .promo-banner-title {
    font-size: 1.6rem !important;
  }
  .promo-banner-desc {
    font-size: 0.98rem !important;
  }
}

/* Showcase services for About page */
.about-services-section {
  padding: 6rem 4%;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.about-service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 0 !important;
  transition: all 0.3s ease;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.home-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 2rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.home-category-card {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: right !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  position: relative !important;
}

.home-category-card:hover, .home-category-card.active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-4px) !important;
}

.home-category-icon-wrapper {
  color: #000000 !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.home-category-icon-wrapper svg {
  width: 48px !important;
  height: 48px !important;
  stroke: #000000 !important;
  stroke-width: 1.5 !important;
  fill: none !important;
}

.home-category-title {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin-bottom: 0.5rem !important;
}

.home-category-desc {
  font-size: 0.92rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.about-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.12);
}
.about-service-icon-wrapper {
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background: rgba(124, 58, 237, 0.05);
}
.about-service-card, .service-showcase-item {
  border-radius: 0 !important;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  text-align: right;
  margin-bottom: 3rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  padding-bottom: 0;
}
.footer-col h3::after,
.footer-col h3::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.footer-hours-list, .footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0;
  margin: 0;
}
.footer-hours-list li, .footer-contact-list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.6rem !important;
  text-align: right !important;
  width: 100% !important;
}

.footer-hours-list li span:first-child, .footer-contact-list li span:first-child {
  font-weight: 700 !important;
  color: var(--accent-purple) !important;
  white-space: nowrap !important;
  min-width: 60px !important;
  text-align: right !important;
}
.about-service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Multi-column Footer (Desktop 4-Column Layout restored) */
@media (min-width: 1025px) {
  footer {
    padding: 5rem 6% 2rem 6% !important;
  }
  .footer-wrapper {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
    gap: 3.5rem !important;
    text-align: right !important;
    margin-bottom: 3.5rem !important;
    width: 100% !important;
  }
  html[dir="ltr"] .footer-wrapper {
    text-align: left !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    width: auto !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  .footer-col h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
    padding-bottom: 0.5rem !important;
  }
  .footer-col h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: var(--accent-purple) !important;
  }
  html[dir="ltr"] .footer-col h3::after {
    right: auto !important;
    left: 0 !important;
  }
  .footer-hours-list li, .footer-contact-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
  }
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}
.footer-links-list a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.footer-links-list a:hover {
  color: var(--accent-purple);
  padding-right: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
}
header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 10000000 !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  color: #ffffff;
}
/* Services Showcase Section (Desktop & Mobile) */
.services-showcase-section {
  background-color: var(--bg-primary) !important;
  padding: 6rem 4% !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.services-showcase-layout {
  display: grid !important;
  grid-template-columns: 380px 1fr !important;
  gap: 4rem !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  align-items: flex-start !important;
}

.services-showcase-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: sticky !important;
  top: 120px !important;
}

.services-showcase-main-title {
  font-family: var(--font-arabic) !important;
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

html[dir="ltr"] .services-showcase-main-title {
  font-family: var(--font-latin) !important;
  font-size: 2.6rem !important;
  line-height: 1.25 !important;
}

.services-showcase-right {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2.2rem !important;
}

.service-showcase-item {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 0 !important;
  padding: 2.2rem 1.8rem !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  text-align: right !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03) !important;
}

.service-showcase-item::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 3px !important;
  background: var(--accent-purple) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.service-showcase-item:hover {
  transform: translateY(-6px) !important;
  border-color: var(--accent-purple) !important;
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.18) !important;
}

.service-showcase-item:hover::before {
  opacity: 1 !important;
}

.service-showcase-item:hover .service-showcase-icon-wrapper {
  background: var(--accent-purple) !important;
  color: #ffffff !important;
  border-color: var(--accent-purple) !important;
}

.service-showcase-item:hover .service-showcase-icon-wrapper svg {
  stroke: #ffffff !important;
}

html[dir="ltr"] .service-showcase-item {
  text-align: left !important;
}

.service-showcase-header {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.service-showcase-icon-wrapper {
  color: var(--accent-purple) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 0 !important;
  background: rgba(17, 17, 17, 0.08) !important;
  border: 1px solid rgba(17, 17, 17, 0.18) !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}

.service-showcase-icon-wrapper svg {
  width: 26px !important;
  height: 26px !important;
  stroke: var(--accent-purple) !important;
  stroke-width: 1.8 !important;
  transition: all 0.3s ease !important;
}

.service-showcase-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
}

.service-showcase-desc {
  font-size: 0.93rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .services-showcase-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .services-showcase-left {
    position: static !important;
  }
  .services-showcase-main-title {
    font-size: 2rem !important;
    text-align: center !important;
  }
  html[dir="rtl"] .services-showcase-main-title {
    font-size: 1.8rem !important;
    text-align: center !important;
  }
  .services-showcase-right {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }
}

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

/* Contact Map Full Width Box */
.contact-map-container {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  height: 480px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--border-color) !important;
  margin-top: 3rem !important;
  background: var(--bg-secondary) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  display: block !important;
}

.contact-map-container iframe,
#contact-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border: 0 !important;
  display: block !important;
}



/* Footer Bottom Centering & Non-overlapping Columns (Image 2 Fix) */
.footer-bottom {
  border-top: 1px solid var(--border-color) !important;
  padding-top: 2rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  width: 100% !important;
}

.copyright {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: block !important;
}

.footer-hours-list, .footer-contact-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-hours-list li, .footer-contact-list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.6rem !important;
  text-align: right !important;
  width: 100% !important;
}

.footer-hours-list li span:first-child, .footer-contact-list li span:first-child {
  font-weight: 700 !important;
  color: var(--accent-purple) !important;
  white-space: nowrap !important;
  min-width: 60px !important;
  text-align: right !important;
}

.footer-hours-list li span:last-child, .footer-contact-list li span:last-child {
  color: var(--text-primary) !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: right !important;
  direction: ltr !important;
  display: inline-block !important;
}

html[dir="rtl"] .footer-hours-list li span:last-child, 
html[dir="rtl"] .footer-contact-list li span:last-child {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .footer-contact-list li span.latin-text {
  direction: ltr !important;
  display: inline-block !important;
  text-align: left !important;
}

html[dir="ltr"] .footer-hours-list li, html[dir="ltr"] .footer-contact-list li {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* ==========================================
   Mobile Responsive Optimizations
   ========================================== */

/* 1. Mobile Footer Vertical Stack (بطول الصفحة / شي جوة شي) */
@media (max-width: 991px) {
  .footer-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.2rem !important;
    text-align: right !important;
    width: 100% !important;
    margin-bottom: 2.5rem !important;
  }
  .footer-col {
    width: 100% !important;
  }
  .footer-col h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.8rem !important;
  }
  html[dir="ltr"] .footer-wrapper {
    text-align: left !important;
  }
}

/* 2. Promo Banner Engine */
.promo-banner-section {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 5%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  /* Desktop: parallax fixed */
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 !important;
}

/* Mobile iOS/Android: background-attachment:fixed breaks on mobile — force scroll */
@media (hover: none), (max-width: 1024px) {
  .promo-banner-section {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 250px !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}


@media (max-width: 1024px) {
  /* Mobile Footer 1-Column Vertical Stack (شي جوه شي بشكل مرتّب) */
  footer {
    padding: 4rem 5% 2rem 5% !important;
  }

  .footer-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.2rem !important;
    width: 100% !important;
    margin-bottom: 2.5rem !important;
    text-align: right !important;
  }

  html[dir="ltr"] .footer-wrapper {
    text-align: left !important;
  }

  .footer-col {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.9rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12) !important;
  }

  .footer-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .footer-col h3 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
  }

  .footer-hours-list, .footer-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .footer-hours-list li, 
  .footer-contact-list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.8rem !important;
    width: 100% !important;
    font-size: 0.92rem !important;
    text-align: right !important;
  }

  html[dir="ltr"] .footer-hours-list li,
  html[dir="ltr"] .footer-contact-list li {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .footer-bottom {
    border-top: 1px solid var(--border-color) !important;
    padding-top: 1.8rem !important;
    text-align: center !important;
    width: 100% !important;
  }

  .copyright {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }

  .promo-banner-section {
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  .promo-banner-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
  }

  .promo-banner-content {
    position: relative !important;
    z-index: 3 !important;
  }

  .contact-section {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .contact-form.inquiry-form {
    margin-top: 1rem !important;
  }
}

/* Performance & GPU Hardware Acceleration (Zero Lag Optimization for Desktop & Mobile) */
.service-showcase-item,
.home-category-card,
.project-card,
.scroll-reveal,
.lang-toggle-btn,
.nav-link,
.contact-btn {
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Premium ABC Luxury Language Transition Overlay Animation */
#lang-transition-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999999 !important;
  background: linear-gradient(135deg, #0b0712 0%, #1f0b29 50%, #0b0712 100%) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: translateY(0);
}

#lang-transition-overlay.active {
  opacity: 1 !important;
  pointer-events: all !important;
}

#lang-transition-overlay.lift-up {
  opacity: 0 !important;
  transform: translateY(-100%) !important;
}

.lang-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#lang-transition-overlay.active .lang-overlay-content {
  transform: scale(1);
}

.lang-overlay-logo {
  height: 95px;
  width: auto;
  filter: drop-shadow(0 0 35px rgba(17, 17, 17, 0.85));
  animation: logoPulseGlow 1.2s infinite alternate ease-in-out;
}

.lang-overlay-badge {
  background: rgba(17, 17, 17, 0.25);
  border: 1px solid rgba(17, 17, 17, 0.5);
  color: #ffffff;
  padding: 0.5rem 1.4rem;
  border-radius: 0 !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(17, 17, 17, 0.3);
}

.lang-overlay-progressbar-track {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 !important;
  overflow: hidden;
}

.lang-overlay-progressbar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #111111, #c5a880);
  border-radius: 0 !important;
  transition: width 0.4s ease;
}

@keyframes logoPulseGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(17, 17, 17, 0.4));
  }
  100% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 45px rgba(197, 168, 128, 0.8));
  }
}

/* Absolute Forced Centered Bold White Promo Banner Text & High-Contrast Dark Overlay */
.promo-banner-section {
  position: relative !important;
  min-height: 380px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 4rem 6% !important;
}

.promo-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(13, 9, 20, 0.6) !important;
  z-index: 2 !important;
}

.promo-banner-content,
.subpage-hero-section .hero-slider-overlay,
.subpage-hero-section .hero-slider-content-left {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 950px !important;
}

.promo-banner-title,
.subpage-hero-section .slider-title,
#page-banner-title,
html[dir="rtl"] .promo-banner-title,
html[dir="ltr"] .promo-banner-title {
  color: #ffffff !important;
  font-family: var(--font-arabic), var(--font-latin), sans-serif !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  line-height: 1.35 !important;
  margin: 0 0 1rem 0 !important;
  text-shadow: none !important;
}

.promo-banner-desc,
.subpage-hero-section .slider-subtitle,
#page-banner-subtitle,
html[dir="rtl"] .promo-banner-desc,
html[dir="ltr"] .promo-banner-desc {
  color: #ffffff !important;
  font-family: var(--font-arabic), var(--font-latin), sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  .promo-banner-section {
    min-height: 280px !important;
    padding: 3rem 4% !important;
  }
  .promo-banner-title,
  .subpage-hero-section .slider-title,
  #page-banner-title,
  html[dir="rtl"] .promo-banner-title,
  html[dir="ltr"] .promo-banner-title {
    font-size: 2.2rem !important;
  }
  .promo-banner-desc,
  .subpage-hero-section .slider-subtitle,
  #page-banner-subtitle,
  html[dir="rtl"] .promo-banner-desc,
  html[dir="ltr"] .promo-banner-desc {
    font-size: 1.15rem !important;
  }
}



.contact-detail-icon {
  border-radius: 12px !important;
}

.bullet-dot,
.slider-dot,
.dot-indicator,
.social-icon-link,
.modal-close {
  border-radius: 50% !important;
}

/* =====================================================
   ARCHITECTURAL GEOMETRIC ICONS — Sharp SVG Shapes
   ===================================================== */
.about-service-icon-wrapper,
.service-showcase-icon-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-bottom: 1.5rem !important;
  color: var(--accent-red, #e63946) !important;
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease !important;
  border-radius: 0 !important;
}

.about-service-icon-wrapper svg,
.service-showcase-icon-wrapper svg {
  width: 52px !important;
  height: 52px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
}

.about-service-card:hover .about-service-icon-wrapper,
.service-showcase-item:hover .service-showcase-icon-wrapper {
  opacity: 1;
  color: var(--accent-red, #e63946) !important;
}

/* Home categories icons — same geometric treatment */
.home-category-icon-wrapper svg {
  width: 44px !important;
  height: 44px !important;
  stroke: currentColor !important;
}

/* =====================================================
   CENTERED SECTION TITLES & SUBTITLES OVERRIDE
   ===================================================== */
.section-subtitle,
.section-title,
.page-banner-content,
.page-banner-content .slider-title,
.page-banner-content .slider-subtitle,
.services-showcase-subtitle,
.services-showcase-main-title,
.services-showcase-accent-bar,
#services-page-subtitle,
#services-page-main-title,
#about-company-subtitle,
#about-company-title,
#about-services-subtitle,
#about-services-main-title,
#contact-subtitle,
#contact-title,
#faq-subtitle,
#faq-title,
#projects-preview-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-subtitle::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* =====================================================
   BOXLESS & BORDERLESS CARDS ACROSS ALL SECTIONS
   ===================================================== */
.about-service-card,
.service-showcase-item,
.home-category-card,
.client-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.about-service-card:hover,
.service-showcase-item:hover,
.home-category-card:hover,
.client-logo:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-4px) !important;
}

.about-service-icon-wrapper,
.service-showcase-icon-wrapper,
.home-category-icon-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto 1.2rem auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.about-service-title,
.service-showcase-title,
.home-category-title {
  text-align: center !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin-bottom: 0.6rem !important;
}

.about-service-desc,
.service-showcase-desc,
.home-category-desc {
  text-align: center !important;
  font-size: 0.94rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
}

.about-services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 3rem !important;
  max-width: 1250px !important;
  margin: 3rem auto 0 auto !important;
}

/* =====================================================
   FULL SCREEN 100vh SUBPAGE HERO BANNER — PERFECT CENTERING
   ===================================================== */
.subpage-hero-section {
  min-height: 100vh !important;
  height: 100vh !important;
  width: 100% !important;
  position: relative !important;
}

.subpage-hero-section .slides-container,
.subpage-hero-section .hero-slide {
  height: 100vh !important;
  width: 100% !important;
}

.subpage-hero-section .hero-slider-overlay {
  position: absolute !important;
  inset: 0 !important;
  height: 100vh !important;
  width: 100% !important;
  padding-top: 80px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding-left: 6% !important;
  padding-right: 6% !important;
  z-index: 10 !important;
}

.subpage-hero-section .page-banner-content {
  padding-top: 0 !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 1250px !important;
}

.subpage-hero-section .slider-title {
  font-size: clamp(2.4rem, 3.6vw, 3.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

.subpage-hero-section .slider-subtitle {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.97) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  .subpage-hero-section .slider-title {
    font-size: clamp(3rem, 11vw, 4.5rem) !important;
  }
  .subpage-hero-section .slider-subtitle {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem) !important;
  }
}

/* =====================================================
   LUXURIOUS SOLID BLACK ARCHITECTURAL ICONS (#111111)
   ===================================================== */
.about-service-icon-wrapper,
.service-showcase-icon-wrapper,
.home-category-icon-wrapper {
  color: #000000 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.about-service-icon-wrapper svg,
.service-showcase-icon-wrapper svg,
.home-category-icon-wrapper svg {
  width: 56px !important;
  height: 56px !important;
  stroke: #000000 !important;
  color: #000000 !important;
  fill: none !important;
}

.about-service-card:hover .about-service-icon-wrapper svg,
.service-showcase-item:hover .service-showcase-icon-wrapper svg,
.home-category-card:hover .home-category-icon-wrapper svg {
  stroke: #000000 !important;
}

/* =====================================================
   STATS SECTION — Reference Screenshot Design
   ===================================================== */
.stats-section {
  background-color: var(--bg-primary) !important;
  padding: 6rem 4% !important;
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.stats-layout {
  display: grid !important;
  grid-template-columns: 360px 1fr !important;
  gap: 4rem !important;
  max-width: 1250px !important;
  margin: 0 auto !important;
  align-items: flex-start !important;
}

html[dir="ltr"] .stats-layout {
  grid-template-columns: 360px 1fr !important;
}

.stats-left-col {
  display: flex !important;
  flex-direction: column !important;
  text-align: right !important;
}

.stats-left-col .section-subtitle,
.stats-left-col .section-title,
#about-stats-subtitle,
#about-stats-title,
#stats-subtitle,
#stats-title {
  text-align: right !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html[dir="ltr"] .stats-left-col {
  text-align: left !important;
}

html[dir="ltr"] .stats-left-col .section-subtitle,
html[dir="ltr"] .stats-left-col .section-title,
html[dir="ltr"] #about-stats-subtitle,
html[dir="ltr"] #about-stats-title,
html[dir="ltr"] #stats-subtitle,
html[dir="ltr"] #stats-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 3.5rem 4rem !important;
  width: 100% !important;
}

.stat-item {
  display: flex !important;
  flex-direction: column !important;
  text-align: right !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[dir="ltr"] .stat-item {
  text-align: left !important;
}

.stat-number {
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  color: #111111 !important;
  line-height: 1 !important;
  margin-bottom: 0.6rem !important;
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif !important;
}

.stat-line {
  display: none !important;
}

.stat-title {
  font-size: 0.92rem !important;
  color: var(--text-secondary, #555555) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

@media (max-width: 1024px) {
  .stats-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* =====================================================
   SUCCESS PARTNERS LOGOS & UNSET UNDERLINE
   ===================================================== */
#partners-subtitle::after,
.logos-section .section-subtitle::after {
  display: none !important;
}

.logos-section {
  background-color: var(--bg-primary) !important;
  padding: 5rem 4% !important;
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.logos-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3rem 4rem !important;
  max-width: 1200px !important;
  margin: 3rem auto 0 auto !important;
}

.client-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease !important;
}

.client-logo img {
  max-height: 65px !important;
  max-width: 220px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
  transition: transform 0.3s ease !important;
}

.client-logo:hover img {
  transform: scale(1.08) !important;
}

/* =====================================================
   GLOBAL REMOVAL OF ALL ACCENT UNDERLINES AND PSEUDO-ELEMENT BARS
   ===================================================== */
.section-subtitle::after,
.section-subtitle::before,
.section-title::after,
.section-title::before,
h1::after, h1::before,
h2::after, h2::before,
h3::after, h3::before,
h4::after, h4::before,
.footer-col h3::after,
.footer-col h3::before,
.services-showcase-accent-bar,
.stat-line,
.nav-link::after,
.nav-link::before,
.nav-link:hover::after,
.nav-link.active::after,
.nav-link.active::before,
.mobile-nav-link::after,
.mobile-nav-link::before,
.mobile-nav-link.active::after,
.mobile-nav-link.active::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.nav-link,
.nav-link.active,
.mobile-nav-link,
.mobile-nav-link.active {
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.nav-link.active {
  font-weight: 800 !important;
}

/* =====================================================
   RESPONSIVE DYNAMIC HEADING SCALING & COMPLETE DOT REMOVAL OVERRIDE
   ===================================================== */
/* Responsive Scalable Titles System */
h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.6rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

h2, .section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.8rem) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

h4 {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

/* Hero & Subpage Banner Large Titles */
#page-banner-title,
.subpage-hero-section #page-banner-title,
.subpage-hero-section .slider-title,
.page-banner-content .slider-title,
.hero-slider-section .slider-title {
  font-size: clamp(2.4rem, 3.6vw, 3.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

#page-banner-title *,
.subpage-hero-section .slider-title *,
.page-banner-content .slider-title * {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

#page-banner-subtitle,
.subpage-hero-section #page-banner-subtitle,
.subpage-hero-section .slider-subtitle,
.page-banner-content .slider-subtitle {
  font-size: clamp(1.4rem, 2.6vw, 2.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.97) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  text-shadow: none !important;
}

/* Absolute Removal of Bullet Dots and Slider Indicator Boxes */
.bullet-dot,
.slider-subtitle::after,
.slider-subtitle::before,
#page-banner-subtitle::after,
#page-banner-subtitle::before,
.page-banner-content .slider-subtitle::after,
.page-banner-content .slider-subtitle::before,
.subpage-hero-section .slider-subtitle::after,
.subpage-hero-section .slider-subtitle::before,
span.bullet-dot,
span.dot-indicator,
.dot-indicator,
.dot,
.bullet,
.slider-indicators,
.slider-dot,
#slider-indicators {
  display: none !important;
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  #page-banner-title,
  .subpage-hero-section #page-banner-title,
  .subpage-hero-section .slider-title,
  .page-banner-content .slider-title,
  .hero-slider-section .slider-title {
    font-size: clamp(2.5rem, 9.5vw, 4.5rem) !important;
  }
  #page-banner-subtitle,
  .subpage-hero-section #page-banner-subtitle,
  .subpage-hero-section .slider-subtitle,
  .page-banner-content .slider-subtitle {
    font-size: clamp(1.1rem, 4.2vw, 1.5rem) !important;
  }
  h2, .section-title {
    font-size: clamp(1.75rem, 6vw, 2.6rem) !important;
  }
}

/* Header and Navigation responsiveness: switch to mobile menu ONLY on phones <= 768px */
@media (max-width: 768px) {
  header {
    padding: 0.9rem 4% !important;
    padding-top: calc(0.9rem + env(safe-area-inset-top, 0px)) !important;
  }
  header.scrolled {
    padding: 0.7rem 4% !important;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px)) !important;
  }
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .contact-btn {
    display: none !important;
  }
}

/* Laptops, Computers & Desktops (> 768px): Desktop Header Navigation ALWAYS ON */
@media (min-width: 769px) {
  header nav {
    display: flex !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-nav-overlay,
  .mobile-nav-overlay.open {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

/* COMPLETE REMOVAL OF ALL OUTLINES, BORDERS, FOCUS RINGS AND CONTAINERS NEXT TO EN */
.lang-toggle-btn,
.mobile-menu-toggle,
.header-actions button,
#lang-toggle-btn,
#mobile-menu-toggle {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.lang-toggle-btn:focus,
.lang-toggle-btn:active,
.lang-toggle-btn:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after,
#mobile-menu-toggle::before,
#mobile-menu-toggle::after {
  display: none !important;
  content: none !important;
  border: none !important;
  outline: none !important;
}

/* ============================================================
   Global: Remove ALL text shadows on every screen size for a
   clean, professional flat look (desktop + mobile).
   ============================================================ */
*,
*::before,
*::after {
  text-shadow: none !important;
}

/* ============================================================
   Language toggle button — never blue (browser default),
   but matches the same dynamic color as the nav links:
   white over the dark header gradient, dark once scrolled.
   ============================================================ */
#lang-toggle-btn,
.lang-toggle-btn {
  color: rgba(255, 255, 255, 0.85) !important;
}

header.scrolled #lang-toggle-btn,
header.scrolled .lang-toggle-btn {
  color: #111111 !important;
}

/* ============================================================
   Mobile-Only: Put "Developed by privex.tech" on its own
   separate line in the footer for cleaner readability.
   ============================================================ */
@media (max-width: 768px) {
  .footer-dev-line {
    display: block !important;
    margin-top: 0.4rem !important;
  }
}




