body {
  background-color: #f6f4f1;
}
/* ================ Start Hero =============== */
.hero {
  background-image: url("../images/GroupProjects.png");
  background-position: center 10%;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  background-color: #42253b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* يخليه في النص بالظبط */
  z-index: 2;
  margin: 0;
  padding: 0 20px;
}

.hero .content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.hero .text {
  color: #fff;
  max-width: 600px;
}

.hero .text h2 {
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 140%;
  color: var(--primary-color);
}

.hero .text h1 {
  font-size: 60px;
  font-weight: 700;
  font-style: Bold;
  margin-bottom: 15px;
  line-height: 140%;
  color: var(--primary-color);
  text-wrap: nowrap;
}

.hero .text span {
  font-family: "Almarai", sans-serif;
  font-size: 32px;
  display: block;
  margin-bottom: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
}

.hero .text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--card-bg-color);
  line-height: 1.7;
  margin-bottom: 20px;
}
/* ================ End Hero =============== */
/* ================ Start Form =============== */
.form-container {
  width: 874;
  height: 1209;
  border-radius: 32px;
  opacity: 1;
  max-width: 874px;
  padding: 40px;
  background-color: white;
  margin: 0 auto;
}
.form-container .text {
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}
.form-container .text h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  text-transform: capitalize;
  color: #191818;
  margin-bottom: 20px;
}
.form-container .text p {
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0%;
  text-align: right;
  color: #6f8183;
}
.maintenance-form {
  margin-top: 32px;
}

.form-label {
  font-weight: 600;
  color: #02323c;
}

.upload-box {
  cursor: pointer;
  transition: 0.3s;
  background: #f9f9f9;
}

.custom-input {
  height: 46px;
  border-radius: 32px;
  background: #f9f9f9;
  opacity: 1;
  width: 100%;
  display: block;
  padding: 12px 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
}
.custom-input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

input[type="file"] {
  display: none;
}
.custom-input-group span {
  text-wrap: nowrap;
  background: #f9f9f9;
  padding: 12px 8px;
  border-radius: 32px;
}
.custom-textarea {
  height: 120px;
  border-radius: 10px;
  background: #f9f9f9;
  opacity: 1;
  width: 100%;
  display: block;
  padding: 12px 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 40px 12px 12px; /* padding يمين عشان نسيب مكان للسهم */
  border-radius: 32px;
  background: #f9f9f9;
  border: none;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

.custom-select-wrapper {
  position: relative;
  display: block;

  width: 100%;
}
.custom-select-wrapper span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* عشان ما تمنع الكلك على الـ select */
  color: #555;
  font-size: 14px;
}
.country-select {
  position: relative;
  cursor: pointer;
  font-family: Arial, sans-serif;
  
}

.country-select .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 32px;
  border: 1px solid #ddd;
}

.country-select .selected img {
  margin-right: 8px;
  height: 14px;
}

.country-select .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: none;
  z-index: 10;
  width: 134px;
}

.country-select .options li {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-wrap: nowrap;
  width: 134px;
}

.country-select .options li:hover {
  background: #f1f1f1;
}
.form-label {
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: right;
  color: #02323c;
}
/* ================ End Form =============== */
@media (max-width: 992px) {
  /* ================ Start Hero =============== */

  .hero .content {
    flex-direction: column;
    text-align: start;
  }
  .hero .text h2 {
    font-size: 20px;
  }
  .hero .text h1 {
    font-size: 40px;
    text-wrap: wrap;
  }
  .hero .text span {
    font-size: 20px;
  }
  .hero .text p {
    font-size: 14px;
  }
  .form-container {
    max-width: 90%;
    padding: 30px;
  }

  .custom-input,
  .custom-select,
  .custom-textarea,
  .custom-input-group span,
  .country-select .selected {
    font-size: 14px;
    padding: 10px 12px;
    height: 42px;
  }

  .form-label {
    font-size: 15px;
  }

  .country-select .options {
    width: 120px;
  }
}
/* للشاشات الكبيرة (أكثر من 1200px) */
@media (min-width: 1200px) {
  .form-container {
    max-width: 874px;
    padding: 40px;
  }
}

/* للشاشات المتوسطة (التابلت – أقل من 992px) */

/* للشاشات الصغيرة (الموبايل – أقل من 768px) */
@media (max-width: 767px) {
  .form-container {
    max-width: 95%;
    padding: 20px;
    border-radius: 16px;
  }

  .form-container .text h2 {
    font-size: 20px;
  }

  .form-container .text p {
    font-size: 14px;
    line-height: 24px;
  }

  .custom-input,
  .custom-select,
  .custom-textarea,
  .custom-input-group span,
  .country-select .selected {
    font-size: 14px;
    height: 40px;
    padding: 8px 12px;
  }

  .custom-textarea {
    height: 100px;
  }

  .country-select .options {
    width: 100%;
  }

  .row.mb-3 .col-md-6 {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* للشاشات الأصغر جدًا (أقل من 480px) */
@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }

  .form-container .text h2 {
    font-size: 18px;
  }

  .form-container .text p {
    font-size: 13px;
    line-height: 22px;
  }

  .form-label {
    font-size: 14px;
  }

  .custom-input,
  .custom-select,
  .custom-textarea,
  .custom-input-group span,
  .country-select .selected {
    font-size: 13px;
    height: 38px;
    padding: 8px 10px;
  }

  .custom-textarea {
    height: 80px;
  }
}
