/* .btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
} */

/*
    main color #1668b1
    global text  #5D6678
   
    */

html {}

body {
  font-family: Montserrat, sans-serif;
  line-height: 1.7 !important;
}

.main-color {
  color: #1668b1;
}

.dis_flex {
  display: flex;
}

.dis_flex_auto {
  display: flex;
}

.dis_flexcol {
  display: flex;
  flex-direction: column;
}

.bg_parallax {
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat-x;
  /*-ms-background-size: cover;*/
  /*background-size: cover;*/
}

.bg_parallax2 {
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat-x;
  /*-ms-background-size: cover;
    background-size: cover;*/
}

#menuWeb,
#myNav {
  text-transform: uppercase;
}

.fixed-top {
  background-color: #1668b1;
  color: white;
  margin-bottom: 0px !important;
}

.fixed-top-border {
  border-bottom-color: #1668b1;
  box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.2);
}

.hero {
  position: relative;
  top: 0px;
  height: 100vh;
  color: white;
  background: linear-gradient(to right, #1668b1, #177bc6);
}

.clearbg {
  background-color: transparent !important;
  border-color: transparent !important;
}

.hero-txt {
  width: 50%;
  padding-top: 170px;
}

.hero-txt h1 {
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-txt h2 {
  text-align: justify;
  font-size: 3rem;
}

.hero-img {
  width: 50%;
  opacity: 0;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  /* Căn ngang */
  align-items: center;
  /* Căn dọc */
  height: 100vh;
  /* Chiều cao 100% viewport */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.anim-fade-in {
  animation: fadeIn 2s ease-in forwards;
}

.hero-img:hover {
  transform: scale(1.02) rotate(2deg);
  transition: all 0.3s ease;
}

/* Container chứa sóng */
.wave-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* SVG sóng */
.wave {
  position: relative;
  display: block;
  width: 100%;
  height: 148px;
}

@media only screen and (max-width: 600px) {
  .wave {
    height: 46px;
  }

  .hero-txt {
    width: 100%;
    padding-top: 70px;
    height: 23vh;
  }

  .hero-txt h1 {
    font-size: 31px;
  }

  .hero-txt h2 {
    font-size: 25px;
    font-weight: bold;
  }

  .hero-txt h3 {
    font-size: 22px;
  }

  .hero-img {
    width: 100%;
    opacity: 0;
    margin-top: 0px;
    display: flex;
    justify-content: center;
    /* Căn ngang */
  }

  .hero-img img {
    width: 200px;
  }

  .dis_flex_auto {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
  }
}

.parallax-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.parallax-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(white 1px, transparent 1px) 0 0,
    radial-gradient(white 1px, transparent 1px) 50px 50px;
  background-size: 100px 100px;
  opacity: 0.8;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.parallax-bansec {
  position: relative;
  width: 100%;
  height: 35vh;
  overflow: hidden;
  background: linear-gradient(to right, #1368a5, #1668b1);
}

.parallax-bansec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(white 1px, transparent 1px) 0 0,
    radial-gradient(white 1px, transparent 1px) 50px 50px;
  background-size: 100px 100px;
  opacity: 0.8;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.gradient-underline {
  display: inline-block;
  background-image: linear-gradient(to right, #0066ff, #00ccff);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 5px;
}

.arrow-btn {
  position: relative;
  display: inline-block;
  color: white;
  background: #01bc75;
  padding: 8px 34px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
  border-radius: 8px;
}

/* Nền trượt (dùng pseudo background) */
.arrow-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #125d9e;
  z-index: -1;
  transition: all 0.4s ease;
}

/* Hover: nền trượt từ trái sang phải */
.arrow-btn:hover::before {
  left: 0;
}

/* Mũi tên ở sau */
.arrow-btn::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Mũi tên ở trước (mới) */
.arrow-btn span::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: translateY(-50%) rotate(-45deg) translateX(-8px);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Hover: đổi mũi tên */
.arrow-btn:hover::after {
  opacity: 0;
  transform: translateY(-50%) rotate(-45deg) translateX(6px);
}

.arrow-btn:hover span::before {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) translateX(0);
}

.arrow-btn:hover {
  color: white;
}

.arrowup-btn {
  position: relative;
  display: inline-block;
  color: white;
  background: #125d9e;
  padding: 8px 30px 8px 12px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
  border-radius: 8px;
}

/* Nền trượt lên (dưới lên trên) */
/*.arrowup-btn::before {
  content: '';
  position: absolute;
  bottom: -100%; /* xuất phát từ dưới */
/*left: 0;
  width: 100%;
  height: 100%;
  background-color: #28a745;
  z-index: -1;
  transition: all 0.4s ease;
}*/

/* Hover: nền trượt từ dưới lên */
/*.arrowup-btn:hover::before {
  bottom: 0;
}*/

/* Mũi tên sau chữ */
.arrowup-btn::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Mũi tên trước chữ */
/*.arrowup-btn span::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: translateY(-50%) rotate(-45deg) translateX(-8px);
  opacity: 0;
  transition: all 0.3s ease;
}*/

/* Hover: đổi mũi tên */
.arrowup-btn:hover::after {
  transform: translateY(-50%) rotate(-65deg) translateX(6px);
}

/*.arrowup-btn:hover span::before {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) translateX(0);
}*/
.arrowup-btn:hover {
  color: white;
  background-color: #01bc75;
}

.btn-main {
  position: relative;
  padding: 10px 30px 10px 20px;
  background-color: #125d9e;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-main:hover {
  background-color: #1668b1;
  color: white;
}

.btn-main::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Hover: đổi mũi tên */
.btn-main:hover::after {
  transform: translateY(-50%) rotate(-65deg) translateX(6px);
}

footer {
  background-color: #1668b1;
  color: #eaeaea;
  padding: 40px 0;
  line-height: 1.8;
}

footer a,
footer a:hover {
  color: #eaeaea;
}

footer .tencty {
  color: white;
  font-size: 35px;
  font-weight: bold;
}

.main-breadcum {
  color: white;
  text-align: center;
}

.main-breadcum ol {
  background-color: transparent !important;
  margin-top: 25vh;
}

.main-breadcum ol li {
  color: white;
}

.main-breadcum a,
.main-breadcum a:hover {
  color: white !important;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #dbdbdb;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: white !important;
}

.nav-shadow {
  border-bottom-color: #F9FBFF;
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 0px !important;
}

.hotline {
  font-size: 15px;
  padding: 8px;
  text-decoration: none;
}

.hotline:hover {
  color: #f9f9f9;
}

/*override menu hover*/
.navbar {
  padding: 20px 0;
}

.navbar-nav>li {
  padding: 23px 15px;
}

/*menu scroll*/
.fixed-top .nav>li>a {
  padding: 0px !important;
  padding-bottom: 7px !important;

  /*hover-underline-animation*/
  display: inline-block;
  position: relative;
  color: white;
}

.fixed-top .nav>li>a:hover {
  padding: 0px !important;
  padding-bottom: 7px !important;

  /*hover-underline-animation*/
  display: inline-block;
  position: relative;
  color: white;
}

.fixed-top .nav>li>a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: transform 0.25s ease-out;
  color: white;
}

.fixed-top .nav>li>a:hover::after {
  transform: scaleX(1);
  color: white;
}

/*end*/
.nav>li>a {
  padding: 0px !important;
  padding-bottom: 7px !important;

  /*hover-underline-animation*/
  display: inline-block;
  position: relative;
}

.nav>li>a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: transform 0.25s ease-out;
}

.nav>li>a:hover::after {
  transform: scaleX(1);
}

/*.hover-underline-animation.left::after {
  transform-origin: bottom right;
}

.hover-underline-animation.left:hover::after {
  transform-origin: bottom left;
}*/

.pt-6 {
  padding-top: 6rem;
}

.pt-box {
  padding-top: 5rem;
}

.pb-box {
  padding-bottom: 5rem;
}

@media only screen and (max-width: 600px) {
  .pt-box {
    padding-top: 3rem;
  }

  .pb-box {
    padding-bottom: 3rem;
  }
}

.dv {
  /* background-image: linear-gradient(to right bottom, rgba(255, 255, 255, 0) 50%, rgba(22, 104, 177, 0.1)); 
  background-image: linear-gradient(to right bottom, rgba(1, 188, 117, 0) 50%, rgba(22, 104, 177, 0.1));
*/
  border-top-right-radius: 10px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 10px;
  /* box-shadow: 0 4px 44px rgba(17, 29, 48, 0.11); */
  box-shadow: 0 4px 44px rgba(1, 188, 117, 0.2);
  max-height: 350px;
  min-height: 340px;
  padding: 40px;
}

.dv:hover {
  box-shadow: 1px 1px 10px 0 rgba(1, 188, 117, 0.3);
}

.dv_icon {
  text-align: center;
}

.dv_title {
  font-size: 20px;
  margin-top: 15px;
  color: black;
  text-decoration: none;
}

.dv_title a {
  text-decoration: none;
  color: #1668b1;
}

.dv_desc {
  margin-top: 10px;
  text-align: justify;
}

.dv_readmore {
  position: absolute;
  bottom: 30px;
  right: 40px;
  text-decoration: none;
}

.dv_readmore a {
  transition: transform 0.25s ease-out;
  text-decoration: none;
  color: #000;
}

.datb {
  border-radius: 10px;
  box-shadow: 0 4px 44px rgba(17, 29, 48, 0.11);
  max-height: 320px;
  min-height: 280px;
  padding: 10px 15px;
  position: relative;
  overflow: hidden;

  background-position: center center;
  background-size: cover;
  -ms-background-size: cover;
}

.datb:hover .datb_content {
  bottom: 0px;
}

.datb_content {
  padding: 10px 15px;
  background: #1668b1;
  color: #f9f9f9;
  height: 80%;
  position: absolute;
  left: 0;
  bottom: -500px;
  width: 100%;
  opacity: 1;
  -webkit-transition: all 0.7s ease-out;
  -moz-transition: all 0.7s ease-out;
  -ms-transition: all 0.7s ease-out;
  -o-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

.datb_title {
  margin-top: 8px;
}

.datb_title h3 {
  font-size: 23px;
  margin-top: 8px;
}

.datb_desc {
  margin-top: 10px;
}

.datb_readmore {}

.comment {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 44px rgba(17, 29, 48, 0.11);
  max-height: 240px;
  min-height: 220px;
  padding: 30px;
}

.comment:hover {
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.3);
}

.comment_title {
  font-size: 21px;
  margin-top: 8px;
  color: black;
}

.comment_desc {
  margin-top: 10px;
}

.size70 {
  font-size: 70px !important;
}

.reason {}

.reason_con {
  background-color: #1668b1;
  border-radius: 10px;
  margin: 10px;
  padding: 20px;
  min-height: 240px;
  width: 50%;
}

.reason_num {
  font-size: 45px;
  color: white;
  font-weight: bold;
}

.reason_txt {
  color: #f9f9f9;
}

.reason_col2 {
  top: 50%;
  /* Position text in the middle */
  left: 50%;
  /* Position text in the middle */

}

.reason_col2 h3 {
  font-size: 35px;
  color: black;
  font-weight: bold;
}

.reason_col2 p {
  color: #303030;
}

.rating_star {
  color: #f2e24f;
}

.newsindex {}

.newsindex .item {
  border-top-right-radius: 10px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 10px;
  box-shadow: 0 4px 44px rgba(17, 29, 48, 0.11);
  min-height: 320px;
}

.newsindex a {
  text-decoration: none;
}

.newsindex .caption {

  padding: 20px;
}

.newsindex .caption p {
  margin-top: 15px;
  font-size: 18px !important;
}

.newsindex h4 {
  font-size: 20px !important;
}

.newsindex img {
  border-top-left-radius: 50px;
  border: 0px !important;
  padding: 0px !important;
}

.newsindex .thumb-news {
  border-radius: 10px;

  min-height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -ms-background-size: contain;
}

.customer {
  padding-bottom: 60px;
}

.customer img {
  margin: 15px;
}

.chip {
  display: inline-block;
  padding: 0 25px;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  border-radius: 25px;
  background-color: #f1f1f1;
}

.chip i {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.title-box {
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
}

.title-bar {
  margin: 0 auto;
  position: relative;

  /* để pseudo-element sát nội dung */
  display: inline-block;
  /* để có khoảng cho gạch */
  padding-left: 50px;
  padding-right: 50px;
}

.title-bar::before,
.title-bar::after {
  content: "";
  position: absolute;
  height: 4px;
  background-color: #1668b1;
  bottom: 7px;
  width: 40px;
}

.title-bar::before {
  left: 0;
}

.title-bar::after {
  right: 0;
}

.cus-comment .title-bar {
  margin: 0 auto;
  position: relative;

  /* để pseudo-element sát nội dung */
  display: inline-block;
  /* để có khoảng cho gạch */
  padding-left: 50px;
  padding-right: 50px;
  color: white;
}

.cus-comment .title-bar::before,
.cus-comment .title-bar::after {
  content: "";
  position: absolute;
  height: 4px;
  background-color: white;
  bottom: 7px;
  width: 40px;
}

.cus-comment .title-bar::before {
  left: 0;
}

.cus-comment .title-bar::after {
  right: 0;
}


/*mobile menu*/
/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(22, 104, 177);
  /* Black fallback color */
  background-color: rgba(22, 104, 177, 0.9);
  /* Black w/opacity */
  overflow-x: hidden;
  /* Disable horizontal scroll */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%;
  /* 25% from the top */
  width: 100%;
  /* 100% width */
  text-align: center;
  /* Centered text/links */
  margin-top: 30px;
  /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 16px;
  color: #fcfcfc;
  display: block;
  /* Display block instead of inline */
  transition: 0.3s;
  /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: #fff;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 80px;
  right: 75px;
  z-index: 1;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 14px
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 70px;
    right: 75px;
    z-index: 1;
  }
}

.navbar-toggler:focus {
  border: 1px solid white;
  box-shadow: none !important;
}

/*end mobile menu*/

.h1-resize {
  text-transform: uppercase;
  font-weight: 500;
  /* font-size: 22px; */
  margin: 0px;
}

.padding-detail-page {
  /*padding: 30px 20px 0px 20px;*/
  margin-top: 40px;
}

.padding-detail-page img {
  max-width: 100%;
  height: 100%;
}

.hr-title-box {
  border-color: #171039;
  width: 20%;
  margin-top: 0 !important;
  border-width: 2px;
}

.hr-box {
  border-color: #dbdbdb;
  width: 100%;
  margin-top: 5px;
  border-width: 1px;
}

.dv-lstitems {
  min-height: 340px;
  /* background-image: linear-gradient(to right bottom, rgba(255, 255, 255, 0) 50%, rgba(22, 104, 177, 0.1)); */
  border-radius: 10px;
  box-shadow: 0 4px 44px rgba(17, 29, 48, 0.11);
  padding: 10px 15px;
  margin-top: 20px;
}

.dv-lstitems:hover {
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.3);
}

.dv-lstitems .thumb-news {
  border-radius: 10px;
  min-height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -ms-background-size: cover;
}

.dv-lstitems a {
  text-decoration: none;
  font-size: 19px;
}

.component-center {
  display: block;
  margin: auto;
}

.truncate-2lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-3lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.img-fit {
  object-position: center;
  object-fit: cover;
  /* width: 100%; */
}

.mb-box {
  margin-bottom: 5rem;
}