.contact-form-custom {
  background: var(--green-color);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}


.contact-form-custom {
  background: var(--green-color);
  border-radius: 6px;
  overflow: hidden;
}

.contact-form-custom input,
.custom-dropdown {
  /* height: 52px; */
}

.contact-form-custom input,
.contact-form-custom textarea,
.dropdown-toggle {
  width: 100%;
  padding: 14px;
  border-top: 0;
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  outline: none;
}

.contact-form-custom input::placeholder,
.contact-form-custom textarea::placeholder,
.dropdown-toggle {
  color: var(--white-color);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

.custom-dropdown {
  position: relative;
}

.dropdown-toggle {
  text-align: left;
  cursor: pointer;
  position: relative;
}

.dropdown-toggle::after {
  content: "";
  position: absolute;
  background-image: url(/assets/icons/down.svg);
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 16px;
  height: 9px;
}

.dropdown-menu {
  position: absolute;
  width: 100%;
  background: #fff;
  color: #333;
  border-radius: 4px;
  margin-top: 4px;
  display: none;
  z-index: 10;
  max-height: 160px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s;
}

.custom-dropdown.active .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 10px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background: #f1f1f1;
}

.contact-form-custom textarea {
  height: 140px;
  resize: none;
  border: 0;
}

.contact-form-custom button {
  width: 100%;
  padding: 14px;
  border: none;
  background: var(--green-color);
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.contact-form-custom button[type="submit"] {
  background: var(--active-color);
  color: var(--green-color);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.4;
  margin-top: auto;
  border-radius: 0;
}

.form-group {
  position: relative;
}

/* giữ chiều cao cố định */
.form-group input,
.form-group textarea,
.form-group .dropdown-toggle {
  height: 60px;
  width: 100%;
  border: 1px solid #ccc;
  padding: 0 12px;
}

.form-group textarea {
  border-bottom: none;
}

/* textarea riêng */
.form-group textarea {
  height: 120px;
  padding-top: 12px;
}

/* error message không chiếm layout */
.error-message {
  position: absolute;
  bottom: 4px;
  left: 8px;
  font-size: 12px;
  color: red;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

/* khi có lỗi */
.form-group.error .error-message {
  opacity: 1;
}

/* input lỗi */
.form-group.error input,
.form-group.error textarea,
.form-group.error .dropdown-toggle {
  /* border: 1px solid red; */
  padding-bottom: 12px;
}

.form-group.error .error-message {
  transform: translateY(0);
}

.error-message {
  transform: translateY(5px);
}

@media (max-width: 767.98px) {
  .contact-form-custom .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-custom .form-item {
    border-right: none !important;
  }
}
.info-card {
  background: var(--active-color);
  padding: 20px;
  border-radius: 8px;
  height: 100%;
  color: var(--purple-text);
  font-family: var(--font-family);
}

.info-card .icon img {
  width: auto;
  height: 36px;
}

.info-card h6 {
  font-weight: 700;
  font-size: 18px;
}

.info-card p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.info-card:hover {
  background: var(--green-color);
  color: var(--white-color);
}
