@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../images/suisseintl-light.woff2) format('woff2'), url(../images/suisseintl-light.woff) format('woff');
}
@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../images/suisseintl-regular.woff2) format('woff2'), url(../images/suisseintl-regular.woff) format('woff');
}
@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../images/suisseintl-medium.woff2) format('woff2'), url(../images/suisseintl-medium.woff) format('woff');
}
@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../images/suisseintl-semibold.woff2) format('woff2'), url(../images/suisseintl-semibold.woff) format('woff');
}
@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../images/suisseintl-bold.woff2) format('woff2'), url(../images/suisseintl-bold.woff) format('woff');
}

/* ========================================================
   CUBERTO CONTACT SECTION - REFINED PIXEL-PERFECT STYLING
   Typography: Suisse Intl (Cuberto signature font)
   ======================================================== */

.ContactSection,
.ContactSection * {
  font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.ContactSection {
  padding: 80px 0 120px;
  position: relative;
  z-index: 10;
  color: #ffffff;
  background-color: transparent;
}

@media (min-width: 768px) {
  .ContactSection {
    padding: 100px 0 140px;
  }
}

.ContactSection .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Title */
.ContactSection .header {
  text-align: center;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .ContactSection .header {
    margin-bottom: 70px;
  }
}

.ContactSection .header h2 {
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

/* Form Container */
.ContactSection .form {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* Labels: "I'm interested in...", "Project budget (USD)" */
.ContactSection .label {
  font-family: 'Suisse Intl', sans-serif !important;
  padding: 0 0 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .ContactSection .label {
    padding: 0 0 26px;
    font-size: 24px;
  }
}

/* Groups */
.ContactSection .group {
  margin: 0 0 42px;
}

@media (min-width: 768px) {
  .ContactSection .group {
    margin: 0 0 54px;
  }
}

/* Checkboxes & Radios Wrapper */
.ContactSection .checkboxes {
  margin: -6px -5px;
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .ContactSection .checkboxes {
    margin: -7px -6px;
  }
}

.ContactSection .checkbox {
  vertical-align: top;
  margin: 6px 5px;
  display: inline-block;
}

@media (min-width: 768px) {
  .ContactSection .checkbox {
    margin: 7px 6px;
  }
}

/* ========================================================
   PILL BUTTONS (Checkboxes and Radios)
   ======================================================== */
.CheckboxInput {
  cursor: pointer;
  display: inline-block;
  position: relative;
  vertical-align: top;
}

.CheckboxInput input {
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  z-index: 10;
  position: absolute;
  inset: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}

.CheckboxInput .box {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .CheckboxInput .box {
    padding: 13px 28px;
    font-size: 18px;
    font-weight: 400;
  }
}

/* Pill Border */
.CheckboxInput .border {
  content: "";
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.CheckboxInput:hover .border {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

/* Checked State */
.CheckboxInput input:checked ~ .box {
  color: #ffffff;
}

.CheckboxInput input:checked ~ .box .border {
  border-color: #FF2A4D;
  background: #FF2A4D;
  box-shadow: 0 4px 20px rgba(255, 42, 77, 0.35);
}

/* Text & Title inside Pill */
.CheckboxInput .title {
  z-index: 4;
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}

.CheckboxInput .title span {
  display: block;
  position: relative;
  color: #ffffff;
  font-family: 'Suisse Intl', sans-serif !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.CheckboxInput .title span:after {
  content: attr(data-text);
  display: block;
  position: absolute;
  top: 115%;
  left: 0;
  color: #ffffff;
  font-family: 'Suisse Intl', sans-serif !important;
}

@media (hover: hover) and (pointer: fine) {
  .CheckboxInput:hover .title span {
    transform: translateY(-115%);
  }
  .CheckboxInput input:checked:hover .title span {
    transform: none;
  }
}

/* ========================================================
   UNDERLINE INPUTS (.UnderlineInput)
   ======================================================== */
.UnderlineInput {
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s ease;
}

.UnderlineInput:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.UnderlineInput .line {
  opacity: 0;
  pointer-events: none;
  background: #FF2A4D;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.UnderlineInput input:focus ~ .line,
.UnderlineInput textarea:focus ~ .line {
  opacity: 1;
  transform: scaleX(1);
}

.UnderlineInput .required {
  z-index: 1;
  background: #FF2A4D;
  width: 9px;
  height: 9px;
  display: block;
  position: absolute;
  top: 20px;
  right: 4px;
  mask-image: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 12\"><path fill=\"%23000\" d=\"m6.75 4.2 2.96-2.97 1.06 1.06-2.96 2.96H12v1.5H7.8l2.97 2.96-1.06 1.06-2.96-2.96V12h-1.5V7.81l-2.96 2.96-1.06-1.06 2.96-2.96H0v-1.5h4.19L1.23 2.29l1.06-1.06 2.96 2.96V0h1.5v4.2Z\"/></svg>");
  mask-size: cover;
}

@media (min-width: 768px) {
  .UnderlineInput .required {
    top: 24px;
    width: 10px;
    height: 10px;
  }
}

.UnderlineInput input,
.UnderlineInput textarea {
  z-index: 1;
  color: #ffffff;
  resize: none;
  background: transparent;
  border: 0;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 16px 16px 16px 0;
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  .UnderlineInput input,
  .UnderlineInput textarea {
    padding: 22px 20px 22px 0;
    font-size: 26px;
  }
}

.UnderlineInput input::placeholder,
.UnderlineInput textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
  font-family: 'Suisse Intl', sans-serif !important;
  font-weight: 400;
  transition: opacity 0.2s;
}

.UnderlineInput input:focus::placeholder,
.UnderlineInput textarea:focus::placeholder {
  opacity: 0.2;
}

/* ========================================================
   FILE INPUT (.FileInput)
   ======================================================== */
.FileInput {
  cursor: pointer;
  width: fit-content;
  position: relative;
}

.FileInput input {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.FileInput .add {
  color: #ffffff;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .FileInput .add {
    font-size: 22px;
  }
}

.FileInput .add svg {
  color: #FF2A4D;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.FileInput:hover .add svg {
  transform: rotate(-15deg);
}

.FileInput .add span {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.FileInput:hover .add span {
  border-bottom-color: #FF2A4D;
  color: #FF2A4D;
}

.FileInput .items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.FileInput .items .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  font-size: 13px;
  color: #ffffff;
  font-family: 'Suisse Intl', sans-serif !important;
}

.FileInput .items .item i {
  cursor: pointer;
  color: #FF2A4D;
  font-style: normal;
  font-weight: bold;
}

/* ========================================================
   SUBMIT BUTTON (.CtaButton)
   ======================================================== */
.ContactSection .submit {
  margin: 44px 0 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .ContactSection .submit {
    margin: 60px 0 0;
  }
}

.CtaButton {
  white-space: nowrap;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  padding: 16px 44px;
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  overflow: hidden;
  position: relative;
  background: #FF2A4D;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 42, 77, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.3s ease;
}

@media (min-width: 768px) {
  .CtaButton {
    padding: 18px 52px;
    font-size: 19px;
  }
}

.CtaButton:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(255, 42, 77, 0.55);
  background: #ff3b5c;
}

.CtaButton .title {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: block;
}

.CtaButton .title span {
  display: block;
  position: relative;
  color: #ffffff;
  font-family: 'Suisse Intl', sans-serif !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.CtaButton .title span:after {
  content: attr(data-text);
  display: block;
  position: absolute;
  top: 115%;
  left: 0;
  color: #ffffff;
  font-family: 'Suisse Intl', sans-serif !important;
}

@media (hover: hover) and (pointer: fine) {
  .CtaButton:hover .title span {
    transform: translateY(-115%);
  }
}

/* Terms & Privacy */
.ContactSection .terms {
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  margin: 30px auto 0;
  font-family: 'Suisse Intl', sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.ContactSection .terms a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.ContactSection .terms a:hover {
  color: #FF2A4D;
}
