* {
  box-sizing: border-box;
}

:root {
  --primari-color: #0f1b4c;
}
html,
body {
  font-size: 62.5%;
  scroll-behavior: smooth; /* cuộn trang sẽ mượt mà*/
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
}

/*============= common ============= */
a {
  text-decoration: none;
}

.content {
  width: 1110px;
  max-width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}
.btn {
  min-width: 98px;
  background: var(--primari-color);
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  display: inline-block;
  text-align: center;
  padding: 18px 16px;
}
.btn:hover {
  opacity: 0.9;
}

/* Giới hạn số dòng hiển thị của 1 đoạn văn */
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 2);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.text-right {
  text-align: right;
}

/* ============== Header ============== */
.hero {
  display: flex;
  position: relative;
  flex-direction: column;
  background-color: #e6f0ff;
  height: calc(100vh - 90px);
  /* align-items: center; */
  justify-content: center;
}

.fixed-header {
  background: #e6f0ff;
  padding-top: 26px;
  position: sticky;
  top: -26px;
  z-index: 1;
}

/* nav-bar */
.nav-bar {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.nav-bar ul {
  display: flex;
  margin-left: 50px;
}
.nav-bar .actions {
  margin-left: auto;
}
.nav-bar ul a {
  font-size: 1.4rem;
  font-weight: 500;
  color: #4f5361;
  padding: 8px 14px;
}
.nav-bar ul a:hover {
  text-decoration: underline;
}

.nav-bar .actions .action-link {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primari-color);
}
.nav-bar .actions .btn-action {
  padding: 13px 16px;
  margin-left: 18px;
  border-radius: 8px;
}

/* .hero {
  padding-top: 130px;
} */
.hero .info {
  width: 51%;
}
.hero .sub-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5rem; /* (27px/18)rem */
  letter-spacing: 0.01em;
  color: #687690;
}
.hero .info .title {
  font-family: Poppins;
  font-size: 6.3rem;
  font-weight: 700;
  line-height: 1.19;
  color: #000336;
  max-width: 600px;
  margin-top: 8px;
}
.hero .info .desc {
  font-family: Poppins;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.78;
  text-align: left;
  margin-top: 30px;
}
.hero-cta {
  min-width: 170px;
  margin-top: 40px;
}
.hero-img {
  position: absolute;
  bottom: 0;
  right: calc((100vw - 1110px) / 2 - 100px);
  text-align: center;
}

/* ============== Clients ============== */
.clients {
  margin-top: 79px;
  padding: 43px 0 64px;
  /* background-color: orange; */
}
.clients .row {
  display: flex;
  justify-content: space-between;
}
.clients .row p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
}
.clients .row-desc {
  margin-top: 23px;
}
.clients .img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
}
.clients .img a {
  display: flex;
  align-items: center;
  padding: 0 42px;
  height: 91px;
  border-radius: 12px;
}
.clients .img a:hover {
  box-shadow: 0px 10px 20px 0px #0000001a;
}
/* ============== Guides ============== */
.guides {
  padding: 93px 0 79px;
  margin-top: 40px;
}
.guides h2.subtitle {
  position: relative;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #000339;
}
.guides h2.subtitle::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 41px;
  height: 4px;
  border-radius: 12px;
  background-color: #000339;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.guides .desc {
  font-family: Poppins;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.88;
  text-align: center;
  color: #5a6473;
  width: 459px;
  max-width: 100%;
  margin: 20px auto 0;
}
.list-guides {
  display: flex;
  justify-content: space-between;
  margin: 70px auto 0;
}

.guides-item {
  text-align: center;
}
.list-guides .title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 22px;
  margin-top: 26px;
  color: #3b3c45;
}
.list-guides .link {
  display: inline-block;
  margin-top: 10px;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  color: #0689ff;
}
.guides-item .arrow {
  margin-left: 8px;
}
.guide-cta {
  text-align: center;
  margin-top: 50px;
}
.guide-cta .btn {
  min-width: 170px;
}
/* ============== Features ============== */
.features {
  margin-top: 41px;
  background: #f5fafe;
  padding: 110px 0;
}
.features .sub-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: #000339;
}
.features .row {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.features .desc {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 30px;
  color: #5a6473;
}
.features .link {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #0689ff;
}
.features .link .arrow {
  margin-left: 8px;
}
.features .list {
  display: flex;
  margin-top: 70px;
  gap: 30px;
}
.features .item {
  flex: 1;
  background-color: #ffffff;
  border-radius: 12px;
}
.features .list .thumb {
  width: 100%;
  height: 227px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.features .item .body {
  padding: 17px 20px 24px;
}
.features .item .title a {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  color: #000339;
}
.features .item .desc {
  --line-clamp: 3;
  margin-top: 11px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 21px;
  width: 350px;
  word-break: break-all; /*Tránh làm hỏng giao diện khi cố tình đặt 1 đường link*/
}
.features .item .info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.features .item .label {
  margin-left: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 14px;
  color: #4d4d52;
}
.features .item .icon {
  margin-left: 24px;
}
.features .item .icon:first-child {
  margin-left: 0;
}

/* ============== Stats =============== */
.stats {
  margin-top: 75px;
  padding: 50px 0;
}
.stats .row {
  display: flex;
}
.stats .img-block,
.info {
  width: 50%;
}
.stats .img-block {
  /* background-color: blue; */
}
.stats .img-block img {
  display: block;
  margin-left: auto;
  width: 400px;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
}
.stats .info {
  padding: 79px 0 0 165px;
}
.stats .sub-title {
  position: relative;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 45px;
  color: #000339;
  width: 269px;
}
.stats .sub-title::before {
  position: absolute;
  content: "";
  top: -10px;
  display: block;
  width: 41px;
  height: 4px;
  border-radius: 12px;
  background: #000339;
}
.stats .info .desc {
  width: 309px;
  margin-top: 20px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 30px;
  white-space: normal;
}

/* row qty */
.stats .row-qty {
  margin-top: 110px;
  justify-content: space-between;
}
.stats .row-qty .qty-item .qty {
  font-size: 6.5rem;
  font-weight: 600;
  color: #000;
}
.stats .row-qty .qty-item .qty-desc {
  margin-top: 24px;
  font-size: 1.8rem;
  font-weight: 500;
  color: #7b8087;
}
/* ============= Subscription ============== */
.subscription {
  margin-top: 51px;
  padding-top: 40px;
}
.subscription .body {
  position: relative;
  display: flex;
  background-color: #063183;
  height: 370px;
  border-radius: 20px;
  align-items: center;
}
.subscription .info {
  padding: 0 80px;
  width: 671px;
  max-width: 100%;
}
.subscription .sub-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}
.subscription .desc {
  margin-top: 15px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 30px;
  color: #ffffff;
  --line-clamp: 3;
}
.subscription .btn {
  min-width: 151px;
  margin-top: 20px;
  background-color: #ffffff;
  color: #002366;
}
.subscription .image {
  position: absolute;
  bottom: 0;
  right: 221px;
}
.footer {
  /* background-color: rgb(11, 76, 79); */
  margin-top: 55px;
  padding: 50px 0 58px;
}
.footer .row {
  display: flex;
}
.footer .row-top {
  gap: 185px;
}

.footer .heading {
  font-family: "Lato", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 24px;
  color: #1c1c1d;
}
.footer .list,
.footer .desc {
  margin-top: 40px;
}
.footer .item {
  margin-top: 18px;
}
.footer .item a,
.desc {
  font-size: 1.6rem;
  font-weight: 400;
  color: #7a7a7e;
}

.footer .desc {
  white-space: normal;
  line-height: 1.75;
}
.footer .social {
  display: flex;
  margin-top: 40px;
}
.footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background-color: #f9f9f9;
}
.footer .social-link:hover {
  background-color: #ddd;
}
.footer .social-link + .social-link {
  margin-left: 16px;
}

.footer .row-bottom {
  display: flex;
  margin-top: 80px;
  align-items: center;
  justify-content: space-between;
}
.footer .copyright {
  font-size: 1.4rem;
  font-weight: 400;
  color: #c2c2c2;
}
