* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, Roboto, Arial, sans-serif;
  background-color: #fff;
  color: #000;
}


/* -------- HERO SECTION -------- */
.hero-section {
  background: #fafafa;
  color: white;
  padding: 10px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 140px;
  /* pushes text below navbar */
  padding-bottom: 100px;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-content h1 {
  color: var(--Ultramar, #283c78);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.hero-content p {
  color: #000;
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* -------- RESPONSIVE HERO STYLES -------- */
@media (max-width: 768px) {
  section h1 {
    font-size: 28px !important;
  }

  section p {
    font-size: 16px !important;
  }

  section button {
    width: 100% !important;
    max-width: 320px !important;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 80px 20px 140px 20px !important;
  }
}


/* ===== FORM SECTION ===== */

.form-section {
  background-color: #283c78;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px 50px;
  max-width: 1000px;
  width: 100%;
  color: #4f5b6b;
  font-family: "Lato", Roboto, Arial, sans-serif;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 92px;
}

/* ===== FIELD GROUP ===== */

.field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-family: Roboto, Lato, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.5px;
  color: #4f5b6b;
}

/* Required star */
.required {
  color: #d12c2c;
}

/* OPTIONAL BELOW INPUT */
.field-group.optional {
  position: relative;
}

.optional-label {
  font-size: 12px;
  color: #9aa4b8;
  margin-top: -2px;
  display: block;
}

/* LEFT + RIGHT COLUMN */
.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 0 0;
}

/* ===== INPUTS / TEXTAREA / SELECT ===== */

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--Ceniza, #909090);
  font-family: "Lato", Roboto, Arial, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #4f5b6b;
  background-color: #ffffff;
  height: 56px;
  box-sizing: border-box;
}

/* Custom dropdown arrow */
.demo-form select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* Textarea Bigger */
.demo-form textarea {
  resize: none;
  min-height: 128px;
  height: auto;
  line-height: 1.5;
}

/* FOCUS STATE */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 1px rgba(0, 115, 230, 0.35);
}

/* Change dropdown icon color on focus */
.demo-form select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230073e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Placeholder color */
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: #9aa4b8;
}

/* ===== MULTI SELECT ===== */

.multi-select {
  position: relative;
  width: 100%;
}

.multi-select-input {
  min-height: 56px;
  border: 1px solid #909090;
  border-radius: 4px;
  padding: 8px 40px 8px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #fff;
}

.multi-select-input .placeholder {
  color: #9aa4b8;
}

.multi-select.open .placeholder {
  display: none;
}

.selected-items {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  background: #C9E6FF;
  color: #000;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag span {
  cursor: pointer;
  font-weight: bold;
}

/* Multi-select chevron – same as Job Title select */
.arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.multi-select.open .arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230073e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.multi-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-height: 260px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.multi-select.open .multi-select-dropdown {
  display: block;
}

.multi-select-dropdown li {
  padding: 12px 14px;
  cursor: pointer;
}

.multi-select-dropdown li.active {
  background: #C9E6FF;
  color: #000;
  font-weight: 500;
}

.multi-select-dropdown li:hover {
  background: #f2f6ff;
}

/* ===== DATE FIELD ===== */

.date-field {
  position: relative;
}
.date-field input[type="datetime-local"] {
  padding-left: 15px;
  padding-right: 44px;
  accent-color: #0073e6;
}
.date-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.date-field::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
}

/* ===== BUTTON ===== */

.demo-btn {
  align-self: flex-end;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .demo-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-btn {
    width: 100%;
    align-self: stretch;
  }
}

/* -------- MAP SECTION -------- */
.map-section {
  background-color: #fff;
  padding: 0;
  margin: 0;
  border-top: 4px solid #00aaff;
  /* blue border like in the image */
  border-bottom: 4px solid #00aaff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  width: 100%;
}


/* ---------- Confirmation modal styles ---------- */
/* BACKDROP */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9996;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL BOX */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92%;
  max-width: 520px;
  transform: translate(-50%, -50%) scale(0.97);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 9997;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  display: flex;
  width: 657px;
  padding: 60px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.modal-content-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.modal-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

/* CONTENT */
.modal h2 {
  margin: auto;
  color: var(--Ultramar, #283c78);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal p {
  margin: auto;
  color: var(--Negro, #000);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* OUTLINE BUTTON */
.btn-outline {
  background: transparent;
  cursor: pointer;
  display: flex;
  height: 52px;
  padding: 30px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--Capri, #0096d6);
  color: var(--Capri, #0096d6);
  text-align: center;

  /* Body Text */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {

  .modal,
  .modal-backdrop {
    transition: none;
  }
}

/* small screens tweak */
@media (max-width: 420px) {
  .modal {
    padding: 18px;
    border-radius: 12px;
  }

  .modal h2 {
    font-size: 18px;
  }

  .modal p {
    font-size: 13px;
  }
}