@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Press+Start+2P&family=VT323&display=swap');

:root {
  --font-headings: 'Press Start 2P', system-ui;
  --font-body: 'DotGothic16', sans-serif;
  --font-body-secondary: 'VT323', monospace;

  --color-primary: #876f9d;
  --secondary-color: #9dd7c6;
  --tertiary-color: #876f9d;
  --quaternary-color: #703be8;
  --quinary-color: #db97a8;

  scroll-behavior: smooth;
}

::-moz-selection {
  background-color: #71b09d;
  color: #fff;
}

::selection {
  background-color: #9dd7c6;
  color: #fff;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw;
  background-color: #fff;
  line-height: 1.6;
  font-weight: 300;
  font-family: var(--font-body);
  font-size: 1.8rem;
  color: #777;
  /* padding: 3rem; */
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

header,
main {
  overflow-x: hidden !important;
}

.section {
  padding: 6rem 1rem;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
}

.heading-secondary {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 4.8rem;
  font-weight: bold;
  color: var(--tertiary-color);
  color: #fff;
  margin-bottom: 4rem;
}

.paragraph {
  font-size: 1.7rem;
  letter-spacing: 1px;
  color: #f7f7f7;
}

.link {
  text-decoration: none;
}

.btn:link,
.btn:visited {
  font-size: 1.8rem;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: #703be8;
  color: #fff;
  border-radius: 200px;
  padding: 0.8rem 3.6rem;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 1);
  /* box-shadow: 3px 3px 0px 3px #ffcf2d; */
  transition: all 0.3s ease-in;
}

.btn:hover,
.btn:active {
  box-shadow: 0 0 #000;
  transform: translateY(-1.2px);
}

/* !------------------! */
/* NAVIGATION MENU */

.header {
  background-color: var(--color-primary);
  padding: 1.6rem 1rem;
  /* position: relative; */
  width: 100%;
  color: #fff;
}

.container-navigation {
  max-width: 95%;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.header__logo-box {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header__logo-box img {
  width: 4.4rem;
}

.header__navigation {
  width: 50%;
}

.header__navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;

  list-style: none;
}

.header__navigation ul li {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #fff;
}

.header__navigation ul li a:link,
.header__navigation ul li a:visited {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease-in-out;
}

.header__navigation ul li a:hover,
.header__navigation ul li a:active {
  color: var(--secondary-color); /* letter-spacing: 0.4rem; */
}

.header__btn-box {
  justify-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.header__btn-box svg {
  width: 2.4rem;
}

.header__navigation .btn-mobile {
  display: none;
}

.header__icon {
  opacity: 0;
  display: none;
  transition: all 0.5s ease-in-out;
  position: fixed;
  top: 20px;
  right: 10px;
}

/* !--------------! */
/* SECTION HERO */

.section-hero {
  /* max-width: 80rem;
  margin: 0 auto; */
  background-color: var(--secondary-color);
  width: 100%;
  position: relative;
  z-index: 9;
}

.container-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  z-index: 9;
}

.container-hero img {
  max-width: 80rem;
  width: 80%;
}

.social-icons {
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4rem;
  width: 30rem;
}

.link--icon:link,
.link--icon:visited {
}

.social--icon {
  font-size: 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease-in-out;
}

.social--icon:hover {
  color: var(--secondary-color);
  transform: translateY(-1.2px);
}

.section-hero .btn--white {
  background-color: var(--tertiary-color);
  color: #fff;
}

.gallery {
  padding: 2rem;
  max-width: 100vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: stretch;
  column-gap: 2rem;
}

/* .gallery a {
  
} */

.gallery img {
  opacity: 0.9;
  cursor: pointer;
  box-shadow: 0 0 10px #0000007d;
  border-radius: 6px;
  width: 100%;
  /* margin: 0 auto;  */

  transition: all 0.3s ease-in;
}

.gallery img:hover {
  opacity: 1;
  box-shadow: 6px 6px 6px #00000099;
  transform: translateY(-8px);
}

/* !------------ */
/* SECTION ABOUT */
.section-about {
  background-color: #333;
  background: linear-gradient(#bd9dc1ee, #d4a1c5da, #d6afd3), url(img/bg-2.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  border: 9px solid var(--color-primary);
  /* max-height: 100vh; */
}

.container-about {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-about article {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about__text-box {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about__img-box {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img-box > img {
  width: 80%;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 3px 03px 8px #703be8;
}

/* !------------! */
/* SECTION ROADMAP */

.section-roadmap {
  background-color: var(--quaternary-color);
  background: linear-gradient(to bottom left, #a5d9cc, #b5bcc8);

  color: #eee;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
}

.container-roadmap {
  max-width: 800px;
  margin: 4rem auto;
}

.box-roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(1fr, 7);
  gap: 3rem;
  column-gap: 10rem;
  position: relative;
}

.box-roadmap::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  height: 79%;
  width: 3px;
  background-color: var(--tertiary-color);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 1.2rem;

  padding: 3rem;
  background-color: var(--quinary-color);
  position: relative;

  border: 1px solid #ffb43c80;
  border-radius: 6px;
  box-shadow: 2px 2px 0px 2px var(--tertiary-color);
  color: #000;
  transition: all 0.3s ease-in-out;
}

.card:nth-child(even) {
  box-shadow: -2px 2px 0px 2px var(--tertiary-color);
}

.card:hover {
  transform: translateY(-1.8px);
  /* box-shadow: 3px 3px 0px 3px var(--tertiary-color); */
  box-shadow: 3px 3px 0px 3px #aaa;
}

.card:nth-child(even):hover {
  box-shadow: -3px 3px 0px 3px #aaa;
}

.card::after {
  content: '';
  width: 1.2rem;
  height: 2.4rem;
  position: absolute;
  right: 0rem;
  top: 3rem;
  transform: translateX(100%);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  background-color: var(--tertiary-color);
  /* border-radius: 50%; */
  transition: all 0.3s ease-in-out;
}

.card:hover.card::after {
  background-color: #aaa;
}

.card-right::after {
  clip-path: polygon(100% 100%, 100% 0, 0 50%);
  left: 0;
  transform: translateX(-100%);
}

.icon-roadmap {
  background-color: #fff;
  content: '';
  width: 5rem;
  height: 5rem;
  position: absolute;
  right: -7.8rem;
  top: 1.6rem;
  border: 4px solid var(--tertiary-color);
  border-radius: 50%;
  z-index: 99;
  transition: all 0.3s ease-in;
}

.icon-left {
  left: -7.38rem;
}

.card:hover .icon-roadmap {
  border: 4px solid #aaa;
}

.card-1 {
  grid-row: 1 / span 1;
  grid-column: 1 / span 1;
}

.card-2 {
  grid-row: 2 / span 1;
  grid-column: 2 / span 1;
}

.card-3 {
  grid-row: 3 / span 1;
  grid-column: 1 / span 1;
}
.card-4 {
  grid-row: 4 / span 1;
  grid-column: 2 / span 1;
}
.card-5 {
  grid-row: 5 / span 1;
  grid-column: 1 / span 1;
}
/* .card-6 {
  background-color: #42761c;
  grid-row: 6 / span 1;
  grid-column: 2 / span 1;
}
.card-7 {
  background-color: #2ea598;
  grid-row: 7 / span 1;
  grid-column: 1 / span 1;
} */

.card h3 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--quaternary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  /* font-family: 'AAi Trols primary font' 'sans-serif'; */
}

.card ul {
  padding-left: 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card ul li {
  font-family: 'Oxanium' 'sans-serif';
  font-size: 1.6rem;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 1.6px;
}

@media only screen and (max-width: 50em) {
  .container-roadmap {
    padding: 1rem 1rem 1rem 6rem;
  }
  .box-roadmap {
    grid-template-columns: 100%;
    gap: 4rem;
  }

  .box-roadmap::before {
    bottom: 0;
    left: -3rem;
  }

  .card {
    margin-left: 2.6rem;
  }

  .card-1 {
    grid-row: 1 / span 1;
    grid-column: 1 / -1;
  }

  .card-2 {
    grid-row: 2 / span 1;
    grid-column: 1/ -1;
  }

  .card-3 {
    grid-row: 3 / span 1;
    grid-column: 1/ -1;
  }
  .card-4 {
    grid-row: 4 / span 1;
    grid-column: 1/ -1;
  }
  .card-5 {
    grid-row: 5 / span 1;
    grid-column: 1/ -1;
  }
  .card-6 {
    grid-row: 6 / span 1;
    grid-column: 1/ -1;
  }
  .card-7 {
    grid-row: 7 / span 1;
    grid-column: 1/ -1;
  }

  /* .card::after {
    left: -3.7rem;
    right: 0rem;
  }

  .card-right::after {
    left: -3.7rem;
    right: 0rem;
  } */

  .card:before,
  .card:after {
    display: none;
  }

  /* .icon-roadmap {
    background-color: #fff;
    content: '';
    width: 4rem;
    height: 4rem;
    position: absolute;
    right: -8.25rem;
    top: 1.6rem;
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 99;
    transition: all 0.3s ease-in;
  } */

  /* .icon-left {
    right: -8.25rem;
  } */

  .icon-right,
  .icon-left {
    left: -7.95rem;
  }
}

@media only screen and (max-width: 30em) {
  html {
    font-size: 50.5%;
  }

  .card {
    gap: 1rem;
    padding: 1.6rem;
  }
}

/* !--------------! */
/* SECTION UTILITY */
.section-utility {
  background: linear-gradient(
    to bottom left,
    #c29fc1,
    #c29fc1,
    /* #9dd7c6, */ #876f9d,
    #c29fc1,
    #c29fc1
  );

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.container-utility {
  max-width: 900px;
}

.container-utility .text-box {
  padding: 3rem;
  border-radius: 9px;
  backdrop-filter: blur(4px);
  background-color: #876f9d;
  /* background-color: #c29fc1; */
}

.container-utility .paragraph {
  margin-bottom: 1rem;
}

/* !--------------! */
/* SECTION TEAM */
.section-team {
  background-color: var(--secondary-color);
}

.container-team {
  /* max-width: 100rem; */
}

.teams {
  display: flex;
  /* flex-direction: column; */
  gap: 2rem;
}

.teams__row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.teams__row--card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px 0 16px 0;
  overflow: hidden;
  box-shadow: 0 0 15px #00000040;

  /* padding: 2rem; */
  background-color: var(--tertiary-color);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.teams__row--card:hover {
  box-shadow: 6px 6px 10px #00000060;
  transform: translateY(-3px) scale(1.02);
}

.teams__row--card img {
  width: 100%;
}

.teams__row--card h4 {
  padding: 2rem 1rem;
  font-size: 2rem;
  font-weight: normal;
  font-size: 1.6rem;
  color: #fff;
}

/* !-------------! */
/* SECTION FAQS */

.section-faqs {
  background-color: #8a0e96;
  background: linear-gradient(#dab2c4aa, #9799c6aa), url(img/bg-1.jpg);
}

.faqs-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 0.9rem;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  background-color: #b2d3cc;
  color: #fff;
}

.faq-head {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.faq-head img {
  width: 2.8rem;
}

.faq-head h2 {
  font-size: 3.2rem;
  letter-spacing: 1.8px;
}
.faq {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}
.question-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 600;
}

.question-box p {
  letter-spacing: 1.6px;
  font-weight: normal;
}
/* &:not(:last-child) */
.question-box:not(:last-child) {
  border-bottom: 1px solid #333;
}

.question-box:focus,
.question-box:hover {
}

.question-box img {
  width: 2.4rem;
}

.answer {
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease-in;
  padding: 0 0 10px 0;
  font-size: 1.6rem;
}

.active .answer {
  max-height: 20rem;
  visibility: visible;
  opacity: 1;
}

/* FOR MOBILE [< 600px]  */
@media only screen and (max-width: 37.5em) {
  /* html {
    font-size: 50.5%;
  } */
}

/* !--------------! */
/* UTILITIES */

.mg-top--md {
  margin-top: 4rem;
}

/* !------------! */
/* FOOTER */
footer {
  background-color: var(--color-primary);
  padding: 3rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer p {
  text-align: center;
  color: #ddd;
}

footer img {
  width: 15rem;
}

.footer__icon-box {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.4rem 0;
}

#back-to-top-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0px 0 5px rgba(255, 255, 255, 200);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s;
}

#back-to-top-btn:hover {
  opacity: 0.7;
}

/* Smooth Carousel */

#carousel-container {
  /* background-color: #000; */
  padding: 5rem 0 0rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#image-carousel {
  display: flex;
  animation: scrollAnimation 90s linear infinite; /*Adjust the duration based on your preference*/
  /* animation: scrollAnimation 30s infinite alternate-reverse; */
}

.carousel-image {
  width: calc(20% - 20px);
  margin-right: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
}

@keyframes scrollAnimation {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(
      -450%
    ); /* Adjust the percentage based on the number of images in the view */
  }
}

/* SUBSCRIPTION FORM */
.section-sub {
  background: linear-gradient(to bottom left, #967ba6aa, #c29fc1aa),
    url(img/bg-3.jpg);
}

.container-sub {
  max-width: 90rem;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 0.9rem;
  /* box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2); */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.container-sub h3 {
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 1.8px;
}

.input-field {
  display: flex;
  flex-direction: column;
}

.input-field label {
  font-size: 1.6rem;
  font-weight: normal;
  letter-spacing: 1.6px;
}

input[type='email'] {
  max-width: 40rem;
  width: 35rem;
  padding: 1rem 1rem;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 3px;
}

@media (max-width: 40em) {
  input[type='email'] {
    max-width: 30rem;
    width: 25rem;
  }

  .container-sub h3 {
    font-size: 2rem;
    letter-spacing: 1.4px;
  }
}

input[type='email']:focus {
  outline: none;
  border: 2px solid var(--secondary-color);
}

button[type='submit'] {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 0.8rem 3rem;
  border: none;
  font-family: inherit;
  margin-top: 1rem;
  box-shadow: 3px 3px 0 3px #777777;
  border-radius: 4px;
  cursor: pointer;

  transition: all 0.3s ease-in-out;
}

button[type='submit']:hover {
  box-shadow: 0 0 0;
  transform: scale(0.96);
}
