@font-face {
  font-family: 'DIN Next Arabic';
  src: url('../Font/DIN NEXT™ ARABIC REGULAR.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DIN Next Arabic';
  src: url('../Font/DIN NEXT™ ARABIC MEDIUM .otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'DIN Next Arabic';
  src: url('../Font/DIN NEXT™ ARABIC BOLD.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'DIN Next Arabic';
  src: url('../Font/DIN NEXT™ ARABIC BLACK.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --primary: #4A77BE;
  --primary-dark: #3B619B;
  --primary-light: #6E96D1;
  --dark: #2B2F46;
  --dark-2: #232739;
  --text: #5a5a6a;
  --heading: #2c3357;
  --muted: #8b8fa3;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e6eaf2;
  --shadow-sm: 0 4px 14px rgba(43, 47, 70, .06);
  --shadow-md: 0 10px 30px rgba(43, 47, 70, .10);
  --shadow-lg: 0 20px 50px rgba(43, 47, 70, .15);
  --radius: 6px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DIN Next Arabic', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  direction: inherit;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'DIN Next Arabic', sans-serif;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity .5s ease, visibility .5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 150px;
  margin-bottom: 25px;
  animation: pulse 1.8s ease-in-out infinite;
}

.loader-spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(74, 119, 190, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 700;
  font-family: 'DIN Next Arabic';
  font-size: 14px;
  transition: var(--transition);
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(74, 119, 190, .2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(74, 119, 190, .3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-welcome {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-welcome i {
  color: var(--primary);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-meta span i {
  color: var(--primary);
  margin-left: 6px;
}

.topbar-socials {
  display: flex;
  gap: 8px;
}

.topbar-socials a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  font-size: 14px;
  color: #71778e;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.topbar-socials a:hover {
  background: var(--primary);
  color: #fff;
}

.lang-switch {
  background: var(--primary);
  color: #fff;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 13px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.lang-switch:hover {
  background: var(--primary-dark);
}

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-ar {
  font-family: 'DIN Next Arabic';
  font-weight: 900;
  color: var(--heading);
  font-size: 18px;
}

.logo-en {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

.btn-cta {
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  color: var(--heading);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 10s linear;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-slide {
    background-attachment: scroll;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 47, 70, .85) 0%, rgba(74, 119, 190, .55) 50%, rgba(43, 47, 70, .9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.hero-text {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary-light);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.4);
    opacity: .5;
  }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 78px);
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.hero h1 span {
  color: var(--primary-light);
  display: block;
}

.hero-text>p {
  font-size: 18px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .7);
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  50% {
    transform: translate(-50%, 8px);
  }
}

.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--heading);
  margin-bottom: 16px;
}

.section-divider {
  display: flex;
  justify-content: center;
}

.section-divider span {
  display: block;
  width: 80px;
  height: 2px;
  background: var(--border);
  position: relative;
}

.section-divider span::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.about-home-text .section-divider span::before {
  right: 0; /* Arabic start */
  left: auto;
  transform: none;
}

[dir="ltr"] .about-home-text .section-divider span::before {
  left: 0; /* English start */
  right: auto;
  transform: none;
}

.section-divider.light span {
  background: rgba(255, 255, 255, .2);
}

.section-divider.light span::before {
  background: var(--primary-light);
}

.quote-marks {
  color: var(--primary-light);
  margin: 0 8px;
  font-size: .9em;
}

.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  position: relative;
  height: 240px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  overflow: hidden;
}

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

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

.service-icon {
  position: absolute;
  bottom: -10px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(74, 119, 190, .45);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-dark);
  transform: rotate(-8deg);
}

.service-body {
  padding: 30px 28px 32px;
  text-align: center;
}

.service-body h3 {
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--heading);
}

.service-body p {
  font-size: 14px;
  margin-bottom: 22px;
  color: var(--text);
  min-height: 110px;
}

.about {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 100px 0 110px;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--dark);
  clip-path: polygon(0 60%, 35% 0, 100% 60%, 100% 100%, 0 100%);
}

.about-shape {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: var(--dark-2);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .6;
}

.about-inner {
  position: relative;
  z-index: 2;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-head h2 {
  color: #fff;
}

.about-content p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 2;
}

.strategic {
  background: var(--bg-soft);
}

.strategic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.strategic-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-right: 5px solid var(--primary);
}

.strategic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.strategic-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.strategic-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.strategic-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

.values {
  background: #fff;
}

.section-subtitle {
  font-family: 'DIN Next Arabic';
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: -10px;
  font-weight: 600;
}

.values-intro {
  max-width: 800px;
  margin: 20px auto 40px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.value-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-item:hover {
  background: var(--primary);
  color: #fff;
}

.value-item i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
  transition: var(--transition);
}

.value-item:hover i {
  color: #fff;
}

.value-item h4 {
  font-size: 18px;
  margin: 0;
  transition: var(--transition);
}

.value-item:hover h4 {
  color: #fff;
}

.values-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.value-detail-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

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

.value-detail-card i {
  font-size: 30px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.value-detail-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-detail-card p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.manager-signature {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 400px;
  margin-inline: auto;
}

.manager-signature p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.manager-signature h4 {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  font-family: 'DIN Next Arabic';
}

.counters {
  background: var(--primary);
  padding: 60px 0;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.counter-item i {
  font-size: 38px;
  opacity: .8;
  margin-bottom: 12px;
}

.counter-num {
  font-size: 44px;
  font-weight: 900;
  font-family: 'DIN Next Arabic';
  line-height: 1;
  margin-bottom: 6px;
}

.counter-item p {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  margin: 0;
}

.news {
  background: var(--bg-soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

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

.news-date {
  position: absolute;
  bottom: 0;
  right: 22px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px 12px;
  text-align: center;
  font-family: 'DIN Next Arabic';
  line-height: 1.1;
  border-radius: 4px 4px 0 0;
}

.news-date span {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.news-date strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.news-body {
  padding: 26px 26px 30px;
}

.news-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading);
  transition: var(--transition);
}

.news-card:hover .news-body h3 {
  color: var(--primary);
}

.news-body p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
}

.news-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-more:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.why {
  background: var(--bg);
}

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

.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-item:hover::before {
  transform: scaleX(1);
}

.why-item i {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  display: inline-flex;
  width: 76px;
  height: 76px;
  background: var(--primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(74, 119, 190, 0.25);
  transition: var(--transition);
}

.why-item:hover i {
  background: var(--primary-dark);
  transform: scale(1.1) rotate(5deg);
}

.why-item h4 {
  font-size: 17px;
  color: var(--heading);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 119, 190, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  transform: translateY(20px);
  transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.clients {
  background: var(--bg-soft);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-content: center;
}

.client-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: var(--transition);
  position: relative;
}

.client-logo img {
  max-width: 100%;
  max-height: 70%;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: var(--transition);
}

.client-logo span {
  font-family: 'DIN Next Arabic';
  font-weight: 800;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  transition: var(--transition);
}

.client-logo:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

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

.client-logo:hover span {
  color: var(--primary);
}



.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-title {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 26px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 70%);
}

.footer-title span {
  display: block;
}

.footer p {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  color: var(--primary-light);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-right: 6px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 6px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  background: var(--dark-2);
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.whatsapp-float {
  background: #25d366;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

.back-to-top {
  bottom: 90px;
  background: var(--primary);
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
}

@media (max-width: 992px) {
  .topbar-welcome {
    display: none;
  }

  .topbar-meta {
    justify-content: center;
    width: 100%;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    padding: 80px 24px 24px;
    transition: right .35s ease;
    z-index: 99;
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .btn-cta {
    display: none;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
  }

  .footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }

  .footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .strategic-grid,
  .values-details-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .services-grid,
  .news-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .topbar-meta {
    gap: 10px;
    font-size: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .logo-text {
    display: none;
  }
}

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 47, 70, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform 0.4s ease;
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  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);
}

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

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

.lightbox-close:hover {
  color: var(--primary-light);
  transform: rotate(90deg);
}

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

/* Stats Section */
.stats {
  background: var(--primary);
  color: #fff;
  padding: 50px 0;
  position: relative;
  z-index: 100;
  margin-top: -60px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  display: block;
  font-family: 'DIN Next Arabic', sans-serif;
}

.stat-item .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* LTR Support Overrides */
[dir="ltr"] body {
  text-align: left;
}

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

[dir="ltr"] .hero-actions {
  justify-content: flex-start;
}

[dir="ltr"] .section-head {
  text-align: left;
}

[dir="ltr"] .section-divider span {
  margin: 0;
}

[dir="ltr"] .footer-links li i {
  margin-right: 10px;
  margin-left: 0;
  transform: rotate(180deg);
}

[dir="ltr"] .footer-socials {
  justify-content: flex-start;
}

[dir="ltr"] .btn i {
  transform: rotate(180deg);
  margin-left: 10px;
  margin-right: 0;
}

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

[dir="ltr"] .contact-grid-main,
[dir="ltr"] .info-card-item,
[dir="ltr"] .contact-form-container {
  text-align: left;
}

[dir="ltr"] .check-list li i {
  margin-right: 10px;
  margin-left: 0;
}

[dir="ltr"] .service-link i {
  transform: rotate(180deg);
  margin-left: 8px;
  margin-right: 0;
}

[dir="ltr"] body {
  font-family: 'Outfit', sans-serif;
}

[dir="ltr"] .logo-text {
  margin-left: 15px;
  margin-right: 0;
  text-align: left;
}

@media (max-width: 992px) {
  .stats {
    width: 95%;
    margin-top: -40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- Sub-Pages Common Styles --- */
.page-header {
  background: linear-gradient(rgba(43, 47, 70, 0.8), rgba(43, 47, 70, 0.8)), url('../images/PHOTO-2022-08-31-15-51-29_7.jpg') center/cover;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff !important;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

/* About Page */
.about-page-content {
  padding: 80px 0;
}

.about-text-large {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 50px;
  text-align: justify;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
  align-items: stretch;
}

.mv-card {
  background: var(--bg-soft);
  padding: 45px 40px;
  border-radius: var(--radius);
  border-right: 5px solid var(--primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

[dir="ltr"] .mv-card {
  border-right: none;
  border-left: 5px solid var(--primary);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.mv-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading);
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

/* Services Page */
.service-detail-section {
  padding: 80px 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 100px;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

.service-detail-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

[dir="ltr"] .service-detail-content h2::after {
  right: auto;
  left: 0;
}

.service-detail-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--heading);
  font-weight: 600;
}

.service-features li i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Why Us Page */
.why-page-content {
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 20px;
}

.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

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


.features-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.feature-item-large {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.feature-item-large:hover {
  transform: translateY(-10px);
}

.feature-item-large i {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  display: block;
}

/* Clients Page */
.clients-page-content {
  padding: 80px 0;
}

.clients-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.client-card-large {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  transition: var(--transition);
}

.client-card-large:hover {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.client-card-large img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Contact Page */
.contact-page-content {
  padding: 80px 0;
}

.contact-grid-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.info-card-item {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.info-card-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.info-card-item i {
  font-size: 2rem;
  color: var(--primary);
  background: var(--bg-soft);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-container {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--heading);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

/* About Home Section */
.about-home {
  padding: 100px 0;
}

.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-home-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

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

.about-home-img:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  padding: 20px 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 30px rgba(74, 119, 190, 0.4);
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.exp-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

.about-home-text h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-home-text .section-divider {
  justify-content: flex-start;
  margin-bottom: 30px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--heading);
}

.check-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-left: 12px;
}

[dir="ltr"] .check-list li i {
  margin-left: 0;
  margin-right: 12px;
}

/* Responsive Extensions */
@media (max-width: 992px) {
  .mission-vision-grid, 
  .service-detail-card, 
  .contact-grid-main {
    grid-template-columns: 1fr;
  }
  .service-detail-card:nth-child(even) {
    direction: rtl;
  }
  .features-list-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-full-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-home-grid { grid-template-columns: 1fr; }
  .about-home-img { height: 350px; }
}

@media (max-width: 600px) {
  .features-list-grid, .clients-full-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 2.2rem; }
}

/* Extra LTR Overrides for Sub-Pages */
[dir="ltr"] body {
  font-family: 'Outfit', sans-serif;
}

[dir="ltr"] .logo-text {
  margin-left: 15px;
  margin-right: 0;
  text-align: left;
}

[dir="ltr"] .section-head.text-center .section-divider {
  margin-inline: auto;
}

[dir="ltr"] .section-head .section-divider {
  justify-content: flex-start;
}

[dir="ltr"] .section-head.text-center {
  text-align: center;
}

[dir="ltr"] .section-head {
  text-align: left;
}

[dir="ltr"] .service-card {
  text-align: left;
}

[dir="ltr"] .service-icon {
  right: auto;
  left: 30px;
}

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

[dir="ltr"] .value-detail-card i {
  margin-right: 0;
}

[dir="ltr"] .service-detail-card:nth-child(even) > .service-detail-img {
  order: 2;
}

[dir="ltr"] .service-detail-card:nth-child(even) > .service-detail-content {
  order: 1;
  text-align: left;
}

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

[dir="ltr"] .about-home-text .section-divider {
  justify-content: flex-start;
}

[dir="ltr"] .experience-badge {
  right: auto;
  left: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

[dir="ltr"] .btn {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

[dir="ltr"] .lang-switch {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

[dir="ltr"] .strategic-icon {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

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

[dir="ltr"] .contact-grid-main,
[dir="ltr"] .info-card-item,
[dir="ltr"] .contact-form-container {
  text-align: left;
}

/* ============================================
   EN-SPECIFIC COMPONENTS (clean LTR layout)
   ============================================ */

/* Services Grid - English */
.services-grid-en {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-en {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 35px 30px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  text-align: left;
}

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

.service-icon-en {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(74, 119, 190, 0.35);
  transition: var(--transition);
}

.service-card-en:hover .service-icon-en {
  background: var(--primary-dark);
  transform: scale(1.08);
}

.service-body-en {
  flex: 1;
}

.service-body-en h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--heading);
}

.service-body-en p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-link-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.service-link-en:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* Values Grid - English */
.values-grid-en {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card-en {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 25px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  transition: var(--transition);
}

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

.value-icon-en {
  width: 54px;
  height: 54px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: var(--transition);
}

.value-card-en:hover .value-icon-en {
  background: var(--primary);
  color: #fff;
}

.value-text-en h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--heading);
}

.value-text-en p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* Responsive - EN Components */
@media (max-width: 992px) {
  .services-grid-en {
    grid-template-columns: 1fr;
  }
  .values-grid-en {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid-en {
    grid-template-columns: 1fr;
  }
}