.contact-page {
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
}

.contact-page .serif-italic {
  font-family: "IvyPresto Headline", Arial, sans-serif !important;
  font-style: normal;
}

.contact-page-top {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;

  background: rgba(235, 235, 235, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

}

.contact-navbar {
  padding-top: 18px;
  padding-bottom: 16px;
}

.contact-hero {
  height: 711px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("assets/banners/contact_us.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.contact-hero h1 {
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-size: 64px;
  font-weight: 400;
  margin: 0;
  color: #fff;
}

.contact-main-page {
  background: #f4f4f4;
  padding: 110px 0 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
  align-items: start;
}

.contact-big-title {
  margin: 0 0 42px;
  font-size: 50px;
  line-height: 0.92;
  color: #11279b;
  font-weight: 500;
}

.contact-intro {
  margin: 0;
  max-width: 560px;
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.019em;
  color: #12215d;
}

.contact-block {
  margin-top: 40px;
}

.contact-block h3 {
  margin: 0 0 20px;
  color: #1b2b7f;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.contact-block p {
  margin: 0;
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.019em;
  color: #12215d;
}

.contact-block p a {
  color: inherit;
}

.contact-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-social-list li+li {
  margin-top: 14px;
}

.contact-social-list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #12215d;
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.019em;
}

.social-circle {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(17, 39, 155, 0.58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-form-page {
  width: 100%;
}

.form-field {
  margin-bottom: 26px;
}

.form-field label {
  display: block;
  margin-bottom: 12px;
  color: rgba(18, 33, 93, 0.9);
  font-size: 14px;
  line-height: 1.2;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(51, 71, 192, 0.75);
  border-radius: 12px;
  background: transparent;
  color: #12215d;
  font-size: 18px;
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.019em;
  outline: none;
  box-sizing: border-box;
}

.form-field input,
.form-field select {
  height: 58px;
  padding: 0 18px;
}

.form-field textarea {
  min-height: 126px;
  padding: 18px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.019em;
  color: rgba(18, 33, 93, 0.42);
}

.form-field select {
  appearance: auto;
  color: rgba(18, 33, 93, 0.56);
}

.form-terms {
  margin: 18px 0 24px;
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #12215d;
  cursor: pointer;
  user-select: none;
}

.terms-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #081E79;
  cursor: pointer;
}

.terms-label span {
  font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
  font-weight: 500;
}

.contact-submit-btn {
  width: 100%;
  height: 62px;
  margin-top: 22px;
  border: none;
  border-radius: 999px;
  background: #081E79;
  /* Primary color */
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-submit-btn:hover {
  background: #0000AB;
  /* Hover color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .contact-hero {
    padding: 90px 0 120px;
  }

  .contact-big-title {
    font-size: 40px;
  }

  .contact-block h3 {
    font-size: 25px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    height: 356px;
    padding: 72px 0 88px;
  }

  .contact-hero h1 {
    font-size: 28px !important;
    line-height: 1.28;
  }

  .contact-main-page {
    padding: 64px 0 56px;
  }

  .contact-big-title {
    font-size: 32px !important;
  }

  .contact-intro,
  .contact-block p,
  .contact-social-list a {
    font-size: 17px !important;
  }

  .contact-block {
    margin-top: 38px;
  }

  .contact-block h3 {
    font-size: 20px !important;
  }

  .contact-submit-btn {
    font-size: 20px !important;
    height: 56px !important;
  }
}