.contact-section {
  display: none;
}

.footer {
  padding-top: 80px;
}

.projects-section.projects {
  padding-top: 216px;
  position: relative;
}

.header-background-img {
  z-index: 0;
  position: absolute;
  top: 140px;
  width: 256;
}

.contact-section-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 100px;
}

.projects-section.projects {
  background-color: black;
  background: linear-gradient(
    180deg,
    #1a1a1a 0%,
    rgba(0, 0, 0, 0.4) 45.19%,
    #1a1a1a 100%
  );
}

.contact-form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 96px;
}

.form-main-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 920px;
}

.form-top-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.form-heading {
  color: var(--neutral-01);
  font-weight: var(--bold);
  font-size: 40px;
  line-height: 48px;
  text-align: center;
}

.form-subheading {
  font-weight: var(--medium);
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  vertical-align: middle;
  color: var(--neutral-06);
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  gap: 32px;
}

.form-alert {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 22px;
}

.form-alert-success {
  border-color: #2f7a49;
  background-color: rgba(47, 122, 73, 0.14);
  color: #d9f0de;
}

.form-alert-warning {
  border-color: #b0822e;
  background-color: rgba(176, 130, 46, 0.14);
  color: #f9e3b5;
}

.form-alert-error {
  border-color: #9a3d3d;
  background-color: rgba(154, 61, 61, 0.14);
  color: #ffd3d3;
}

.form-alert-title {
  font-weight: var(--bold);
  margin-bottom: 8px;
}

.form-error-list {
  margin: 0;
  padding-left: 18px;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
}

.contact-input {
  border-radius: 0;
  border: 1px solid var(--neutral-16);
  height: 56px;
  background-color: var(--brand-dark-grey-01);
  color: var(--neutral-01);
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  outline: none;
  box-shadow: none;
  appearance: none;
  transition: border-color 160ms ease;
}

.contact-input:is(:focus, :focus-visible) {
  border-radius: 0;
  border-color: var(--brand-terracotta-02);
}

textarea {
  border-radius: 0;
  border: 1px solid var(--neutral-16);
  height: 56px;
  background-color: var(--brand-dark-grey-01);
  color: var(--neutral-01);
  width: 100%;
  padding: 24px 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  outline: none;
  box-shadow: none;
  appearance: none;
  transition: border-color 160ms ease;
  height: 208px;
}

.contact-input::placeholder,
textarea::placeholder {
  color: var(--neutral-08);
  font-size: 14px;
  line-height: 16px;
  font-weight: var(--semiBold);
}

.select-toggle {
  position: relative;
  width: 100%;
  z-index: 2;
}

.select-toggle.is-open {
  z-index: 10;
}

.select-container {
  border: 1px solid var(--neutral-16);
  height: 56px;
  background-color: var(--brand-dark-grey-01);
  width: 100%;
  color: var(--neutral-01);
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
  transition: border-color 160ms ease;
}

.select-container:is(:focus, :focus-visible),
.select-toggle.is-open .select-container {
  border-color: var(--brand-terracotta-02);
}

.options-container {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: var(--brand-dark-grey-01);
  border: 1px solid var(--neutral-16);
  z-index: 3;
  overflow: hidden;
}

.select-toggle.is-open .options-container {
  display: flex;
}

.single-option {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  align-items: center;
  padding: 16px 12px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.single-option:is(:hover, :focus-visible) {
  background-color: var(--neutral-17);
  color: var(--neutral-01);
}

.select-name {
  color: var(--neutral-08);
  font-size: 14px;
  line-height: 16px;
  font-weight: var(--semiBold);
}

.select-toggle.has-value .select-name {
  color: var(--neutral-01);
}

.select-icon {
  transition: transform 160ms ease;
}

.select-toggle.is-open .select-icon {
  transform: rotate(180deg);
}

.terms-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.terms-checkbox-input {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1px solid var(--neutral-16);
  border-radius: 0;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.terms-checkbox-input:checked {
  background-color: var(--brand-terracotta-01);
  border-color: var(--brand-terracotta-01);
  background-image: url("../images/Icons/checkbox-tick.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.terms-checkbox-input:focus-visible {
  outline: none;
  border-color: var(--brand-terracotta-01);
}

.agree-terms-text {
  cursor: pointer;
  color: var(--neutral-01);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--semiBold);
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-text {
  font-weight: var(--medium);
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-08);
}

@media (max-width: 970px) {
  .contact-form-section {
    padding-inline: 32px;
  }
}

@media (max-width: 700px) {
  .contact-form-section {
    padding-inline: 20px;
  }
}

@media (max-width: 500px) {
  .contact-form-section {
    padding: 80px 16px 148px 16px;
  }

  .form-heading {
    font-size: 28px;
    line-height: 36px;
  }

  .form-top-container {
    gap: 24px;
  }

  .form-container {
    gap: 24px;
  }

  .input-row {
    flex-direction: column;
    gap: 24px;
  }

  .projects-section.projects {
    padding-top: 145px;
  }

  .header-background-img {
    width: 260px;
    height: 106px;
    top: 145px;
  }
}
