@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
  direction: rtl;
}

.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.form-section,
.info-section {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 20px;
  margin: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

h2 {
  color: #374f57;
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

form button {
  background-color: #374f57;
  color: white;
  padding: 12px 35px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2c3e50;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #374f57;
  text-decoration: none;
}

.social-media a {
  margin: 0 10px;
  display: inline-block;
}

.social-media img {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .container {
    /* flex-direction: column; */
  }

  .form-section,
  .info-section {
    flex: 1 1 100%;
  }
}

.info-section-alt {
  background-color: #f9f9f9;
  padding: 34px 12px;
  text-align: center;
  border-radius: 10px;
  margin: 20px auto;
}



.info-section-alt h2 {
  color: #374f57;
  margin-bottom: 10px;
  font-size: 2rem;
}

.sub-text {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.card p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;
}

.card a {
  color: #374f57;
  text-decoration: none;
  font-size: small;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-media-alt {
  margin-top: 20px;
}

.social-media-alt h3 {
  font-size: 1.2rem;
  color: #374f57;
  margin-bottom: 10px;
}

.social-media-alt a {
  margin: 0 10px;
}

.social-media-alt img {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
  }
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 1px;
}

.form1 input,
.form1 textarea {
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
}

.form1 input:invalid,
.form1 textarea:invalid {
  border-color: red;
}

.btn {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

.btn-text {
  font-size: 16px;
}

.iti {
  position: relative;
  width: 100%;
  margin: 7px 0px;
}

.iti-mobile .iti__country-list {
  max-height: 100%;
  /* width: 100%; */
}

.iti__country-list {
  position: absolute;
  z-index: 2;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
  background-color: #fff;
  border: 1px solid #ccc;
  white-space: nowrap;
  max-height: 200px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  left: 50px;
}