* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure footer is last */
body {
  font-family: "Arial", sans-serif;
  background: #1a1a2e;
  color: white;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

footer {
  background: #0a5b5d;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

/* Hide any content after footer */
footer ~ * {
  display: none !important;
}

/* Arabic font styling - Improved */
body.rtl {
  direction: rtl;
  font-family: "Cairo", "Arial", sans-serif;
}

body.rtl * {
  font-family: "Cairo", "Arial", sans-serif;
  /* font-size: calc(1em + 1px); */
  font-weight: 500;
}

body.rtl h1,
body.rtl h2,
body.rtl h3 {
  font-weight: 700;
}

body.rtl p {
  line-height: 1.8;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a2e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.triangle-loader {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid #aeb938;
  animation: pulse 1.5s ease-in-out infinite, rotate 2s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 20px;
  background: rgba(26, 26, 46, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 10px 20px;
  background: rgba(26, 26, 46, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a span {
  position: relative;
  z-index: 2;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #aeb938;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.nav-links a:hover::before {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.nav-links a:hover {
  color: #1a1a2e;
  transform: translateY(-2px);
}

.cta-nav {
  background: #aeb938;
  color: #1a1a2e !important;
  font-weight: bold;
  animation: subtle-pulse 2s infinite;
}

@keyframes subtle-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(174, 185, 56, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(174, 185, 56, 0.2);
  }
}

.lang-switch {
  background: transparent;
  color: white;
  border: 2px solid #aeb938;
  padding: 5px 15px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: #aeb938;
  color: #1a1a2e;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 25px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  position: absolute;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}
.menu-toggle span:nth-child(2) {
  top: 10px;
}
.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

#navbar,
#navbar * {
  direction: ltr !important;
  text-align: left !important;
}

#navbar [data-lang="ar"] {
  direction: rtl;
  text-align: right;
  display: inline-block;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a5b5d 0%, #1a1a2e 100%);
  padding: 80px 20px 40px;
  position: relative;
  animation: gradient-shift 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Base floating shapes container */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  pointer-events: none; /* prevent blocking clicks */
}

.shape {
  position: absolute;
  opacity: 0.15;
  filter: blur(1px);
}

/* Main section big triangles */
.shape1 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid #aeb938;
  top: 20%;
  left: 10%;
  animation: float-shape 15s infinite ease-in-out, fade-in-out 4s infinite;
}

.shape2 {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 130px solid #0a5b5d;
  top: 60%;
  right: 10%;
  animation: float-shape 20s infinite ease-in-out reverse,
    fade-in-out 5s infinite;
}

.shape3 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid #aeb938;
  top: 15%;
  left: 20%;
  animation: float-shape 15s infinite ease-in-out, fade-in-out 4s infinite;
}

.shape4 {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 130px solid #0a5b5d;
  top: 60%;
  right: 20%;
  animation: float-shape 20s infinite ease-in-out reverse,
    fade-in-out 5s infinite;
}

/* About section small circles */
.about-shape1 {
  width: 50px;
  height: 50px;
  background: #aeb938;
  border-radius: 50%;
  top: 25%;
  left: 25%;
  animation: float-shape 12s infinite ease-in-out, fade-in-out 6s infinite;
}

.about-shape2 {
  width: 60px;
  height: 60px;
  background: #30bfc1;
  border-radius: 50%;
  top: 20%;
  right: 20%;
  animation: float-shape 18s infinite ease-in-out reverse,
    fade-in-out 8s infinite;
}

/* Services section diamonds */
.services-shape1 {
  width: 65px;
  height: 65px;
  background: #aeb938;
  transform: rotate(45deg);
  top: 15%;
  right: 10%;
  animation: float-shape 10s infinite ease-in-out, fade-in-out 5s infinite;
}

.services-shape2 {
  width: 45px;
  height: 45px;
  background: #13a7aa;
  transform: rotate(45deg);
  top: 85%;
  left: 10%;
  animation: float-shape 14s infinite ease-in-out reverse,
    fade-in-out 7s infinite;
}

/* Animation keyframes */
@keyframes float-shape {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
  }
}

@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 2;
  position: relative;
  animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 20px;
  color: #aeb938;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* animation: title-glow 3s ease-in-out infinite; */
}

.hero .tagline {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 20px;
  color: white;
  font-weight: 300;
}

@keyframes title-glow {
  0%,
  100% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(174, 185, 56, 0.3);
  }
  50% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(174, 185, 56, 0.5);
  }
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  opacity: 0;
  animation: fade-in 1s ease-out 0.5s forwards;
}

@keyframes fade-in {
  to {
    opacity: 0.9;
  }
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in-up 1s ease-out 0.8s forwards;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: #aeb938;
  color: #1a1a2e;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(174, 185, 56, 0.4);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Vision Section */
.vision {
  padding: 80px 20px;
  background: #f8f9fa;
  color: #333;
  position: relative;
}

.vision-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.vision-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 30px;
  color: #0a5b5d;
  position: relative;
  display: inline-block;
}

.vision-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #aeb938;
  transition: width 0.6s;
}

.vision-content h2.visible::after {
  width: 100px;
}

.vision-statement {
  font-size: clamp(20px, 3vw, 28px);
  color: #0a5b5d;
  margin-bottom: 40px;
  font-weight: 500;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.vision-pillar {
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.vision-pillar:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.vision-pillar h3 {
  color: #0a5b5d;
  margin-bottom: 10px;
}

/* Services Section */
.services {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a5b5d, #1a1a2e);
  color: white;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(174, 185, 56, 0.05) 0%,
    transparent 70%
  );
  animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
  color: white;
  position: relative;
}

.services .section-subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: #333;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(174, 185, 56, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: white;
}

.service-icon {
  font-size: 40px;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.service-icon:hover {
  animation: icon-bounce 2s infinite;
  animation-delay: var(--delay);
}

@keyframes icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.service-card:nth-child(1) .service-icon {
  --delay: 0s;
}
.service-card:nth-child(2) .service-icon {
  --delay: 0.2s;
}
.service-card:nth-child(3) .service-icon {
  --delay: 0.4s;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a5b5d;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: #aeb938;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.service-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  opacity: 0;
  animation: slide-in-left 0.5s ease forwards;
  animation-delay: calc(var(--index) * 0.1s);
  display: flex;
  align-items: center;
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-features li:nth-child(1) {
  --index: 1;
}
.service-features li:nth-child(2) {
  --index: 2;
}
.service-features li:nth-child(3) {
  --index: 3;
}

.service-features li:before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #aeb938;
  font-weight: bold;
}

body.rtl .service-features li {
  padding-left: 0;
  padding-right: 25px;
}

body.rtl .service-features li::before {
  left: auto;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a5b5d 100%);
  position: relative;
  overflow: hidden;
}

.why-choose::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23AEB938" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,138.7C672,149,768,203,864,213.3C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(174, 185, 56, 0.2) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.why-card:hover::before {
  width: 300px;
  height: 300px;
}

.why-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(174, 185, 56, 0.1);
  border-color: #aeb938;
  box-shadow: 0 10px 30px rgba(174, 185, 56, 0.2);
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a5b5d, #aeb938);
  border-radius: 15px;
  transition: transform 0.3s;
  font-size: 28px;
  color: white;
}

.why-card:hover .why-icon {
  transform: scale(1.2) rotate(10deg);
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #aeb938;
  transition: color 0.3s;
}

.why-card p {
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.why-card:hover p {
  opacity: 1;
}

/* Clients Section */
.clients {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.clients-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 10px;
}

.clients-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.clients-logos img {
  max-width: 140px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: grayscale(30%);
}

.clients-logos img:hover {
  transform: scale(1.08);
  filter: grayscale(0%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Dragging styles */
.clients-track.dragging {
  transition: none;
  cursor: grabbing;
}

/* Partners Section */
.partners {
  padding: 80px 20px;
  background: white;
  position: relative;
}

.partners h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 50px;
  color: #0a5b5d;
}

.partners-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.3s ease;
  filter: grayscale(50%);
}

.partner-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.partner-logo img {
  max-width: 150px;
  height: auto;
}

/* IT Talent Section */
.talent {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e, #0a5b5d);
  color: white;
  position: relative;
}

.talent-content {
  max-width: 1200px;
  margin: 0 auto;
}

.talent h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 30px;
  color: white;
}

.talent-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  opacity: 0.9;
}

.talent-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.talent-feature > p {
  color: black;
}

.talent-feature {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(174, 185, 56, 0.3);
  transition: all 0.3s ease;
}

.talent-feature:hover {
  background: rgb(251, 255, 202);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.talent-feature h3 {
  color: #0a5b5d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.talent-feature .number {
  background: #aeb938;
  color: #1a1a2e;
  width: 35px;
  height: 35px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a5b5d, #1a1a2e);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(174, 185, 56, 0.1) 0%,
    transparent 70%
  );
  animation: float-shape 20s infinite ease-in-out;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #aeb938;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 0;
  animation: slide-in-left 0.6s ease forwards;
  animation-delay: calc(var(--item-index) * 0.1s);
  transition: transform 0.3s;
}

.contact-item:nth-child(2) {
  --item-index: 1;
}
.contact-item:nth-child(3) {
  --item-index: 2;
}
.contact-item:nth-child(4) {
  --item-index: 3;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(174, 185, 56, 0.2);
  transition: all 0.3s;
}

.contact-form:hover {
  border-color: rgba(174, 185, 56, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #aeb938;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #aeb938;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 15px;
  background: #aeb938;
  color: #1a1a2e;
  position: relative;
  overflow: hidden;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(174, 185, 56, 0.4);
}

/* Align fields right when RTL is active */
body.rtl input,
body.rtl textarea {
  direction: rtl;
  text-align: right;
}

/* Ensure LTR stays normal */
body:not(.rtl) input,
body:not(.rtl) textarea {
  direction: ltr;
  text-align: left;
}

/* Footer */
footer {
  background: #0a5b5d;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(174, 185, 56, 0.1),
    transparent
  );
  animation: slide-bg 10s linear infinite;
}

@keyframes slide-bg {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  z-index: 1;
  position: relative;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #aeb938;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.social-links a:hover::before {
  width: 100%;
  height: 100%;
}

.social-links a:hover {
  color: #1a1a2e;
  transform: translateY(-5px) rotate(360deg);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #aeb938, #0a5b5d);
  z-index: 10001;
  transition: width 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo-img {
    height: 35px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .shape1,
  .shape2 {
    display: none;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
  }

  .talent-features {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-controls {
    flex-direction: column;
    gap: 20px;
  }

  .clients-track {
    padding: 0 20px;
  }

  .client-logo {
    flex: 0 0 200px;
    margin: 0 15px;
  }
}

/* Hide elements for language switching */
[data-lang] {
  display: none !important;
}

body:not(.rtl) [data-lang="en"] {
  display: inline-block !important;
}

body.rtl [data-lang="ar"] {
  display: inline-block !important;
}

/* Special case for block elements */
h1[data-lang],
h2[data-lang],
h3[data-lang],
p[data-lang],
div[data-lang] {
  display: none !important;
}

body:not(.rtl) h1[data-lang="en"],
body:not(.rtl) h2[data-lang="en"],
body:not(.rtl) h3[data-lang="en"],
body:not(.rtl) p[data-lang="en"],
body:not(.rtl) div[data-lang="en"] {
  display: block !important;
}

body.rtl h1[data-lang="ar"],
body.rtl h2[data-lang="ar"],
body.rtl h3[data-lang="ar"],
body.rtl p[data-lang="ar"],
body.rtl div[data-lang="ar"] {
  display: block !important;
}

/* Form inputs special handling */
input[data-lang],
textarea[data-lang] {
  display: none !important;
}

body:not(.rtl) input[data-lang="en"],
body:not(.rtl) textarea[data-lang="en"] {
  display: block !important;
  width: 100%;
}

body.rtl input[data-lang="ar"],
body.rtl textarea[data-lang="ar"] {
  display: block !important;
  width: 100%;
  text-align: right;
}

/* Cursor effect */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #aeb938;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}

/* Parallax effect */
.parallax-element {
  transition: transform 0.3s ease-out;
}
