@font-face {
  font-family: RBold;
  src: url(fonts/ReadexPro-Bold.ttf);
}

@font-face {
  font-family: RExtraLight;
  src: url(fonts/ReadexPro-ExtraLight.ttf);
}

@font-face {
  font-family: RLight;
  src: url(fonts/ReadexPro-Light.ttf);
}

@font-face {
  font-family: RMedium;
  src: url(fonts/ReadexPro-Medium.ttf);
}

@font-face {
  font-family: RRegular;
  src: url(fonts/ReadexPro-Regular.ttf);
}

@font-face {
  font-family: RSemiBold;
  src: url(fonts/ReadexPro-SemiBold.ttf);
}

@font-face {
  font-family: RVariable;
  src: url(fonts/ReadexPro-VariableFont_HEXP\,wght.ttf);
}


:root {
  --color-blue: #3471fd;
  --color-Dark-Blue: #0f0f31;
  --color-light: #efefef;
  --color-dark: #000000;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Enhanced animation classes with more variety */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate="fade-right"] {
  opacity: 0;
}

[data-animate="fade-left"] {
  opacity: 0;
}

[data-animate="fade-up"] {
  opacity: 0;
}

[data-animate="zoom-in"] {
  opacity: 0;
}

[data-animate="zoom-out"] {
  opacity: 0;
}

[data-animate="flip-left"] {
  opacity: 0;
}

[data-animate="flip-right"] {
  opacity: 0;
}

[data-animate="rotate-in"] {
  opacity: 0;
}

[data-animate="slide-up"] {
  opacity: 0;
}

/* Simplified in-view state to only change opacity */
[data-animate].in-view {
  opacity: 1;
}


/* #region One Section */

/* Navigation */
.navbar {
  position: absolute;
  /* داخل الهيرو */
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

/* Mobile Menu Active State */
/* Animation Keyframes */
@keyframes bounce-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Menu Active State مع Bounce */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem 2rem;
  border-radius: 12px;
  gap: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  z-index: 1000;

  animation: bounce-in 0.5s ease;
}



.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: RRegular;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #3b82f6;
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 125%;
  left: -85px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 232px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: RRegular;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding-left: 1rem;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher .nav-link.active {
  color: #3b82f6;
  font-weight: 600;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--color-dark-blue);
  color: var(--color-light);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  font-family: RRegular;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 253, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--color-blue);
  box-shadow: 0 20px 50px rgba(52, 113, 253, 0.3);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark-blue);
  border: 2px solid var(--color-dark-blue);
}

.btn-secondary:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

/* Hero */
#hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(16, 33, 62, 0.3) 0%, transparent 70%);
  animation: float 25s linear infinite;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(59, 130, 246, 0.05) 25%,
      transparent 50%,
      rgba(37, 99, 235, 0.08) 75%,
      transparent 100%);
  background-size: 400% 400%;
  animation: gradient-shift 30s ease infinite reverse;
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(52, 113, 253, 0.15), rgba(15, 15, 49, 0.2));
  animation: float-shapes 15s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.shape:nth-child(5) {
  width: 40px;
  height: 40px;
  top: 10%;
  right: 20%;
  animation-delay: -8s;
  animation-duration: 16s;
}

@keyframes float-shapes {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-60px) translateX(-10px) rotate(180deg);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-20px) translateX(-30px) rotate(270deg);
    opacity: 0.7;
  }
}

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 50%;
  animation: particle-float 10s linear infinite;
  opacity: 0;
}

.particle:nth-child(odd) {
  background: var(--color-dark-blue);
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Hero Content */
.hero-content {
  max-width: 900px;
  margin: 75px auto 0 auto;
  position: relative;
  z-index: 15;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(37, 99, 235, 0.3);
  font-family: RRegular;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-content p {
  color: var(--color-light);
  font-weight: 400;
  font-family: RLight;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  letter-spacing: 0.01em;
  z-index: 5;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: RRegular;
  font-weight: 400;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
}

/* #endregion */



/* #region Two Section */
.company-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
  position: relative;
  z-index: 1;
  background: white;
}

.two-Section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-card {
    width: 100%;
  max-width: 440px;            /* نفس حجم الكروت فوق */
  min-height: 300px;      
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border-left: 5px solid var(--color-blue);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 113, 253, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: scale(1.02);
  border-left-color: var(--color-dark-blue);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--color-blue);
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  color: var(--color-dark-blue);
}

.working-hours span {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.working-hours strong {
  font-family: RRegular;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--color-Dark-Blue);
}


.two-Section-container h2 {
  font-family: RRegular;
  margin-bottom: 1.5rem;
  font-size: 2.3rem;
  color: var(--color-Dark-Blue);
}


.two-Section-container p {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.two-Section-container strong {
  font-family: RRegular;
  color: var(--color-Dark-Blue);
}

.info-card h3 {
  font-family: RRegular;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--color-dark-blue);
}

.working-hours {
  list-style: none;
  padding: 0;
}

.working-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-light);
  transition: all 0.3s ease;
}

.working-hours li:hover {
  background: rgba(52, 113, 253, 0.05);
  padding-left: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--color-blue);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(52, 113, 253, 0.1), transparent);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.stat-item:hover {
  border-left-color: var(--color-dark-blue);
  transform: scale(1.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-family: RRegular;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--color-dark-blue);
  transform: scale(1.1);
}

/* #endregion */




/* #region three Section */

#services {
  position: relative;
  z-index: 1;
  /* Reduced z-index to keep below hero */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.three-Section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced service cards with more interactive effects */
.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--color-blue);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(52, 113, 253, 0.1), transparent);
  opacity: 0;
  transition: all 0.6s ease;
}

.service-card:hover::before {
  opacity: 1;
  animation: rotate-in 2s linear infinite;
}

.service-card:hover {
  border-left-color: var(--color-dark-blue);
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--color-blue);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--color-dark-blue);
  transform: rotate(360deg) scale(1.1);
}

.three-Section-container h2 {
  font-family: RRegular;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 2.3rem;
  color: var(--color-Dark-Blue);
}

.three-Section-container p {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.service-card h3 {
  font-family: RRegular;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-dark-blue);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* #endregion */


/* Gallery Section */
#gallery {
  background: var(--light-color);
  padding: 80px 0;
}

#gallery .container p {
  max-width: 600px;
}

.four-Section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-blue);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 113, 253, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-dark-blue);
}

/* Image inside gallery-item */
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-caption {
  padding: 20px;
  text-align: center;
}

.four-Section-container h2 {
  font-family: RRegular;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 2.3rem;
  color: var(--color-Dark-Blue);
}

.four-Section-container p {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.gallery-caption h3 {
  font-family: RRegular;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.gallery-caption p {
  color: var(--dark-color);
  opacity: 0.8;
}

/* Case Study Section */
#case-study {
  background: white;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.metric {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 15, 49, 0.05), rgba(52, 113, 253, 0.05));
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(52, 113, 253, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.metric:hover::before {
  transform: translateX(100%);
}

.metric:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.metric-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-blue);
  display: block;
  position: relative;
  z-index: 1;
}

.platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}


/* #endregion */

/* #region five Section */
.platforms {
  text-align: center;
  margin-bottom: 4rem;
}

.sub-title {
  font-family: RRegular;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.five-Section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.five-Section-container h2 {
  font-family: RRegular;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 2.3rem;
  color: var(--color-Dark-Blue);
}

.five-Section-container p {
  color: #555;
  font-weight: 400;
  font-family: RLight;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.five-Section-container span {
  font-family: RRegular;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}


.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.logo-box {
  background: rgba(52, 113, 253, 0.05);
  border: 1px solid #0052cc;
  border-radius: 12px;
  font-family: RVariable;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(52, 113, 253, 0.1), transparent);
  transition: all 0.6s ease;
}

.logo-box:hover::before {
  left: 0;
}

.logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.logo-box img {
  width: 70px;
  /* العرض ثابت */
  height: 40px;
  /* الطول ثابت */
  object-fit: contain;
}

.logo-box-hepsiburada {
  background: rgba(52, 113, 253, 0.05);
  border: 1px solid #0052cc;
  border-radius: 12px;
  font-family: RVariable;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-box-hepsiburada::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(52, 113, 253, 0.1), transparent);
  transition: all 0.6s ease;
}

.logo-box-hepsiburada:hover::before {
  left: 0;
}

.logo-box-hepsiburada:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  filter: grayscale(0);
}


.logo-box-hepsiburada img {
  width: 120px;
  /* العرض ثابت */
  height: 80px;
  /* الطول ثابت */
  object-fit: contain;
  /* تحافظ على نسبة الصورة */
}

/* #endregion */

/* Enhanced CTA banner with animated background */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  color: white;
  padding: 4rem;
  border-radius: 25px;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 253, 0.1) 0%, transparent 70%);
  animation: float 15s linear infinite reverse;
}

.cta-banner h3 {
  color: var(--color-light);
  font-family: RRegular;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--color-light);
  font-family: RLight;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  background: var(--color-light);
  color: var(--color-Dark-Blue);
  font-family: RRegular;
  position: relative;
  z-index: 1;
}

.cta-banner .btn:hover {
  background: var(--color-light);
  transform: scale(1.05);
}

/* #endregion */

/* #region Footer Section */
.footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  padding: 60px 0 30px;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  opacity: 0;
  transform: translateY(30px);
  animation: floatUp 0.8s ease-out forwards;
}

.footer-column:nth-child(1) {
  animation-delay: 0.2s;
}

.footer-column:nth-child(2) {
  animation-delay: 0.4s;
}

.footer-column:nth-child(3) {
  animation-delay: 0.6s;
}

.footer-column:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column h3 {
  color: var(--color-light);
  font-family: RRegular;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6), 0 0 30px rgba(96, 165, 250, 0.4);
  }
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  animation: slideIn 2s ease-in-out infinite;
}

@keyframes slideIn {
  0% {
    left: -100%;
  }

  50% {
    left: 0%;
  }

  100% {
    left: 100%;
  }
}

/* Logo and Description Column */
.logo-section .logo {
  display: inline-block;
  font-family: RRegular;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-light);
  text-decoration: none;
  margin-top: -8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    transform: scale(1);
  }

  50% {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 30px rgba(96, 165, 250, 0.6);
    transform: scale(1.02);
  }
}

.logo-section .logo:hover {
  color: var(--color-blue);
  transform: scale(1.05);
}

.logo-section p {
  color: #d1d5db;
  font-family: RLight;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Navigation Links */
.nav-links ul {
  list-style: none;
}

.nav-links li {
  margin-bottom: 12px;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInSlide 0.6s ease-out forwards;
}

.nav-links li:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-links li:nth-child(2) {
  animation-delay: 0.2s;
}

.nav-links li:nth-child(3) {
  animation-delay: 0.3s;
}

.nav-links li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: #d1d5db;
  text-decoration: none;
  font-family: RRegular;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #60a5fa;
  animation: bounce 0.6s ease;
}

.nav-links a:hover::before {
  width: 100%;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3px);
  }

  60% {
    transform: translateY(-2px);
  }
}

/* Added simple dropdown functionality for services */
.nav-links .services-toggle {
  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: 30px;
  cursor: pointer;
  color: #d1d5db;
  font-family: RRegular;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links .services-toggle::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links .services-toggle:hover {
  color: #60a5fa;
  transform: translateX(5px);
}

.nav-links .services-toggle::after {
  content: '▼';
  font-size: 0.8rem;
  color: #60a5fa;
  transition: transform 0.3s ease;
}

.nav-links .services-toggle.open::after {
  transform: rotate(180deg);
}

.nav-links .dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-left: 15px;
  margin-top: 8px;
}

.nav-links .dropdown.open {
  max-height: 150px;
}

.nav-links .dropdown li {
  margin-bottom: 8px;
}

.nav-links .dropdown a {
  font-family: RRegular;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #d1d5db;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  animation: socialFloat 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
  animation-delay: 0s;
}

.social-icon:nth-child(2) {
  animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
  animation-delay: 1s;
}

.social-icon:nth-child(4) {
  animation-delay: 1.5s;
}

.social-icon:nth-child(5) {
  animation-delay: 2s;
}

.social-icon:nth-child(6) {
  animation-delay: 2.5s;
}

@keyframes socialFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.social-icon:hover {
  background-color: #60a5fa;
  color: var(--color-light);
  transform: translateY(-2px) scale(1.1);
  animation: socialHover 0.6s ease;
  box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

@keyframes socialHover {
  0% {
    transform: translateY(-2px) scale(1.1) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) scale(1.1) rotate(180deg);
  }

  100% {
    transform: translateY(-2px) scale(1.1) rotate(360deg);
  }
}

/* Contact Information */
.contact-info p {
  color: #d1d5db;
  margin-bottom: 15px;
  font-family: RLight;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.6s ease-out forwards;
}

.contact-info p:nth-child(1) {
  animation-delay: 1s;
}

.contact-info p:nth-child(2) {
  animation-delay: 1.2s;
}

.contact-info p:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info i {
  color: #60a5fa;
  margin-top: 2px;
  min-width: 16px;
  transition: transform 0.3s ease;
}

.contact-info i:hover {
  transform: rotate(360deg);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-out 2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.footer-bottom p {
  color: var(--color-light);
  font-family: RLight;
  font-size: 0.9rem;
  animation: typewriter 2s steps(40) 2.5s forwards;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  margin: 0 auto;
}

.contact-info a {
  color: var(--color-light);
  /* أبيض */
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-blue);
  /* أزرق فاتح عند الهوفر */
}

@keyframes typewriter {
  to {
    width: 100%;
  }
}

/* #endregion */



.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 70px;          
    height: 70px;          
    background-color: var(--color-blue);
    color: var(--color-light);
    border-radius: 50%;
    text-align: center;
    line-height: 70px;  
    font-size: 2.5rem;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
    animation: whatsapp-bounce 2s infinite;
}

@keyframes whatsapp-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

.hero-content{
 padding: 4rem 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
}

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .company-info,
  .services-grid,
  .stats,
  .case-metrics,
  .gallery-grid {
    grid-template-columns: 1fr;
  }


  .platforms {
    flex-direction: column;
  }

  /* #region Footer Section */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .demo-content h1 {
    font-size: 2rem;
  }

  .demo-content p {
    font-size: 1rem;
  }

  /* #endregion */
}

@media (max-width: 480px) {

  /* #region one Section */
  .nav-container {
    padding: 0 1rem;
  }


  .hero-content{
 padding: 4rem 30px;
}
  /* #endregion */


  /* #region Footer Section */
  .footer-column h3 {
    font-size: 1.1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* #endregion */
}


/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  [data-animate],
  .floating,
  .pulsing {
    animation: none;
    transition: none;
  }
}

