/* =========================================================
   CONTACT PAGE ROOT
========================================================= */

:root {
  --contact-orange: #ef8500;
  --contact-orange-dark: #dc3512;

  --contact-teal: #ef8500;
  --contact-teal-dark: #dc3512;

  --contact-blue: #0d5da7;
  --contact-navy: #090943;
  --contact-navy-light: #172952;

  --contact-text: #676978;
  --contact-muted-text: #7b7d8a;

  --contact-white: #ffffff;
  --contact-soft-background: #f7f7fa;
  --contact-input-background: #ededf3;

  --contact-border: #dedee7;

  --contact-shadow:
    0 18px 45px rgba(9, 9, 67, 0.08);
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--contact-text);
  background: var(--contact-white);

  font-family:
    "Inter",
    "Segoe UI",
    Arial,
    sans-serif;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;

  max-width: 100%;
}

.contact-container {
  width: min(100% - 40px, 1180px);

  margin: 0 auto;
}

/* =========================================================
   CONTACT BREADCRUMB
========================================================= */

.contact-breadcrumb {
  position: relative;

  overflow: hidden;

  min-height: 200px;

  display: flex;
  align-items: center;

  padding: 38px 0 34px;

  color: var(--contact-white);

  background:
    linear-gradient(
      110deg,
      #0b2d52 0%,
      #070744 48%,
      #30485e 100%
    );
}

.contact-breadcrumb::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 9% 50%,
      rgba(22, 157, 180, 0.11),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(255, 255, 255, 0.04),
      transparent 28%
    );
}

.contact-breadcrumb-content {
  position: relative;
  z-index: 2;

  max-width: 960px;

  margin: 0 auto;

  text-align: center;
}

.contact-breadcrumb-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;

  margin-bottom: 12px;
  padding: 7px 17px;

  border:
    1px solid rgba(255, 255, 255, 0.24);

  border-radius: 50px;

  color: var(--contact-white);

  background:
    rgba(255, 255, 255, 0.05);

  font-size: 14px;
  font-weight: 800;

  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.contact-breadcrumb h1 {
  margin: 0;

  color: var(--contact-white);

  font-size: clamp(36px, 3vw, 26px);
  font-weight: 700;

  line-height: 1.15;
  letter-spacing: -0.8px;
}

.contact-breadcrumb p {
  max-width: 900px;

  margin: 14px auto 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: 18px;
  font-weight: 500;

  line-height: 1.75;
}

.contact-breadcrumb-navigation {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 18px;

  font-size: 15px;
  font-weight: 750;
}

.contact-breadcrumb-navigation a {
  color: var(--contact-white);

  transition:
    color 0.25s ease;
}

.contact-breadcrumb-navigation a:hover {
  color: var(--contact-teal);
}

.contact-breadcrumb-navigation i {
  color: #20c8c4;

  font-size: 11px;
}

.contact-breadcrumb-navigation span {
  color: var(--contact-white);
}

/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main-section {
  padding: 62px 0 64px;

  background: var(--contact-white);
}

.contact-main-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.78fr)
    minmax(0, 1.1fr);

  align-items: start;

  gap: 54px;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-information {
  padding-top: 2px;
}

.contact-heading {
  margin-bottom: 16px;
}

.contact-section-label {
  display: inline-block;

  margin-bottom: 8px;

  color: #737582;

  font-size: 13px;
  font-weight: 750;

  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.contact-heading h2 {
  max-width: 460px;

  margin: 0;

  color: var(--contact-navy);

  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;

  line-height: 1.12;
  letter-spacing: -1.2px;
}

/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details-list {
  display: flex;
  flex-direction: column;

  margin-top: 8px;
}

.contact-detail-item {
  display: grid;

  grid-template-columns: 42px 1fr;

  align-items: center;

  gap: 17px;

  min-height: 92px;

  padding: 18px 0;

  border-bottom:
    1px solid var(--contact-border);
}

.contact-detail-item:last-child {
  border-bottom: 0;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 46px;

  color: var(--contact-teal);

  font-size: 31px;
}

.contact-detail-content {
  min-width: 0;
}

.contact-detail-content span {
  display: block;

  margin-bottom: 5px;

  color: #7d7f8b;

  font-size: 12px;
  font-weight: 750;

  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-detail-content a {
  display: inline-block;

  color: var(--contact-navy);

  font-size: 18px;
  font-weight: 750;

  line-height: 1.5;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-detail-content a:hover {
  color: var(--contact-teal);

  transform: translateX(3px);
}

/* =========================================================
   CONTACT FORM BOX
========================================================= */

.contact-form-wrapper {
  width: 100%;
  max-width: 680px;

  padding: 28px;

  border: 1px solid #e3e6ee;
  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 18px 45px rgba(9, 9, 67, 0.08);
}

.contact-form {
  width: 100%;
}

.contact-form-group {
  position: relative;

  margin-bottom: 15px;
}

.contact-hidden-label {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

.contact-form input,
.contact-form textarea {
  display: block;

  width: 100%;

  border: 1px solid #e2e3ea;
  border-radius: 8px;

  outline: none;

  color: var(--contact-navy);

  background: #f1f1f6;

  font-size: 14px;
  font-weight: 500;

  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form input {
  height: 38px;

  padding: 0 20px;
}

.contact-form textarea {
  min-height: 120px;
  max-height: 160px;

  padding: 12px 16px;

  line-height: 1.2;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777987;

  opacity: 1;
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: #ededf3;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--contact-teal);

  background: #ffffff;

  box-shadow:
    0 0 0 3px rgba(25, 191, 174, 0.1);
}

.contact-form-group.has-error input,
.contact-form-group.has-error textarea {
  border-color: #dc3545;

  background: #fffafa;

  box-shadow:
    0 0 0 3px rgba(220, 53, 69, 0.08);
}

.contact-error-message {
  display: block;

  min-height: 0;

  margin-top: 5px;

  color: #dc3545;

  font-size: 12px;
  font-weight: 650;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  height: 50px;

  padding: 0 24px;

  border: 0;
  border-radius: 7px;

  color: #ffffff;

  background: var(--contact-teal);

  cursor: pointer;

  font-size: 14px;
  font-weight: 750;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-submit-button:hover {
  background: var(--contact-teal-dark);

  transform: translateY(-2px);

  box-shadow:
    0 10px 22px rgba(25, 191, 174, 0.22);
}

.contact-submit-button:active {
  transform: translateY(0);
}

.contact-submit-button:disabled {
  cursor: not-allowed;

  opacity: 0.8;

  transform: none;
}

.contact-submit-loader {
  display: none;

  width: 18px;
  height: 18px;

  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;

  border-radius: 50%;

  animation:
    contactButtonLoader 0.7s linear infinite;
}

.contact-submit-button.is-loading
.contact-submit-text {
  display: none;
}

.contact-submit-button.is-loading
.contact-submit-loader {
  display: block;
}

@keyframes contactButtonLoader {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   FORM STATUS
========================================================= */

.contact-form-status {
  display: none;

  margin-top: 14px;

  padding: 11px 14px;

  border-radius: 7px;

  font-size: 13px;
  font-weight: 650;

  line-height: 1.5;
}

.contact-form-status.success {
  display: block;

  color: #10705f;

  border: 1px solid rgba(25, 191, 174, 0.34);

  background: rgba(25, 191, 174, 0.09);
}

.contact-form-status.error {
  display: block;

  color: #a52431;

  border: 1px solid rgba(220, 53, 69, 0.28);

  background: rgba(220, 53, 69, 0.07);
}

/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
  width: 100%;

  margin: 0;

  background:
    var(--contact-soft-background);
}

.contact-map-wrapper {
  width: 100%;
  height: 410px;

  overflow: hidden;
}

.contact-map-wrapper iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;

  filter:
    saturate(0.94)
    contrast(1.02);
}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

  .contact-container {
    width: min(100% - 40px, 1050px);
  }

  .contact-main-grid {
    grid-template-columns:
      minmax(0, 0.85fr)
      minmax(0, 1.05fr);

    gap: 42px;
  }

  .contact-heading h2 {
    font-size: 39px;
  }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .contact-breadcrumb {
    min-height: 270px;

    padding: 38px 0 34px;
  }

  .contact-breadcrumb h1 {
    font-size: 42px;
  }

  .contact-breadcrumb p {
    max-width: 720px;

    font-size: 16px;
  }

  .contact-main-section {
    padding: 56px 0;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .contact-information {
    max-width: 100%;
  }

  .contact-heading h2 {
    max-width: 600px;

    font-size: 40px;
  }

  .contact-details-list {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 28px;
  }

  .contact-detail-item:last-child {
    grid-column: 1 / -1;
  }

  .contact-map-wrapper {
    height: 380px;
  }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .contact-container {
    width: min(100% - 30px, 1180px);
  }

  .contact-breadcrumb {
    min-height: 245px;

    padding: 34px 0 30px;
  }

  .contact-breadcrumb-label {
    min-height: 34px;

    margin-bottom: 10px;
    padding: 6px 14px;

    font-size: 12px;
  }

  .contact-breadcrumb h1 {
    font-size: 36px;
  }

  .contact-breadcrumb p {
    margin-top: 12px;

    font-size: 14px;
    line-height: 1.65;
  }

  .contact-breadcrumb-navigation {
    margin-top: 15px;

    font-size: 14px;
  }

  .contact-main-section {
    padding: 46px 0 48px;
  }

  .contact-main-grid {
    gap: 36px;
  }

  .contact-heading {
    margin-bottom: 12px;
  }

  .contact-heading h2 {
    font-size: 34px;

    line-height: 1.13;
    letter-spacing: -0.8px;
  }

  .contact-details-list {
    display: flex;
    flex-direction: column;
  }

  .contact-detail-item {
    grid-template-columns: 36px 1fr;

    gap: 14px;

    min-height: 85px;

    padding: 17px 0;
  }

  .contact-detail-icon {
    width: 36px;
    height: 42px;

    font-size: 28px;
  }

  .contact-detail-content a {
    font-size: 15px;
  }

  .contact-form-group {
    margin-bottom: 14px;
  }

  .contact-form input {
    height: 55px;

    padding: 0 18px;
  }

  .contact-form textarea {
    min-height: 170px;

    padding: 18px;
  }

  .contact-submit-button {
    width: 100%;
    min-width: 0;

    height: 56px;
  }

  .contact-map-wrapper {
    height: 330px;
  }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .contact-breadcrumb {
    min-height: 230px;
  }

  .contact-breadcrumb h1 {
    font-size: 32px;
  }

  .contact-breadcrumb p {
    font-size: 13px;
  }

  .contact-heading h2 {
    font-size: 31px;
  }

  .contact-section-label {
    font-size: 12px;
  }

  .contact-detail-item {
    align-items: start;
  }

  .contact-detail-icon {
    margin-top: 3px;
  }

  .contact-form input {
    height: 53px;
  }

  .contact-form textarea {
    min-height: 155px;
  }

  .contact-map-wrapper {
    height: 300px;
  }

}