:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-red: #ff0015;
  --accent-glow: rgba(255, 0, 21, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(0, 0, 0, 0.95);
  --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 21, 0.2);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 15px;
  --border-radius-full: 50%;
}

body.light-mode {
  --bg-color: #ffffff;
  --text-primary: #000000;
  --text-secondary: #000000;
  --accent-red: #ff0015;
  --accent-glow: rgba(255, 0, 21, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode {
  color: #000000;
}

body.light-mode .highlight,
body.light-mode .solid,
body.light-mode .brand-red,
body.light-mode .tm-symbol,
body.light-mode .stat-plus,
body.light-mode .stat-icon {
  color: var(--accent-red) !important;
}

body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode label,
body.light-mode .value-text p {
  color: #000000 !important;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: var(--text-primary);
}

body.light-mode .trusted p {
  color: #000000;
}

body.light-mode .highlight,
body.light-mode .solid,
body.light-mode .brand-red,
body.light-mode .tm-symbol {
  color: var(--accent-red) !important;
}

body.light-mode .core {
  color: #000000 !important;
}

body.light-mode .social-links a:hover {
  color: #000 !important;
}

body.light-mode .btn-secondary:hover {
  background: transparent;
  color: var(--accent-red) !important;
  border-color: var(--accent-red);
}

body.light-mode .lightbox-caption {
  color: #000000 !important;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('../images/background.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
}

body.light-mode::before {
  background-image: url('../images/background-lightmode.png');
  opacity: 0.15;
}

body {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100vw;
  min-height: 100vh;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

body[dir="rtl"] {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
}

body[dir="rtl"] h1 {
  font-size: clamp(40px, 5.5vw, 55px);
  line-height: 1.3;
}

body[dir="rtl"] h2 {
  font-size: clamp(32px, 4.5vw, 40px);
}

body[dir="rtl"] h3 {
  font-size: 24px;
}

body[dir="rtl"] p,
body[dir="rtl"] .contact-info .value,
body[dir="rtl"] .nav-links a {
  font-size: 16px;
}

body[dir="rtl"] .subtitle {
  font-size: 20px;
  letter-spacing: 0;
}

body[dir="rtl"] .section-label {
  font-size: 20px;
  letter-spacing: 0;
}

body[dir="rtl"] .submit-btn {
  font-size: 16px;
}

body[dir="rtl"] .trusted p {
  font-size: 22px;
}

body[dir="rtl"] header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5vw, 50px);
  letter-spacing: 3px;
  line-height: 1.1;
}

body[dir="rtl"] header .subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
}

body[dir="rtl"] header .trusted p {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.15;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-primary);
  text-transform: uppercase;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

p {
  line-height: 1.8;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

.subtitle {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.highlight {
  color: var(--accent-red);
}

.solid {
  color: var(--accent-red);
}

.core {
  color: var(--text-primary);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.page-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

body:has(.testimonials-swiper) .page-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: radial-gradient(circle at center 30%, rgba(255, 0, 21, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

body.light-mode:has(.testimonials-swiper) .page-container::before {
  background: radial-gradient(circle at center 30%, rgba(255, 0, 21, 0.08) 0%, transparent 60%);
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.brand-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.triangle-left,
.triangle-right {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 100%;
  background: url("../images/Right Triangle.png") no-repeat center / contain;
  opacity: 0.9;
  transform: translateY(-50%);
  will-change: transform;
}

.triangle-left {
  left: 0;
}

.triangle-right {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

body.light-mode .triangle-left,
body.light-mode .triangle-right {
  opacity: 0.9;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 50px;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  transition: all var(--transition-med);
}

body.light-mode nav {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex !important;
  align-items: center;
  gap: 15px;
  direction: ltr !important;
  /* Force branding to follow English standard order: IMG then TEXT */
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: filter var(--transition-fast);
}

body.light-mode .tm-symbol,
.tm-symbol {
  position: absolute;
  top: -2px;
  right: -10px;
  font-size: 12px !important;
  /* Locked for theme consistency */
  font-weight: 700;
  color: #ff0015 !important;
  /* Force vibrant red always */
  line-height: 1;
  text-shadow: 0 0 5px rgba(255, 0, 21, 0.4) !important;
  z-index: 5;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  /* Better separation between lines */
  gap: 2px;
  /* Distinctive separation */
  direction: ltr !important;
  /* Force branding to stay English ordered even on Arabic pages */
  text-align: left;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Increased for breathing room */
  white-space: nowrap;
}

body.light-mode .brand-red,
.brand-red {
  color: #ff0015 !important;
  /* Always lock signature red */
  font-weight: 700;
  font-size: 1.15rem;
  /* Slightly larger for impact */
  letter-spacing: 1.8px;
  text-shadow: 0 0 10px rgba(255, 0, 21, 0.2);
}

.brand-normal {
  color: var(--text-primary) !important;
  /* High contrast: black in light, white in dark */
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.8px;
}

.brand-bottom.brand-normal {
  font-weight: 600;
  font-size: 0.85rem;
  /* More legible Row 2 */
  letter-spacing: 2.8px;
  /* Elegant tracking for the secondary word */
  margin-top: -1px;
}

.footer-logo {
  height: 120px !important;
  /* Significantly increased for a bold brand presence */
  width: auto;
}

body.light-mode .footer-logo-wrapper .tm-symbol,
.footer-logo-wrapper .tm-symbol {
  font-size: 24px !important;
  /* Explicitly locked for the large footer logo */
  right: -20px;
  top: -5px;
}

body[dir="rtl"] .logo-text {
  font-family: 'Outfit', sans-serif;
  /* Use English font since brand is now English */
  letter-spacing: 1.5px;
  line-height: 1;
}

body[dir="rtl"] .brand-red,
body[dir="rtl"] .brand-normal {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}

body[dir="rtl"] .brand-bottom.brand-normal {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
}



body.light-mode .nav-logo img {
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

body[dir="rtl"] nav {
  padding: 15px 50px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--glass-bg);
  border: 2px solid var(--accent-red);
  border-radius: var(--border-radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
}

.menu-toggle:hover {
  background: var(--accent-red);
  box-shadow: 0 8px 20px rgba(255, 0, 21, 0.4);
  transform: scale(1.05);
}

body.light-mode .menu-toggle:hover {
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.2);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--accent-red);
  transition: all var(--transition-fast);
  transform-origin: center;
  flex-shrink: 0;
}

.menu-toggle:hover span {
  background: #fff;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
  position: absolute;
  top: 60px;
  left: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--accent-red);
  border-radius: var(--border-radius-md);
  padding: 10px 0;
  list-style: none;
  width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.3s ease forwards;
}

body[dir="rtl"] .nav-links {
  left: auto;
  right: 0;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 12px 25px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--accent-red) !important;
  background: rgba(255, 0, 21, 0.05);
}

body[dir="rtl"] .nav-links a:hover,
body[dir="rtl"] .nav-links a:focus {
  border-left-color: transparent;
  border-right-color: var(--accent-red);
  padding-left: 25px;
  padding-right: 30px;
}

@media (max-width: 899px) {
  nav {
    padding: 10px 20px !important;
  }

  body[dir="rtl"] nav {
    padding: 10px 20px !important;
  }

  .nav-container {
    justify-content: flex-start;
  }

  .nav-logo {
    order: 1;
  }

  .nav-menu {
    order: 2;
    flex: 1;
    justify-content: flex-end;
    gap: 15px;
    margin-right: 15px;
  }

  body[dir="rtl"] .nav-menu {
    margin-right: 0;
    margin-left: 15px;
  }

  .menu-toggle {
    order: 3;
  }

  .cta-button {
    display: none !important;
  }

  .glass-controls.nav-integrated {
    margin: 0;
    padding: 4px;
  }

  .control-item {
    width: 32px;
    height: 32px;
  }

  .control-item span {
    font-size: 12px;
  }

  .nav-links {
    width: calc(100% - 40px);
    left: 20px;
    top: 75px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--accent-red);
  }

  body[dir="rtl"] .nav-links {
    right: 20px;
    left: auto;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
    animation: none;
    gap: 15px;
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 15px;
    border: none !important;
    border-radius: 0;
    position: relative;
    overflow: visible;
    background: transparent !important;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width var(--transition-fast);
    box-shadow: 0 2px 5px var(--accent-glow);
  }

  .nav-links a:hover::after,
  .nav-links a.active::after,
  .nav-links a[aria-current="page"]::after {
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a:focus,
  .nav-links a.active,
  .nav-links a[aria-current="page"] {
    color: var(--accent-red) !important;
    background: transparent !important;
    transform: none;
    text-shadow: 0 0 12px rgba(255, 0, 21, 0.4);
    opacity: 1;
  }

  body.light-mode .nav-links a:hover,
  body.light-mode .nav-links a:focus,
  body.light-mode .nav-links a.active,
  body.light-mode .nav-links a[aria-current="page"] {
    color: var(--accent-red) !important;
    text-shadow: 0 0 10px rgba(255, 0, 21, 0.2);
  }

  .cta-button {
    margin-left: 10px;
  }
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-red), #b00020);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 0, 21, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease;
  z-index: -1;
  transform: skewX(-15deg);
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 0, 21, 0.5);
  color: #fff !important;
}

body.light-mode .cta-button:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 21, 0.3) !important;
}

.cta-button:hover::before {
  width: 150%;
}

.glass-controls {
  position: absolute;
  top: 10px;
  right: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 1100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

body[dir="rtl"] .glass-controls {
  right: auto;
  left: 25px;
}

.glass-controls.nav-integrated {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  border-radius: 30px;
  padding: 4px 10px;
  margin-left: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[dir="rtl"] .glass-controls.nav-integrated {
  margin-left: 0;
  margin-right: 15px;
}

.glass-controls:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(255, 0, 21, 0.2);
}

.control-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

body.light-mode .control-item {
  color: var(--text-primary);
}

.control-item:hover {
  background: var(--accent-red);
  color: #fff;
  transform: scale(1.05);
}

.control-item span {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.control-item i {
  font-size: 16px;
}

.control-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .glass-controls {
    top: 15px;
    right: 15px;
    padding: 4px;
  }

  body[dir="rtl"] .glass-controls {
    right: auto;
    left: 15px;
  }

  .control-item {
    width: 36px;
    height: 36px;
  }

  .control-item span {
    font-size: 12px;
  }
}

body.light-mode .glass-controls {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-controls:hover {
  box-shadow: none !important;
}

body.light-mode .control-item {
  color: var(--text-primary);
}

body.light-mode .control-item:hover {
  color: #000;
}

body.light-mode .control-divider {
  background: rgba(0, 0, 0, 0.2);
}

header {
  text-align: center;
  padding: 180px 20px 20px;
  position: relative;
  z-index: 2;
}

body.light-mode header {
  background: none;
}

body.light-mode header h1,
body.light-mode header .subtitle,
body.light-mode header .trusted p {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(255, 255, 255, 0.8);
}

.logo {
  width: 180px;
  margin-bottom: 35px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
}

.trusted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px 0 40px;
}

.trusted .line {
  width: 80px;
  height: 2px;
  background: var(--text-primary);
  border: none;
}

.trusted p {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-red);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* --- TESTIMONIALS 3D SWIPER --- */
.testimonials-swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 200px;
  margin-top: -20px;
}

.testimonials-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
  height: 550px;
  -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.25));
}

@media (max-width: 900px) {
  .testimonials-swiper .swiper-slide {
    width: 300px;
    height: 420px;
  }
}

@media (max-width: 500px) {
  .testimonials-swiper .swiper-slide {
    width: 260px;
    height: 380px;
  }
}

.testimonials-swiper .testimonial-item {
  width: 100%;
  height: 100%;
  padding: 15px;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

body.light-mode .testimonials-swiper .testimonial-item {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, rgba(255, 255, 255, 0.4));
}

.testimonials-swiper .testimonial-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  pointer-events: none;
}

.testimonials-swiper .featured img {
  object-fit: contain;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: var(--accent-red);
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--accent-red);
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-glow);
}

.review-caption {
  text-align: center;
  margin-top: 15px;
  padding: 0 10px 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 35px 25px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 10px var(--accent-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
}

body.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(217, 4, 41, 0.1);
  transform: translateY(-8px);
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-red);
}

.glass-card h3 {
  margin-bottom: 15px;
}

.card-icon {
  font-size: 40px;
  color: var(--accent-red);
  margin-bottom: 20px;
}

.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
  position: relative;
}

body.light-mode .project-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .project-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(217, 4, 41, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-red);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6));
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.project-card:hover .project-image::after {
  opacity: 0.4;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[dir="rtl"] .status-badge {
  right: auto;
  left: 15px;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--glass-border);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

body[dir="rtl"] .lightbox-close {
  right: auto;
  left: 30px;
}

.lightbox-close:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
  border-color: var(--accent-red);
}

.status-badge.completed {
  background: rgba(40, 167, 69, 0.9);
}

.status-badge.ongoing {
  background: var(--accent-red);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  margin-bottom: 10px;
}

.project-info p {
  font-size: 14px;
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta i {
  color: var(--accent-red);
}

.contact-section {
  margin-bottom: 50px;
}

.contact-section:last-child {
  margin-bottom: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--glass-border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-label i {
  color: var(--accent-red);
  font-size: 22px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--glass-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

body.light-mode .contact-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .contact-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(217, 4, 41, 0.1);
}

.contact-item:hover {
  background: var(--accent-red);
  color: #fff;
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(217, 4, 41, 0.3);
}

.contact-item:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

body[dir="rtl"] .contact-item:hover {
  transform: translateX(-5px);
}

body[dir="rtl"] .contact-item:focus-visible {
  transform: none;
}

.contact-item i {
  font-size: 24px;
  color: var(--accent-red);
  width: 40px;
  text-align: center;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.contact-item:hover i {
  transform: scale(1.1);
}

.contact-info {
  min-width: 0;
}

.contact-info .label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-red);
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info .value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-word;
}

.inquiry-form {
  background: var(--glass-bg);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
}

body.light-mode .inquiry-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

body[dir="rtl"] .form-group {
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-glow);
  background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
  background: #000;
  color: #fff;
}

body.light-mode .form-group select option {
  background: #fff;
  color: #000;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-red), #b00020);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #ff1a30, var(--accent-red));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 4, 41, 0.5);
}

body.light-mode .submit-btn:hover {
  box-shadow: none !important;
}

.submit-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.submit-btn:active {
  transform: scale(0.98);
}

.map-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  filter: grayscale(100%);
  transition: filter var(--transition-med);
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

.map-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

body[dir="rtl"] .map-overlay {
  right: auto;
  left: 20px;
}

.direction-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-red), #b00020);
  color: #fff;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.direction-btn:hover,
.direction-btn:focus {
  background: linear-gradient(135deg, #ff1a30, var(--accent-red));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 4, 41, 0.5);
}

body.light-mode .direction-btn:hover,
body.light-mode .direction-btn:focus {
  box-shadow: none !important;
}

.testimonials-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.testimonial-item {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  cursor: pointer;
}

body.light-mode .testimonial-item {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .testimonial-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(217, 4, 41, 0.1);
  transform: translateY(-8px) scale(1.01);
}

.testimonial-item:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-red);
}

.testimonial-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-med);
}

.testimonial-item:hover img {
  transform: scale(1.02);
}

.testimonial-item.featured {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto 20px;
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 25px var(--accent-glow);
}

.testimonial-item.featured:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 0, 21, 0.3);
}

.org-chart-modern {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.org-executive-level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.org-executive-level::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  background: var(--accent-red);
  z-index: -1;
}

.org-executive-level::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 8px;
  background: transparent;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--accent-red) 3px, transparent 4px),
    radial-gradient(circle, var(--accent-red) 3px, transparent 4px);
  background-position: left center, right center;
  background-repeat: no-repeat;
  background-size: 8px 8px;
  z-index: 0;
}

.org-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  min-width: 220px;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-red);
}

.org-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0 5px;
  color: var(--text-primary);
}

.org-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.org-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.org-card-executive {
  background: linear-gradient(135deg, rgba(255, 0, 21, 0.1), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 0, 21, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 21, 0.1);
}

.org-card-executive::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: var(--accent-red);
  z-index: -1;
}

.org-departments-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  position: relative;
  padding-top: 20px;
}

.org-departments-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--accent-red);
}

.org-departments-grid::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--accent-red);
}

.org-department::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--accent-red);
}

.org-card-department {
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 2;
}

.org-team-members {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.team-member {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  text-align: left;
  border-left: 2px solid var(--accent-red);
  transition: background 0.3s;
}

body[dir="rtl"] .team-member {
  text-align: right;
  border-left: none;
  border-right: 2px solid var(--accent-red);
}

.team-member:hover {
  background: rgba(255, 0, 21, 0.1);
  color: #fff;
}

.org-card-sub {
  margin-top: 40px;
  width: 90%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.org-card-department+.org-card-sub::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: var(--accent-red);
  z-index: -1;
}

body.light-mode .org-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .org-card h3 {
  color: #000;
}

body.light-mode .org-subtitle {
  color: #555;
}

body.light-mode .team-member {
  background: rgba(0, 0, 0, 0.03);
  color: #444;
}

body.light-mode .team-member:hover {
  background: rgba(217, 4, 41, 0.1);
  color: #000;
}

body.light-mode .org-executive-level::after,
body.light-mode .org-departments-grid::before,
body.light-mode .org-departments-grid::after,
body.light-mode .org-department::before,
body.light-mode .org-card-executive::after,
body.light-mode .org-card-department+.org-card-sub::before {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .org-departments-grid::before {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .org-executive-level {
    flex-direction: column;
    gap: 30px;
  }

  .org-executive-level::after,
  .org-executive-level::before {
    display: none;
  }

  .org-card-executive {
    margin-bottom: 0;
  }

  .org-card-executive::after {
    height: 30px;
    bottom: -30px;
  }

  .org-departments-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 0;
  }

  .org-departments-grid::before,
  .org-departments-grid::after {
    display: none;
  }

  .org-department {
    width: 100%;
    max-width: 400px;
  }

  .org-department::before {
    height: 40px;
    top: -40px;
    width: 2px;
  }

  .org-department:first-child::before {
    display: block;
  }

  .org-card-sub {
    margin-top: 30px;
  }

  .org-card-department+.org-card-sub::before {
    height: 30px;
    top: -30px;
  }
}

.org-department:nth-child(2) .org-card-department::after {
  content: '';
  display: block;
}

.org-department:not(:nth-child(2)) .org-card-department::after {
  display: none;
}

.org-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 25px 30px;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  min-width: 200px;
}

body.light-mode .org-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
}

body.light-mode .org-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(217, 4, 41, 0.1);
}

.org-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px var(--accent-glow);
  border-color: var(--accent-red);
}

.org-card-executive {
  padding: 35px 45px;
  min-width: 260px;
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 0, 21, 0.05));
}

.org-card-executive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  border-radius: 0 0 4px 4px;
}

.org-card-executive h3 {
  font-size: 18px;
  color: var(--accent-red);
  font-weight: 700;
}

.org-card-assistant {
  padding: 20px 28px;
  min-width: 180px;
}

.org-card-assistant h3 {
  font-size: 13px;
}

.org-card-department {
  width: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.org-card-sub {
  padding: 18px 24px;
  min-width: 160px;
}

.org-card-sub h3 {
  font-size: 12px;
}

.org-card h3 {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.org-icon {
  font-size: 32px;
  color: var(--accent-red);
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 0, 21, 0.3));
}

.org-card-executive .org-icon {
  font-size: 42px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.org-icon-small {
  font-size: 22px;
  color: var(--accent-red);
  margin-bottom: 10px;
  display: block;
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 4px 12px rgba(255, 0, 21, 0.3));
  }

  50% {
    filter: drop-shadow(0 4px 20px rgba(255, 0, 21, 0.6));
  }
}

.org-subtitle {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  opacity: 0.7;
}

.org-team-members {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-member {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

body.light-mode .team-member {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .team-member:hover {
  background: rgba(217, 4, 41, 0.08);
}

.team-member:hover {
  background: rgba(255, 0, 21, 0.1);
  border-color: var(--accent-red);
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .org-departments-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 400px;
  }

  .org-exec-connector {
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-red), rgba(255, 0, 21, 0.3));
  }

  .org-executive-level {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .org-chart-modern {
    padding: 30px 15px;
  }

  .org-card {
    padding: 20px 25px;
    min-width: 220px;
    max-width: 320px;
    width: 100%;
  }

  .org-card-executive {
    padding: 28px 35px;
  }

  .org-card h3 {
    font-size: 12px;
  }

  .org-card-executive h3 {
    font-size: 16px;
  }

  .org-icon {
    font-size: 28px;
  }

  .org-card-executive .org-icon {
    font-size: 36px;
  }

  .team-member {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .org-chart-modern {
    padding: 20px 10px;
  }

  .org-card {
    padding: 16px 20px;
    min-width: 180px;
  }

  .org-card-executive {
    padding: 22px 28px;
  }

  .org-card h3 {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .org-card-executive h3 {
    font-size: 14px;
  }

  .org-subtitle {
    font-size: 9px;
    margin-top: 6px;
  }

  .org-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .org-card-executive .org-icon {
    font-size: 30px;
  }

  .org-icon-small {
    font-size: 18px;
  }

  .team-member {
    font-size: 9px;
    padding: 4px 8px;
  }
}

[dir="rtl"] .org-chart,
html[lang="ar"] .org-chart {
  direction: ltr;
}

[dir="rtl"] .org-card h3,
[dir="rtl"] .org-card .org-subtitle,
[dir="rtl"] .org-card-small h4,
html[lang="ar"] .org-card h3,
html[lang="ar"] .org-card .org-subtitle,
html[lang="ar"] .org-card-small h4 {
  direction: rtl;
}

html[lang="ar"] .org-card.gm h3,
[dir="rtl"] .org-card.gm h3 {
  font-size: 22px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 13px;
  position: relative;
  z-index: 2;
  background: var(--bg-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.4);
}

.social-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  section {
    padding: 60px 15px;
  }

  .logo {
    width: 150px;
  }

  .triangle-left,
  .triangle-right {
    width: 100px;
    opacity: 0.5;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .submit-buttons {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 25px;
  }

  .trusted {
    flex-wrap: wrap;
    gap: 10px;
  }

  .trusted .line {
    width: 50px;
  }

  .section-label {
    font-size: 16px;
  }

  .lang-switch {
    top: 80px;
    right: 25px;
  }

  body[dir="rtl"] .lang-switch {
    right: auto;
    left: 25px;
  }
}

@media (max-width: 480px) {
  nav {
    top: 15px;
    left: 15px;
  }

  body[dir="rtl"] nav {
    left: auto;
    right: 15px;
  }

  #toggle-mode {
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    font-size: 12px;
  }

  body[dir="rtl"] #toggle-mode {
    right: auto;
    left: 15px;
  }

  .lang-switch {
    top: 65px;
    right: 15px;
    padding: 8px 15px;
    font-size: 12px;
  }

  body[dir="rtl"] .lang-switch {
    right: auto;
    left: 15px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .contact-item {
    padding: 15px;
    gap: 15px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.featured-review {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.featured-review .glass-card {
  max-width: 600px;
  padding: 20px;
}

.review-caption {
  margin-top: 15px;
  font-weight: 600;
  color: var(--accent-red);
}

.testimonials-swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 80px;
  overflow: visible !important;
}

.testimonials-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 350px;
  height: auto;
  filter: blur(1px) opacity(0.6);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.85);
}

.testimonials-swiper .swiper-slide-active {
  filter: blur(0) opacity(1);
  transform: scale(1.05);
  z-index: 10;
}

.testimonial-item {
  cursor: pointer;
  overflow: hidden;
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.testimonials-swiper .swiper-slide-active .testimonial-item {
  border-color: var(--accent-red);
  box-shadow: 0 15px 40px rgba(255, 0, 21, 0.3), 0 0 20px rgba(255, 0, 21, 0.1);
}

.testimonial-item img {
  border-radius: var(--border-radius-sm);
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}

.testimonial-item:hover img {
  transform: scale(1.03);
}

.swiper-pagination-bullet {
  background: var(--text-secondary) !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--accent-red) !important;
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 768px) {
  .testimonials-swiper .swiper-slide {
    width: 280px;
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
  opacity: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
  background: #000;
  margin: auto;
}

.lightbox-image.loaded {
  opacity: 1;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2005;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-lightbox:hover,
.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10005;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-lightbox:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(217, 4, 41, 0.5);
}

.prev-btn,
.next-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: all 0.3s ease;
  z-index: 10005;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 0 40px;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 25px rgba(217, 4, 41, 0.6);
}

.next-btn {
  right: 0;
}

.prev-btn {
  left: 0;
}

@media (max-width: 768px) {

  .prev-btn,
  .next-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin: 0 10px;
  }

  .close-lightbox {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

body.light-mode .lightbox {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
}

body.light-mode .close-lightbox,
body.light-mode .prev-btn,
body.light-mode .next-btn {
  color: #333;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .close-lightbox:hover,
body.light-mode .prev-btn:hover,
body.light-mode .next-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(217, 4, 41, 0.3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}

.card-grid-tight {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 0, 21, 0.5);
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
  opacity: 0.4;
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.ongoing {
  background: rgba(217, 4, 41, 0.8);
  box-shadow: 0 0 10px rgba(217, 4, 41, 0.4);
}

.gallery-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

body.light-mode .gallery-indicator {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #000;
}

.project-card:hover .gallery-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-info {
  padding: 25px;
  position: relative;
}

.project-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.4;
}

.project-info p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta i {
  color: var(--accent-red);
}

body.light-mode .project-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .project-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(217, 4, 41, 0.3);
  transform: translateY(-12px) scale(1.01);
}

body.light-mode .project-info h3 {
  color: #000000;
}

body.light-mode .project-info p {
  color: #222222;
}

body.light-mode .project-meta {
  color: #444;
  border-top-color: rgba(0, 0, 0, 0.05);
}

body[dir="rtl"] .status-badge {
  right: auto;
  left: 15px;
}

.project-gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.preview-main {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.preview-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.preview-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
}

.preview-sub {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.preview-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.more-count-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.project-card:hover .preview-main img,
.project-card:hover .preview-sub img {
  transform: scale(1.05);
}

.project-card:hover .more-count-overlay {
  background: rgba(180, 0, 0, 0.6);
}

.project-gallery-preview .status-badge {
  z-index: 10;
}

.center-block {
  display: block;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
}

.btn-centered {
  width: 200px;
  margin: 0 auto;
  display: inline-flex;
}

.highlight-stat {
  color: var(--accent-red);
  font-size: 24px;
  font-weight: bold;
}

.italic-quote {
  font-size: 18px;
  font-style: italic;
}

.card-grid-tight {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.icon-small {
  font-size: 12px;
  color: var(--accent-red);
}

.no-decoration {
  text-decoration: none;
}

.p-large {
  padding: 40px;
}

.mt-20 {
  margin-top: 20px;
}


.top-controls {
  position: fixed;
  top: 85px;
  right: 50px;
  z-index: 900;
  display: flex;
  gap: 15px;
}

body[dir="rtl"] .top-controls {
  right: auto;
  left: 50px;
}

#toggle-mode,
.lang-switch {
  position: static;
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 180px 20px 0;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

@keyframes cutSlant {
  0% {
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    transform: scale(1.1);
  }

  100% {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
    transform: scale(1);
  }
}

@keyframes cutDiamond {
  0% {
    clip-path: circle(0% at 50% 50%);
    transform: scale(1.1);
  }

  100% {
    clip-path: circle(150% at 50% 50%);
    transform: scale(1);
  }
}

@keyframes cutSlice {
  0% {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.1);
  }

  100% {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

@keyframes cutWipe {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transform: scale(1.1);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  will-change: clip-path, transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.effect-cut-slant {
  animation: cutSlant 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.hero-slide.effect-cut-diamond {
  animation: cutDiamond 2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.hero-slide.effect-cut-slice {
  animation: cutSlice 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.hero-slide.effect-cut-wipe {
  animation: cutWipe 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.hero-title,
.hero-subtitle {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

body.light-mode .hero-overlay {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.slider-controls {
  position: absolute;
  bottom: 50px;
  right: 80px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

body[dir="rtl"] .slider-controls {
  right: auto;
  left: 80px;
  flex-direction: row-reverse;
}

.progress-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent-red);
}

.progress-fill.animating {
  animation: progressFill 5s linear forwards;
}

body[dir="rtl"] .progress-fill {
  left: auto;
  right: 0;
}

@keyframes progressFill {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.slider-indicators {
  display: none;
}

.hero-content {
  max-width: 1000px;
  z-index: 10;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

body.light-mode .hero-title {
  color: #000000 !important;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
  font-weight: 300;
  line-height: 1.6;
}

body.light-mode .hero-subtitle {
  color: #222222 !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 15px 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #b00020);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(217, 4, 41, 0.5);
  background: linear-gradient(135deg, #ff1a30, var(--accent-red));
  color: #fff;
}

body.light-mode .btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #b00020);
  color: #fff !important;
  border: none;
}

body.light-mode .btn-primary:hover {
  background: linear-gradient(135deg, #ff1a30, var(--accent-red));
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.3) !important;
  transform: translateY(-4px) scale(1.02);
}

.btn-arrow-reveal {
  position: relative;
  overflow: hidden;
}

.btn-arrow-reveal .btn-text {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.btn-arrow-reveal .btn-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  font-size: 18px;
}

.btn-arrow-reveal:hover .btn-text {
  transform: translateX(-20px);
  opacity: 0;
}

.btn-arrow-reveal:hover .btn-icon {
  transform: translate(-50%, -50%) translateX(0);
  opacity: 1;
}

body[dir="rtl"] .btn-arrow-reveal .btn-icon {
  transform: translate(-50%, -50%) translateX(-20px);
}

body[dir="rtl"] .btn-arrow-reveal:hover .btn-text {
  transform: translateX(20px);
}

body[dir="rtl"] .btn-arrow-reveal:hover .btn-icon {
  transform: translate(-50%, -50%) translateX(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

body.light-mode .btn-secondary {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: 0 0 25px rgba(217, 4, 41, 0.15);
  transform: translateY(-4px) scale(1.02);
}

body.light-mode .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.02);
  color: var(--accent-red) !important;
  border: 1px solid var(--accent-red);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-4px) scale(1.02);
}

.btn-doc-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.btn-doc-action:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.4);
}

body.light-mode .btn-doc-action {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .btn-doc-action:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: none !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-primary);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 24px;
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.stats-section {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--text-primary);
  position: relative;
  z-index: 10;
  margin-top: 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

body.light-mode .stats-section {
  background: rgba(255, 255, 255, 0.8) !important;
}

body.light-mode .stats-section::before {
  background-image:
    linear-gradient(rgba(255, 0, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 21, 0.05) 1px, transparent 1px);
}

.stats-header {
  width: 100%;
  text-align: center;
  margin-bottom: 60px;
}

.stats-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 15px;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.stats-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Technical Grid Background */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* Floating Glow Blobs */
.stats-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 0, 21, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 21, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -2;
  animation: float-slow 20s infinite alternate linear;
}

@keyframes float-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-45%, -55%) rotate(5deg);
  }
}



.stat-item {
  text-align: center;
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  padding: 50px 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Card Shimmer Sweep */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent);
  transform: skewX(-25deg);
  transition: 0.8s;
  pointer-events: none;
}

.stat-item:hover::before {
  left: 150%;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
  box-shadow: 0 0 15px var(--accent-glow);
}

.stat-item:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 0, 21, 0.3);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 0, 21, 0.1);
}

body.light-mode .stat-item:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::after {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 44px;
  margin-bottom: 25px;
  color: var(--accent-red);
  text-shadow: 0 0 15px var(--accent-glow);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item:hover .stat-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 10px var(--accent-red));
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary) !important;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -2px;
}

.stat-plus {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-red) !important;
  line-height: 1;
  margin-left: 2px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
  margin: 0;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--text-primary) !important;
}

body.light-mode .stat-number {
  color: #000 !important;
}

body.light-mode .stat-label {
  color: #222222 !important;
}

body.light-mode .stat-item::before {
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
}

body.light-mode .stat-item:hover .stat-label {
  color: #000 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stats-section {
    padding: 80px 20px;
    gap: 20px;
  }

  .stat-item {
    min-width: 100%;
    padding: 40px 20px;
  }

  .stat-number {
    font-size: 50px;
  }
}

.section-padding {
  padding: 100px 50px;
  max-width: 1400px;
}

.section-header {
  margin-bottom: 60px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-secondary);
}

.bg-alt {
  position: relative;
}

.bg-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-bg);
  opacity: 0.3;
  z-index: -1;
}

.service-card {
  text-align: left;
  padding: 40px;
  height: 100%;
  transition: all 0.4s ease;
}

.service-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 0, 21, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.service-card .card-icon {
  font-size: 28px;
  margin-bottom: 0;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-red);
}

.service-card:hover .icon-wrapper {
  background: var(--accent-red);
}

.service-card:hover .card-icon {
  color: #fff;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-preview-card {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: none;
}

.project-preview-card .preview-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.project-preview-card .preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-preview-card:hover .preview-image img {
  transform: scale(1.1);
}

.project-preview-card .preview-content {
  padding: 30px;
  background: var(--glass-bg);
}

.project-preview-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.project-preview-card p {
  margin-bottom: 20px;
  font-size: 15px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

.value-prop-container {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px;
  flex-wrap: wrap;
}

.value-text {
  flex: 2;
  min-width: 300px;
}

.value-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

.value-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.value-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.value-list i {
  color: var(--accent-red);
}

.value-action {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--glass-border);
}

.value-action h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.corporate-footer {
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e0e0e0;
  padding: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 0, 21, 0.3);
  position: relative;
  overflow: hidden;
}

.corporate-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  box-shadow: 0 0 15px var(--accent-red);
  z-index: 1;
}

.footer-top {
  padding: 80px 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  position: relative;
  display: inline-block;
  opacity: 0.9;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-red);
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(217, 4, 41, 0.4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #a0a0a0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  padding-left: 0;
}

.footer-col ul li a::before {
  content: '\f105';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -15px;
  font-size: 16px;
  color: var(--accent-red);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  top: 3px;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 15px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

body.light-mode .footer-col ul li a:hover {
  color: #000 !important;
  transform: translateX(5px);
  text-shadow: none;
}

body[dir="rtl"] .footer-col ul li a {
  padding-left: 0;
  padding-right: 0;
}

body[dir="rtl"] .footer-col ul li a::before {
  left: auto;
  right: -15px;
  content: '\f104';
  transform: translateX(10px);
}

body[dir="rtl"] .footer-col ul li a:hover {
  padding-left: 0;
  padding-right: 15px;
}

body[dir="rtl"] .footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-logo-wrapper {
  display: flex !important;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-wrapper .logo-text {
  font-size: 1.4rem;
}

.brand-col .footer-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.brand-col p {
  color: #999;
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-social {
  justify-content: flex-start;
  gap: 15px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-bounce, cubic-bezier(0.175, 0.885, 0.32, 1.275));
  color: #fff;
}

.footer-social a:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(217, 4, 41, 0.4);
}

.contact-col ul li {
  display: flex;
  gap: 15px;
  color: #a0a0a0;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 20px;
}

.contact-col ul li a {
  color: #a0a0a0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-col ul li a:hover {
  color: #fff !important;
  transform: translateX(5px);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

body.light-mode .contact-col ul li a:hover {
  color: #000 !important;
}

.contact-col i {
  color: var(--accent-red);
  font-size: 18px;
  min-width: 20px;
}



body.light-mode .corporate-footer {
  background: transparent;
  color: #000000;
  border-top: 1px solid rgba(217, 4, 41, 0.3);
}

body.light-mode .corporate-footer::before {
  background: linear-gradient(90deg, transparent, rgba(217, 4, 41, 0.5), transparent);
}

body.light-mode .footer-col h4 {
  color: #000000;
}

body.light-mode .footer-col ul li a {
  color: #222222;
}

body.light-mode .footer-col ul li a:hover {
  color: var(--accent-red);
}

body.light-mode .brand-col p {
  color: #222222;
}

body.light-mode .footer-social a {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
}

body.light-mode .footer-social a:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

body.light-mode .contact-col ul li {
  color: #111111;
}

body.light-mode .contact-col ul li a {
  color: #111111;
}

body.light-mode .contact-col ul li a:hover {
  color: var(--accent-red);
}



@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    gap: 15px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .stats-section {
    flex-direction: column;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 50px 20px;
    text-align: center;
  }

  .brand-col p {
    margin: 20px auto;
  }

  .contact-col ul li {
    justify-content: center;
  }

  .top-controls {
    top: 20px;
    right: 80px;
  }

  body[dir="rtl"] .top-controls {
    left: 80px;
  }

  nav {
    padding: 15px 20px;
  }

  .nav-logo img {
    height: 40px;
  }

  .section-padding {
    padding: 60px 20px;
  }

  header {
    padding-top: 120px;
  }

  .hero-section {
    padding-top: 120px;
  }
}

.tree {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.tree ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-left: 0;
}

.tree li {
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 10px 0 10px;
  transition: all 0.5s;
}

.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}

.tree li:last-child::before {
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  width: 0;
  height: 20px;
  transform: translateX(-50%);
}

.tree .org-node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--accent-red);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 140px;
  position: relative;
  z-index: 10;
}

.tree .org-node:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tree .org-node i {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--accent-red);
}

.tree .org-node h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 0.5px;
}

.tree .org-node .title {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tree .org-node.gm {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  border-color: rgba(204, 0, 0, 0.4);
  padding: 20px 30px;
}

.tree .org-node.gm h3 {
  font-size: 16px;
  font-weight: 700;
}

.tree .org-node.assistant {
  min-width: 120px;
}

.tree .leaf-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.tree .leaf-item {
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: var(--text-secondary);
  width: 100%;
  display: block;
}

body.light-mode .tree li::before,
body.light-mode .tree li::after,
body.light-mode .tree ul ul::before {
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .tree .org-node {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .tree .org-node h3 {
  color: var(--text-primary);
}

body.light-mode .tree .org-node .title {
  color: rgba(0, 0, 0, 0.6);
}

body.light-mode .tree .org-node.gm {
  background: rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.2);
}

body[dir="rtl"] .tree ul {
  direction: rtl;
}

@media (max-width: 900px) {
  .tree {
    padding-top: 0;
  }

  .tree ul {
    display: block;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .tree li {
    padding: 10px 0;
    text-align: left;
    margin-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
  }

  body[dir="rtl"] .tree li {
    text-align: right;
    margin-left: 0;
    margin-right: 20px;
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-right: 20px;
  }

  .tree li::before,
  .tree li::after,
  .tree ul ul::before {
    display: none;
  }

  .tree li::before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 15px;
    height: 1px;
    border: none;
    background: transparent;
    transform: translateY(-50%);
  }

  body[dir="rtl"] .tree li::before {
    left: auto;
    right: 0;
  }

  .tree li:first-child,
  .tree li:last-child {
    border: none;
  }

  .tree li:first-child::before,
  .tree li:last-child::after {
    border: none;
  }

  .tree li {
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  body.light-mode .tree li {
    border-color: rgba(0, 0, 0, 0.1) !important;
  }

  body.light-mode .tree li::before {
    background: rgba(0, 0, 0, 0.1);
  }

  .tree .org-node {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 15px;
    width: 100%;
    justify-content: flex-start;
  }

  .tree .org-node i {
    margin-bottom: 0;
  }

  .tree .org-node div {
    text-align: left;
  }

  body[dir="rtl"] .tree .org-node div {
    text-align: right;
  }
}

.tree {
  display: flex !important;
  justify-content: center !important;
  padding-top: 40px !important;
}

.tree ul {
  padding-top: 40px !important;
  position: relative !important;
  transition: all 0.5s !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tree li {
  text-align: center !important;
  list-style-type: none !important;
  position: relative !important;
  padding: 40px 20px 0 20px !important;
  transition: all 0.5s !important;
  float: none !important;
}

.tree li::before,
.tree li::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 50% !important;
  border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
  width: 50% !important;
  height: 40px !important;
  box-sizing: border-box !important;
}

.tree li::after {
  right: auto !important;
  left: 50% !important;
  border-left: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none !important;
}

.tree li:only-child {
  padding-top: 0 !important;
}

.tree li:first-child::before {
  border: 0 none !important;
}

.tree li:last-child::after {
  border: 0 none !important;
}

.tree li:first-child::after {
  border-radius: 10px 0 0 0 !important;
}

.tree li:last-child::before {
  border-right: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 0 10px 0 0 !important;
}

.tree ul ul::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  border-left: 2px solid rgba(255, 255, 255, 0.4) !important;
  width: 0 !important;
  height: 40px !important;
  transform: translateX(-50%) !important;
}

.tree .node-group {
  display: flex !important;
  gap: 60px !important;
  justify-content: center !important;
  align-items: flex-start !important;
  position: relative !important;
  margin-bottom: 0 !important;
  flex-direction: row !important;
}

.tree .node-group::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 40px !important;
  height: 2px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  z-index: 1 !important;
  display: block !important;
}

html[dir='rtl'] .tree li:first-child::after {
  display: none !important;
}

html[dir='rtl'] .tree li:first-child::before {
  display: block !important;
  border: 0 none !important;
  border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-right: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 0 10px 0 0 !important;
}

html[dir='rtl'] .tree li:last-child::before {
  display: none !important;
}

html[dir='rtl'] .tree li:last-child::after {
  display: block !important;
  border: 0 none !important;
  border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-left: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 10px 0 0 0 !important;
}

html[dir='rtl'] .tree li:not(:first-child):not(:last-child)::before,
html[dir='rtl'] .tree li:not(:first-child):not(:last-child)::after {
  display: block !important;
  border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 0 !important;
}

html[dir='rtl'] .tree li:not(:first-child):not(:last-child)::after {
  border-left: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.tree .org-node {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 30px 40px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
  color: var(--accent-red) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.3s ease !important;
  min-width: 200px !important;
  position: relative !important;
  z-index: 10 !important;
}

.tree .org-node:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.tree .org-node i {
  font-size: 32px !important;
  margin-bottom: 15px !important;
  color: var(--accent-red) !important;
}

.tree .org-node h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--accent-red) !important;
  letter-spacing: 0.5px !important;
}

.tree .org-node .title {
  display: block !important;
  font-size: 14px !important;
  color: var(--accent-red) !important;
  margin-top: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  font-weight: 500 !important;
}

.tree .org-node.gm {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.25), rgba(0, 0, 0, 0.25)) !important;
  border-color: rgba(204, 0, 0, 0.5) !important;
  padding: 35px 50px !important;
  min-width: 240px !important;
}

.tree .org-node.gm h3 {
  font-size: 22px !important;
}

body.light-mode .tree li::before,
body.light-mode .tree li::after,
body.light-mode .tree ul ul::before {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

html[dir='rtl'] .tree li:first-child::before,
html[dir='rtl'] .tree li:first-child::after,
html[dir='rtl'] .tree li:last-child::before,
html[dir='rtl'] .tree li:last-child::after {
  border-color: rgba(255, 255, 255, 0.4) !important;
}

html[dir='rtl'] body.light-mode .tree li:first-child::before,
html[dir='rtl'] body.light-mode .tree li:first-child::after,
html[dir='rtl'] body.light-mode .tree li:last-child::before,
html[dir='rtl'] body.light-mode .tree li:last-child::after {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .tree .node-group::before {
  background: rgba(0, 0, 0, 0.15) !important;
}

body.light-mode .tree .org-node {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: var(--text-primary) !important;
}

body.light-mode .tree .org-node h3 {
  color: var(--text-primary) !important;
}

body.light-mode .tree .org-node .title {
  color: rgba(0, 0, 0, 0.6) !important;
}

body.light-mode .tree .org-node.gm {
  background: rgba(204, 0, 0, 0.1) !important;
  border-color: rgba(204, 0, 0, 0.2) !important;
}

body.light-mode .tree .leaf-item {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--text-primary) !important;
}

@media (max-width: 900px) {
  .tree {
    padding-top: 0 !important;
  }

  .tree ul {
    display: block !important;
    padding: 0 !important;
  }

  .tree li {
    padding: 15px 0 !important;
    text-align: left !important;
    margin-left: 30px !important;
    border-left: 3px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 30px !important;
    width: auto !important;
  }

  html[dir='rtl'] .tree li {
    text-align: right !important;
    margin-left: 0 !important;
    margin-right: 30px !important;
    border-left: none !important;
    border-right: 3px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 0 !important;
    padding-right: 30px !important;
  }

  .tree li::before,
  .tree li::after,
  .tree ul ul::before {
    display: none !important;
  }

  .tree li::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    top: 35px !important;
    left: 0 !important;
    width: 25px !important;
    height: 2px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: none !important;
    border-radius: 0 !important;
  }

  html[dir='rtl'] .tree li::before {
    left: auto !important;
    right: 0 !important;
  }

  .tree li:first-child,
  .tree li:last-child {
    border: none !important;
  }

  .tree li {
    border-color: rgba(255, 255, 255, 0.15) !important;
  }

  body.light-mode .tree li {
    border-color: rgba(0, 0, 0, 0.15) !important;
  }

  body.light-mode .tree li::before {
    background: rgba(0, 0, 0, 0.15) !important;
  }

  .tree .node-group {
    flex-direction: column !important;
    margin-bottom: 0 !important;
    gap: 20px !important;
  }

  .tree .node-group::before {
    display: none !important;
  }

  .tree .org-node {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    padding: 20px 25px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    min-width: unset !important;
  }

  .tree .org-node i {
    margin-bottom: 0 !important;
    font-size: 28px !important;
  }

  .tree .org-node div {
    text-align: left !important;
  }

  html[dir='rtl'] .tree .org-node div {
    text-align: right !important;
  }

  .tree .org-node.gm,
  .tree .org-node.assistant {
    width: 100% !important;
    min-width: unset !important;
  }
}

.static-badge {
  cursor: default !important;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.static-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.icon-small.verified {
  color: #4CAF50 !important;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
  padding: 5px 10px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.icon-small.verified i {
  margin-right: 5px;
}

body[dir='rtl'] .icon-small.verified i {
  margin-right: 0;
  margin-left: 5px;
}

.static-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  min-height: 200px;
}

.static-badge h3 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.static-badge p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.icon-small.verified {
  display: none !important;
}

.glass-card p {
  margin-bottom: 20px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.document-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  min-height: 250px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.document-card .card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--accent-red);
}

.document-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

.document-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 25px !important;
}

.doc-actions {
  display: flex;
  gap: 15px;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.btn-doc-action {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-doc-action:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}

.btn-doc-action i {
  font-size: 0.9rem;
}

.lightbox-content img {
  max-height: 90vh !important;
  max-width: 90vw !important;
  object-fit: contain;
}

body.light-mode .document-card {
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .document-card:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .document-card h3 {
  color: var(--text-primary);
}

body.light-mode .document-card p {
  color: rgba(0, 0, 0, 0.7) !important;
}

body.light-mode .btn-doc-action {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .btn-doc-action:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}

html[dir="rtl"] .lightbox .prev-btn {
  left: auto !important;
  right: 20px !important;
}

html[dir="rtl"] .lightbox .next-btn {
  right: auto !important;
  left: 20px !important;
}

html[dir="rtl"] .lightbox .close-lightbox {
  right: auto !important;
  left: 30px !important;
}

.contact-glass-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.glass-info-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 120px;
}

.glass-info-header {
  margin-bottom: 40px;
}

.glass-info-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.5px;
}

.glass-info-header p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.glass-contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.glass-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.glass-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #fff;
}

.glass-item:hover .glass-icon-box {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 0, 21, 0.3);
}

.glass-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.glass-item-content .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.glass-item-content .value {
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s;
}

.glass-item-content .value:hover {
  color: var(--accent-red);
}

body.light-mode .glass-item-content .value:hover {
  color: #D90429 !important;
}

.glass-map-embed {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-map-embed::after {
  content: 'Click to Interact';
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.glass-map-embed:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.glass-map-embed:hover {
  border-color: var(--accent-red);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(0.83);
  transition: filter 0.7s ease;
}

.glass-map-embed:hover iframe {
  filter: grayscale(0%) invert(0%) contrast(100%);
}

body.light-mode .glass-map-embed {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-map-embed iframe {
  filter: grayscale(100%);
}

body.light-mode .glass-map-embed:hover {
  border-color: var(--accent-red);
  box-shadow: 0 20px 40px rgba(217, 4, 41, 0.15);
}

.glass-location-section {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.glass-location-header h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.glass-location-header p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.glass-location-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.glass-location-section .glass-map-embed {
  margin-top: 0;
  height: 350px;
  box-shadow: none;
}

.glass-form-container {
  padding-top: 0;
}

.glass-form-header {
  margin-bottom: 40px;
}

.glass-form-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.glass-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.glass-input-group {
  position: relative;
  margin-bottom: 10px;
}

.glass-input-group.full {
  grid-column: 1 / -1;
}

.glass-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.glass-field:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-red);
  box-shadow: 0 0 0 4px rgba(255, 0, 21, 0.1);
}

.glass-label {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 4px;
}

.glass-field:focus~.glass-label,
.glass-field:valid~.glass-label {
  top: -10px;
  left: 14px;
  font-size: 0.75rem;
  background: #0a0a0a;
  color: var(--accent-red);
}

textarea.glass-field {
  min-height: 150px;
  resize: vertical;
}

.glass-submit-btn {
  background: linear-gradient(135deg, var(--accent-red), #cc0000);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 35px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 0, 21, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.glass-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 50px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.glass-btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.glass-btn-secondary:hover::after {
  left: 150%;
}

.glass-btn-secondary:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 0, 21, 0.4);
}

.glass-btn-secondary i {
  font-size: 1.25em;
  transition: transform 0.3s ease;
}

.glass-btn-secondary:hover i {
  transform: scale(1.2) rotate(-10deg);
}

.required-star {
  color: var(--accent-red);
  font-weight: bold;
  margin-left: 4px;
}

body.light-mode .required-star {
  color: #D90429 !important;
}

body.light-mode .glass-btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

body.light-mode .glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border-color: #000;
  box-shadow: none !important;
}

a.glass-icon-box:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 21, 0.3);
  cursor: pointer;
}

.glass-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 0, 21, 0.3);
}

.glass-submit-btn i {
  transition: transform 0.3s;
}

.glass-submit-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .contact-glass-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .glass-info-card {
    position: static;
    order: 2;
    order: 1;
  }

  .glass-form-container {
    order: 2;
  }

  .glass-form-grid {
    grid-template-columns: 1fr;
  }
}

body.light-mode .glass-info-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-info-header h2,
body.light-mode .glass-form-header h2 {
  color: #000;
}

body.light-mode .glass-info-header p {
  color: #555;
}

body.light-mode .glass-icon-box {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

body.light-mode .glass-item:hover .glass-icon-box {
  color: #fff !important;
  background: var(--accent-red);
}

body.light-mode .glass-item-content .label {
  color: #777;
}

body.light-mode .glass-item-content .value {
  color: #000;
}

body.light-mode .glass-field {
  background: #fff;
  border-color: #ddd;
  color: #000;
}

body.light-mode .glass-field:focus {
  background: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 4px rgba(255, 0, 21, 0.1);
}

body.light-mode .glass-label {
  color: #666;
}

body.light-mode .glass-field:focus~.glass-label,
body.light-mode .glass-field:valid~.glass-label {
  background: #fff;
  color: var(--accent-red);
}

body.light-mode .glass-map-embed {
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .glass-map-embed iframe {
  filter: none;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-card i {
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s;
}

.social-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.social-card:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 0, 21, 0.2);
}

.social-card:hover span {
  color: #fff;
}

.social-card:hover i {
  color: #000;
}

body.light-mode .social-card {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-card i {
  color: #333;
}

body.light-mode .social-card span {
  color: #555;
}

body.light-mode .social-card:hover {
  border-color: #000;
  background: rgba(0, 0, 0, 0.05);
}

body.light-mode .social-card:hover i,
body.light-mode .social-card:hover span {
  color: #000 !important;
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --transition-med: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

body.light-mode ::-webkit-scrollbar-track {
  background: #f0f0f0;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: #ccc;
  border-color: #f0f0f0;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards 0.3s;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards 0.6s;
}

.hero-actions {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards 0.9s;
}

.service-card {
  transition: transform 0.4s var(--transition-med), box-shadow 0.4s var(--transition-med), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-red);
}

.service-card .icon-wrapper {
  transition: transform 0.4s ease;
}

.service-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.project-card {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}

.project-card:nth-child(1) {
  animation-delay: 0.1s;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.3s;
}

.project-card:nth-child(4) {
  animation-delay: 0.4s;
}

.project-card:nth-child(5) {
  animation-delay: 0.5s;
}

.project-card:nth-child(6) {
  animation-delay: 0.6s;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.project-card:hover .gallery-indicator {
  opacity: 1;
  transform: translateY(0);
}

.org-chart-container {
  overflow-x: auto;
  padding: 60px 20px;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-red) rgba(255, 255, 255, 0.05);
  cursor: grab;

  user-select: none;
  -webkit-user-select: none;
}


.org-chart-container::-webkit-scrollbar {
  height: 8px;
}

.org-chart-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.org-chart-container::-webkit-scrollbar-thumb {
  background-color: var(--accent-red);
  border-radius: 4px;
}

.org-chart-container::-webkit-scrollbar-thumb:hover {
  background-color: #ff3344;
}

.org-chart-container:active {
  cursor: grabbing;
}

.org-tree,
.org-tree ul,
.org-tree li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.org-tree {
  display: inline-block;
  white-space: nowrap;
  min-width: 100%;
}

.org-tree ul {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.org-tree li {
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 40px 15px 0 15px;
  transition: all 0.5s;
}

.org-tree li::before,
.org-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  width: 50%;
  height: 40px;
  z-index: -1;
}

body.light-mode .org-tree li::before,
body.light-mode .org-tree li::after {
  border-color: rgba(0, 0, 0, 0.2);
}

.org-tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px 0 0 0;
}

body.light-mode .org-tree li::after {
  border-color: rgba(0, 0, 0, 0.2);
}

.org-tree li::before {
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 15px 0 0;
}

body.light-mode .org-tree li::before {
  border-color: rgba(0, 0, 0, 0.2);
}

.org-tree li:only-child::after,
.org-tree li:only-child::before {
  display: none;
}

.org-tree li:first-child::before {
  border: 0 none;
}

.org-tree li:last-child::after {
  border: 0 none;
}

.org-tree li:last-child::before {
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 15px 0 0;
}

body.light-mode .org-tree li:last-child::before {
  border-color: rgba(0, 0, 0, 0.2);
}

.org-tree li:first-child::after {
  border-radius: 15px 0 0 0;
}

.org-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  width: 0;
  height: 40px;
  z-index: -1;
  transform: translateX(-50%);
}

body.light-mode .org-tree ul ul::before {
  border-color: rgba(0, 0, 0, 0.2);
}

.org-node,
.org-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  min-width: 180px;
  max-width: 220px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

body.light-mode .org-node,
body.light-mode .org-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.org-node:hover,
.org-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(45, 45, 45, 0.9);
  border-color: var(--accent-red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}

body.light-mode .org-node:hover,
body.light-mode .org-card:hover {
  background: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 15px 35px rgba(217, 4, 41, 0.2);
  transform: translateY(-8px) scale(1.02);
}

.org-node h3,
.org-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  white-space: normal;
}

body.light-mode .org-node h3,
body.light-mode .org-card h3 {
  color: var(--text-primary);
}

.node-icon,
.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: var(--accent-red);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

body.light-mode .node-icon,
body.light-mode .card-icon-wrapper {
  background: rgba(217, 4, 41, 0.1);
  border-color: rgba(217, 4, 41, 0.2);
}

.org-node:hover .node-icon,
.org-card:hover .card-icon-wrapper {
  background: var(--accent-red);
  color: #fff;
  transform: rotateY(180deg);
}

.org-node-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.org-card-executive {
  min-width: 260px;
  padding: 30px 20px;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.9));
  border: 1px solid var(--accent-red);
}

body.light-mode .org-card-executive {
  background: #fff;
}

.org-card-executive .card-icon-wrapper {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 21, 0.4);
}

.org-card-executive h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.role-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

body.light-mode .role-badge {
  color: #222222;
  background: rgba(0, 0, 0, 0.05);
}

.vertical-connector {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

body.light-mode .vertical-connector {
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .org-chart-container {
    padding: 30px 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    cursor: grab;

    text-align: center;
  }

  .org-chart-container:active {
    cursor: grabbing;
  }


  .org-tree ul {
    padding-top: 20px;
  }

  .org-tree li {
    padding: 20px 5px 0 5px;
  }


  .org-tree li::before,
  .org-tree li::after {
    height: 20px;
  }

  .org-tree ul ul::before {
    height: 20px;
  }

  .vertical-connector {
    height: 20px;
  }


  .org-node,
  .org-card {
    min-width: 120px;
    max-width: 150px;
    padding: 12px 8px;
    gap: 8px;
    border-radius: 12px;
  }


  .org-card-executive {
    min-width: 180px;
    max-width: 220px;
    padding: 20px 15px;
  }


  .node-icon,
  .card-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .org-card-executive .card-icon-wrapper {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }


  .org-node h3,
  .org-card h3 {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .org-card-executive h3 {
    font-size: 1rem;
  }

  .role-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

.org-executive-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.org-card-assistant.side-branch {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 50px;
  width: 200px;
  overflow: visible;
}

.org-card-assistant.side-branch::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 50px;
  height: 2px;
  background: var(--accent-red);
  z-index: -1;
}

body[dir="rtl"] .org-card-assistant.side-branch {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 50px;
}

body[dir="rtl"] .org-card-assistant.side-branch::before {
  right: auto;
  left: 100%;
}

.doc-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-doc-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  margin-top: 15px;
}

.btn-doc-action:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(217, 4, 41, 0.4);
}

body.light-mode .btn-doc-action {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .btn-doc-action:hover {
  color: #fff;
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 5px 20px rgba(217, 4, 41, 0.3);
}

/* --- DEVELOPER BADGE --- */
.developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
}

body.light-mode .developer-badge {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #555;
}

.developer-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

body.light-mode .developer-badge:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

.dev-name {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

body.light-mode .dev-name {
  color: #111;
}

.dev-links {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

body.light-mode .dev-links {
  border-inline-start-color: rgba(0, 0, 0, 0.15);
}

.dev-link {
  color: #a0a0a0;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.light-mode .dev-link {
  color: #666;
}

.dev-link.whatsapp:hover {
  color: #25D366;
  transform: scale(1.15) translateY(-2px);
}

.dev-link.phone:hover {
  color: var(--accent-red, #ff0015);
  transform: scale(1.15) translateY(-2px);
}


/* Footer Bottom Styling */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  color: var(--text-footer, rgba(255, 255, 255, 0.7));
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Arabic version footer alignment */
html[lang="ar"] .footer-bottom,
[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
  text-align: right;
}

body.light-mode .footer-bottom {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.95));
  color: rgba(0, 0, 0, 0.7);
  border-top: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.light-mode .footer-bottom p {
  color: rgba(0, 0, 0, 0.7);
}



@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 20px;
  }
}