.container_content_us {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  background: #f4f4f4;
  padding: 0 40%;
  gap: 35px;
}

.dark-mode .container_content_us {
  background: #111322;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.contactUs {
  display: flex;
  flex-direction: column;
}

.container-us {
  background: #ffffff;
  width: 85%;
  margin-left: 20px;
  border-radius: 15px;
  color: black;
  margin: 40px auto;
}

.dark-mode .container-us {
  background: #1e1a35;
  color: #fff;
}

#lottie-contact {
  width: 350px;
  margin: 0 auto 0px;
}

.title_subtitle {
  text-align: right;
  padding: 20px 60px;
  margin-bottom: 40px;
  line-height: 2;
}

.title_subtitle h2 {
  font-size: 2.8rem;
}

.forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.forms .titleForm {
  text-align: center;
}
.forms .titleForm h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.forms .titleForm p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.formLanding form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 1100px;
}

.formLanding form .form-group {
  display: flex;
  flex-direction: row-reverse;
  text-align: right;
  justify-content: space-evenly;
  width: 85%;
}
.formLanding form .form-group .form_deg {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.formLanding form .form-group .form_deg label {
  font-size: 1.2rem;
  font-weight: 500;
}

.formLanding form .form-group .form_deg label span {
  color: red;
}
.formLanding form .form-group .form_deg input {
  width: 375px;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
  border: none;
  outline: none;
  background-color: #f4f4f4;
  border-radius: 10px;
  transition: border 0.12s ease;
  border: 1px solid transparent !important;
}
.formLanding form .form-group .form_deg input:hover {
  border: 1px solid #ef8d65 !important;
}
.formLanding form .form-group .form_deg input:focus {
  border: 2px solid #ef8d65 !important;
}
.formLanding form .form-group .form_deg input::placeholder {
  color: #c7c8cd;
  font-size: 1rem;
}

.dark-mode .formLanding input,
.dark-mode .formLanding textarea {
  background: #231e41 !important;
  color: #fff;
}

.dark-mode .container {
  color: #fff !important;
}

.dark-mode .cards_landing .card {
  background-color: #1e1a35 !important;
  color: #fff !important;
}

.dark-mode .cards_landing .card p {
  color: #fff !important;
}

.dark-mode .cards_landing .card img {
  filter: brightness(0) invert(1) !important;
}

.form_deg_1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form_deg_1 label {
  font-size: 1.2rem;
  font-weight: 500;
}
.form_deg_1 label span {
  color: red;
}
.form_deg_1 select {
  width: 840px;
  padding: 10px 50px 10px 20px; /* لاحظ padding-left هنا */
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
  border: 1px solid transparent !important;
  cursor: pointer;
  direction: rtl;
  font-family: var(--arabicFont);
  appearance: none; /* نخفي السهم الافتراضي */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23222a57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center; /* اتحكم في بعد السهم من الشمال */
  background-size: 16px;
  background-color: #f4f4f4;
}

.form_deg_1 select option[disabled][selected] {
  color: #c7c8cd;
}

.form_deg_1 select {
  color: #c7c8cd; /* اللون الرمادي الافتراضي */
}
.form_deg_1 select:valid {
  color: #000; /* لما تختار أي حاجة اللون يبقى اسود */
}
.form_deg_1 select option {
  color: #000; /* ده اللون بتاع الخيارات */
}

.dark-mode .form_deg_1 select option {
  color: #fff; /* ده اللون بتاع الخيارات */
}

.dark-mode .form_deg_1 select {
  background: #231e41;
  color: white;
}

.form_deg_1 option {
  padding-right: 12px;
}

.form_deg_1 select:hover {
  border: 1px solid #ef8d65 !important;
}
.form_deg_1 select:focus {
  border: 2px solid #ef8d65 !important;
}
.form_deg_1 select::placeholder {
  color: #c7c8cd;
  font-size: 1rem;
}

.form_deg_1 option.mute {
  color: #c7c8cd !important;
}

.form_deg_2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form_deg_2 label {
  font-size: 1.2rem;
  font-weight: 500;
}
.form_deg_2 label span {
  color: red;
}
.form_deg_2 textarea {
  width: 817px;
  font-family: var(--arabicFont);
  padding: 10px;
  border-radius: 5px;
  background: #f4f4f4;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
  border: none;
  outline: none;
  border-radius: 10px;
  transition: border 0.12s linear;
  border: 1px solid transparent !important;
}
.form_deg_2 textarea:hover {
  border: 1px solid #ef8d65 !important;
}
.form_deg_2 textarea:focus {
  border: 2px solid #ef8d65 !important;
}

.form_deg_2 textarea::placeholder {
  color: #c7c8cd;
  font-size: 1rem;
}

.submitBtn {
  padding: 17px 45px;
  background: #ef8d65;
  color: white;
  border-radius: 30px;
  transition: all 0.2s ease;
  margin-bottom: 50px;
  &:hover {
    scale: 1.05;
  }
  &:active {
    scale: 1;
  }
}

.bottom_contact {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 20px;
  align-items: center;
}

.social_media {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 5px;
  flex-direction: row-reverse;
  padding: 0 0 0;
  align-items: center;
}

.social_media a {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1.5px solid #ef8d6536;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  &:hover {
    border: 1.5px solid transparent;
  }
}

.social_media a img {
  width: 20px;
  height: 20px;
  padding: 100%;
  &:hover {
    filter: brightness(0) invert(1);
  }
}

.social_media a img.youtubes {
  width: 25px;
  height: 25px;
}

.social_media a:hover {
  border-color: transparent !important ;
}

.social_media a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  border-radius: 50%;
  z-index: 0;
  transition: height 0.3s ease;
}



.social_media a:hover::before {
  height: 100%;
}

.social_media a > * {
  position: relative;
  z-index: 1;
}


@media (max-width: 440px) {
  .contactUs {
    display: flex;
    flex-direction: column;
  }

  .container-us {
    background: #ffffff;
    width: 100%;
    margin: 40px auto;
  }

  #lottie-contact {
    width: 200px;
  }

  .title_subtitle {
    text-align: center;
    /* padding: 20px 20px; */
  }

  .title_subtitle h2 {
    font-size: 2.5rem;
  }

  .formLanding form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 55%;
    margin: 0px auto;
  }

  .formLanding form .form-group {
    flex-direction: column;
    width: 85%;
    gap: 25px;
    align-items: center;
  }
  .formLanding form .form-group .form_deg {
    align-items: flex-end;
  }

  .formLanding form .form-group .form_deg input {
    width: 325px;
  }

  .form_deg_1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .form_deg_1 label {
    font-size: 1.2rem;
    font-weight: 500;
  }
  .form_deg_1 label span {
    color: red;
  }
  .form_deg_1 select {
    width: 345px;
  }

  .form_deg_2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .form_deg_2 label {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 20px;
  }
  .form_deg_2 label span {
    color: red;
  }
  .form_deg_2 textarea {
    width: 325px;
    font-family: var(--arabicFont);
    margin: 0 20px;
    border-radius: 5px;
    background: #f4f4f4;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: right;
    border: none;
    outline: none;
    border-radius: 10px;
    transition: border 0.12s linear;
    border: 1px solid transparent !important;
  }
  .form_deg_2 textarea:hover {
    border: 1px solid #ef8d65 !important;
  }
  .form_deg_2 textarea:focus {
    border: 2px solid #ef8d65 !important;
  }

  .form_deg_2 textarea::placeholder {
    color: #c7c8cd;
    font-size: 1rem;
  }

  .submitBtn {
    padding: 17px 45px;
    background: #ef8d65;
    color: white;
    border-radius: 30px;
    transition: all 0.2s ease;
    margin-bottom: 50px;
    &:hover {
      scale: 1.05;
    }
    &:active {
      scale: 1;
    }
  }

  .bottom_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 20px;
    align-items: center;
  }

  .title_bot_us p {
    text-align: center;
    margin-bottom: 15px;
  }

  .social_media {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    flex-direction: row-reverse;
    padding: 0 0 0;
    align-items: center;
  }

  .social_media a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 1.5px solid #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    &:hover {
      border: 1.5px solid transparent;
    }
  }

  .social_media a img {
    width: 20px;
    height: 20px;
    padding: 100%;
    &:hover {
      filter: brightness(0) invert(1);
    }
  }

  .social_media a img.youtubes {
    width: 25px;
    height: 25px;
  }

  .social_media a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    border-radius: 50%;
    z-index: 0;
    transition: height 0.3s ease;
  }

  .social_media a:hover::before {
    height: 100%;
  }

  .social_media a > * {
    position: relative;
    z-index: 1;
  }
}
