* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #1e2a6e;
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #eeeeee;
}

header .logo-container img {
  width: 50%;
  display: block;
  margin: auto;
}

header nav {
  padding: 1em;
  margin-top: -1em;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
}

header nav li {
  width: 48%;
  text-align: center;
  margin-bottom: 1em;
}

header nav li a:focus {
  border: 1px solid #1e2a6e;
}

header nav li a {
  text-decoration: none;
  display: block;
  width: 100%;
  border-bottom: 1px solid #1e2a6e;
  border-radius: 5px;
  padding: 0.75em 0;
  font-weight: bold;
  color: #1e2a6e;
}

header ul {
  margin-bottom: 0.25em;
}

.header-book {
  width: 100%;
  text-align: center;
}

.header-book a {
  color: #eeeeee;
  text-decoration: none;
  background-color: #1e2a6e;
  padding: 1em;
  display: block;
  width: 100%;
  border-radius: 10px;
}

main {
  padding: 1em;
}

.home-book-now {
  background-color: #cccccc;
  padding: 1em;
  border-radius: 20px;
  height: 46em;
}

.home-book-now h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 0.25em;
}

.home-book-now hr {
  margin-bottom: 0.5em;
  border: #1e2a6e solid 1px;
}

.home-book-now h3 {
  text-align: center;
  margin-bottom: 0.5em;
  height: 4em;
}

.home-book {
  position: absolute;
  content: " ";
  display: block;
  width: 80%;
  height: 32em;
  background-image: url(/pictures/city.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 15px;
  left: 10%;
}

.home-book-container {
  padding: 2em 1em 0.5em;
  text-align: center;
  margin: 0;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.home-book p {
  color: #eeeeee;
  margin: auto;
  margin-bottom: 1em;
  width: 80%;
}

.service-button a:hover {
  color: #eeeeee;
  text-decoration: underline;
}

.home-book a {
  color: #eeeeee;
  text-decoration: none;
  background-color: #1e2a6e;
  padding: 1em;
  display: block;
  width: 80%;
  border-radius: 20px;
  margin: auto;
}

.home-book-now img {
  display: none;
}

.back-to-top {
  background-color: #1e2a6e;
  border: #eeeeee solid 1px;
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50px;
}

.back-to-top img {
  filter: invert(98%) sepia(8%) saturate(372%) hue-rotate(224deg)
    brightness(109%) contrast(87%);
  width: 2em;
  height: 2em;
}

.contact {
  background-color: #1e2a6e;
  border: #eeeeee solid 1px;
  color: #eeeeee;
  position: fixed;
  left: 5px;
  bottom: 7.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 40px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  padding-bottom: 0.1em;
  font-size: 20px;
}

footer {
  background-color: #1e2a6e;
  color: #eeeeee;
  padding: 2em 0;
}

footer ul {
  list-style: none;
}

footer li {
  text-align: center;
  margin-bottom: 1em;
}
footer li a {
  color: #eeeeee;
  font-size: 22px;
  text-decoration: none;
}

.plane-container img {
  width: 100%;
  margin-bottom: 1em;
  border-radius: 5%;
}

.why-us {
  margin-bottom: 2em;
}

.why-us-info h2,
.why-us-info h3 {
  text-align: center;
  margin-bottom: 1em;
}

.why-us-info h2 {
  margin-bottom: 0.5em;
}

.why-us-info p {
  font-size: 20px;
  padding: 0 1em;
  margin-bottom: 1em;
}

.our-team h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 0.5em;
}

.member img {
  display: block;
  margin: auto;
  border-radius: 50%;
  margin-bottom: 0.5em;
}

.member h3 {
  font-size: 27px;
  text-align: center;
  margin-bottom: 0.25em;
}

.member h4 {
  text-align: center;
}

.member {
  margin-bottom: 3em;
}

.about-service {
  padding: 0 1em;
  margin-bottom: 3em;
}

.what-we-help-with h2 {
  margin-bottom: 2.5em;
  text-align: center;
  font-size: 30px;
}

.card {
  display: block;
  position: relative;
  text-align: center;
  padding-top: 15%;
  border: #1e2a6e solid 1px;
  width: 80%;
  margin: 0 10%;
  margin-bottom: 5em;
  border-radius: 15px;
}

.icon-container {
  background-color: #eeeeee;
  border: #1e2a6e solid 1px;
  height: 75px;
  width: 75px;
  font-size: 17px;
  padding: 1em;
  border-radius: 45px;
  position: absolute;
  top: -2.25em;
  transform: translateY(-50%);
  right: 50%;
  transform: translateX(50%);
}

.icon {
  filter: invert(12%) sepia(75%) saturate(2311%) hue-rotate(223deg)
    brightness(89%) contrast(95%);
  width: 2em;
  height: 2em;
}

.card p {
  margin-bottom: 1em;
  padding: 0% 10%;
}

h3::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}

.card:hover h3::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.card h3::before {
  content: " ";
  display: block;
  position: absolute;
  inset: 0 0 0 0;
  border-bottom: #1e2a6e solid 1px;
  z-index: -1;
  transition: transform 0.6s ease;
}

.card h3 {
  position: relative;
  width: 50%;
  margin: auto;
  margin-bottom: 1em;
}

.how-we-help {
  background-color: #1e2a6e;
  padding: 2em 0;
  margin-bottom: -1em;
  border-bottom: 1.1em dashed #eeeeee;
}

.how-we-help h2 {
  color: #eeeeee;
  text-align: center;
  margin-bottom: 1em;
}

.how-we-help p {
  color: #eeeeee;
  padding: 0 1.5em;
  margin-bottom: 3em;
}

.how-we-help h3 {
  text-align: center;
  margin-bottom: 0.5em;
}

.service-card p {
  color: #1e2a6e;
  padding: unset;
  margin-bottom: 1em;
}

.service-card {
  background-color: #e8e8e8;
  padding: 1em;
  width: 75%;
  margin: auto;
  margin-bottom: 3em;
  box-shadow: 0.8em 0.6em #1e2a6e, 0.8em 0.6em 0em 0.2em #e8e8e8;
}

.terms-of-service {
  width: 93%;
  margin: auto;
}

.terms-of-service h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 0.75em;
}

.terms-of-service h3 {
  text-align: center;
  font-size: 25px;
  margin-bottom: 0.5em;
}

.terms-of-service p {
  margin-bottom: 1em;
}

.term-div {
  margin-bottom: 2em;
}

.terms-of-service li {
  margin-bottom: 0.5em;
}

.terms-of-service ul,
.terms-of-service ol {
  padding: 0 1.1em;
  margin-bottom: 1em;
}

.terms-of-service ol {
  list-style: upper-roman;
}

.terms-of-service h4 {
  margin-bottom: 1.5em;
}

.booking-form {
  background-color: #1e2a6e;
  display: flex;
  flex-wrap: wrap;
  padding: 3em 0;
  border-bottom: #eeeeee 1.1em dashed;
  margin-bottom: -1em;
}

.booking-form form {
  width: 100%;
}

.booking-form label {
  color: #eeeeee;
  width: 100%;
  text-align: center;
  display: block;
  font-size: 25px;
  margin-bottom: 0.5em;
}

.booking-form input {
  background-color: #eeeeee;
  border: #eeeeee solid 1px;
  display: block;
  margin: auto;
  margin-bottom: 2em;
  padding: 1em;
  border-radius: 25px;
}

.booking-form textarea {
  background-color: #eeeeee;
  border: #eeeeee solid 1px;
  display: block;
  margin: auto;
  width: 60%;
  margin-bottom: 2em;
  border-radius: 10px;
  padding: 0.5em;
}

.submit {
  border-radius: 20px;
  font-size: 20px;
  width: 80%;
}

.text {
  width: 50%;
}

.contact-section {
  text-align: center;
}

.contact-section p {
  margin-bottom: 1em;
  text-decoration: underline;
  font-size: 18px;
}

/* .card a {
  display: block;
  width: 40%;
  margin: auto;
  margin-bottom: 1em;
  text-decoration: none;
  transition: transform 0.5s ease-in-out;
} */

/* .card a:hover {
  text-decoration: underline;
  font-weight: bold;
  transform: scale(1.1);
} */

@media only screen and (min-width: 768px) {
  .home-book-now h2 {
    font-size: 45px;
  }
  .home-book-now hr {
    margin-bottom: 2em;
  }
  .home-book-now h3 {
    height: unset;
    font-size: 23px;
    margin-bottom: 1.5em;
  }
  .home-book-container {
    font-size: 23px;
  }

  .our-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .our-team h2 {
    width: 100%;
  }

  .card {
    padding-top: 4em;
  }

  .how-we-help p {
    padding: 0 3em;
    text-align: center;
  }

  .terms-of-service {
    width: 80%;
  }
}

@media only screen and (min-width: 1024px) {
  header {
    display: flex;
    padding: 1em;
    margin-bottom: 2em;
  }

  header .logo-container {
    width: 10%;
    height: fit-content;
  }

  header .logo-container img {
    width: 100%;
  }

  header nav {
    display: flex;
    width: 90%;
    justify-content: space-between;
  }
  header nav ul {
    display: flex;
    width: 75%;
    align-items: end;
  }

  header nav li {
    width: 22%;
    border-bottom: 1px solid #1e2a6e;
    border-radius: 5px;
    margin: unset;
    height: 50%;
    margin-bottom: 0.5em;
  }

  header nav li a {
    height: 100%;
    padding: 0;
    border: none;
    margin-bottom: 0.5em;
  }

  .header-book {
    width: 20%;
    display: flex;
    align-items: center;
  }

  .header-book a {
    border-radius: 25px;
  }

  main {
    padding: 0 5em;
  }

  .home-book-now {
    display: flex;
    height: unset;
    justify-content: space-between;
    margin-bottom: 4em;
    padding: 2em;
  }

  .home-book-now img {
    display: block;
    width: 35%;
    border-radius: 25px;
  }

  .home-book {
    background-image: none;
    position: unset;
    height: unset;
    width: unset;
  }

  .home-book-container {
    position: unset;
    transform: none;
    font-size: unset;
    padding: unset;
  }

  .home-book-now h2 {
    font-size: 30px;
  }

  .home-book-now hr {
    margin-bottom: 1em;
  }

  .home-book-now h3 {
    margin-bottom: 1em;
  }

  .home-book-container p {
    color: #1e2a6e;
  }

  .home-info {
    width: 60%;
    padding-left: 2em;
  }

  footer ul {
    display: flex;
    justify-content: space-around;
    padding: 2em 0;
  }

  .plane-container {
    position: relative;
    margin-bottom: 29em;
  }

  .why-us-info {
    position: absolute;
    top: 115%;
    left: 60%;
    width: 70%;
    transform: translate(-50%, -50%);
    background-color: #e8e8e8;
    border-radius: 5%;
    box-shadow: -10px 5px 10px #1e2a6c5a;
    padding-top: 1.5em;
  }

  .why-us-info h2 {
    font-size: 50px;
    margin-bottom: 0.15em;
  }

  .why-us-info p {
    font-size: 23px;
  }

  .why-us-info h3 {
    font-size: 30px;
  }

  .our-team h2 {
    font-size: 50px;
    margin-bottom: 1em;
  }

  .our-team img {
    width: 20em;
  }

  .our-team h3 {
    font-size: 35px;
  }

  .our-team h4 {
    font-size: 25px;
  }
  .booking-form textarea {
    width: 80%;
    margin-bottom: 4em;
  }
  .submit {
    width: 40%;
  }
}

@media only screen and (min-width: 1440px) {
  .home-book-now h2 {
    font-size: 45px;
  }

  .home-book-now h3 {
    font-size: 25px;
  }

  .header-book a {
    font-size: 25px;
    border-radius: 30px;
    padding: 1em;
  }

  .home-info {
    margin-right: 5em;
  }

  .home-center {
    font-size: 23px;
  }

  .home-book-now img {
    width: 35%;
    margin: auto;
  }

  .what-we-help-with {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .what-we-help-with h2 {
    width: 100%;
  }

  .what-we-help-with .card {
    width: 45%;
    margin: unset;
    margin-bottom: 5em;
  }

  .service-card {
    width: calc(100% / 3);
    margin: unset;
    margin-bottom: 3em;
  }

  .service-card:nth-child(1) {
    margin-left: 3%;
  }

  .service-card:nth-child(2) {
    margin-left: 33%;
  }

  .service-card:nth-child(3) {
    margin-left: 63%;
  }
}

@media only screen and (min-width: 1650px) {
  .home-book-now img {
    width: 35%;
    margin: auto;
    height: 40em;
  }
  .home-book-now h2 {
    font-size: 65px;
  }

  .home-book-now h3 {
    font-size: 45px;
  }

  .home-book-now {
    padding: 4em 2em;
  }

  .home-book-container p {
    font-size: 30px;
  }

  .plane-container img {
    width: 90%;
    display: block;
    margin: auto;
  }

  .plane-container {
    position: relative;
    margin-bottom: 20em;
  }

  .why-us-info {
    top: 100%;
    left: 55%;
    width: 70%;
    border-radius: 5%;
    padding-top: 1.5em;
  }

  .why-us-info h2 {
    font-size: 60px;
    margin-bottom: 0.15em;
  }

  .why-us-info p {
    font-size: 23px;
  }

  .why-us-info h3 {
    font-size: 30px;
  }

  .our-team h2 {
    font-size: 60px;
    margin-bottom: 1em;
  }

  .our-team img {
    width: 30em;
  }

  .our-team h3 {
    font-size: 35px;
  }

  .our-team h4 {
    font-size: 25px;
  }
}
