@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}
ul {
  list-style: none;
}
nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  isolation: isolate;
  z-index: 99;
}

section{
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
}
.nav__header {
  width: 100%;
  background-color: transparent;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333333;
}
.nav__header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(45deg, #008cff, #ff00ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu__btn {
  color: #333333;
  font-size: 1.25rem;
  cursor: pointer;
}
.links__container {
  position: absolute;
  width: 100%;
  height: calc(100vh - 62.4px);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: 0.3s;
}
.open {
  transform: translateX(0);
}
.nav__links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  color: #333333;
}
.nav__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav__btns button,
.Discover__btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
  font-family: "Poppins", sans-serif;
  border-radius: 1rem;
}
.log {
  background-color: #008cff;
  color: #f6f6f6;
  border: 1px solid #008cff;
  &:hover {
    background-color: #0075d5;
  }
}
.sign {
  background-color: #f4f4f4;
  border: 1px solid #333333;
  color: #333333;
  &:hover {
    color: #008cff;
    border-color: #008cff;
  }
}

.hero__section {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-width: unset;

  /* 💡 جعل التدرج يبدأ قوياً في المركز ويتلاشى بنعومة نحو الأطراف */
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 234, 0.1) 0%,
    rgba(0, 140, 255, 0.1) 50%,
    transparent 100%
  );

  /* 💡 لضمان عدم حجب النصوص والأزرار داخل الـ Hero أو أسفله */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__content h1 {
  font-size: 3rem;
  color: #333333;
  line-height: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
}
.hero__content h1 span {
  color: #008cff;
}
.hero__content p {
  color: #767676;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 2rem;
}
.Discover__btn {
  padding: 1rem 5rem;
  background-color: #008cff;
  border: none;
  outline: none;
  color: #f4f4f4;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 2rem;
  box-shadow: 0 10px 15px rgba(0, 140, 255, 0.2);
  &:hover {
    background-color: #3ca7ff;
  }
}
.title {
  color: #008cff;
  font-weight: 900;
  text-align: center;
}
.about {
  padding: 1rem;
  margin-block-start: 1rem;
  position: relative;
}
hr {
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, #008cff, transparent);
  margin-inline: auto;
  border: none;
  margin-bottom: 4rem;
}
.card__container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-inline: auto;
  gap: 1.5rem;
  padding-block: 1rem;
  max-width: 1200px;
  margin-bottom: 2rem;
}
.card , .card_2{
  border: 2px solid #e7e7e7;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
  &:hover {
    border-color: #008cff;
  }
}

.card span,
.number{
  background-color: #008cff;
  width: 3rem;
  height: 3rem;
  display: grid;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #f4f4f4;
  margin-inline: auto;
}
.card h2 , 
.card_2 h2{
  color: #333333;
  transition: 0.3s;
}
.card:hover {
  color: #008cff !important;
}
.card p {
  color: #767676;
}
.number {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
}
.wave-container {
  position: absolute; /* تثبيت الموجة أسفل هذا القسم حصراً */
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0; /* يمنع ظهور فراغ صغير تحت الـ SVG في بعض المتصفحات */
}
.wave-container svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px; /* يمكنك زيادة أو إنقاص هذا الرقم لتغيير حدة التعرج */
}

/* تلوين المنحنى ليطابق القسم السفلي */
.wave-container .shape-fill {
  fill: #f6f6f6; /* نفس لون خلفية القسم السفلي تماماً */
}
.wave-container .shape-fill2{
  fill: #ffffff;
}

.third__section{
  background-color: #f6f6f6;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  padding-bottom: 3rem;
}

.right__content div{
  flex: 2;
  max-width: 600px;
  border-radius: 1rem;
}
.right__content div img{
  width: 100%;
  border-radius: 1rem;
}
.left__content{
  flex: 1;
}

.left__content h1{
  font-weight: 800;
  color: #333333;
  margin-bottom: 1rem;
}
.left__content p {
  color: #767676;
  margin-bottom: 3rem;
}
.card_2{
  text-align: left;
  gap: .5rem;
  box-shadow: unset;
  &:hover{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-color: #e7e7e7;
    transform: scale(1.05);
  }
}

.card_2 span{
  font-size: 1.25rem;
  color:#008cff ;
}
.fourth__section{
  padding: 1rem;
}
@media (width >= 1024px) {
  nav {
    max-width: 1200px;
    background-color: transparent; /* جعل الخلفية موحدة للشريط بأكمله */
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: unset;
    left: 0;
    right: 0;
    border-radius: 0 0 1rem 1rem;
  }

  .nav__header {
    width: auto;
    border-bottom: none; /* إلغاء الخط الفاصل للهواتف */
    background-color: transparent;
  }

  .menu__btn {
    display: none; /* إخفاء زر القائمة (الهامبرغر) في الشاشات الكبيرة */
  }

  .links__container {
    position: static; /* إلغاء التموضع المطلق */
    height: auto;
    width: auto;
    flex-direction: row; /* تحويل الترتيب إلى أفقي */
    align-items: center;
    gap: 2rem;
    transform: translateX(0); /* إظهار القائمة دائماً */
    padding: 0 1rem;
    background-color: transparent;
    backdrop-filter: unset;
  }

  .nav__links {
    flex-direction: row; /* جعل الروابط أفقية */
    align-items: center;
  }

  .nav__btns {
    flex-direction: row; /* جعل الأزرار أفقية */
  }
  .sign {
    background-color: transparent;
  }
  .hero__content h1 {
    font-size: 5rem;
    line-height: 5rem;
  }
  .third__section{
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
}
