.hero-banner p {
  width: 80%;
}

.contact-form-section {
  padding: 75px 0 50px;
  background-color: #eef5ff; /* Light blue tint from design */
  position: relative;
  overflow: hidden;
}

.circles-overlapped {
  position: absolute;
  top: 4%;
  left: 14%;
}

.double-triangle-overlapped {
  position: absolute;
  top: 18%;
  right: 7%;
}

.double-circle-overlapped {
  position: absolute;
  bottom: 5%;
  left: 7%;
}

/* Floating Animation for Decorative Elements */
.circles-overlapped,
.double-triangle-overlapped,
.double-circle-overlapped {
  animation: floatDecor 5s ease-in-out infinite;
}

@keyframes floatDecor {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.contact-form {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.form-card {
  max-width: 100%;
  background: #fff;
  border: 1px solid #e0eaff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.21);
  margin-bottom: 0;
}

.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 30px;
  clear: both;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.full-width {
  width: 100%;
}

.form-group label {
  font-weight: 500;
}

.form-group label span {
  color: #ed0e0e;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 18px;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  font-family: inherit;
}

.form-group textarea {
  height: 160px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding-right: 40px; /* space for arrow */
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;

  background-image: url("../assets/icons/down-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group select,
.form-group textarea::placeholder,
option {
  color: #878787;
}

.form-hint {
  color: #878787;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  margin-top: 10px;
}

.form-hint a {
  color: var(--blue-color);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}

.form-hint a:hover {
  color: var(--color-accent-orange);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-orange);
}

.btn-submit {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background: var(--blue-color);
  color: var(--color-text-white);
  border: none;
  padding: 10px 32px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s all ease;
}

.btn-submit:hover {
  background: var(--color-accent-orange);
}

@media (max-width: 1300px) {
  .contact-form {
    max-width: 780px;
    gap: 32px;
  }

  .form-card {
    padding: 32px 20px;
  }

  .form-row {
    gap: 20px;
  }
  .circles-overlapped {
    left: 12%;
  }
}

@media (max-width: 1100px) {
  .hero-banner p {
    width: 75%;
  }
  .contact-form {
    width: 80%;
    gap: 36px;
  }

  .form-container {
    gap: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    margin-top: auto;
    padding: 12px 10px;
  }

  .circles-overlapped {
    left: 5%;
  }

  .double-triangle-overlapped {
    top: 15%;
    right: 3%;
  }

  .double-triangle-overlapped img {
    width: 80%;
  }

  .double-circle-overlapped {
    bottom: 8%;
    left: 4%;
  }

  .double-circle-overlapped img {
    width: 70%;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .hero-banner p {
    width: 100%;
  }

  .contact-form-section {
    padding: 60px 0 40px;
  }

  .contact-form {
    width: 100%;
    gap: 32px;
  }

  .form-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 15px;
  }

  .form-container {
    gap: 12px;
  }

  .form-row.split {
    flex-direction: column;
    gap: 12px;
  }

  .btn-submit {
    margin: 36px auto 0;
  }

  .circles-overlapped {
    left: 2%;
  }

  .circles-overlapped img {
    width: 35%;
  }

  .double-triangle-overlapped {
    top: 12%;
    right: -14%;
  }

  .double-triangle-overlapped img {
    width: 20%;
  }

  .double-circle-overlapped {
    bottom: 6%;
    left: 1%;
  }

  .double-circle-overlapped img {
    width: 20%;
  }
}
