:root {
  /* Main Brand Colors */
  --primary-blue: #01acd3;
  /* اللون الأزرق من اللوقو */
  --secondary-sage: #7a8f78;
  /* اللون الأخضر المائل للرمادي من اللوقو */
  --accent-teal: #3b9b9f;
  /* اللون المتوسط من اللوقو */
  --accent-brown: #b17f5c;
  /* اللون البني من اللوقو */

  /* Text Colors */
  --text-primary: #303030;
  --text-secondary: #4a5568;
  --text-light: #f8fafc;
  --text-muted: #64748b;

  /* Background Colors */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);

  /* Gradient Combinations */
  --gradient-primary: linear-gradient(
    135deg,
    #01acd3,
    #3b9b9f,
    #7a8f78,
    #b17f5c
  );
  --gradient-secondary: linear-gradient(
    135deg,
    #b17f5c,
    #7a8f78,
    #3b9b9f,
    #01acd3
  );
  --gradient-hover: linear-gradient(135deg, #3b9b9f, #01acd3, #7a8f78);
  --gradient-card: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );

  /* Dark Mode Colors */
  --dark-bg-primary: #1a1a1a;
  --dark-bg-secondary: #2d2d2d;
  --dark-bg-tertiary: #333333;
  --dark-card: rgba(255, 255, 255, 0.1);

  /* Border Colors */
  --border-light: rgba(255, 255, 255, 0.8);
  --border-medium: rgba(1, 172, 211, 0.2);
  --border-dark: rgba(0, 0, 0, 0.1);

  /* Shadow Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(1, 172, 211, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Glassmorphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(1, 172, 211, 0.1);
  --blur-effect: blur(10px);

  /* Spacing System */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transition Speeds */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;

  /* Z-index Layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Animation Properties */
  --animation-slow: 15s;
  --animation-normal: 10s;
  --animation-fast: 5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background: #f8fafc;
  color: var(--color-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/*
  الناف 

  */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(1, 172, 211, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(1, 172, 211, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.curveDownColor {
  position: relative;
  z-index: 1;
}

.logoINnav {
  width: 180px;
  height: 45px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;

  background-size: 300% 300%;
  animation: gradientAnimation 15s ease infinite;
  padding: 2px;
}

.logo-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  transition: all 0.3s ease;
}

.logoINnav img {
  width: 980px;
  height: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 8px;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: #01acd3;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.8rem 1.2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(1, 172, 211, 0.1);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  right: 1.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(
    135deg,
    #01acd3,
    #7a8f78,
    #3b9b9f,
    #01acd3,
    #b17f5c
  );
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  transform: translate(-50%, -50%) scale(1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 2.4rem);
}

.nav-links a i {
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  transition: transform 0.3s ease;
}

.nav-links a:hover i {
  transform: translateY(-3px);
}

.nav-links a:hover {
  color: #303030;
  transform: translateY(-2px);
}

.nav-links a.active {
  color: #01acd3;
  background: rgba(1, 172, 211, 0.1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #01acd3;
  font-size: 1.3rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 0.6rem 1rem;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logoINnav {
    width: 140px;
    height: 35px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.show {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    height: 100%;
    padding: 2rem;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 100%;
    justify-content: center;
    background: rgba(1, 172, 211, 0.05);
    border-radius: 15px;
  }

  .nav-links a::after {
    bottom: 0.8rem;
    right: 2rem;
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: calc(100% - 4rem);
  }
}

/* نهاية الناف */

.hero-section {
  min-height: 100vh;
  position: relative;
  padding: 6rem 2rem;
  background: radial-gradient(circle at top right, #f0f9ff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-container {
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
  line-height: 1.1;
  position: relative;
}

.gradient-text {
  padding-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(232, 125, 52, 0.2));
  animation: titleFloat 3s ease-in-out infinite;
}

.subtitle-wrapper {
  margin-top: 1rem;
}

.subtitle {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  color: var(--color-dark);
  opacity: 0.9;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--color-dark);
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

.cta-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 25px rgba(232, 125, 52, 0.3);
}

.cta-button.primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(232, 125, 52, 0.4);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(232, 125, 52, 0.15);
}

.tech-sphere {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.logo-container {
  position: relative;
  width: 350px;
  height: 350px;
  transform-style: preserve-3d;
  animation: rotate3D 20s linear infinite;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  animation: logoPulse 4s infinite ease-in-out;
  filter: drop-shadow(0 0 30px rgba(232, 125, 52, 0.3));
  border-radius: 50%;
  background: white;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(232, 125, 52, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
}

.logo-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 20px;
  background: rgba(232, 125, 52, 0.15);
  filter: blur(15px);
  border-radius: 50%;
  animation: shadowPulse 4s infinite ease-in-out;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.float-item {
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(232, 125, 52, 0.2),
    inset 0 2px 10px rgba(255, 255, 255, 0.5);
  font-size: 1.8rem;
  color: var(--color-accent);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.float-item:hover {
  transform: scale(1.1) translateZ(20px);
  box-shadow: 0 20px 40px rgba(232, 125, 52, 0.3);
}

.float-item.ai {
  top: 15%;
  left: 5%;
  animation: float 4s infinite ease-in-out;
  color: var(--color-turquoise);
}

.float-item.data {
  top: 75%;
  left: 15%;
  animation: float 4s infinite ease-in-out 1s;
  color: var(--color-lime);
}

.float-item.innovation {
  top: 25%;
  right: 10%;
  animation: float 4s infinite ease-in-out 2s;
  color: var(--color-secondary);
}

.float-item.tech {
  top: 65%;
  right: 5%;
  animation: float 4s infinite ease-in-out 3s;
  color: var(--color-accent);
}

@keyframes rotate3D {
  from {
    transform: rotateY(0deg) rotateX(10deg);
  }

  to {
    transform: rotateY(360deg) rotateX(10deg);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.2;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-25px) translateZ(20px);
  }
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(232, 125, 52, 0.1) 0%,
    rgba(232, 125, 52, 0) 70%
  );
  border-radius: 50%;
  animation: orbFloat 8s infinite ease-in-out;
}

.pattern-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(232, 125, 52, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(232, 125, 52, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 30px);
  }
}

@media screen and (max-width: 1200px) {
  .hero-content {
    gap: 4rem;
  }

  .logo-container {
    width: 300px;
    height: 300px;
  }

  .float-item {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-description {
    margin: 0 auto 3rem;
  }

  .cta-container {
    justify-content: center;
  }

  .tech-sphere {
    height: 500px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 4rem 1.5rem;
  }

  .logo-container {
    width: 250px;
    height: 250px;
  }

  .float-item {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    padding: 3rem 1rem;
  }

  .cta-container {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .logo-container {
    width: 200px;
    height: 200px;
  }

  .float-item {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-description {
    margin: 0 auto 3rem;
  }

  .cta-container {
    justify-content: center;
  }

  /* إخفاء القسم بالكامل */
  .hero-visual {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .hero-visual {
    display: none;
  }
}
.divider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: visible;
  margin-top: 73px;
  text-align: center; /* Centers inline and inline-block elements */
}

/* For block elements, add margin auto */
.divider-container > * {
  margin-left: auto;
  margin-right: auto;
}

.gradient-banner {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  background-size: 300% 300%;
  animation: gradientAnimation 15s ease infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Counter Styles */
.title-container {
  padding-top: 3rem;
}
.counter-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  z-index: 2;
}

.counter {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  min-width: 200px;
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.counter:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.icons {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.counter:hover .icons {
  transform: scale(1.1) rotate(5deg);
}

.count {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.counter p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.services-container {
  padding: 2rem;
  position: relative;
  z-index: 1;
  margin-top: -100px;
  background: linear-gradient(to bottom, transparent, rgba(240, 240, 240, 0.9));
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  width: 320px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: shadowPulse 3s infinite;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards, shadowPulse 3s infinite;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(1, 172, 211, 0.1) 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientAnimation 15s ease infinite;
  color: white;
  font-size: 2.2rem;
  box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
  transition: all 0.3s ease;
  transform: translateZ(20px);
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateZ(30px);
  box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientAnimation 15s ease infinite;
}

.service-description {
  color: var(--color-dark);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 500;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  backdrop-filter: blur(2px);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  animation: float 3s infinite ease-in-out;
}

.title-container {
  text-align: center;
}

.workshop-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
}

.workshop-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.curveUpColor,
.curveDownColor {
  fill: #f8f9fa;
  stroke: #f8f9fa;
  position: absolute;
  left: 0;
  z-index: 1; /* أقل من navbar */
}

.curveUpColor {
  margin-top: -98px;
}

.curveMapUp {
  margin-top: 52px;
}

.curveMapDown {
  margin-top: -238px;
}

.curveGrey {
  fill: #ecf0f1;
  stroke: #ecf0f1;
}

@media (max-width: 768px) {
  .workshop-title {
    font-size: 2.5rem;
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .workshop-title {
    font-size: 2rem;
    padding: var(--spacing-xs) var(--spacing-md);
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes shadowPulse {
  0% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  100% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter:nth-child(1) {
  animation-delay: 0.1s;
}

.counter:nth-child(2) {
  animation-delay: 0.2s;
}

.counter:nth-child(3) {
  animation-delay: 0.3s;
}

.counter:nth-child(4) {
  animation-delay: 0.4s;
}

.counter:nth-child(5) {
  animation-delay: 0.5s;
}

.service-card:nth-child(1) {
  animation-delay: 0.4s;
}

.service-card:nth-child(2) {
  animation-delay: 0.6s;
}

.service-card:nth-child(3) {
  animation-delay: 0.8s;
}

/* Existing styles remain the same until the media queries */

/* Media Queries for Responsiveness */
@media screen and (max-width: 1200px) {
  .counter-wrapper {
    padding: 1rem;
    gap: 1.5rem;
  }

  .services-wrapper {
    padding: 1rem;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  .counter {
    min-width: 180px;
    padding: 1.5rem;
  }

  .service-card {
    width: 280px;
  }

  .count {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .divider-container {
    height: auto;
    padding-bottom: 50px;
  }

  .counter-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .counter {
    min-width: unset;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .service-card {
    width: 100%;
    max-width: 320px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .counter {
    padding: 1rem;
  }

  .count {
    font-size: 1.8rem;
  }

  .counter p {
    font-size: 1rem;
  }

  .icons {
    width: 30px;
    height: 30px;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

/* Add viewport meta tag if not already present */

/* css تبع ال about us */
#about {
  padding-bottom: 5rem;
}
.about-section {
  padding: 6rem 2rem;
  /* background: linear-gradient(to bottom, #fff, #f8f9fa); */
  background-image: url(../Assets/dark.png);
  filter: brightness(90%);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 50rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(1, 172, 211, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* gap: 4rem; */
  align-items: center;
  position: relative;
}

.logo-side {
  height: 100%;
  position: relative;
}

.logo-About {
  /* border-radius: 20px; */
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05),
    -20px -20px 60px rgba(255, 255, 255, 0.8); */
  transition: all 0.3s ease;
}

.logo-image {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: all 0.3s ease;
  z-index: 2;
  border-radius: 100%;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05),
    -20px -20px 60px rgba(255, 255, 255, 0.8);
}

.logo-container:hover {
  transform: translateY(-10px);
  box-shadow: 25px 25px 75px rgba(0, 0, 0, 0.08),
    -25px -25px 75px rgba(255, 255, 255, 0.9);
}

.logo-container:hover .logo-image {
  transform: scale(1.05);
}

/* Update media queries */
@media screen and (max-width: 992px) {
  .logo-container {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .logo-container {
    height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .logo-container {
    height: 250px;
  }
}

.floating-dots span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-turquoise);
  opacity: 0.2;
  animation: float 3s infinite ease-in-out;
}

.floating-dots span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-dots span:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 0.5s;
}

.floating-dots span:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 1s;
}

.corner-shape {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 20px;
  opacity: 0.1;
  transform: rotate(45deg);
}

.title-pill {
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 20px rgba(1, 172, 211, 0.2);
  transition: all 0.3s ease;
}

.title-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(1, 172, 211, 0.3);
}

.title-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  animation: revealText 0.8s ease forwards;
}

.main-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.8;
  font-weight: 500;
  animation-delay: 0.3s;
}

.highlight-text {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 800;
  animation-delay: 0.6s;
  position: relative;
  padding-right: 1rem;
}

.highlight-text::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

.features-strip {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-item i {
  color: var(--color-turquoise);
  font-size: 1.2rem;
}

.feature-item span {
  color: var(--color-dark);
  font-weight: 600;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .about-grid {
    gap: 3rem;
  }

  .main-text,
  .highlight-text {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .video-container {
    height: 400px;
  }

  .features-strip {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .about-section {
    padding: 4rem 1rem;
  }

  .title-pill {
    font-size: 1.2rem;
    padding: 0.6rem 1.8rem;
  }

  .main-text,
  .highlight-text {
    font-size: 1.1rem;
  }

  .video-container {
    height: 300px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .about-section {
    padding: 3rem 1rem;
  }

  .main-text,
  .highlight-text {
    font-size: 1rem;
  }

  .video-container {
    height: 250px;
  }

  .features-strip {
    flex-direction: column;
  }

  .feature-item {
    width: 100%;
  }
}
/* end of about us */

/* Coming Soon Section 
.coming-soon {
  text-align: center;
  margin: 4rem auto;
  padding: 2rem;
}

.coming-soon-title {
  color: var(--accent-brown);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.coming-soon-card {
  background: white;
  border-radius: 15px;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.coming-soon-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.coming-soon-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.coming-soon-badge {
  display: inline-block;
  padding: 0.5rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(1, 172, 211, 0.4);
  }
  70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(1, 172, 211, 0);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(1, 172, 211, 0);
  }
}

*/
:root {
  --color-primary: #01acd3;
  --color-secondary: #01acd3;
  --color-accent: #3b9b9f;
  --color-gradient: linear-gradient(135deg, #b17f5c, #01acd3);
}

.footer {
  width: 100%;
  position: relative;
  background: #0f172a;
  color: white;
  overflow: hidden;
}

.footer-particles {
  position: absolute;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: float 6s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

.footer-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 3px;
  background: var(--color-gradient);
  border-radius: 2px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient);
  border-radius: 12px;
  font-size: 1.2rem;
  color: white;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: rotateY(180deg);
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* إضافة هذه الأجزاء لتوسيط الأيقونات */
.social-link:nth-child(1) {
  grid-column: 2 / 3;
}

.social-link:nth-child(2) {
  grid-column: 3 / 4;
}

/* باقي تنسيقات social-link كما هي */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* باقي الكود يبقى كما هو */

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-container {
    padding: 2rem 1.5rem;
  }

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

  /* الحفاظ على توسيط الأيقونات في الشاشات الصغيرة */
  .social-link:nth-child(1) {
    grid-column: 2 / 3;
  }

  .social-link:nth-child(2) {
    grid-column: 3 / 4;
  }
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(100%);
}

.social-link:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.social-link i {
  position: relative;
  z-index: 1;
}

.social-link:hover {
  transform: translateY(-3px);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.quick-link {
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.quick-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
}

.quick-link a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  font-size: 0.9rem;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-container {
    padding: 2rem 1.5rem;
  }

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

:root {
  --primary-color: #01acd3;
  --secondary-color: #7a8f78;
  --accent-color: #3b9b9f;
  --text-primary: #b17f5c;
  --text-secondary: #191919;
}

.container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
  margin: 0 auto;
}

.card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tag {
  background: rgba(82, 204, 255, 0.1);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  border: 1px solid rgba(82, 204, 255, 0.2);
  backdrop-filter: blur(5px);
  width: fit-content;
}

.title-ar {
  color: var(--text-primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.title-en {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

.description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.register-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(82, 204, 255, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--modal-bg);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  overflow-y: auto;
}

.modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin: auto;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.detail-item {
  background: rgba(82, 204, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(82, 204, 255, 0.2);
}

.detail-label {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.detail-value {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.course-schedule {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(149, 204, 111, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(149, 204, 111, 0.2);
}

.schedule-title {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.schedule-list {
  list-style: none;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(149, 204, 111, 0.2);
  color: var(--text-secondary);
}

.schedule-item:last-child {
  border-bottom: none;
}

.instructor-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 145, 82, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 145, 82, 0.2);
}

.instructor-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-details h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.instructor-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.image-bg img {
  height: 100%;
  width: 100%;
}

/* Responsive Design */
@media (min-width: 1201px) {
  .container {
    padding: 3rem;
    gap: 2rem;
    justify-content: center;
  }

  .card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 300px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 2rem;
    gap: 2rem;
  }

  .card {
    flex: 0 1 calc(50% - 2rem);
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .card {
    flex: 0 1 100%;
    max-width: 500px;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .modal-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .instructor-info {
    flex-direction: column;
    text-align: center;
  }

  .instructor-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 1rem;
    gap: 1.2rem;
  }

  .card {
    padding: 1.5rem;
  }

  .title-ar {
    font-size: 1.4rem;
  }

  .title-en {
    font-size: 1rem;
  }

  .description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
  }

  .register-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .modal-content {
    width: 92%;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .schedule-item {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0.8rem;
    gap: 1rem;
  }

  .card {
    padding: 1.2rem;
  }

  .title-ar {
    font-size: 1.3rem;
  }

  .title-en {
    font-size: 0.9rem;
  }

  .description {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .register-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none !important;
}

:root {
  --primary-color: #01acd3;
  --secondary-color: #7a8f78;
  --accent-color: #3b9b9f;
  --text-primary: #b17f5c;
  --text-secondary: #191919;
  --card-bg: rgba(255, 255, 255, 0.9);
  --bg-color: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.95);
  --border-radius: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-color: rgba(59, 155, 159, 0.2);
}

@keyframes cardGradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes cardShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes cardSparkle {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--destX), var(--destY)) scale(0) rotate(var(--rot));
    opacity: 0;
  }
}

.ai-camp-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.ai-camp-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px var(--shadow-color);
  overflow: hidden;
  position: relative;
  display: flex;
  transition: var(--transition);
  min-height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-camp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 60px -15px var(--shadow-color);
}

.ai-camp-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.ai-camp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ai-camp-card:hover .ai-camp-media img {
  transform: scale(1.05);
}

.ai-camp-decorations {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ai-camp-decoration-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.ai-camp-content {
  flex: 1.2;
  padding: 3rem;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.8)
  );
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.ai-camp-heading {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-right: 2rem;
}

.ai-camp-heading::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

.ai-camp-intro {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  position: relative;
  padding-right: 1.5rem;
  border-right: 3px solid transparent;
  transition: all 0.3s ease;
}

.ai-camp-intro:hover {
  border-right-color: var(--primary-color);
  transform: translateX(-5px);
}

.ai-camp-topics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding-right: 0.5rem;
}

.ai-camp-topic {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 155, 159, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.ai-camp-topic.show {
  opacity: 1;
  transform: translateY(0);
}

.ai-camp-topic:hover {
  transform: translateY(-5px) translateX(-5px);
  box-shadow: 5px 5px 20px rgba(59, 155, 159, 0.15);
}

.ai-camp-topic-heading {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.ai-camp-topic-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.ai-camp-cta {
  margin-top: auto;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.ai-camp-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(59, 155, 159, 0.2);
}

.ai-camp-cta span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.3s ease;
}

.ai-camp-cta:hover span {
  transform: scale(1.1);
}

.ai-camp-cta a {
  color: white;
  text-decoration: none;
}

.ai-camp-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle 0.6s ease-out forwards;
}

@media (max-width: 1200px) {
  .ai-camp-card {
    flex-direction: column;
    height: auto;
  }

  .ai-camp-media {
    height: 300px;
  }

  .ai-camp-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .ai-camp-wrapper {
    padding: 1rem;
  }

  .ai-camp-media {
    height: 250px;
  }

  .ai-camp-heading {
    font-size: 1.8rem;
  }

  .ai-camp-intro {
    font-size: 1rem;
  }

  .ai-camp-topic-heading {
    font-size: 1rem;
  }

  .ai-camp-topic-text {
    font-size: 0.9rem;
  }

  .ai-camp-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

/* اذا عندنا اكثر من ورشة استخدمو دا 

.title-container {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.workshop-title {
  color: var(--text-primary);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.workshop-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 50%;
  height: 4px;
  background: linear-gradient(
    to left,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 4px;
  transform: scaleX(0);
  animation: expandWidth 0.8s ease forwards 0.6s;
  box-shadow: 0 2px 4px rgba(1, 172, 211, 0.2);
}

@keyframes expandWidth {
  to {
    transform: scaleX(1);
  }
}

.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.slider-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem;
}

.card {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 300px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color),
    inset 0 0 0 1px var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpCard 0.6s ease forwards;
}

.hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUpCard {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card:nth-child(1) {
  animation-delay: 0.2s;
}
.card:nth-child(2) {
  animation-delay: 0.4s;
}
.card:nth-child(3) {
  animation-delay: 0.6s;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
    inset 0 0 0 2px var(--primary-color);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    to left,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.card:hover::before {
  transform: scaleX(1);
}

.tag {
  background: rgba(1, 172, 211, 0.1);
  color: var(--primary-color);
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(1, 172, 211, 0.2);
  backdrop-filter: blur(5px);
  width: fit-content;
  transition: all 0.3s ease;
}

.card:hover .tag {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 172, 211, 0.3);
}

.title-ar {
  color: var(--text-primary);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.card:hover .title-ar {
  color: var(--primary-color);
}

.title-en {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

.description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.register-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(1, 172, 211, 0.2);
}

.register-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.register-btn:hover::before {
  opacity: 1;
}

.register-btn span {
  position: relative;
  z-index: 1;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 172, 211, 0.3);
}


*/

/* اذا عندنا اكثر من ورشة استخدمو دا 

.more-workshops-btn {
  margin-top: 2rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  color: var(--text-primary);
  background: transparent; 
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  min-width: 220px;
  box-shadow: none; 
}

.more-workshops-btn:hover {
  transform: translateY(-2px);
  color: var(--primary-color);
  background: transparent; 
  box-shadow: none;
}

.arrow {
  width: 24px;
  height: 24px;
  position: relative;
  animation: bounceDown 2s infinite;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.arrow::before {
  right: 50%;
  transform: rotate(45deg);
  transform-origin: right bottom;
}

.arrow::after {
  left: 50%;
  transform: rotate(-45deg);
  transform-origin: left bottom;
}

@keyframes bounceDown {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(3px);
  }
}

@media (max-width: 1200px) {
  .card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .card {
    flex: 0 0 100%;
  }

  .workshop-title {
    font-size: 2rem;
  }

  .more-workshops-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}
*/


 

        @keyframes bgAnimation {
            0% { background-position: 0% 0%; }
            100% { background-position: 100% 100%; }
        }

        .page-container {
            max-width: var(--container-2xl);
            margin: 0 auto;
            padding: var(--spacing-xl);
            position: relative;
        }

        .header-bootcamp {
            text-align: center;
            margin-bottom: var(--spacing-2xl);
            position: relative;
        }

        .main-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 900;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: var(--spacing-lg);
            position: relative;
            display: inline-block;
        }

        .main-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: var(--radius-full);
        }
        

        .tracks-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
            gap: var(--spacing-xl);
            margin: var(--spacing-xl) 0;
        }

        .track-card {
            background: var(--glass-bg);
            backdrop-filter: var(--blur-effect);
            border-radius: var(--radius-xl);
            padding: var(--spacing-xl);
            transition: var(--transition-normal);
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .track-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
        }

        .track-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--glass-shadow);
            background: var(--gradient-card);
        }
   .age-badges {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    z-index: var(--z-tooltip);
}

.age-badge {
    position: static; /* تغيير من absolute إلى static */
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.track-card:hover .age-badge {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

        .track-card:hover .age-badge {
            transform: scale(1.05);
            box-shadow: var(--shadow-lg);
        }

        .track-title {
            font-size: clamp(1.5rem, 3vw, 1.8rem);
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: var(--spacing-lg);
        }

        .track-description {
            color: var(--text-secondary);
            font-size: 1.1rem;
            margin-bottom: var(--spacing-xl);
        }

        .features-list {
            list-style: none;
            margin: var(--spacing-lg) 0;
        }

        .features-list li {
            color: var(--text-secondary);
            margin-bottom: var(--spacing-md);
            padding-right: var(--spacing-lg);
            position: relative;
            font-size: 1.1rem;
        }

        .features-list li::before {
            content: '•';
            color: var(--primary-blue);
            position: absolute;
            right: 0;
            font-weight: bold;
        }

        .track-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: var(--spacing-xl);
            padding-top: var(--spacing-xl);
            border-top: 1px solid var(--border-medium);
        }

        .track-date {
            color: var(--text-muted);
            font-size: 1.1rem;
        }

        .track-price {
            font-size: 1.8rem;
            font-weight: 900;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .location-section {
            background: var(--gradient-primary);
            border-radius: var(--radius-xl);
            padding: var(--spacing-xl);
            text-align: center;
            color: var(--text-light);
            margin: var(--spacing-2xl) 0;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

  

        .location-title {
            font-size: clamp(1.5rem, 3vw, 1.8rem);
            margin-bottom: var(--spacing-md);
            position: relative;
            z-index: var(--z-normal);
        }

        .location-text {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            opacity: 0.9;
            position: relative;
            z-index: var(--z-normal);
        }

        .register-button {
            display: inline-block;
            background: var(--bg-secondary);
            color: var(--primary-blue);
            padding: var(--spacing-lg) var(--spacing-2xl);
            border-radius: var(--radius-full);
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            font-weight: 700;
            text-decoration: none;
            margin-top: var(--spacing-xl);
            transition: var(--transition-normal);
            box-shadow: var(--shadow-md);
            position: relative;
            z-index: var(--z-normal);
            overflow: hidden;
        }

        .register-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-hover);
            opacity: 0;
            transition: var(--transition-normal);
            z-index: -1;
        }

        .register-button:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            color: var(--text-light);
        }

        .register-button:hover::before {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .page-container {
                padding: var(--spacing-md);
            }

            .tracks-container {
                gap: var(--spacing-lg);
            }

            .track-card {
                padding: var(--spacing-lg);
            }

            .track-footer {
                flex-direction: column;
                gap: var(--spacing-md);
                text-align: center;
            }

            .location-section {
                padding: var(--spacing-xl);
            }

            .register-button {
                padding: var(--spacing-md) var(--spacing-xl);
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .main-title {
                font-size: 2rem;
            }

            .track-card {
                padding: var(--spacing-md);
            }

            .age-badge {
                font-size: 0.8rem;
                padding: var(--spacing-xs) var(--spacing-md);
            }

            .track-title {
                font-size: 1.3rem;
            }

            .track-description,
            .features-list li {
                font-size: 1rem;
            }

            .track-price {
                font-size: 1.5rem;
            }
        }

        @media (min-width: 1200px) {
            .tracks-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .background-effect,
            .location-section::before,
            .track-card,
            .register-button,
            .age-badge {
                animation: none;
                transition: none;
            }
        }
    .track-card {
        
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.6s ease;
    }

    .track-card.show {
        opacity: 1;
        transform: translateY(0);
    }

    .track-card:nth-child(1).show {
        transition-delay: 0.2s;
    }

    .track-card:nth-child(2).show {
        transition-delay: 0.4s;
    }

    .track-card:nth-child(3).show {
        transition-delay: 0.6s;
    }