/* DESIGN GUILDLINES USED ON THE PAGE */
/* ##DESIGNS TO BE USED ON THE PAGE
--- 01 TYPOGRAPHY SYSTEM
    FONT SIZE SYSTEM (px)
      10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
    
    SPACING SYSTEM (px)
      2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
    
    - Font weights
      Default: 400
      Medium: 500
      Semi-bold: 600
      Bold: 700

    - Line heights
      Default: 1
      Small: 1.05
      Medium: 1.2
      Paragraph default: 1.6
      Large: 1.8

    - Letter spacing
      -0.5px
      0.75px
  */

/* HERO SECTION */
.hero__section {
  background-color: var(--primary-color);
  position: relative;
  background-position: left 150px bottom 60%;
  padding: 120px 5% 60px;
  min-height: 100vh;
  position: relative;
}

.hero img {
  position: absolute;
  width: 65%;
  left: 30%;
  bottom: 1%;
}

.hero {
  align-items: center;
  margin: 0;
  color: white;
  grid-template-columns: 550px 1fr;
  justify-content: space-between;
  gap: 4rem;
}

/* FEATURES SECTION */
.features__section {
  background-color: var(--accent-color);
}

.services-section {
  background-color: var(--accent-color);
}

.features__section {
  border-bottom: 1px solid var(--accent-color);
}

.features__section .section-text {
  margin-bottom: 0;
}

/* BENEFITS SECTION */

.benefits p {
  text-align: start;
  word-spacing: normal;
}

.benefit__icons {
  font-size: 3rem;
}

.benefits--icons {
  color: var(--white);
  padding: 2rem;
  font-size: 12.8rem;
  justify-self: center;
  gap: 2rem;
}

.benefit--icon {
  text-align: center;
}

/* EMPOWER SECTION */
.empower__section {
  background-color: var(--accent-color);
}

.empower__title--icon {
  font-size: 6.2rem;
}

/* SURVEY */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem; /* row gap, column gap */
  justify-content: start;
  margin-top: 2rem;
}

.stat__card {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.stat__card h2 {
  font-size: 4rem;
  font-weight: 500;
}

.survey-feedback__heading {
  display: flex;
  justify-content: center;
  color: var(--white);
  font-size: 3.6rem;
}

.img__wrapper .survey-img {
  height: 500px;
}

/* TESTIMONIALS */
.testimonial__section {
  background-color: var(--primary-color);
}

.testimonial {
  width: 65%;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  line-height: 1;
  font-size: 20rem;
  font-family: inherit;
  color: var(--accent-color);
  z-index: -1;
}

.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: var(--white);
}

.testimonial__author {
  margin-left: 3rem;
  font-style: normal;
  column-gap: 2rem;
}

.testimonial__photo {
  grid-row: 1 / span 2;
  width: 6.5rem;
  border-radius: 50%;
}

.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
  color: var(--white);
}

.testimonial__location {
  font-size: 1.5rem;
  color: var(--white);
}

.section__title--testimonials {
  margin-bottom: 4rem;
}

/* SLIDER */
.slider {
  max-width: 100rem;
  height: 40rem;
  margin: 12rem auto;
  position: relative;

  /* IN THE END */
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;

  display: flex;
  align-items: center;
  justify-content: center;

  /* THIS creates the animation! */
  transition: transform 1s;
}

.slide > img {
  /* Only for images that have different size than slide */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;

  border: none;

  font-family: inherit;
  color: var(--accent-color);
  background-color: var(--primary-color);
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
}

.slider__btn--left {
  left: 2%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 2%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: var(--white);
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;

  /* Only necessary when overlying images */
  /* box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.7); */
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  /* background-color: #fff; */
  background-color: var(--accent-color);
  opacity: 1;
}

/* CARDS */
.task-tier__cards {
  gap: 2rem;
}

.task__card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
}

.card-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
}

.card-description {
  font-size: 1.6rem;
  line-height: 1.6;
}

/* SERVICES */
.services {
  margin: 0 12rem;
  gap: 4rem;
}

.services--img {
  width: 100%;
  border-radius: 500px;
}

.services--description {
  align-self: center;
  justify-self: center;
  width: 70%;
  font-size: 1.5rem;
}

.services--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.services--icon img {
  width: 35px;
  height: 35px;
}

.services--header {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.service-list li {
  list-style: none;
  display: flex;
  flex-direction: column;
  line-height: 1.8;
  font-size: 1.4rem;
}

.fly-with-us-card {
  border: none;
  border-bottom: 2px solid var(--primary-color);
  border-left: 4px solid var(--primary-color);
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1),
    /* Left shadow */ 4px 0 8px rgba(0, 0, 0, 0.1); /* Right shadow */
}

/* SOAR WITH A BIRD */
.soar-section {
  background-color: var(--accent-color);
}

.soar-content {
  margin-top: 0;
  align-items: center;
  gap: 2rem;
  padding: 0;
}
.soar-as-a-bird {
  font-size: 1.6rem;
}

.newsletter__form,
.soar-form {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.soar-input {
  border: 2px solid var(--primary-color); /* or use #0b2c3f */
  background-color: var(--accent-color);
}

.soar-input:focus {
  background-color: var(--accent-color);
}

.soar-input::placeholder {
  color: var(
    --primary-color
  ); /* or a light color that contrasts with --primary-color */
}

input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1.6rem;
  width: 100%;
  max-width: 330px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: -6px 0 12px rgba(0, 0, 0, 0.15), 6px 0 12px rgba(0, 0, 0, 0.15);
  transform: translateZ(0); /* Initial stable depth */
}

input[type="email"]:focus {
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1), 2px 0 6px rgba(0, 0, 0, 0.1);
  transform: translateY(2px); /* Slight "dip" inward */
}

input[type="email"]::placeholder {
  opacity: 0.5;
  font-size: 1.6rem;
  font-weight: 400;
}

/* MODAL SIGN UP */
/* MODAL WINDOW */
.modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 80rem;
  background-color: #f3f3f3;
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 9999999999;
  transition: all 0.5s;
  border-radius: 11px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.modal--header {
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--primary-color);
}

.modal-choice {
  display: flex;
  justify-content: space-around;
  gap: 2.4rem;
  margin-top: 2rem;
}

.user-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 1rem;
  gap: 1rem;
  width: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
}

.user-choice h1 {
  color: var(--primary-color);
  font-weight: 500;
}

.user-choice p {
  text-align: center;
  font-size: 1.6rem;
}

.user-choice a.btn:link,
.user-choice a.btn:visited {
  padding: 0.5rem 1rem;
}

.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none;
}

.btn--close-modal:hover {
  color: var(--accent-color-shade-1);
}

.hidden {
  visibility: hidden;
  opacity: 0;
}
