:root {
  /* global */
  --font-family: "Montserrat";

  --primary-100: #2b5748;
  --primary-200: #357463;
  --secondary-50: #fff6eb;
  --secondary-100: #e7c69d;
  --white-500: white;
  --grey-900: #18191a;
  --grey-600: #575759;
  --grey-500: #939394;
  --grey-200: #d7d7d8;

  --max-width: 1200px;
  /* alias */
  /* text color */
  --text-color-primary: var(--grey-900);
  --text-color-secondary: var(--grey-600);
  --text-color-tertiary: var(--grey-500);
  --text-color-brand-pri: var(--primary-100);
  --text-color-brand-sec: var(--secondary-100);
  --text-color-reverse: var(--white-500);
  /* border color */
  --border-color-primary: var(--grey-200);
  --border-color-brand-secondary: var(--secondary-100);
  /* background */
  --bg-color-brand-pri1: var(--primary-100);
  --bg-color-brand-pri2: var(--primary-200);
  --bg-color-brand-sec: var(--secondary-100);
  --bg-color-brand-sec-dim: var(--secondary-50);
}

/* Set up */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: var(--font-family);
  color: var(--text-color-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: 100%;
}

h1 {
  margin: 0px;
  color: var(--text-color-brand-pri);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  color: var(--text-color-brand-pri);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  color: var(--text-color-brand-pri);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

h4 {
  font-size: 20px;
  font-weight: 700;
}

p {
  color: var(--text-color-secondary);
  font-size: 16px;
  font-weight: 400;
}

li {
  list-style: none;
}

i {
  font-size: 20px;
}

input {
  background: #f1f1f1;
  outline: none;
  padding: 12px 24px;
  border-radius: 100px;
  border: transparent;
  font-size: 16px;
  line-height: 1.5;
  font-family: var(--font-family);
  width: 100%;
  cursor: pointer;
}

input:hover {
  background-color: #e4e4e4;
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  border: none;
  outline: none;
  background-color: var(--bg-color-brand-pri1);
  color: var(--text-color-brand-sec);
  padding: 12px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: 0.1s ease-in;
}

button:hover {
  background-color: var(--bg-color-brand-pri2);
}

::-webkit-scrollbar {
  display: flex;
  background-color: transparent;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;
  border-radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  /* border: 1px solid grey; */
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 24px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
}

.container_vtc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: var(--max-width);
  width: 100%;
}
/* Navbar */

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  padding: 16px 24px;
  top: 0%;
  left: 0%;
  right: 0%;
  z-index: 100;
  background-color: var(--white-500);
  border-bottom: 1px solid var(--border-color-primary);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  position: relative;
}

.navmenu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 64px;
  padding: 0px;
}

.navlink {
  text-decoration: none;
  color: var(--text-color-brand-pri);
  font-size: 16px;
  font-weight: 600;
}

.navlink:hover {
  color: var(--text-color-brand-sec);
}

.menuOpen {
  display: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  background-color: var(--grey-200);
  border-radius: 8px;
}

/* modal */
.alertOverlay {
  display: none;
  justify-content: center;
  align-items: start;
  padding: 24px;
  position: fixed;
  top: 0%;
  left: 0%;
  right: 0%;
  z-index: 1100;
}

.alertForm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgb(231, 255, 231);
  border: 1px solid green;
  padding: 12px 20px;
  gap: 24px;
  border-radius: 16px;
}

.alertFormBody {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#alertTitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color-primary);
}

#alertPara {
  font-size: 13px;
  color: var(--text-color-primary);
}

.alertFormContent {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;

  width: 100%;
}
/* menu mobile */
.menuOverlay {
  display: none;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0%;
  left: 0%;
  right: 0%;
  z-index: 1000;
}

.menuMobile {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white-500);
  padding: 24px;
  gap: 40px;
}

.menuHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menuBody {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.menuClose {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background-color: var(--grey-200);
  border-radius: 8px;
}

/* Hero section */
.heroContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.heroContent {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  width: 33%;
}

#heroTitle {
  margin-bottom: 16px;
}

#heroPara {
  margin-bottom: 32px;
}

#heroBtn {
  text-decoration: none;
}

.heroCarousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  overflow: hidden;
  position: relative;
  padding-bottom: 48px;
}

.heroSlide {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
}

.heroImage {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  width: 100%;
}

.swiper-pagination {
  position: absolute;
  bottom: 0 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--bg-color-brand-pri1) !important;
}

/* Our solution */
.solution {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("./img/About.png");
  background-repeat: no-repeat;
  background-position: cover;
  box-sizing: border-box;
}

.solutionWrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 64px;
}

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

#solutionTitle {
  margin-bottom: 24px;
  color: var(--text-color-brand-sec);
}

#solutionPara {
  max-width: 600px;
  text-align: center;
  color: var(--text-color-reverse);
}

.solutionContentBot {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  grid-column-gap: 24px;
  grid-row-gap: 40px;
  width: 100%;
}

.solutionItems {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 240px;
  color: var(--text-color-reverse);
  gap: 24px;
}

#iconItems {
  width: 64px;
  height: 64px;
}

#item {
  width: 180px;
  text-align: center;
  color: var(--text-color-reverse);
}

/* What we have */
.wwhWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.wwhContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 24px;
}

.wwhItemsList {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px;
}

.wwhItem {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: start;
  width: 100%;
  min-width: 380px;
  flex: 1;
  border: 1px solid var(--border-color-primary);
  border-radius: 24px;
  padding: 24px;
}

h3.metric {
  font-size: 80px;
  padding-top: 20px;
}

#wwhIcon {
  width: 48px;
  height: 48px;
}

#wwhText {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

/* Mpass card */
.mpassCard {
  background-color: var(--bg-color-brand-sec-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.mpassCardBox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.mpassCardImage {
  width: 100%;
}

.mpassCardImageBox {
  width: 100%;
  height: 540px;
}

.mpassCardAbout {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: 100%;
}

.mpassCardContent {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
}

li.cardItem {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  width: 100%;
  gap: 8px;
  padding: 8px 0px;
  color: #939394;
}

h1#mpassCard {
  margin-bottom: 8px;
}

p.mpassCardText {
  color: var(--text-color-primary);
}

/* Connect with us */
.connectWithUs {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.connectWrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.formSubmit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 464px;
}

.connectWithUsImgBox {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 40px;
  width: 50%;
}

.imgConnect {
  width: 100%;
  object-fit: cover;
}

h4#connect {
  color: var(--text-color-tertiary);
}

/* Q&A */
.faq {
  background-color: var(--bg-color-brand-sec-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.faqWrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.faqImg {
  width: 480px;
  position: sticky;
  top: 30%;
}

.faqList {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  width: 50%;
}

.faqItem {
  display: flex;
  justify-content: start;
  align-items: start;
  width: 100%;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200);
}

.faqNumber {
  display: flex;
  justify-content: start;
  align-items: center;
  flex: none;
  width: 120px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-color-brand-pri);
}

.faqSubtitle {
  padding-bottom: 8px;
}

/* client */

.clientWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  height: 100vh;
}

.clientLogo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 24px;
}

/* footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color-brand-pri1);
  color: var(--text-color-brand-sec);
}

.footerWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin: 40px 0;
}

.footerTop {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 16px;

  width: 100%;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color-brand-secondary);
}

.contactInfo {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 8px;
}

.info {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  nav {
    padding: 24px;
  }

  /* hero */
  .heroContainer {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 80px;
    gap: 64px;
  }

  .heroContent {
    width: 100%;
    max-width: 400px;
  }

  .heroCarousel {
    width: 100%;
  }

  /* solution */

  .solutionItems {
    max-width: 200px;
  }

  /* what we have */
  .wwhItem {
    min-width: 200px;
  }

  /* mpass card */
  .mpassCardBox {
    flex-direction: column;
    gap: 40px;
  }

  /* connect */
  section.connectWithUs {
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
  }

  .connectWrap {
    flex-direction: column;
    gap: 40px;
  }

  .connectWithUsImgBox {
    width: 100%;
  }

  .formSubmit {
    max-width: none;
  }

  /* faq */
  .faqWrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .faqImg {
    width: 100%;
    position: relative;
  }

  .faqList {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  nav {
    padding: 24px;
  }

  .navmenu {
    display: none;
  }

  .menuOpen {
    display: flex;
  }

  /* alert */
  #alertTitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color-primary);
  }

  #alertPara {
    font-size: 13px;
  }
  /* hidden menu */
  .menuMobile {
    padding: 24px;
  }

  /* hero */
  .heroContainer {
    flex-direction: column;
    align-items: start;
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 80px;
    gap: 64px;
  }

  .heroContent {
    width: 100%;
  }

  .heroCarousel {
    width: 100%;
  }

  /* what we have */
  .wwhItem {
    min-width: 360px;
  }

  /* mpass card */
  .mpassCardBox {
    flex-direction: column;
    gap: 40px;
  }

  /* connect */
  section.connectWithUs {
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
  }

  .connectWrap {
    flex-direction: column;
    gap: 40px;
  }

  .connectWithUsImgBox {
    width: 100%;
  }

  .formSubmit {
    max-width: none;
  }

  /* faq */
  .faqWrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .faqImg {
    width: 100%;
    position: relative;
  }

  .faqList {
    width: 100%;
  }

  /* client */
  .clientLogo {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}

@media screen and (max-width: 500px) {
  nav {
    padding: 16px;
  }

  section {
    padding: 0 16px;
  }

  h1 {
    font-size: 24px;
  }

  h4.faqSubtitle {
    font-size: 18px;
  }

  /* navbar */
  .navmenu {
    display: none;
  }

  .menuOpen {
    display: flex;
  }

  /* hidden menu */
  .menuMobile {
    padding: 16px;
  }
  /* hero */
  .heroContainer {
    flex-direction: column;
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 80px;
    gap: 64px;
  }

  .heroContent {
    width: 100%;
  }

  .heroCarousel {
    width: 100%;
  }

  /* what we have */
  .wwhItem {
    min-width: 240px;
  }

  .wwhWrapper {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  /* solution */

  .solution {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .solutionWrap {
    gap: 40px;
  }

  /* mpass card */
  .mpassCard {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .mpassCardBox {
    flex-direction: column;
    gap: 40px;
  }

  /* connect */
  section.connectWithUs {
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
  }

  h4.connect {
    font-size: 20px;
  }

  .connectWrap {
    flex-direction: column;
    gap: 40px;
  }

  .connectWithUsImgBox {
    width: 100%;
  }

  .formSubmit {
    max-width: none;
  }

  /* faq */
  .faq {
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
  }

  .faqWrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .faqList {
    width: 100%;
  }

  .faqItem {
    flex-direction: column;
    gap: 16px;
  }

  .faqNumber {
    font-size: 40px;
  }

  /* client */
  .clientLogo {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}
