@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

/* Above-the-fold: same image stack as index (pattern + multiply), light blue tint */
body.contact-page .hero-section.hero-contact {
  background-color: #f0f7ff;
  background: rgba(230, 246, 255, 1);
  background-image: url(assets/images/pattern-mask-group.png);
  background-blend-mode: multiply;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

body.contact-page .hero-section.hero-contact > * {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 932px) {
  body.contact-page.nav-pill-style .get-started-header {
    border-radius: 999px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

.contact-second {
  overflow-x: hidden;
}

/* Two-column hero */
.contact-hero-fold.our-collection-hero {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: transparent;
}

.contact-hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.12fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.contact-hero-copy {
  text-align: left;
}

.contact-hero-eyebrow {
  font-family: var(--bold-font-h1), 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ed0f84;
  margin: 0 0 14px;
}

.contact-hero-title {
  font-family: var(--bold-font-h1), 'Satoshi', sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #121b28;
  margin: 0 0 20px;
  max-width: 20ch;
}

.contact-hero-lead {
  font-family: var(--font-light-satoshi), var(--regular-font-p-aeonik), sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: #5f6060;
  margin: 0;
  max-width: 480px;
}

.contact-hero-visual {
  perspective: 1200px;
  perspective-origin: 45% 35%;
}

.contact-hero-visual-frame {
  transform-style: preserve-3d;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.contact-hero-dashboard {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  transform: rotateX(7deg) rotateY(-16deg) rotateZ(0.5deg);
  transform-origin: 50% 50%;
  box-shadow:
    0 20px 40px -8px rgba(18, 50, 80, 0.15),
    0 50px 90px -25px rgba(18, 50, 80, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  background: #fff;
}

@media screen and (max-width: 960px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero-copy {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
  }

  .contact-hero-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-hero-visual-frame {
    justify-content: center;
  }

  .contact-hero-dashboard {
    max-width: min(520px, 100%);
    transform: rotateX(5deg) rotateY(-10deg);
  }
}

@media screen and (max-width: 480px) {
  .contact-hero-dashboard {
    transform: rotateX(4deg) rotateY(-6deg);
    border-radius: 10px;
  }
}

.form {
  display: flex;
  margin: 0 auto;
  width: 100%;
  max-width: 1194px;
  gap: 86px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.form-container {
  width: 100%;
  max-width: 755px;
  border-right: 0.6px solid #efe9ec;
  padding-left: 80px;
  padding-right: 80px;
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.form-heading {
  font-family: var(--bold-font-h1);
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  text-align: left;
  color: var(--color-secondary);
}

.form-description {
  font-family: var(--font-light-satoshi);
  font-size: 18px;
  font-weight: 300;
  line-height: 22px;
  text-align: left;
  color: #393535;
}

.contact-form-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(237, 15, 132, 0.08);
  border: 1px solid rgba(237, 15, 132, 0.35);
  font-family: var(--font-regular-satoshi), sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #9a0b52;
  line-height: 1.4;
}

form {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.lets-talk-container {
  width: 100%;
  max-width: 353px;
  display: flex;
  flex-direction: column;
}

input,
select {
  width: 100%;
  max-width: 650px;
  height: 60.07px;
  padding: 17.53px 21.92px 17.53px 21.92px;
  border-radius: 8px;
  border: 1.1px solid #121b28;
}

select {
  appearance: none; /* Hide the default caret */
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  position: relative;
}

/* Custom caret styling */
select::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  /* border-top-color: #333; Color of the custom caret */
  pointer-events: none;
}

/* Adding a background image for the caret */
select {
  background-image: url('assets/svgs/caret-down.svg'); /* Replace with your custom caret icon */
  background-repeat: no-repeat;
  background-position: right 25px center; /* Position the caret on the right */
  background-size: 19.2px; /* Adjust size of the caret */
}
input::placeholder,
select::placeholder {
  font-family: var(--regular-font-p-aeonik);
  font-size: 15.34px;
  font-weight: 400;
  line-height: 24.55px;
  text-align: left;
  color: #727678;
}

select::after {
  color: #6c6969;
}

textarea {
  width: 100%;
  max-width: 650px;
  height: 200px;
  border-radius: 8px;
  border: 1px;
  border: 1.1px solid #121b28;
}

input[type='submit'] {
  background-color: var(--color-secondary);
  color: var(--white);
  font-family: var(--bold-font-h1);
  font-size: 16px;
  font-weight: 500;
  line-height: 18.15px;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 8px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10.96px;
}

label {
  font-family: var(--bold-font-h1);
  font-size: 15.34px;
  font-weight: 400;
  line-height: 24.55px;
  text-align: left;
  color: #121b28;
}

label span {
  color: #e00029;
  font-family: var(--bold-font-h1);
  font-size: 15.34px;
  font-weight: 400;
  line-height: 24.55px;
  text-align: left;
}

.lets-talk-heading {
  font-family: var(--bold-font-h1);
  font-size: 28.26px;
  font-weight: 700;
  line-height: 42.4px;
  text-align: left;
  color: #1f2124;
  padding-bottom: 5px;
}

.lets-talk-description {
  font-family: var(--font-light-satoshi);
  font-size: 16.61px;
  font-weight: 300;
  line-height: 21.8px;
  text-align: left;
  color: #373735;
}

.middle-section {
  padding-bottom: 43px;
}

.first {
  display: flex;
  gap: 8.31px;
  align-items: flex-start;
  border-bottom: 1.04px solid #e2e7de;
  padding-top: 40px;
  padding-bottom: 20px;
}

.first p b {
  font-family: var(--bold-font-h1);
  font-size: 15.57px;
  font-weight: 500;
  line-height: 17.65px;
  text-align: left;
}

.first p {
  font-family: var(--font-light-aeonik);
  font-size: 15.57px;
  font-weight: 250;
  line-height: 17.65px;
  text-align: left;
}

.last-section {
  display: flex;
  flex-direction: column;
  gap: 33px;
}

.emailPhoneSection {
  display: flex;
  gap: 18px;
}

.mail-call-div {
  display: flex;
  flex-direction: column;
}

.mail-call-div p {
  font-family: var(--bold-font-h1);
  font-size: 15.79px;
  font-weight: 300;
  line-height: 18.95px;
  text-align: left;
}

.mail-call-div a {
  font-family: var(--font-light-aeonik);
  font-size: 16px;
  font-weight: 900;
  line-height: 19.2px;
  text-align: left;
  color: var(--color-secondary);
}

.call {
  text-decoration: none;
}

.check-box-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* flex-direction: column; */
}

@media screen and (max-width: 500px) {
  .check-box-custom {
    grid-template-columns: repeat(2, 1fr);
    /* flex-direction: column; */
  }
}

.check-box-custom [type='checkbox'] {
  display: none;
}

/* Custom checkbox */
.check-box-custom label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Instrument Sans;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  font-family: var(--font-meduim-aeonik);
}

.check-box-custom label::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px dashed #000;
  border-radius: 50%;
  margin-right: 8px;
  box-sizing: border-box;
}

/* Checked state */
.check-box-custom [type='checkbox']:checked + label::before {
  /* background-color: rgba(242, 218, 255, 1); */
  /* background-color: rgba(255, 217, 238, 0.31); */
  /* background-color: var(--color-secondary); */
  /* background-color: rgba(242, 218, 255, 1); */
  background-color: rgba(237, 15, 132, 1);
  border: 1px solid white;
}

/* .check-box-custom [type='checkbox'] {
  width: 100%;
  max-width: 15px;
  height: 15px;
  border-radius: 50% !important;
} */

.custom-select {
  position: relative;
  width: 100%;
  max-width: 650px;
}

.select-box {
  width: 100%;
  padding: 17.53px 21.92px;
  border-radius: 8px;
  border: 1.1px solid #121b28;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 60px; /* Ensure it's a little bigger when items are selected */
  background-image: url('assets/svgs/caret-down.svg');
  background-repeat: no-repeat;
  background-position: right 25px center;
  background-size: 19.2px;
  font-family: var(--regular-font-p-aeonik);
  font-size: 15.34px;
  font-weight: 400;
  line-height: 24.55px;
  text-align: left;
}

.selected-item {
  background-color: rgba(246, 246, 249, 1);
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: black;
}

.selected-item .remove {
  cursor: pointer;
  color: rgba(224, 49, 55, 1);
  font-size: 16px;
}

.options-container {
  display: none; /* Hidden by default */
  position: absolute;
  width: 100%;
  border: 1.1px solid #121b28;
  background-color: white;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
  top: 100%; /* Position below the select box */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Show the options when .open is applied */
.custom-select.open .options-container {
  display: block;
}

.options-container label {
  display: block;
  padding: 10px;
  cursor: pointer;
  font-family: var(--bold-font-h1);
  font-size: 15.34px;
  font-weight: 400;
  line-height: 24.55px;
  color: #121b28;
}

/* Hide checkboxes */
.options-container input[type='checkbox'] {
  display: none;
}

.options-container label:hover {
  background-color: #f0f0f0;
}

.select-box::after {
  color: #6c6969;
}

@media screen and (max-width: 900px) {
  .form {
    flex-direction: column;
  }
  .form-container {
    border-right: 0;
  }
  .lets-talk-container {
    max-width: 100%;
    padding: 0 80px;
  }
}

@media screen and (max-width: 600px) {
  .form-heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
  }

  .form-description {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
  }
}
