@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);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-blue: #3471fd;
  --color-Dark-Blue: #0f0f31;
  --color-light: #efefef;
  --primary: var(--color-Dark-Blue);
  --primary-light: #1a1f4a;
  --accent: var(--color-blue);
  --accent-dark: #2860e6;
  --neutral-white: #ffffff;
  --neutral-light: var(--color-light);
  --neutral-gray: #b0b7c3;
  --neutral-dark: #64748b;
  --text-primary: #1e293b;
  --text-secondary: #475569;

  /* Updated gradients to use user's colors */
  --gradient-primary: linear-gradient(135deg, var(--color-Dark-Blue) 0%, #1a1f4a 50%, #252b5c 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-blue) 0%, #4285ff 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(15, 15, 49, 0.95) 0%, rgba(26, 31, 74, 0.98) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 15, 49, 0.08);
  --shadow-md: 0 8px 25px rgba(15, 15, 49, 0.12);
  --shadow-lg: 0 20px 40px rgba(15, 15, 49, 0.15);
  --shadow-xl: 0 25px 50px rgba(15, 15, 49, 0.2);
}


.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}



/* #region animation */

/* Added sophisticated DNA helix animation */
.dna-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.15;
}

.dna-strand {
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--color-blue) 20%, var(--color-blue) 80%, transparent 100%);
  animation: dnaRotate 20s linear infinite;
}

.dna-strand:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  transform-origin: center;
}

.dna-strand:nth-child(2) {
  left: 25%;
  animation-delay: -5s;
  transform-origin: center;
}

.dna-strand:nth-child(3) {
  right: 25%;
  animation-delay: -10s;
  transform-origin: center;
}

.dna-strand:nth-child(4) {
  right: 20%;
  animation-delay: -15s;
  transform-origin: center;
}

.dna-base {
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), transparent, var(--color-blue));
  border-radius: 2px;
  animation: dnaBase 8s ease-in-out infinite;
}

.dna-base:nth-child(odd) {
  left: 18%;
  animation-delay: 0s;
}

.dna-base:nth-child(even) {
  right: 18%;
  animation-delay: -4s;
}

.dna-base:nth-child(5n) {
  top: 10%;
}

.dna-base:nth-child(5n + 1) {
  top: 25%;
}

.dna-base:nth-child(5n + 2) {
  top: 40%;
}

.dna-base:nth-child(5n + 3) {
  top: 55%;
}

.dna-base:nth-child(5n + 4) {
  top: 70%;
}

.dna-base:nth-child(6n) {
  top: 85%;
}

@keyframes dnaRotate {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }

  25% {
    transform: rotateY(90deg) rotateX(15deg);
  }

  50% {
    transform: rotateY(180deg) rotateX(0deg);
  }

  75% {
    transform: rotateY(270deg) rotateX(-15deg);
  }

  100% {
    transform: rotateY(360deg) rotateX(0deg);
  }
}

@keyframes dnaBase {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(1) rotateZ(0deg);
  }

  25% {
    opacity: 0.8;
    transform: scaleX(1.2) rotateZ(5deg);
  }

  50% {
    opacity: 0.6;
    transform: scaleX(0.8) rotateZ(0deg);
  }

  75% {
    opacity: 0.9;
    transform: scaleX(1.1) rotateZ(-5deg);
  }
}

/* Enhanced floating particles for DNA effect */
.dna-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) {
  left: 15%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: -3s;
}

.particle:nth-child(3) {
  left: 45%;
  animation-delay: -6s;
}

.particle:nth-child(4) {
  left: 60%;
  animation-delay: -9s;
}

.particle:nth-child(5) {
  left: 75%;
  animation-delay: -12s;
}

.particle:nth-child(6) {
  left: 85%;
  animation-delay: -2s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
    transform: translateY(90vh) scale(1);
  }

  90% {
    opacity: 0.6;
    transform: translateY(-10vh) scale(1);
  }

  100% {
    transform: translateY(-20vh) scale(0);
    opacity: 0;
  }
}

/* Sophisticated animated background */
.background-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.background-shapes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Updated background gradients with user colors */
  background: radial-gradient(circle at 20% 80%, rgba(52, 113, 253, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52, 113, 253, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(15, 15, 49, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(52, 113, 253, 0.04);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(52, 113, 253, 0.1);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -300px;
  right: -300px;
  /* Updated shape gradients with user colors */
  background: radial-gradient(circle, rgba(52, 113, 253, 0.06) 0%, rgba(15, 15, 49, 0.02) 70%);
  animation: floatSlow 12s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  top: 60%;
  left: -200px;
  background: radial-gradient(circle, rgba(15, 15, 49, 0.08) 0%, transparent 70%);
  animation: floatMedium 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: 15%;
  background: radial-gradient(circle, rgba(52, 113, 253, 0.03) 0%, transparent 70%);
  animation: floatFast 6s ease-in-out infinite;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.05);
  }

  66% {
    transform: translateY(15px) rotate(240deg) scale(0.95);
  }
}

@keyframes floatMedium {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-25px) rotate(180deg) scale(1.1);
  }
}

@keyframes floatFast {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(90deg);
  }

  50% {
    transform: translateY(-5px) rotate(180deg);
  }

  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

/* #endregion */


/* 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);
}



/* Hero Section - Premium Design */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  overflow: hidden;
  color: var(--neutral-white);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  justify-content: center;
  max-width: 900px;
  padding: 0 24px;
  margin-top: 75px;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: RRegular;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-h3 {
  font-family: RRegular;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  background: var(--color-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: RLight;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-family: RRegular;
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  color: var(--color-blue);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Premium Button Design */
.btn {
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-family: RRegular;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--neutral-white);
  box-shadow: 0 8px 25px rgba(52, 113, 253, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(52, 113, 253, 0.4);
  background: linear-gradient(135deg, #4285ff 0%, var(--color-blue) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--neutral-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.2rem;
  min-width: 250px;
}

/* Problems Section - Enhanced */
.problems-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #fafbfc 0%, var(--neutral-light) 100%);
  position: relative;
}

.problems-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neutral-gray), transparent);
}

.section-title {
  font-family: RRegular;
  font-size: 3rem ;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle-problems {
  font-family:RLight;;
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.6;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.problem-card {
  background: var(--neutral-white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(15, 15, 49, 0.06);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(52, 113, 253, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.problem-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(52, 113, 253, 0.15);
  border-color: rgba(52, 113, 253, 0.3);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-card:hover::after {
  opacity: 1;
  top: 0;
  left: 0;
}


.problem-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  background-color: var(--color-light);
  font-size: 2.5rem;
  color: #3471FD;
  /* لون أزرق */
  transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
  transform: scale(1.2) rotate(5deg);
  color: #1a53d9;
  /* أزرق أغمق عند الهوفر */
}

.problem-card h3 {
  font-family: RRegular;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.problem-card p {
  font-family: RLight;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Gallery Section - Premium */
.gallery-section {
  padding: 120px 0;
  background: var(--neutral-white);
  position: relative;
}


.section-subtitle {
  text-align: center;
  font-family: RLight;
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--neutral-white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2),
    0 0 25px rgba(52, 113, 253, 0.3);
  /* أزرق خفيف */
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 49, 0.8);
  /* خلفية شفافة غامقة */
  color: var(--neutral-white);
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  backdrop-filter: blur(8px);
  opacity: 0;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
  box-shadow: inset 0 5px 25px rgba(0, 0, 0, 0.3);
}

.gallery-overlay h3 {
  font-family: RRegular;
  letter-spacing: 1px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
  font-family: RLight;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
}


/* CTA Section - Premium */
.cta-section {
  padding: 120px 0;
  background: var(--gradient-primary);
  color: var(--neutral-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 120px;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Updated CTA background with user's blue */
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  animation: ctaBackground 10s ease-in-out infinite;
}

@keyframes ctaBackground {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.cta-title {
  font-family: RRegular;
  font-size: 3rem;
  color: var(--color-light);
  font-weight: 800;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-family: RLight;
  font-size: 1.2rem;
  color: var(--color-light);
  margin-bottom: 4rem;
  opacity: 0.95;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}


/* #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 */

/* Responsive Design */
@media (max-width: 768px) {

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }


  .hero-title {
   font-size: 3rem;
   margin-top: 60px;
  }

  .hero-h3 {
  font-size: 1.8rem;
  }

  .hero-subtitle {
  font-size: 1.1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    min-height: 110vh;
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .problem-card,
  .gallery-overlay {
    padding: 2rem;
  }


  .cta-title {
    font-size: 2.3rem;
  }

  /* #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 (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  /* #region one Section */
  .nav-container {
    padding: 0 1rem;
  }

  .hero-section {
    min-height: 130vh;
  }

.hero-title {
  font-size: 2.5rem;}

  .hero-h3 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
  font-size: 1.3rem;
}

.hero-description {
font-size: 1rem;
}

  /* #endregion */

  .section-title {
  font-size: 2rem ;
  }

  /* #region Footer Section */
  .footer-column h3 {
    font-size: 1.1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* #endregion */


  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    margin: 0 -10px;
  }
}

/* Performance optimizations */
.gallery-item img,
.problem-card,
.btn {
  will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
.btn:focus-visible {
  /* Updated focus outline to use user's blue */
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}