* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  background: #fcfcfc;
  font-family: "Open Sans", sans-serif;
}

HTML {
  scroll-behavior: smooth;
}

.header {
  background: white;
  position: fixed;
  width: 100%;
  z-index: 50;
  padding: 0 20px;
}

.header .wrapper {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}

.header .active {
  transform: translateX(100vw);
}

.menu_icon_container {
  position: relative;
  z-index: 50;
}

.menu_icon {
  margin-right: 5px;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

.menu_icon:hover {
  color: teal;
}

.header_menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100vh;
  background: white;
  transition: all 0.3s ease;
}

.shadow {
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

.header_menu li {
  margin: 8px;
  cursor: pointer;
}

.header_menu_item,
.submenu_title {
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
  color: gray;
}

.header_menu_item:hover {
  color: teal;
  transform: scale(1.1);
}

.header_submenu_container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header_submenu {
  height: 100px;
  width: 200px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 10px;
  position: absolute;
  top: 30px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  border-radius: 10px;
}

.show_submenu {
  display: flex;
}

.submenu_icon {
  font-size: 12px;
  transition: all 0.3s ease;
  color: gray;
  margin-left: 5px;
}

.rotate_submenu_icon {
  transform: rotate(-180deg);
  color: teal;
}

.header .logo_container .logo {
  max-width: 100px;
  position: relative;
  z-index: 50;
  margin-left: -10px;
}

.hero {
  width: 100%;
  overflow: hidden;
}

.hero_content_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.hero_heading {
  font-size: 35px;
  font-weight: 900;
  color: teal;
  text-align: center;
}

.hero_subheading {
  color: gray;
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
}

.hero_learn_more_btn {
  margin: 20px;
  background: teal;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  color: white;
  font-size: 15px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero_learn_more_btn:hover {
  transform: translateY(-10px);
  opacity: 0.5;
}

.hero_svg {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 80px;
}

.hero_svg::before {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  right: 0;
  top: 0;
  background: #ff2638;
  border-radius: 200px;
  z-index: 0;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  animation: glide infinite alternate;
  animation-play-state: ease-in-out;
  animation-duration: 8s;
}

.hero_svg img {
  height: 450px;
  width: 450px;
  position: relative;
  z-index: 20;
  animation: glide infinite alternate;
  animation-play-state: ease-in-out;
  animation-duration: 8s;
}

/* animate astronaut image */
@keyframes glide {
  0% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(5deg);
  }
}

section {
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

section .section_heading {
  text-align: center;
  font-size: 20px;
  margin: 40px 0 20px 0;
  margin-top: 40px;
}

.section_subheading {
  font-size: 15px;
  text-align: center;
  margin-bottom: 50px;
  color: gray;
}

.benefits {
  background: rgba(230, 230, 230, 0.1);
}

.benefit {
  margin: 50px 0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.08);
  transition: all 0.6s;
}

.benefit:hover {
  border: 2px teal solid;
}

.benefit_icon {
  background: teal;
  margin: 20px 0;
  width: 50px;
  height: 50px;
  border: 1px silver solid;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

/* benefit section icon styling */
.benefit_icon .icon {
  font-size: 30px;
  color: white;
}

.benefit_heading {
  font-size: 20px;
  margin: 10px 0;
  color: teal;
}

.benefit_detail,
.benefit_learn_more {
  font-size: 15px;
  color: gray;
}

.benefit_learn_more {
  margin-right: 10px;
  color: black;
}

.benefit .learn_more_container {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

/* Learn more arrow icon*/
.benefit .learn_more_container .icon {
  color: black;
  font-size: 15px;
  animation: move 1s ease infinite alternate;
}

/* animate arrow icon*/
@keyframes move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

#about {
  position: relative;
}

.about {
  background: teal;
  color: white;
}

/* special styling for about section subheading */
.about .section_subheading {
  color: white;
  font-weight: 500;
}

.section_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section_img img {
  max-width: 350px;
  max-height: 350px;
  position: relative;
  z-index: 10;
  filter: drop-shadow(12px 12px 25px rgb(0, 0, 0, 0.3));
}

.about_us_content {
  text-align: left;
  font-size: 15px;
  margin: 20px 0;
  line-height: 20px;
}

.about_learn_more_btn {
  margin: 10px 0;
  background: green;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  color: white;
  font-size: 15px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.about_learn_more_btn:hover {
  background: teal;
  transform: translateY(-10px);
}

/* about section styling ends here  */

/* team section styling starts here */

.team {
  background: turquoise;
}

.team .section_subheading {
  color: black;
}

.personnel_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.personnel_img img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

.personnel_info {
  min-width: 300px;
  background: white;
  padding: 10px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

.personnel_name,
.personnel_role {
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
}

.personnel_name {
  font-size: 20px;
}

/* team section styling ends here */

/* services section styling starts here */

.service {
  margin: 50px 0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.08);
}

.service_icon {
  margin: 20px 0;
  width: 100px;
  height: 100px;
  border: 1px silver solid;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* service section icon styling */
.service_icon .icon {
  font-size: 70px;
  color: teal;
}

.service_heading {
  font-size: 20px;
  margin: 10px 0;
  color: teal;
}

.service_detail,
.service_learn_more {
  font-size: 15px;
  color: gray;
}

.service_learn_more {
  margin-right: 10px;
  color: black;
}

.service .learn_more_container {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

/* Learn more arrow icon*/
.service .learn_more_container .fas {
  color: black;
  font-size: 15px;
  animation: move 1s ease infinite alternate;
}

/* animate arrow icon*/
@keyframes move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

.swiper-slide {
  padding: 30px 0;
}

.testimonials {
  background: teal;
  color: black;
}

/* special styling for testimonials section headings and subheadings */
.testimonials .section_heading {
  color: white;
}

.testimonials .section_subheading {
  color: rgb(247, 239, 239);
}

.testimonial {
  background: white;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  max-height: 300px;
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 20px;
  position: relative;
  border-radius: 20px;
}

.testimonial::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  background: teal;
  z-index: 0;
  border-radius: 0 20px 0 200px;
  opacity: 0.2;
}

.client_img {
  transform: translateY(-30px);
  background: teal;
  padding: 10px;
}

.client_img img {
  max-height: 150px;
  max-width: 150px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

.testimony_container {
  position: relative;
  z-index: 20;
}

.testimony {
  font-size: 15px;
  text-align: center;
  margin: 20px 0;
  margin-top: 0;
}

.client_name,
.client_job {
  font-size: 15px;
  margin-top: 6px;
  text-align: center;
}

.client_location {
  margin-top: 2px;
  margin-bottom: 20px;
  font-size: 15px;
  text-align: center;
}

/* style accordion section */
.accordion_container
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background: teal;
  color: #fcfcfc;
  font-size: 16px;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  transition: all 0.3s ease;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
  background-color: #008080be;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 20px;
  background: white;
  display: none;
  overflow: hidden;
}

.answer {
  font-size: 16px;
  color: gray;
}

/* frequently asked questions image styling */
.faq_img_container {
  margin: 50px 0;
}

.faq_img {
  max-width: 100%;
}

/* contact section styling */
.contact {
  background: teal;
  color: white;
}

.contact .section_subheading {
  color: white;
}

.contact_form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

.form_group {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

label {
  font-size: 15px;
  color: black;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px;
  border: 2px teal solid;
  border-radius: 3px;
  font-size: 15px;
}

input:hover,
input:focus,
textarea:focus,
textarea:hover {
  outline: none;
  border: 2px gray solid;
}

.submit_btn {
  background: teal;
  border: none;
  padding: 10px;
  width: 100%;
  color: white;
  font-size: 15px;
}
.submit_btn:hover {
  opacity: 0.5;
}

.map_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
}

#map {
  height: 450px;
  width: 100%;
  border-radius: 10px;
}

footer {
  background: white;
  position: relative;
  padding: 20px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

footer .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

footer .logo_container {
  margin: auto;
}

.footer_nav {
  margin-top: 30px;
}

.footer_logo {
  max-width: 200px;
}

.footer_menu_heading {
  font-size: 20px;
  margin: 10px 0;
}

.footer_menu_item {
  color: gray;
  font-size: 15px;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.footer_menu_item:hover {
  color: teal;
  transform: scale(1.03);
}

.footer_contact_container {
  margin: 20px 0;
}

.footer_contact_container .contact_list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer_contact_container .contact_list .contact_item {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.contact_item .contact_icon {
  margin-right: 8px;
  background: teal;
  padding: 5px;
  color: white;
  border-radius: 3px;
}

.contact_item .contact_detail {
  font-size: 16px;
  color: grey;
}

.footer_social_icons-container {
  display: flex;
  align-items: center;
  margin: 10px auto;
  margin-bottom: 50px;
}

/*style single footer social icons */

.footer_social_icons-container .fab {
  color: white;
  background: teal;
  padding: 5px;
  border-radius: 3px;
  margin: 5px;
}

.copyright_container {
  background: white;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.4);
  padding: 15px;
}

.copyright {
  color: teal;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.copyright span {
  color: goldenrod;
}

/* pages */

/*privacy policy */

.privacy .section_heading_container {
  background: #3f3f3f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 20px;
}

.privacy_policy_container {
  margin-top: 50px;
}

.privacy_policy_container p {
  color: gray;
  font-size: 16px;
  margin: 10px;
}

.privacy_policy_container span {
  font-weight: 900;
  color: black;
}

.notice {
  font-size: 15px;
  font-family: Courier New;
  background: #e6e5e5;
  padding: 20px;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
}

/* media queries */
/* screen sizes frm 688px (tab) */

@media (min-width: 688px) {
  .wrapper {
    width: 70%;
    margin: auto;
  }

  .about_us_content {
    width: 100%;
  }

  .service_detail {
    display: inline;
  }

  .contact_form {
    width: 400px;
    margin: auto;
  }

  footer .wrapper {
    align-items: flex-start;
  }
}

/* screen sizes frm 992px */
@media (min-width: 992px) {
  /* hide menu icon for screens bigger than 992px */
  .menu_icon_container {
    display: none;
  }

  .header .active {
    transform: translateX(0);
  }

  .header_menu {
    background: transparent;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
  }

  /* remove hero image top margin */
  .hero_svg {
    margin-top: 30px;
  }
  .hero_svg img {
    height: 450px;
    width: 450px;
  }

  .benefits_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }

  .benefit {
    width: 300px;
  }

  .section_container,
  .services_container {
    display: flex;
    align-items: center;
  }

  .section_container {
    justify-content: center;
  }

  /* add width to content container to prevent overflowing */

  .section_content_container {
    width: 400px;
  }

  .section_img img {
    max-width: 350px;
    margin-right: 20px;
  }

  .services_container {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .service {
    width: 300px;
    min-height: 400px;
  }

  .testimonials_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }

  .faq_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
  }

  .accordion_container {
    width: 40%;
  }

  .faq_img_container {
    width: 40%;
  }

  .faq_img {
    max-width: 400px;
  }

  .contact_container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .map_container,
  .contact_form {
    margin-top: 0;
    margin: 20px;
  }

  #map {
    width: 450px;
  }

  footer {
    background: white;
    position: relative;
    padding: 20px;
    box-shadow: 3px 3px 8px 2px rgb(0, 0, 0, 0.2);
  }

  footer .wrapper {
    width: 80%;
    flex-direction: row;
    justify-content: space-around;
    padding: 30px 0 50px 0;
  }

  footer .logo_container {
    margin: 20px;
  }

  .footer_nav {
    margin: 20px;
  }

  .footer_menu_heading {
    margin: 10px;
    margin-left: 0;
  }

  .footer_contact_container {
    margin: 20px;
  }

  .footer_social_icons-container {
    margin: 20px;
  }
}

@media (min-width: 1200px) {
  .benefit {
    width: 400px;
  }

  .swiper-slide {
    margin: 0 50px;
  }
  .service {
    width: 400px;
  }
}
