@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color:whitesmoke;
  cursor: default;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

html {
  scroll-padding-top: 200px;
}

/* Header */

header {
  display: flex;
  position: sticky;
  top: 0;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10%;
  background-color: rgb(60, 60, 60);
  width: 100%;
  z-index: 999;
}

.nav_container {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 1000;
}

li, a {
  font-size: 20px;
  color: white;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}

li, button {
  font-size: 20px;
  color: black;
  text-decoration: none;
  background-color: transparent;
}

li, button b {
  background-color: transparent;
}

button i {
  background-color: transparent;
}

.logo {
  cursor: pointer;
  background-color: transparent;
}

.links-container {
  display: flex;
  align-items: center;
  background-color: transparent;
}

.nav_links {
  display: flex;
  list-style: none;
  background-color: transparent;
  z-index: 1000;
}

.nav_links li {
  margin: 0 20px;
}

.nav_links li a {
  transition: all 0.3s ease 0s;
  color: white;
  text-decoration: none;
}

.nav_links li a:hover {
  color: orange;
}

button {
  padding: 9px 25px;
  background-color: orange;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

button:hover {
  background-color: lightcoral;
}

/* Hamburguer Menu */

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background-color: rgb(60, 60, 60);
  z-index: 1000;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Transform hamburger menu to X */

.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: darkgrey;
  opacity: .2;
  margin: 0 auto; /* Add this line */
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: darkgrey;
  opacity: .2;
  margin: 0 auto; /* Add this line */
}

/* hr */

.hr_container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 80px 0;
}

hr {
  border: 0;
  width: 50%;
  height: 4px;
  background: orange;
  border-radius: 2px;
}

/* Footer */

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #f8f8f8;
  padding: 20px;
  background-color: rgb(60, 60, 60);
}

.upper-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 95%;
  margin: 10px;
  background-color: rgb(60, 60, 60);
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  margin: 15px;
  background-color: rgb(60, 60, 60);
}

.footer-row h3, .footer-row address, .footer-row p, .footer-row ul, .footer-row strong, .footer-row ul li a {
  background-color: rgb(60, 60, 60);
  color: gray;
  font-family: 'Montserrat', sans-serif;
}

.footer-row h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-row p i {
  background-color: rgb(60, 60, 60);
}

.sub-footer {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.sub-footer p {
  color: grey;
  font-size: 16px;
  background-color: rgb(60, 60, 60);
}

.sub-footer span {
  background-color: rgb(60, 60, 60);
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li {
  margin-bottom: 5px;
}

.link-list a {
  text-decoration: none;
  color: #333;
}

.link-list a:hover {
  text-decoration: underline;
}

/* Slider */

.slider_text{
  position: absolute;
  left: 31%;
  top: 30%;
  z-index: 4;
  background-color: rgba(0, 0, 0, .7);
  border-radius: 10px;
  padding: 10px;
}

.slider_text h1{
  color: orange;
  z-index: 5;
  font-size: 3vw;
  background-color: transparent;

}

.slider {
  overflow: hidden;
}

.slider_element {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 20s slide infinite;
}

.slider_element img {
  width: 20%;
  float: left;
}

@keyframes slide {
  0% {
    left: 0;
  }
  20% {
    left: 0;
  }
  25% {
    left: -100%;
  }
  45% {
    left: -100%;
  }
  50% {
    left: -200%;
  }
  70% {
    left: -200%;
  }
  75% {
    left: -300%;
  }
  95% {
    left: -300%;
  }
  100% {
    left: -400%;
  }                       
}

/* Services */

.services_container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px 0 20px;
  border-radius: 10px;
}

.services_row {
  flex-direction: column;
  align-items: center;
  text-align: left;
  width: 33%;
  background-color: gainsboro;
  border-radius: 10px;
}

.services_row img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.services_row p {
  padding: 0 20px 20px 20px;
  background-color: transparent;
  font-size: 20px;
}

.services_row h2 {
  padding: 20px 20px 10px 20px;
  background-color: transparent;
  font-size: 30px;
}

/* testimonial slider */

.testimonial_slider {
  overflow: hidden;
  background-color: orange;
}

.testimony {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 26s slide infinite;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimony p {
  width: 20%;
  float: left;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 60px 30px 60px;
  background-color: transparent;
  font-size: 20px;
}

.testimony div {
  width: 20%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 60px 30px 60px;
  background-color: transparent;
  font-size: 20px;
  flex-direction: column;
}

.testimony div img {
  background-color: transparent;
  object-fit: contain;
  height: 100%;
}

.testimony p b {
  font-size: 26px;
  background-color: transparent;
}

.testimony p img{
  background-color: transparent;
}

/* Our Team */

.our_team {
  display: flex;
  flex-direction: column;
  padding: 0 20px 0 20px;
  border-radius: 10px;
}

.team_member {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  border-radius: 10px;
  background-color: gainsboro;
  margin-bottom: 20px;
}

.team_member img {
  width: 35%;
  border-radius: 10px 0 0 10px;
}

.team_member .text_container {
  display: flex;
  flex-direction: column;
  width: 65%;
  background-color: gainsboro;
}

.team_member h3, .team_member h4, .team_member p {
  background-color: transparent;
}

.team_member p {
  padding: 20px;
  font-size: 20px;
}

.team_member h3 {
  font-size: 30px;
  padding: 0 20px 10px 20px;
}

.team_member h4 {
  font-size: 20px;
  padding: 0 20px 10px 20px;
}

/* FAQ accordion */

.faqs h3 span {
  font-size: 40px;
}

.faqs {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-item {
  margin: 1rem 0;
}

#faqs-container {
  width: 80%;
  max-width: 900px;
  justify-content: space-between;
}

.item-question {
  color: rgb(60, 60, 60);
  padding: 1rem;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: gainsboro;
  border-radius: 10px 10px 0 0;
}

.item-answer {
  background-color: rgb(60, 60, 60);
  padding: 1rem;
  color: white;
  display: none;
  font-size: 20px;
  border-radius: 0 0 10px 10px;
}

.close {
  display: none;
}

.show-answer .item-answer {
  display: block;
}

.show-answer .close {
  display: inline;
}

.show-answer .expand {
  display: none;
}

.question-text, .answer-text {
  background-color: transparent;
  border-radius: 5px;
}

.question-text {
  font-weight: bold;
  font-size: 20px;
}

.answer-text {
  font-size: 20px;
}

.arrows-container {
  background-color: transparent;
  padding-left: 5px;
}

.expand, .close {
  background-color: transparent;
}

/* Lead Form */

#lead_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  border-radius: 10px;
}

.contact_us {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px 70px 40px;
  width: 100%;
  font-size: 20px;
}

.contact_text {
  display: flex;
  flex-direction: column;
  width: 40%;
  text-align: left;
}

.contact_text h2 {
  font-size: 30px;
  padding: 0 0 30px 0;
  text-align: left;
}

/* Policys */

.privacy-policy-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.privacy-policy-main h2 {
  font-size: 30px;
  padding: 40px 0 0 0;
  font-weight: bold;
}

.privacy-policy-main h3 {
  font-size: 20px;
  padding: 20px 0 0 0;
  font-weight: bold;
}

.privacy-policy-main p {
  font-size: 20px;
  padding: 10px 0 0 0;
}

.policy-section ul {
  padding: 10px 0 0 20px;
}

.policy-section li {
  font-size: 20px;
  padding: 10px 0 0 0;
}

#last-div {
  padding: 0 0 30px 0;
}

.tos-link {
  color: blue;
  text-decoration: underline;
}

/* Media query for mobile devices */
@media (max-width: 1100px) {
  
  .header {
    padding: 10px 0;
  }

  .nav_container {
    padding: 0 5%;
  }

  .nav_links {
    display: none;
    flex-direction: column;
    width: auto;
    position: center;
    top: 60px;
    left: 0;
    background-color: rgb(60, 60, 60);
    z-index: 1000;
  }

  .nav_links.active {
    display: flex;
    text-align: center;
  }

  .nav_links li {
    margin: 0;
  }

  .hamburger-menu {
    display: flex;
  }

  .services_container {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .services_row {
    width: 90%;
  }

  .contact_us {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px 70px 20px;
  }

  .contact_text {
    width: 90%;
    max-width: 800px;
    text-align: center;
  }

  .contact_text h2 {
    text-align: center;
  }

  #lead_form {
    width: 90%;
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .team_member {
    flex-direction: column;
    text-align: center;
    width: 90%;
  }

  .our_team {
    width: 100%;
    align-items: center;
  }

  .team_member img {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  .team_member .text_container {
    width: 100%;
  }

  .slider_text {
    left: 5%;
    top: 23%;
  }

  .cta {
    padding: 0 10px;
  }
}

@media(max-width: 600px) {
  .upper-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-row {
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 400px) {
  button {
    padding: 10px 10px;
  }

  .upper-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-row {
    align-items: center;
    width: 100%;
  }
}

/* Screans less than 600px wide */