@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800");

* {
  box-sizing: inherit;
}
:root {
  --brandColor: #30cd98;
  --secondaryColor: #ffb703;
  --backgroundColor1: #ffffff;
  --backgroundColor2: #30cd98;
  --mainFontColor: #272b30;
  --secondaryFontColor: #fff;
  --faqbackgroundColor: #1eb481;
  --headerBackgroundColor: #272b30;
  --footerBackgroundColor: #272b30;
}

html {
  color: var(--mainFontColor);
  background-color: var(--backgroundColor1);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body {
  font-family: "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
  position: relative;
}
.hide {
  visibility: hidden;
}
.wap {
  visibility: hidden;
  display: none;
}

/* welcome page styling */
.welcome__container {
  min-height: 100vh;
  background-image: url("../img/index-bg.png");
  background-position: center;
  background-size: cover;
  background-color: #fefefe;
  text-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome__container .logo {
  max-width: 150px;
  margin-left: 3rem;
  margin-top: 1rem;
}
.welcome__title {
  padding-top: 20px;
  margin-bottom: 2rem;
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: bold;
}
.countries__panel {
  max-width: 60%;
  background-color: var(--backgroundColor1);
  border: 4px solid var(--brandColor);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding: 30px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.country__box {
  padding: 10px;
  width: 130px;
}

.country__box a {
  text-decoration: none;
}
.country__text {
  font-weight: 500;
  color: var(--mainFontColor);
}
/* welcome page styling END*/

/* country home page styling */
header {
  background-color: var(--headerBackgroundColor);
  padding: 0;
}
#home {
  position: fixed;
  /* height: 55px; */
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}
.container {
  padding: 0 15px;
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.container--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  max-width: 70px;
}
.header__navigation {
  position: relative;
}
.header__navigation__items {
  display: flex;
}
.header__navigation__items a {
  color: var(--secondaryFontColor);
  padding: 5px 10px;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  cursor: pointer;
}
.header__navigation__burger {
  background-color: transparent;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}
/* hero section */
.hero {
  background-image: url("../img/hero-left.png");
  background-position: left center;
  background-repeat: no-repeat;
  padding-top: 9rem;
  background-color: var(--backgroundColor2);
  padding-bottom: 5rem;
}
.hero__text {
  max-width: 350px;
}
.hero__text h4 {
  font-size: 2.2rem;
  color: var(--secondaryFontColor);
  padding-top: 30px;
  margin: 0;
}
.hero__text span {
  font-weight: bold;
  color: var(--brandColor);
}
.hero__text__description {
  color: var(--secondaryFontColor);
  position: relative;
  margin: 1.5rem 0;
  border-radius: 30px;
  width: fit-content;
  font-size: 1rem;
  text-align: left;
}
.hero__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__cta {
  background-color: var(--secondaryColor);
  color: var(--secondaryFontColor);
  padding: 10px 30px;
  max-width: fit-content;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

/* about section  */
.about {
  text-align: left;
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}
.about__text {
  max-width: 50%;
}
.about__title {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
}
.about__images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3rem 0;
}
.image__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 20%;
}
.image__box img{
  animation: pop 3s infinite ease-in-out;
}

/* faq section */
.faq {
  background-color: var(--backgroundColor2);
  background-image: url("../img/faqbg-right.png");
  background-repeat: no-repeat;
  background-position: right top;
}
.faq__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondaryFontColor);
}
.faq__title img {
  max-width: 80px;
  height: auto;
  margin: 0;
  padding-right: 10px;
}

.container--faq__dropdown {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  max-width: 50%;
}
.faqbox {
  margin-bottom: 1rem;
  flex: 1;
  margin: 1rem;
}
.faqbox-header {
  background-color: var(--faqbackgroundColor);
  color: var(--secondaryFontColor);
  border: 2px solid var(--backgroundColor1);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 1rem;
  margin: 0;
  cursor: pointer;
}
.faqbox-body {
  display: none;
  background-color: var(--backgroundColor1);
  padding-bottom: 2rem;
  padding: 1rem;
  opacity: 1;
  animation: opacity 0.5s ease-in-out;
}
.contact {
  text-align: center;
  padding: 2rem 0;
}
.contact__title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 4px solid var(--faqbackgroundColor);
  width: fit-content;
  margin: 0 auto;
}
.contact__text {
  padding: 1rem;
}
.contact__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 220px;
  height: 50px;
  padding: 5px 20px;
  border-radius: 5px;
  gap: 10px;
  font-weight: bold;
}
.btn img {
  width: 30px;
  height: auto;
  margin: 0;
}
.emailbtn {
  background-color: var(--mainFontColor);
}
.emailbtn a {
  color: var(--secondaryFontColor);
  text-decoration: none;
}
.telbtn {
  background-color: var(--backgroundColor2);
}
.telbtn a {
  color: var(--secondaryFontColor);
  text-decoration: none;
}
/* footer */
footer {
  background-color: var(--footerBackgroundColor);
  color: var(--secondaryFontColor);
  text-align: center;
  padding: 2rem 0;
}
.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  max-width: 100px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.footer-links a {
  text-decoration: none;
  color: var(--secondaryFontColor);
  padding: 0.2rem 0.8rem;
}
.copyright {
  font-size: 0.8rem;
  margin: 0;
  padding-top: 10px;
}
/*TOP ARROW*/
.arrowToTop {
  position: fixed;
  z-index: 100;
  border-radius: 10px;
  background-color: #ccc;
  font-size: 1.4rem;
  font-weight: bold;
  width: 40px;
  height: 40px;
  text-align: center;
  bottom: 10px;
  right: 10px;
  color: #000;
  cursor: pointer;
  opacity: 0.8;
}
.menu-btn {
  display: none;
}
#terms,
#privacy {
  padding-bottom: 3rem;
}
#terms h1,
#privacy h1 {
  font-size: 2rem;
  text-align: center;
  padding-top: 60px;
}
@media screen and (max-width: 1800px) {
}
@media screen and (max-width: 1000px) {
  .menu {
    background-color: var(--headerBackgroundColor);
    position: fixed;
    right: -100vw;
    height: 100vh;
    width: 50vw;
    top: 0;
    transition: all 0.2s ease-out;
    text-align: right;
    z-index: 1;
  }
  .menu-icon {
    user-select: none;
    cursor: pointer;
  }

  .menu-icon .navicon {
    background: #ffffff;
    display: block;
    height: 3px;
    position: relative;
    transition: background 0.2s ease-out;
    width: 26px;
    border-radius: 6px;
    top: 6px;
    z-index: 999;
  }
  .menu-icon .navicon:before,
  .menu-icon .navicon:after {
    background: #ffffff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
    border-radius: 6px;
  }
  .menu-icon .navicon:before {
    top: 6px;
  }

  .menu-icon .navicon:after {
    top: -6px;
  }

  .menu-btn:checked ~ .menu {
    right: 0vw;
    transition: all 0.2s ease-out;
  }

  .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }

  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
  }
  .header__navigation__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .hero__wrapper {
    flex-direction: column-reverse;
  }
  .hero__feature {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq {
    background-position: right bottom;
  }
}
@media screen and (max-width: 480px) {
  .wap {
    display: block;
  }
  .welcome__container {
    color: var(--secondaryFontColor);
    background-color: var(--faqbackgroundColor);
    background-image: none;
    display: block;
  }
  .welcome__container .logo {
    margin-left: 0;
  }
  .countries__panel {
    border: none;
    max-width: 95%;
    margin: 0 auto;
    flex-direction: column;
    padding:0px;
  }
  .country__box {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    padding: 4px 0px;
  }
  .country__box a {
    border: 2px solid var(--secondaryColor);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 15px;
  }
  .country__text {
    font-weight: bold;
    text-align: left;
  }
  .country {
    margin: 0;
    max-width: 60px;
  }
  .header__navigation__items {
    padding-top: 4rem;
    justify-content: flex-start;
    align-items: center;
  }

  .hero__title__description {
    margin-bottom: 3rem;
  }

  .container--faq__dropdown,
  .header__navigation__items,
  .footer-links {
    flex-direction: column;
  }
  .container--faq__dropdown{
    max-width: 100%;
  }
  .footer-links{
    align-items: center;
    padding: 1.5rem 0;
  }
  .hero__feature {
    align-items: center;
  }

  .hero {
    background-image: none;
  }
  .hero__title h4 {
    font-size: 2rem;
  }

  .about__title {
    font-size: 2rem;
  }
  .about__text {
    max-width: 100%;
  }
  .about__images {
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 25px;
  }
  .image__box {
    width: 75%;
  }
  /* faq */
  .faq{
    background-size: contain;
  }
  .faq__title{
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
  }
  .faq__title h4{
    text-align: center;
    margin: 0 auto;
  }
  .faqbox-header {
    font-size: 1rem;
  }
  .btn{
    justify-content: center;
  }

  .contact__buttons {
    flex-direction: column;
  }
  .footer__wrapper{
    flex-direction: column;
  }
}

@keyframes opacity {
  0% {
    opacity: 0.3;
    transform: translateY(-2%);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-1%);
  }
  100% {
    opacity: 1;
    transform: translateY(1);
  }
}
@keyframes pop {
  0% {
    transform: scale(1);

  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);

  }
}
