@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Almarai", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.8;
  overflow-x: hidden;
}

:root {
  --red: #e63946;
  --light-red: #ff8c92;
  --white: #ffffff;
}

/* 🔹 Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
  z-index: 1000;
  border-bottom: 2px solid #ffe5e5;
  backdrop-filter: blur(10px);
  border-radius: 0 0 25px 25px;
}

.logo {
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
}

/* 🔹 روابط القائمة */
.navbar nav {
  display: flex;
  gap: 15px;
}

.navbar a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  padding: 6px 12px;
  border-radius: 20px;
}

.navbar a:hover {
  background: #ffe6e6;
  color: var(--red);
}

/* 🔹 زر الثلاث شرطات */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--red);
  user-select: none;
  transition: 0.3s;
}

/* ✅ إعداد الموبايل */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 60px;
    right: 8%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    width: 80%;
    text-align: center;
    animation: fadeInMenu 0.3s ease;
  }

  .navbar nav.show {
    display: flex;
  }

  .navbar a {
    padding: 12px;
    font-size: 16px;
    border-bottom: 1px solid #f3f3f3;
  }

  .navbar a:last-child {
    border-bottom: none;
  }
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 الخلفية المتحركة */
.background-blobs .blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  z-index: -1;
  animation: float 18s infinite ease-in-out;
}

.blob1 {
  width: 400px;
  height: 400px;
  background: var(--light-red);
  top: -50px;
  left: -100px;
}

.blob2 {
  width: 300px;
  height: 300px;
  background: var(--red);
  bottom: 0;
  right: -50px;
  animation-delay: 4s;
}

.blob3 {
  width: 250px;
  height: 250px;
  background: #ffc4c4;
  top: 60%;
  left: 40%;
  animation-delay: 8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.05);
  }
}

/* 🔹 Hero */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 10% 60px;
  box-sizing: border-box;
  position: relative;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🟣 دائرة متوهجة */
.glow-circle {
  width: 300px;
  height: 300px;
  margin: 0 auto 40px;
  border-radius: 50%;
  border: 3px solid rgba(230, 57, 70, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.6), 0 0 45px rgba(230, 57, 70, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
  background: radial-gradient(
    circle at center,
    rgba(255, 245, 245, 0.8),
    rgba(255, 255, 255, 0)
  );
}

.glow-circle h1 {
  color: #e63946;
  font-size: 22px;
  text-align: center;
  line-height: 1.6;
  padding: 20px;
  font-weight: 700;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5), 0 0 40px rgba(230, 57, 70, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(230, 57, 70, 0.8), 0 0 60px rgba(230, 57, 70, 0.4);
  }
}

/* 🔹 الأزرار */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 35px;
  border-radius: 40px;
  font-weight: 700;
  transition: 0.3s;
  text-decoration: none;
}

.primary-btn {
  background: var(--red);
  color: #fff;
}

.primary-btn:hover {
  background: var(--light-red);
  transform: scale(1.05);
}

.secondary-btn {
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
}

.secondary-btn:hover {
  background: var(--red);
  color: #fff;
}

/* 🔹 أقسام الصفحة */
section {
  padding: 100px 10%;
  text-align: center;
}

/* باقي الأقسام */
.about p {
  max-width: 800px;
  margin: auto;
  color: #444;
  font-size: 18px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stats .card {
  background: #fff5f5;
  border-radius: 25px;
  padding: 25px;
  width: 180px;
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.1);
}

/* الخدمات والشراكة */
.service-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.service-card,
.partner-card {
  background: #fff5f5;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.1);
  transition: 0.3s;
}

.service-card:hover,
.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.2);
}

/* تواصل معنا */
.contact-box {
  background: #fff5f5;
  border-radius: 25px;
  padding: 40px;
  max-width: 700px;
  margin: auto;
}

.contact input,
.contact textarea {
  width: 85%;
  padding: 14px;
  border-radius: 25px;
  border: 1px solid #ffc9c9;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact textarea {
  height: 120px;
  resize: none;
}

/* الفوتر */
footer {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 25px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

/* حركة الظهور */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
