/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* خلفية الفيديو */
body {
  min-height: 100vh;
  background-color: #000;
  font-family: Arial, sans-serif;
  padding-bottom: 40px;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

/* فيديو الخلفية */
.video-wrapper {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.1) blur(1px); /* التأثيرات التي تريد تطبيقها على الفيديو */
}

/* قائمة التنقل */
.menu {
  display: flex;
  width: 100%;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

ul li {
  list-style: none;
  margin: 1 1.4vw;
  font-size: 14px;
  padding: 2%;
}

ul li a {
  text-decoration: none;
  color: #fff;
  font-family: Arial;
  font-weight: bold;
  transition: 0.3s ease-in-out;
  padding: 15px;
}

ul li a:hover {
  color: #a474d6;
}

/* المحتوى */
.content-row {
  display: flex;
  justify-content: center;
  gap: 27vw;
  padding: 2rem 4rem;
  margin: 2%;
  position: relative;
  z-index: 2;
}

.left-col h1 {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 4);
}

.left-col span {
  color: #9653d0;
  font-size: 3rem;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 4);
}

.right-col {
  max-width: 300px;
  min-width: 300px;
  width: auto;
  height: auto;
}

/* النموذج */
.form {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  padding: 20px;
  color: #ffffffbf;
  text-align: center;
  border: 5px solid #a665e72b;
}

.form h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 15px;
}

.form input,
.form textarea {
  width: 100%;
  height: 35px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #8a2be2;
  color: #fff;
  font-size: 15px;
  margin-top: 20px;
  outline: none;
}

::placeholder {
  color: #ffffff57;
  font-family: Arial;
}

.btnn {
  width: 100%;
  height: 40px;
  background: #8a2be2;
  border: none;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  transition: 0.4s ease;
}

.btnn:hover {
  background: #dca9fe;
  color: #19141e;
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    position: relative;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100vh);
    transition: transform 0.6s ease-in-out;
  }

  .menu.open {
    transform: translateY(0);
    animation: fadeInOpacity 0.6s forwards;
    width: 100vw;
    height: 100vh;
    position: fixed;
    opacity: 1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }

  @keyframes fadeInOpacity {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .menu ul {
    flex-direction: column;
    text-align: center;
    padding: 18px 0;
    font-size: 35px;
  }

  ul li {
    padding: 18px 0;
    font-size: 35px;
  }

  .content-row {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
  }

  .left-col,
  .right-col {
    flex: none;
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }

  .form {
    width: 90%;
    padding: 15px;
  }
}
