* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(-45deg, #0f172a, #111827, #1e293b, #0b1220);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}



/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
  background: #0f172a;
  color: white;
  z-index: 1000;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(15,23,42,.8), rgba(15,23,42,.8)),
  url('https://images.unsplash.com/photo-1521791136064-7986c2920216') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: white;
  
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  margin-top: 20px;
  margin-bottom: 35px;
  font-size: 18px;
  color: #ddd;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}


.btn-primary {
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  transition: .4s;
  box-shadow: 0 5px 20px rgba(212,175,55,.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212,175,55,.6);
}

.btn-outline {
  border: 2px solid white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: .4s;
  margin-left: 15px;
}

.btn-outline:hover {
  background: white;
  color: #0f172a;
}

.services {
  padding: 100px 10%;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 50px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  transition: .4s;
}

.card:hover {
  transform: translateY(-10px);
}

.stats {
  display: flex;
  justify-content: space-around;
  padding: 80px 10%;
  background: #0f172a;
  color: white;
  text-align: center;
}

.about {
  padding: 100px 15%;
  text-align: center;
}

.cta {
  background: #0f172a;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 800px;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.cta p {
  margin-bottom: 35px;
  line-height: 1.8;
  color: #ccc;
}

.cta .btn-primary {
  display: inline-block;
}


.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
}
.service-card {
  background: rgba(3, 6, 36, 0.771);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: .4s;
  text-align: left;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 5px;
}

.service-card p {
  padding: 0 20px 25px;
  color: #fef9f9;
}

.service-card:hover {
  transform: translateY(-8px);
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  cursor: pointer;
}

.logo-main {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ccc;
  margin-top: 4px;
}
.logo:hover .logo-main {
  transform: scale(1.05);
  transition: .3s;
}
.navbar nav a {
  position: relative;
  color: white;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
}

/* خط ذهبي تحت اللينك */
.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: .4s ease;
}

/* Hover effect */
.navbar nav a:hover {
  color: #d4af37;
  transform: translateY(-3px);
}

.navbar nav a:hover::after {
  width: 100%;
}
.navbar nav a {
  position: relative;
  color: white;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
}

/* خط ذهبي تحت اللينك */
.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: .4s ease;
}

/* Hover effect */
.navbar nav a:hover {
  color: #d4af37;
  transform: translateY(-3px);
}

.navbar nav a:hover::after {
  width: 100%;
}
.navbar nav a:hover {
  color: #d4af37;
  text-shadow: 0 0 8px rgba(212,175,55,.6);
}
.footer {
  background: #0b1220;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin: 0 15px;
  transition: .3s;
}

.social-icons a:hover {
  color: #d4af37;
  transform: translateY(-5px);
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: moveLight 12s infinite alternate;
  z-index: -1;
}

@keyframes moveLight {
  from { transform: translate(0,0); }
  to { transform: translate(800px,400px); }
}
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 15px 5%;
  }

  .navbar nav {
    display: none; /* هنخفي المنيو مؤقتاً */
  }

  /* Hero */
  .hero h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .hero p {
    font-size: 16px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-outline {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  /* Services */
  .services {
    padding: 60px 5%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats {
    flex-direction: column;
    gap: 30px;
  }

  /* About */
  .about {
    padding: 60px 5%;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta {
    padding: 60px 20px;
  }

  .cta h2 {
    font-size: 22px;
  }

}
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

.footer {
  background: #061a2b;
  color: #cbd5e1;
  padding: 60px 20px 20px;
  position: relative;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col a:hover {
  color: #f97316;
}

.brand h2 {
  color: #fff;
}

.brand p {
  margin: 15px 0;
}

.socials span {
  display: inline-block;
  margin-left: 10px;
  background: #0f2a44;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
    .footer {
  background: radial-gradient(circle at top, #0b2a47, #020617);
}
.footer-col li:hover {
  transform: translateX(-5px);
  transition: 0.3s;
}
.navbar {
  direction: ltr;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#typing {
  font-size: 48px;
  color: #fff;
  font-weight: bold;
  border-right: 3px solid #fff;
  white-space: nowrap;
  overflow: hidden;
}
body {
  direction: ltr;
}
.socials {
  margin-top: 15px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  background: #0f2a44;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
  text-decoration: none;
}

.socials a:hover {
  background: #d4af37;
  color: #0f172a;
  transform: translateY(-5px);
}
.hero h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testimonial-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.testimonial {
  background: #0b172a; /* نفس لون الخلفية الأساسي */
  color: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  transition: transform 0.5s, opacity 0.5s;
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-top: 15px;
  margin-bottom: 10px;
  object-fit: cover;
}

.testimonial h4 {
  margin-top: 10px;
  color: #f5d76e; /* الأسماء باللون الأصفر */
  font-weight: bold;
}
.testimonial-slider h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}
.location {
  padding: 100px 20px;
  text-align: center;
  background:linear-gradient(-45deg, #0f172a, #111827, #1e293b, #0b1220);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

.testimonial {
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial:hover {
  transform: scale(1.05); /* تكبير خفيف */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* ظل أقوى */
  color: #f5d76e; /* تغيير لون النص إلى الأصفر */
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #0f172a;
  color: white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  display: block;
  height: 3px;
  width: 25px;
  margin: 5px auto;
  transition: 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #0f172a;
  color: white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  display: block;
  height: 3px;
  width: 25px;
  margin: 5px auto;
  transition: 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* نعرض زر القائمة لما الشاشة تصغر */
  }

  .nav-links {
    display: none; /* نخفي الروابط الأساسية في البداية */
    flex-direction: column;
    width: 100%;
    background: #0f172a;
    position: absolute;
    top: 70px; /* تحت شريط النافبار */
    left: 0;
  }

  .nav-links.active {
    display: flex; /* لما نضغط الزرار تظهر القائمة */
  }

  .menu-toggle span:nth-child(2) {
    opacity: 0; /* نخفي الخط الأوسط عشان يبقى شكله مثل X */
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px); /* أول خط يتحول لزاوية */
  }

}
@media (max-width: 768px) {
    nav {
        display: block;  /* أو أي تنسيق يناسبك */
    }

   
    .menu-toggle {
        display: block; /* أو تظهر زرار القائمة */
    }
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  display: block;
  height: 3px;
  width: 25px;
  margin: 5px auto;
  transition: 0.3s;
}

.nav-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* يظهر الزرار في الشاشات الصغيرة */
  }

  .nav-links {
     /* نخفي القائمة في البداية */
    flex-direction: column;
    width: 100%;
    background: #0f172a;
    position: absolute;
    top: 70px;
    left: 0;
  }

  .nav-links.active {
    display: flex; /* لما الزرار يتضغط تظهر القائمة */
  }
}