@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,700;1,900&display=swap");
@import "owl.carousel.min.css";
@import "owl.theme.default.min.css";
@import "nav.css";
/* @import "footer.css"; */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: lato;
}

header {
  background-image: url("../img/about_us_bg.png");
  background-size: cover;
  /* border-bottom: 6px solid #70ebbe; */
  height: 83vh;
}

#greenBox {
  width: 100%;
  height: 6px;
  background-color: #00ae84;
}
:root {
  --y: 20px;
  --x: 50px;
}

.container {
  padding: var(--y) var(--x);
  /* height: 90vh; */
}

.main {
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  height: 83vh;
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  padding: 0px 60px;
}

.main h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 50px;
}

.main p {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.section-2 {
  text-align: center;
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.section-2 h1 {
  font-size: 40px;
  font-weight: bold;
  text-transform: capitalize;
}

.section-2 p:nth-child(2) {
  font-size: 24px;
  width: 80%;
  text-transform: capitalize;
}

.section-2 p {
  font-size: 18px;
  text-transform: capitalize;
}

.img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.img img {
  width: 60%;
  object-fit: contain;
  /* z-index: 1; */
}

.section-3 {
  background-color: #b7e8dc33;
  border-radius: 200px;
  position: relative;
  bottom: 200px;
  padding-top: 220px;
  z-index: -1;
}

.section-3 h1 {
  font-size: 40px;
  text-align: center;
  text-transform: capitalize;
  font-weight: normal;
}

.card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.section-3 .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px 20px;
}

.card p {
  width: 80%;
  text-align: center;
}

.section-3 .sub-section h1 {
  margin-top: 100px;
  font-size: 30px;
  text-transform: capitalize;
}

#bestPayTerminal {
  font-size: 32px;
  text-align: justify;
}

.section-3 .sub-section .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 50px;
  padding-bottom: 100px;
}

.section-3 .sub-section .wrapper div {
  flex-basis: 40%;
}

.section-3 .sub-section .wrapper div:last-child {
  display: flex;
  justify-content: flex-end;
}

.section-3 .sub-section .wrapper div:last-child img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
}

.section-3 .sub-section .wrapper p {
  font-size: 22px;
  margin: 30px 0;
  text-align: justify;
}

.section-3 .sub-section .wrapper .btn {
  font-size: 1.5em;
}

.section-3 .card img {
  margin-bottom: 20px;
}

.section-3 .card h2 {
  margin-bottom: 10px;
}

.text-underline::after {
  content: "";
  display: block;
  width: 250px;
  height: 2px;
  background: rgb(82, 82, 82);
  margin: auto;
  margin-top: 20px;
}

nav .btn {
  background: white;
}

nav .btn:hover {
  color: #62d6ac;
}

.btn {
  display: inline-block;
  background-color: #62d6ac;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px !important;
  box-shadow: 0 2px 10px 0 #0005;
  transition: 0.5s;
}

.btn:hover {
  transform: scale(0.9) !important;
}

.primary {
  color: white;
}

.active {
  left: 0;
}

@media screen and (max-width: 1200px) {
  .section-3 .sub-section .wrapper div {
    flex-basis: 100%;
    padding: 0px 60px;
  }

  .section-3 .sub-section .wrapper div:first-child {
    text-align: center;
  }

  .section-3 .sub-section .wrapper div:last-child {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .section-3 .sub-section .wrapper div:last-child img {
    width: 90%;
  }
}

@media screen and (max-width: 900px) {
  .card-container {
    display: none;
  }

  .slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    /* margin-left: 5%; */
    text-align: center;
    height: 50vh;
  }
  .slideshow-container h1 {
    font-size: 30px;
  }

  .section-3 {
    background-color: #fff;
    position: unset;
    padding: 0px 0px;
    margin-top: 80px;
    text-align: center;
  }

  #bestPayTerminal {
    text-align: center;
  }

  .section-3 .sub-section .wrapper div {
    flex-basis: 80%;
  }

  .section-2 {
    padding: 0px 10px !important;
  }

  .main {
    height: 90vh;
  }

  .payment {
    position: unset;
    padding: 0px;
    margin: 0px;
    padding-bottom: 50px;
  }

  .payment img {
    width: 40%;
  }

  .testimSection {
    margin-bottom: 40px;
  }

  .section-3 h1 {
    font-size: 30px;
  }

  .main h1 {
    font-size: 40px;
  }

  .main p {
    font-size: 25px;
  }
}

@media screen and (max-width: 800px) {
  .payment-terminal {
    justify-content: center;
  }

  .payment-terminal h1 {
    text-align: center;
    margin-bottom: 20px;
  }

  .main h1 {
    font-size: 40px;
  }

  .main p {
    font-size: 25px;
  }
}

@media screen and (max-width: 700px) {
  :root {
    --x: 20px;
  }
  .section-3 {
    /* padding: 0%; */
  }
  .section-3 .sub-section .wrapper div p {
    text-align: center;
  }
  .section-3 .sub-section .wrapper div {
    flex-basis: 100%;
  }

  .form-field {
    flex-wrap: wrap;
  }

  .customer-care {
    text-align: center;
  }

  .customer-care .info div {
    justify-content: center;
  }

  .main h1 {
    font-size: 40px;
  }

  .main p {
    font-size: 25px;
  }
}

@media screen and (max-width: 600px) {
  .main h1 {
    font-size: calc(60px - 2vw);
  }

  .section-3 {
    border-radius: 0;
  }

  .main h1 {
    font-size: 30px;
  }

  .main p {
    font-size: 20px;
  }

  .section-3 h1 {
    font-size: 26px;
  }

  header {
    height: 40vh !important;
  }
  header .main {
    height: 40vh !important;
  }
  header .main h1 {
    padding: 0px 20px;
    font-size: 28px !important;
  }
}

@media screen and (max-width: 500px) {
  :root {
    --x: 5px;
  }

  :is(.section-2, .section-3) h1 {
    font-size: 30px;
  }

  p {
    font-size: 18px !important;
  }

  .img {
    display: none;
  }

  .form button {
    margin-right: auto;
  }

  .payment img {
    width: 50%;
  }

  .customer-care {
    background-color: red;
  }

  .main h1 {
    font-size: 28px;
  }

  .main p {
    font-size: 18px;
  }

  .section-3 h1 {
    font-size: 24px;
    padding: 0px 5px;
  }
}
