/* =========================================================
   08. Headless Drupal Project Enquiry
   ========================================================= */

.headless-enquiry-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 73% 15%, rgba(0, 98, 255, 0.18), transparent 27%),
    radial-gradient(
      circle at 35% 75%,
      rgba(0, 118, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, #010a1e 0%, #031733 48%, #02112d 100%);
}
.drupal-staffing-webform-item label {
  font-weight: bold;
}

.headless-enquiry-section::before {
  position: absolute;
  right: -230px;
  bottom: -270px;
  width: 570px;
  height: 570px;
  content: "";
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-radial-gradient(
    circle,
    rgba(0, 128, 255, 0.25) 0,
    rgba(0, 128, 255, 0.25) 1px,
    transparent 1px,
    transparent 8px
  );
}

.headless-enquiry-content,
.headless-enquiry-form-wrap,
.headless-enquiry-highlights,
.headless-enquiry-proof {
  position: relative;
  z-index: 2;
}

.headless-enquiry-kicker {
  margin: 20px 0 22px;
  padding-left: 14px;
  border-left: 3px solid #ff5a00;
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.headless-enquiry-content h2 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.headless-enquiry-intro {
  max-width: 680px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

.headless-enquiry-benefits {
  gap: 12px;
}

.headless-enquiry-benefit {
  --enquiry-benefit-color: #1687ff;
  --enquiry-benefit-rgb: 22, 135, 255;

  min-width: 0;
  padding: 13px 20px;
  border: 1px solid rgba(var(--enquiry-benefit-rgb), 0.55);
  border-radius: 13px;
  background: linear-gradient(
    90deg,
    rgba(var(--enquiry-benefit-rgb), 0.055),
    rgba(4, 22, 53, 0.45)
  );
  box-shadow: inset 0 0 25px rgba(var(--enquiry-benefit-rgb), 0.035);
}

.headless-enquiry-benefit--purple {
  --enquiry-benefit-color: #a54fff;
  --enquiry-benefit-rgb: 165, 79, 255;
}

.headless-enquiry-benefit--green {
  --enquiry-benefit-color: #39bd59;
  --enquiry-benefit-rgb: 57, 189, 89;
}

.headless-enquiry-benefit__icon {
  width: 67px;
  min-width: 67px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--enquiry-benefit-rgb), 0.55);
  border-radius: 50%;
  color: var(--enquiry-benefit-color);
  background: rgba(var(--enquiry-benefit-rgb), 0.07);
  font-size: 34px;
}

.headless-enquiry-benefit__content {
  min-width: 0;
  flex: 1 1 auto;
}

.headless-enquiry-benefit__content h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.headless-enquiry-benefit__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.headless-enquiry-benefit__check {
  color: var(--enquiry-benefit-color);
  font-size: 22px;
}

.headless-enquiry-actions {
  margin-top: 22px;
}

.headless-enquiry-btn {
  min-height: 57px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.headless-enquiry-btn--orange {
  flex: 1 1 350px;
  border: 1px solid #ff7300;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
}

.headless-enquiry-btn--outline {
  flex: 1 1 300px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(4, 20, 48, 0.45);
}

.headless-enquiry-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.headless-enquiry-btn--orange:hover {
  box-shadow: 0 16px 34px rgba(255, 90, 0, 0.34);
}

.headless-enquiry-btn--outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.headless-enquiry-support {
  margin-top: 20px;
  color: #56a8ff;
  font-size: 18px;
}

.headless-enquiry-support > i {
  font-size: 24px;
}

.headless-enquiry-support p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.4;
}

.headless-enquiry-support a {
  color: #3ea2ff;
  text-decoration: none;
}

.headless-enquiry-support a i {
  margin-left: 7px;
  font-size: 12px;
}

.headless-enquiry-form-wrap {
  padding: 25px 28px 18px;
  border-radius: 20px;
  color: #071333;
  background: #ffffff;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.25),
    0 0 35px rgba(0, 103, 255, 0.1);
}

.headless-enquiry-form-wrap > h3 {
  margin: 0 0 16px;
  color: #09275d;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.headless-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.headless-enquiry-form__group label {
  display: block;
  margin-bottom: 4px;
  color: #0a326f;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.headless-enquiry-form .form-control,
.headless-enquiry-form .form-select {
  min-height: 43px;
  padding: 8px 13px;
  border: 1px solid #cbd6e4;
  border-radius: 6px;
  color: #34405c;
  background-color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: none;
}

.headless-enquiry-form textarea.form-control {
  min-height: 62px;
  resize: vertical;
}

.headless-enquiry-form .form-control::placeholder {
  color: #7e899d;
  opacity: 1;
}

.headless-enquiry-form .form-control:focus,
.headless-enquiry-form .form-select:focus {
  border-color: #1687ff;
  box-shadow: 0 0 0 3px rgba(22, 135, 255, 0.12);
}

.headless-enquiry-form__submit {
  width: 100%;
  min-height: 51px;
  margin-top: 3px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.22);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.headless-enquiry-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 90, 0, 0.31);
}

.headless-enquiry-form__privacy {
  max-width: 470px;
  margin: 3px auto 0;
  color: #63718a;
  text-align: center;
}

.headless-enquiry-form__privacy i {
  margin-top: 3px;
  color: #4cae38;
  font-size: 15px;
}

.headless-enquiry-form__privacy p {
  color: #63718a;
  font-size: 13px;
  line-height: 1.45;
}

.headless-enquiry-highlights {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(81, 126, 181, 0.35);
  border-radius: 17px;
  background: linear-gradient(
    180deg,
    rgba(7, 31, 72, 0.78),
    rgba(4, 20, 50, 0.88)
  );
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.17);
}

.headless-enquiry-highlight {
  min-height: 143px;
  gap: 18px;
  padding: 20px 27px;
  border-right: 1px solid rgba(121, 151, 190, 0.3);
}

.headless-enquiry-highlights .col-lg-3:last-child .headless-enquiry-highlight {
  border-right: 0;
}

.headless-enquiry-highlight__icon {
  width: 70px;
  min-width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 36px;
}

.headless-enquiry-highlight__icon--blue {
  color: #8ac5ff;
  border: 1px solid #1687ff;
  background: rgba(22, 135, 255, 0.14);
  box-shadow: 0 0 21px rgba(22, 135, 255, 0.25);
}

.headless-enquiry-highlight__icon--purple {
  color: #bd72ff;
  border: 1px solid #a54fff;
  background: rgba(165, 79, 255, 0.12);
  box-shadow: 0 0 21px rgba(165, 79, 255, 0.22);
}

.headless-enquiry-highlight__icon--green {
  color: #98ec9f;
  border: 1px solid #39bd59;
  background: rgba(57, 189, 89, 0.12);
  box-shadow: 0 0 21px rgba(57, 189, 89, 0.21);
}

.headless-enquiry-highlight__icon--teal {
  color: #75e4ee;
  border: 1px solid #00b8c5;
  background: rgba(0, 184, 197, 0.12);
  box-shadow: 0 0 21px rgba(0, 184, 197, 0.21);
}

.headless-enquiry-highlight__content {
  min-width: 0;
}

.headless-enquiry-highlight__content h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.headless-enquiry-highlight__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.headless-enquiry-proof {
  margin-top: 19px;
  text-align: center;
}

.headless-enquiry-proof span {
  width: 165px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
}

.headless-enquiry-proof span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

.headless-enquiry-proof p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.4;
}

/* =========================================================
   Headless Drupal Project Enquiry Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .headless-enquiry-kicker {
    font-size: 14px;
  }

  .headless-enquiry-content h2 {
    font-size: 32px;
  }

  .headless-enquiry-intro {
    font-size: 15px;
  }

  .headless-enquiry-benefit__content h3 {
    font-size: 17px;
  }

  .headless-enquiry-benefit__content p {
    font-size: 14px;
  }

  .headless-enquiry-btn,
  .headless-enquiry-form__submit {
    font-size: 14px;
  }

  .headless-enquiry-form-wrap > h3 {
    font-size: 22px;
  }

  .headless-enquiry-highlight {
    padding: 18px;
  }

  .headless-enquiry-highlight__icon {
    width: 61px;
    min-width: 61px;
    height: 61px;
    font-size: 30px;
  }

  .headless-enquiry-highlight__content h3 {
    font-size: 16px;
  }

  .headless-enquiry-highlight__content p {
    font-size: 14px;
  }

  .headless-enquiry-proof p {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  /* .headless-enquiry-content {
    max-width: 850px;
    margin: 0 auto;
  } */
  /* 
  .headless-enquiry-form-wrap {
    max-width: 850px;
    margin: 0 auto;
  } */

  .headless-enquiry-highlights
    .col-sm-6:nth-child(2n)
    .headless-enquiry-highlight {
    border-right: 0;
  }

  .headless-enquiry-highlight {
    border-bottom: 1px solid rgba(121, 151, 190, 0.3);
  }

  .headless-enquiry-highlights
    .col-sm-6:nth-last-child(-n + 2)
    .headless-enquiry-highlight {
    border-bottom: 0;
  }
}

@media (max-width: 991px) {
  .headless-enquiry-content {
    text-align: center;
  }

  .headless-enquiry-kicker {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .headless-enquiry-content h2,
  .headless-enquiry-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .headless-enquiry-benefit {
    text-align: left;
  }

  .headless-enquiry-actions {
    justify-content: center;
  }

  .headless-enquiry-support {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .headless-enquiry-kicker {
    font-size: 13px;
  }

  .headless-enquiry-content h2 {
    font-size: 22px;
  }
  .drupal-staffing-webform-item label {
    font-size: 15px;
  }

  .headless-enquiry-intro {
    font-size: 15px;
  }

  .headless-enquiry-benefit {
    padding: 14px;
  }

  .headless-enquiry-benefit > div {
    align-items: flex-start !important;
    gap: 13px !important;
  }

  .headless-enquiry-benefit__icon {
    width: 55px;
    min-width: 55px;
    height: 55px;
    font-size: 27px;
  }

  .headless-enquiry-benefit__content h3 {
    font-size: 18px;
  }

  .headless-enquiry-benefit__content p {
    font-size: 13px;
  }

  .headless-enquiry-benefit__check {
    display: none;
  }

  .headless-enquiry-actions {
    flex-direction: column;
  }

  .headless-enquiry-btn {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .headless-enquiry-support {
    align-items: flex-start !important;
    text-align: left;
  }

  .headless-enquiry-form-wrap {
    padding: 22px 17px 17px;
    border-radius: 15px;
  }

  .headless-enquiry-form-wrap > h3 {
    font-size: 18px;
  }

  .headless-enquiry-form .form-control,
  .headless-enquiry-form .form-select {
    font-size: 14px;
  }

  .headless-enquiry-form__submit {
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .headless-enquiry-highlight {
    min-height: auto;
  }

  .headless-enquiry-proof span {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .headless-enquiry-benefit > div {
    flex-direction: column;
  }

  .headless-enquiry-benefit__content h3 {
    font-size: 16px;
  }

  .headless-enquiry-support p {
    font-size: 13px;
  }

  .headless-enquiry-form__group label {
    font-size: 13px;
  }

  .headless-enquiry-form .form-control,
  .headless-enquiry-form .form-select {
    font-size: 13px;
  }

  .headless-enquiry-highlight {
    align-items: flex-start !important;
    border-right: 0;
    border-bottom: 1px solid rgba(121, 151, 190, 0.3);
  }

  .headless-enquiry-highlights
    .col-sm-6:nth-last-child(2)
    .headless-enquiry-highlight {
    border-bottom: 1px solid rgba(121, 151, 190, 0.3);
  }

  .headless-enquiry-highlights
    .col-sm-6:last-child
    .headless-enquiry-highlight {
    border-bottom: 0;
  }

  .headless-enquiry-highlight__icon {
    width: 55px;
    min-width: 55px;
    height: 55px;
    font-size: 27px;
  }

  .headless-enquiry-highlight__content h3 {
    font-size: 15px;
  }

  .headless-enquiry-highlight__content p {
    font-size: 13px;
  }

  .headless-enquiry-proof p {
    font-size: 13px;
  }
}

.headless-enquiry-form-tag .form-item {
  margin: 0px !important;
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}

