/* Basic Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter', sans-serif; line-height:1.6; color:#fff; background:#0f0f1a; scroll-behavior:smooth; }
a { text-decoration:none; color:inherit; }
.section { padding:80px 20px; }
h2.section-title { text-align:center; font-size:2.5rem; margin-bottom:40px; color:#fff; }

/* Hero */
.hero { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:100vh;
       background: linear-gradient(135deg, #0c0533, #5c54c0); text-align:center; padding:0 20px; }
.navbar {
  position: fixed;      /* يجعلها ثابتة أعلى الشاشة */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(35, 35, 68, 0.85); /* شبه شفاف */
  backdrop-filter: blur(10px);        /* تأثير طمس خلفية */
  z-index: 1000;                       /* ليكون فوق كل العناصر */
  transition: background 0.3s ease;
}.nav-links { display:flex; gap:20px; list-style:none; }
.nav-links a {
  color: #fff;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #ffd700;
}.btn { padding:12px 24px; border-radius:8px; font-weight:600; cursor:pointer; transition:0.3s; border:none; }
.btn.cta { background:#ffd700; color:#0f0f1a; margin-left: 15px; }
.btn.cta:hover { transform:scale(1.05); }

.hero-content h1 { font-size:3rem; margin-bottom:20px; }
.hero-content p { font-size:1.2rem; margin-bottom:30px; }
.hero-btn { background:#fff; color:#0f0f1a; }
.hero-btn:hover { transform:scale(1.05); }

/* Features */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; max-width:1200px; margin:0 auto; }
.feature-card { background:rgba(255,255,255,0.1); padding:30px; border-radius:12px; text-align:center; transition:0.3s; }
.feature-card:hover { transform:scale(1.05); box-shadow:0 10px 30px rgba(0,0,0,0.4); }
.feature-card .icon { width:50px; height:50px; margin-bottom:20px; fill:#ffd700; }

/* About */
.about-content { display:flex; flex-wrap:wrap; gap:40px; max-width:1200px; margin:0 auto; align-items:center; justify-content:center; }
.about-content img { width:400px; border-radius:16px; }
.about-content div { max-width:600px; }

/* Testimonials */
.testimonial-cards { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; max-width:1200px; margin:0 auto; }
.testimonial-card { background:rgba(255,255,255,0.1); padding:30px; border-radius:12px; max-width:300px; text-align:center; transition:0.3s; }
.testimonial-card:hover { transform:scale(1.05); box-shadow:0 10px 30px rgba(0,0,0,0.4); }

/* Contact */
.contact-form { display:flex; flex-direction:column; gap:15px; max-width:600px; margin:0 auto; }
.contact-form input, .contact-form textarea { padding:12px; border-radius:8px; border:none; }
.contact-form button { width:fit-content; align-self:center; }

/* Footer */
.footer { text-align:center; padding:20px; background:#111; margin-top:40px; color:#aaa; }

/* Animations */
.fade-up { opacity:0; transform:translateY(30px); transition:0.8s ease-out; }
.fade-up.delay-1 { transition-delay:0.2s; }
.fade-up.delay-2 { transition-delay:0.4s; }
.fade-up.delay-3 { transition-delay:0.6s; }
.visible { opacity:1; transform:translateY(0); }

/* Responsive */
@media(max-width:768px){
  .hero-content h1 { font-size:2.2rem; }
  .about-content { flex-direction:column; }
  .about-content img { width:100%; }
}
/* Navbar responsive adjustments */
.nav-links {
  gap: 20px;
}

/* Hamburger menu button */
.hamburger {
  display: none; /* يظهر فقط على شاشات صغيرة */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media(max-width:768px){
  .hero-content h1 { font-size:2.2rem; }
  .about-content { flex-direction:column; }
  .about-content img { width:100%; }

  /* Navbar */
.nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: rgba(35,35,68,0.95);
    width: 200px;
    height: calc(100vh - 70px);
    padding: 20px;
    gap: 20px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
.nav-links.show {
    right: 0;
  }
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  .btn.cta {
    margin-left: 0; top: 10px;
  }
  .btn.cta:hover { transform: translateX(-50%) scale(1.05); }

  .nav-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px; /* أو حسب ارتفاع الشريط */
    margin-left: 0;
  }
}
.nav-cta {
  margin-left: 20px;
}
