* {
  box-sizing: border-box;
}

:root {
  --primary-color: #10375c;
  --secondary-color: #2e80ce;
  --third-color: #c9d2da;
  --four-color: #c9d2da;
  --height-btn: 60px;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

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

.word-break-all {
  word-break: break-all;
}

.line-claim {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 2);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.container {
  width: 1170px;
  /* giúp khi co màn hình lại thì khoảng cách 2 bên vẫn cách mỗi bên 24px */
  max-width: calc(100% - 48px);
  margin: 0 auto; /* căn giữa */
}

.btn {
  display: inline-block;
  height: var(--height-btn);
  padding: 0 20px;
  border-radius: 99px;
  min-width: 205px;
  text-align: center;
  line-height: var(--height-btn);
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn:hover {
  opacity: 0.9;
  cursor: pointer;
}

.section-heading {
  font-weight: 600;
  font-size: 5rem;
  line-height: 60px;
  letter-spacing: -2%;
  color: #10375c;
}

.section-desc {
  margin-top: 18px;
  color: #575f66;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.67; /* 166.667% */
}
/* ===== End Common ===== */

/*===== Header ===== */
.header {
  min-height: 100vh;
  background: var(--primary-color);
  padding-top: 30px;
}

.logo {
  font-size: 1rem;
  position: relative;
  display: inline-flex;
  gap: 6px;
}

.logo__circle::before,
.logo__circle::after {
  content: "";
  display: inline-block;
  border-radius: 50%;
}

.logo__circle::before {
  width: 3em;
  height: 3em;
  background: var(--secondary-color);
}

.logo__circle::after {
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  top: 1.1em;
  left: 1.1em;
  background: #fff;
}

.logo__text {
  color: #fff;
  text-align: right;
  line-height: 1.6em;
}

.logo__branch {
  display: block;
  font-family: Sora;
  font-weight: 400;
  font-size: 1.8em;
}

.logo__branch--small {
  font-weight: 300;
  font-size: 1.2em;
}

/* Header top */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar {
  margin-left: 304px;
}
.navbar__list {
  display: flex;
  gap: 42px;
}

.navbar__item {
  display: flex;
  justify-content: center;
}

.navbar__link,
.header-action__login {
  padding: 4px 0;
  color: var(--third-color);
  font-size: 1.6rem;
  font-weight: 300;
}

.navbar__link--active,
.navbar__link:hover {
  text-shadow: 1px 0 0 currentColor;
  transition: 0.3s ease;
  color: #fff;
}

.navbar__link--active::before {
  position: relative;
  content: "";
  display: inline-block;
  background: #fff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  margin-top: 7px;
  top: -2px;
}

.header-action {
  display: flex;
  gap: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-action__signup {
  min-width: 104px;
  height: 44px;
  line-height: 44px;
}

/* hero */
.hero {
  margin-top: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 113px;
}

.hero__content {
  width: 44%;
  flex-shrink: 0;
}

.hero__media {
  flex-grow: 1;
}

.hero__heading {
  color: #fff;
  font-size: 7rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -1.4px;
}

.hero__desc {
  margin-top: 22px;
  color: var(--third-color);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.67;
}

.hero__row {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.hero__phone {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.67; /* 166.667% */
}

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

.hero__img {
  width: 330px;
  height: 540px;
  border-radius: 6px;
  object-fit: cover;
}

.hero__img:first-child {
  position: relative;
  margin-right: -6px;
}
.hero__img:last-child {
  width: 210px;
  height: 410px;
}
/*===== End Header ===== */

/* ===== Main Styling ===== */

/* Services */
.services {
  margin-top: 170px;
  padding-bottom: 170px;
  /* background: orange; */
}

.service-heading,
.service-desc {
  text-align: center;
}

.service-desc {
  width: 468px;
  margin: 18px auto 0;
}

.services__row {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  gap: 130px;
}

.services__image {
  width: 570px;
  height: 570px;
  flex-shrink: 0;
}

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

.service-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 55px;
}

.services-item {
  display: flex;
  gap: 8px;
  padding: 21px 18px 20px 22px;
  width: 470px;
  border-radius: 10px;
  background: #fff;
  transition: 0.3s ease;
}

.services-item:hover {
  position: relative;
  box-shadow: 0px 14px 28px 0px rgba(0, 0, 0, 0.05);
}

.services-item:hover .services-item__icon-wrap {
  background: var(--secondary-color);
  transition: 0.3s ease;
}

.services-item:hover .services-item__icon {
  color: #fff;
}

.services-item__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 100%;
  background: #eff6fd;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05);
}

.services-item__icon {
  width: 22px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary-color);
}

.services-item__body {
  margin-left: 19px;
}

.services-item__heading {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.27;
  color: #10375c;
}

.services-item__desc {
  margin-top: 8px;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 28px;
  color: #575f66;
}

/* ===== End Main Styling ===== */

/*=====================================================
  Section Work
/*===================================================== */
.work {
  height: 826px;
  background: #f6fbff;
}

.work__top {
  display: flex;
  padding-top: 100px;
  width: 40%;
  flex-direction: column;
}

.work--heading {
  text-align: left;
  /* margin: 18px 0; */
}

.work__list {
  margin-top: 86px;
  /* Flex box */
  /* display: flex; */
  /* justify-content: space-between; */
  /* gap: 30px; */

  /* grid box */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work__item {
  width: 370px;
  /* height: 370px; */
  flex-shrink: 0;
  border-radius: 4px;
  border: 16px solid #eaf6ff;
  background: #fff;
  padding: 42px;
  color: var(--primary-color);
  transition: 0.4s ease;
}

.work__item:hover {
  border: 16px solid var(--secondary-color);
  transform: translateY(-16px);
}

.work__title {
  margin-top: 18px;
  font-family: Sora;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.38; /* 138.462% */
}

.work__desc {
  margin-top: 28px;
  color: #575f66;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.75; /* 175% */
}

.work__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px; /* 175% */
}

/*-----------------------------------
# Section feature
-----------------------------------  */
.feature {
  /* height: 491px; */
  /* background: orange; */
  margin-top: 85px;
  padding: 85px 0;
}

.feature__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 130px;
}

.feature__media {
  width: 48.7%;
}

.feature__images {
  position: relative;
  padding: 0 58px 121px 0;
}

.feature__img {
  width: 512px;
  height: 370px;
  flex-shrink: 0;
  border-radius: 6px;
  /* background: url(<path-to-image>) lightgray -1.5px 0px / 108.398% 100% no-repeat; */
  /* box-shadow: 0px 14px 28px 0px rgba(0, 0, 0, 0.07); */
  object-fit: cover;
}

.feature__img:last-child {
  position: absolute;
  width: 332px;
  height: 370px;
  right: 0;
  bottom: 0;
}

.feature .section-desc {
  margin-bottom: 38px;
}

/*---------------------------- 
# Section Member
------------------------------ */
.member {
  padding: 85px 0;
  /* background: red; */
}

.member__top {
  text-align: center;
}

.member_cta {
  margin-top: 38px;
}

.member__list {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.member-item {
  width: 270px;
  /* background: red; */
}

.member-item__media {
  padding: 28px 4px 0;
  width: 100%;
  height: 318px;
  background: #eaf6ff;
  border-radius: 6px;
  transition: 0.25s ease;
}

.member-item__image {
  /* border-radius: 6px; */
  /* background: #eaf6ff; */
}

.member-item__img {
  width: 262px;
  height: 290px;
  border-radius: 6px;
  background: #eaf6ff;
  object-fit: cover;
}

.member-item__media:hover {
  /* padding-top: -28px; */
  transform: scale(1.1);
}

.member-item__heading {
  margin-top: 12px;
  color: #10375c;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75; /* 175% */
}

.member-item__desc {
  color: #575f66;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.86;
}

.btn-control {
  display: flex;
  gap: 18px;
  width: 90px;
  margin: 38px auto 0;
}

.btn-control__btn {
  display: inline-block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #575f66;
  background: #fff;
  border-radius: 50%;
  border: 1px solid;
}

.btn-control__btn:hover {
  background: var(--secondary-color);
  color: #fff;
}

/*-----------------------------------------
# Section App
-----------------------------------------*/
.app {
  margin-top: 85px;
  padding: 95px 0;
  /* background: rgb(215, 120, 120); */
}

.app__body {
  height: 427px;
  background: var(--secondary-color);
  display: flex;
  gap: 160px;
  align-items: center;
  justify-content: center;
  padding: 0 70px;
}

.app__content {
  width: 586px;
}

.app__text-white {
  color: #fff;
}

.app__image {
  width: 284px;
  transform: translateY(-48px);
}

.app__stores {
  display: flex;
  gap: 28px;
  margin-top: 38px;
}

.app__icon {
  color: #fff;
}

/*----------------------------------
# Section news
---------------------------------- */
.news {
  padding: 75px 0;
  /* background: orange; */
}

.news__body {
  display: flex;
  gap: 130px;
  justify-content: space-between;
}

.news__content {
  width: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news--control {
  margin: 28px 0 0 0;
}

.news__list {
  display: flex;
  gap: 30px;
}

.news__item {
  width: 270px;
  height: 375px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #e8ebee;
  background: #fff;
  padding-left: 22px;
}

.news__image {
  transform: translateX(-23px);
}

.news__heading {
  margin-right: 22px;
  margin-top: 16px;
  color: #10375c;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.62; /* 162.5% */
}

.news__desc {
  margin-top: 10px;
  color: #575f66;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.71; /* 171.429% */
  --line-clamp: 3;
  padding-right: 22px;
}

.news__more {
  display: inline-block;
  margin-top: 12px;
  color: #10375c;
  font-size: 1.4rem;
  font-weight: 400;
}

/*------------------------------------
# 
------------------------------------*/
.appointment {
  padding: 95px 0;
}

.appointment__body {
  background: #f6fbff;
  height: 452px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 38px;
}

.appointment__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 78px;
  gap: 18px;
}

.appointment__heading::after {
  content: "";
  position: absolute;
  width: 136px;
  height: 2px;
  flex-shrink: 0;
  background: #2e80ce;
  bottom: 0;
  /* margin-top: 18px; */
}

.appointment__desc {
  width: 617px;
  color: #575f66;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px; /* 175% */
}

/*----------------------------------
# Footer
---------------------------------- */
#footer {
  font-family: "Open Sans";
  width: 100vw;
  margin-top: 75px;
  height: 553px;
  flex-shrink: 0;
  background: var(--primary-color);
}

.footer__body {
  display: flex;
  justify-content: space-between;
  gap: 78px;
  padding-top: 100px;
}

.footer__left {
  width: 336px;
}

.footer__left-desc {
  margin-top: 22px;
  height: 56px;
  flex-shrink: 0;
  color: #a9b3bb;
}

.footer__link {
  color: #a9b3bb;
  font-family: "Open Sans";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.86; /* 185.714% */
  padding: 5px 0;
}

.footer__supports {
  width: 134px;
}

.footer__support-bottom {
  margin-top: 23px;
}

.footer__right {
  width: 332px;
}

.footer__list-social {
  display: flex;
  gap: 10px;
  /* width: 116px; */
}

.footer__social-item {
  padding-top: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 32px;
  background: #fff;
  color: var(--secondary-color);
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.footer__social-item:hover {
  background: var(--secondary-color);
  color: #fff;
}

.footer__subscribe {
  margin-top: 26px;
}

.footer__form {
  display: flex;
  gap: 12px;
}

.footer__btn,
.btn-email {
  height: 46px;
}

.btn-email {
  display: inline-block;
  min-width: 212px;
  height: 46px;
  flex-shrink: 0;
  padding: 10px;
  color: #9ca8b1;
  background: transparent;
  border-radius: 4px;
  border: 1px solid #406181;
}

.footer__btn {
  width: 108px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 4px;
  border: none;
  background: #2e80ce;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.86; /* 185.714% */
}

.footer__heading {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 175% */
}

.footer_line {
  margin-top: 28px;
  border: 1px solid #406181;
}

.footer__copyright {
  color: #aab3ba;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.86; /* 185.714% */
}
