﻿.contactPage_wrap {
  padding: 144px 22px 126px;
}
.learn-more {
  display: none;
}
h1 {
  color: var(--blue-3-main-color, #387da0);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 59px;
  font-weight: 400;
  line-height: 63px; /* 106.78% */
  letter-spacing: -4.13px;
}

.mapWrap {
  width: 100%;
  height: 200px;
  margin-top: 40px;
  background-color: #d9d9d9;
  overflow: hidden;
}

#contactMap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.mapFallback {
  color: #17364b;
  font-family: 'Commissioner', sans-serif;
  font-size: 16px;
  text-decoration: underline;
}

.contactMapMarker {
  height: 72px;
  position: absolute;
  transform: translate(-50%, -100%);
  width: 62px;
}

.contactMapMarker-pin {
  background: #17364b;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 10px 20px rgba(23, 54, 75, 0.28);
  display: block;
  height: 54px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
  width: 54px;
}

.contactMapMarker-pin img {
  background: #17364b;
  border-radius: 50%;
  height: 34px;
  left: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 34px;
}
.contactInfo_wrap {
  padding-top: 40px;
}
.contactInfo_wrap .madisonTitle {
  color: var(--blue-2-main-color, #17364b);
  font-family: Commissioner;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.contactInfo_wrap .madisonAddress {
  color: var(--blue-2-main-color, #17364b);
  font-family: Commissioner;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.contactInfo_wrap a {
  color: var(--blue-2-main-color, #17364b);
  font-family: Commissioner;
  font-size: 30px;
  font-weight: 400;
  line-height: 37px; /* 123.333% */
  letter-spacing: -1.2px;
  display: block;
  margin-top: 32px;
}

.contactInfo_wrap a:last-of-type {
  margin-top: 8px;
}

.formWrap {
  padding-top: 80px;
}

.inputGroup {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.inputGroup label {
  color: var(--blue-2-main-color, #17364b);
  font-family: 'Commissioner', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  transition: color 0.3s ease;
}

/* Change label color when input or textarea is focused */
.inputGroup:focus-within label {
  color: var(--blue-3-main-color, #9fd0e2);
}

.formWrap input[type='text'] {
  height: 32px;
}

.formWrap textarea {
  height: 120px;
  resize: none;
}

.formWrap input[type='text'],
.formWrap textarea {
  border: none;
  border-bottom: 1px solid #000;
  outline: none;
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 5px 0;
  font-family: Commissioner, sans-serif;
}

.formWrap input[type='text']:focus,
.formWrap textarea:focus {
  border-color: #387da0;
  /* border-color: #9fd0e2; */
}

.formWrap input[type='text']::placeholder,
.formWrap textarea::placeholder {
  color: var(--blue-2-main-color, #17364b);
  font-size: 16px;
  font-weight: 300;
}
.formWrap .contactSubmitButton {
  align-items: center;
  background-color: #17364b;
  border-radius: 40px;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  gap: 9px;
  height: 48px;
  justify-content: center;
  letter-spacing: -1.1px;
  margin-top: 48px;
  outline: none;
  padding: 0px 36px;
  transition: background-color 0.3s ease; /* Smooth transition */
  width: 100%;
}

.formWrap .contactSubmitButton:hover {
  background-color: #387da0;
}

.formWrap .contactSubmitButton:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.contactError {
  color: #a52626;
  font-family: Commissioner, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  margin-top: 20px;
}

.placeOrder_link {
  color: var(--blue-2-main-color, #17364b);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -1.1px;
  border-bottom: 1px solid #17364b;
  margin: 32px auto 0;
  display: block;
  padding-bottom: 16px;
  transition: color 0.3s ease;
  width: fit-content;
}

.placeOrder_link:hover {
  color: #387da0;
  border-color: #387da0;
}

@media (min-width: 1024px) {
  .contactPage_wrap {
    padding: 200px 98px 175px;
    max-width: 1024px;
    margin: 0 auto;
  }
  h1 {
    font-size: 90px;
    line-height: 1;
    letter-spacing: -6.3px;
  }
  .mapWrap {
    height: 335px;
    width: 100%;
  }
  .contactInfo_wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 52px;
  }
  .contactInfo_wrap .madisonTitle {
    font-size: 22px;
  }
  .contactInfo_wrap .madisonAddress {
    font-size: 22px;
    margin-top: 26px;
  }
  .contactInfo_wrap a {
    font-size: 36px;
    line-height: 46px;
    letter-spacing: -1.44px;
    margin-top: 0px;
    font-weight: 400;
    margin-top: -8px;
  }
  .contactInfo_wrap a:last-of-type {
    margin-top: 14px;
  }
  .formWrap {
    padding-top: 128px;
  }
  .inputGroup {
    margin-bottom: 40px;
  }
  .inputGroup label {
    font-size: 22px;
  }
  .formWrap textarea {
    height: 77px;
  }
  .formWrap .contactSubmitButton {
    max-width: 544px;
    height: 52px;
    margin: 52px auto 0;
    font-size: 30px;
    letter-spacing: -1.5px;
  }
  .placeOrder_link {
    font-size: 30px;
    letter-spacing: -1.5px;
    padding-bottom: 10px;
    margin-top: 26px;
  }
}
@media (min-width: 1366px) {
  .contactPage_wrap {
    padding: 252px 182px 155px;
    margin: 0 auto;
    max-width: 1366px;
  }
  .mapWrap {
    height: 250px;
    width: 100%;
    max-width: 800px;
    margin-top: 57px;
  }
  .contactInfo_wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 57px;
    max-width: 800px;
  }
  .contactInfo_wrap .madisonTitle {
    font-size: 22px;
  }
  .contactInfo_wrap .madisonAddress {
    font-size: 22px;
    margin-top: 26px;
  }
  .contactInfo_wrap a {
    font-size: 36px;
    line-height: 46px;
    letter-spacing: -1.44px;
    margin-top: 0px;
    font-weight: 400;
    margin-top: -8px;
  }
  .contactInfo_wrap a:last-of-type {
    margin-top: 14px;
  }
  .formWrap input[type='text'] {
    height: 38px;
  }
  .formWrap {
    padding-top: 94px;
  }
  .inputGroup {
    margin-bottom: 38px;
  }
  .formWrap textarea {
    height: 96px;
  }
  .formWrap .contactSubmitButton {
    max-width: 544px;
    height: 57px;
    margin-top: 56px;
  }
  .placeOrder_link {
    margin-top: 38px;
  }
}

@media (min-width: 1920px) {
  .contactPage_wrap {
    padding: 264px 250px 265px;
    margin: 0 auto;
    max-width: 1920px;
  }
  h1 {
    font-size: 127px;
    line-height: 1;
    letter-spacing: -8.89px;
  }
  .mapWrap {
    height: 326px;
    width: 100%;
    max-width: 980px;
    margin-top: 50px;
  }
  .contactInfo_wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 64px;
    max-width: 980px;
  }
  .contactInfo_wrap .madisonTitle {
    font-size: 24px;
  }
  .contactInfo_wrap .madisonAddress {
    font-size: 24px;
    margin-top: 40px;
    max-width: 240px;
  }
  .contactInfo_wrap a {
    font-size: 48px;
    line-height: 46px;
    letter-spacing: -1.44px;
    margin-top: 0px;
    font-weight: 400;
    margin-top: -2px;
  }
  .contactInfo_wrap a:last-of-type {
    margin-top: 40px;
  }
  .formWrap {
    padding-top: 265px;
  }

  .formWrap input[type='text'] {
    height: 40px;
    font-size: 24px;
  }
  .inputGroup {
    margin-bottom: 40px;
  }
  .inputGroup label {
    font-size: 24px;
  }
  .formWrap textarea {
    height: 96px;
  }
  .formWrap .contactSubmitButton {
    max-width: 544px;
    height: 61px;
    margin-top: 64px;
  }
  .placeOrder_link {
    margin-top: 40px;
  }
}

/* ----- Success Section ----- */

.successWrap {
  padding: 80px 0 0;
}

.successCard {
  background:
    radial-gradient(circle at top right, rgba(237, 255, 0, 0.32), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(206, 207, 209, 0.2));
  border: 1px solid rgba(172, 183, 191, 0.28);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(23, 54, 75, 0.11);
  overflow: hidden;
  padding: 56px 32px 48px;
  position: relative;
}

.successCard::before {
  background: #edff00;
  content: '';
  height: 8px;
  left: 32px;
  position: absolute;
  right: 32px;
  top: 0;
}

.successMark {
  align-items: center;
  background: #17364b;
  border-radius: 999px;
  display: flex;
  height: 60px;
  justify-content: center;
  margin-bottom: 28px;
  width: 60px;
}

.successMark span {
  border-bottom: 3px solid #edff00;
  border-right: 3px solid #edff00;
  display: block;
  height: 24px;
  margin-top: -4px;
  transform: rotate(45deg);
  width: 13px;
}

.successEyebrow {
  color: #acb7bf;
  font-family: 'Commissioner', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.successHeading {
  color: #17364b;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.successMessage {
  color: #17364b;
  font-family: 'Commissioner', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 20px 0 0;
}

@media (min-width: 1024px) {
  .successWrap {
    padding: 128px 0 0;
  }

  .successCard {
    padding: 64px 72px 56px;
  }

  .successCard::before {
    left: 72px;
    right: 72px;
  }

  .successMark {
    height: 74px;
    margin-bottom: 34px;
    width: 74px;
  }

  .successMark span {
    height: 30px;
    margin-top: -6px;
    width: 16px;
  }

  .successEyebrow {
    font-size: 18px;
  }

  .successHeading {
    font-size: 80px;
  }

  .successMessage {
    font-size: 22px;
    margin-top: 28px;
    max-width: 600px;
  }
}
