@import url("global.css");
@import url("mobileNav.css");
@import url("header.css");
@import url("cta.css");
@import url("footer.css");

/* SECTION 1 - TOP SECTION STYLES: INCLUDES ALL SERVICES */
.section-1 {
  padding: 4rem 2.5rem;
  line-height: 1.5;
}

.section--intro {
  max-width: 61rem;
  margin: auto;
}

.section--title {
  font-size: 2.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2rem;
  line-height: 1.2;
  color: var(--dark-purple);
}

.section--description {
  font-size: 1.8rem;
}

form {
  max-width: 62rem;
  margin: auto;
  margin-bottom: 3rem;

  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form--control {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 1.4rem;
  font-weight: 600;
}

input,
textarea,
select {
  font-size: 1.8rem;
  color: var(--dark-gray);
}

input::placeholder,
textarea::placeholder {
  color: var(--normal-gray);
}

input,
select {
  border: none;
  border-bottom: 0.1rem solid var(--light-gray);
  padding: 1rem 0.5rem;
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible {
  border: none;
  border-bottom: 0.2rem solid var(--dark-gray);
  outline: none;
}

textarea {
  padding: 1.5rem;
  border: 0.1rem solid var(--light-gray);
}

select {
  background: inherit;
  width: 100%;
}

.date-and-time {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form--select {
  position: relative;
}

.dropdown--icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  cursor: pointer;
  pointer-events: none;
}

#pseudo--level,
#pseudo--date,
#pseudo--time {
  width: 100%;
  height: 100%;
}

#commitment-level,
#date,
#time {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  box-sizing: border-box;
}

#date::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.btn--send {
  width: 100%;
  margin-top: 3rem;
  border: none;
  border-radius: 0.8rem;
  padding: 1.2rem;
  background-color: var(--dark-purple);
  outline: none;
  cursor: pointer;

  font-weight: 500;
  font-size: 1.4rem;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .date-and-time {
    flex-direction: row;
    gap: 0;
    justify-content: stretch;
    align-items: stretch;
  }

  .date-and-time > div {
    width: 50%;
  }
}

@media screen and (min-width: 1024px) {
  .btn--send {
    border-radius: 3.5rem;
    padding: 1.2rem 3.5rem;
    width: max-content;
  }
}

@media screen and (min-width: 1280px) {
  .section--intro {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}
