.wow {
  visibility: hidden;
}

.full-row0.full-content {
  min-height: auto !important;
}

.full-row0 .inner-container {
  max-width: 100% !important;
}

.banner {
  position: relative;
  width: 100%;
  /* height: 513px !important; */
  /* full màn hình */
  overflow: hidden;
  margin-bottom: 20px;
}

.banner ul li {
  list-style: none;
}

.banner .swiper-container,
.banner .swiper-wrapper,
.banner .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
}

.banner .swiper-container,
.banner .swiper-wrapper,
.banner .swiper-slide {
  width: 100%;
  height: 100%;
}

.banner video,
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* co giãn đủ mà không méo */
  display: block;
}

.banner .video {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Bỏ ::after + ::before gây padding thừa */
.banner .video::before,
.banner .video::after {
  display: none !important;
}

.banner .text-1 {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #fff;
  max-width: 45%;
}

.banner .text-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #fff;
  max-width: 90%;
}

.banner .text-1 .title-1 {
  font-size: 32px;
  /* responsive */
  line-height: 1.2;
  font-weight: 700;
  color: #000;
}

.banner .text-1 .title-2 {
  font-size: 32px;
  /* responsive */
  line-height: 1.2;
  font-weight: 700;
  color: #1774c4;
  margin-bottom: 1rem;
}

.banner .text-2 .title-1 {
  font-size: 32px;
  /* responsive */
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}

.banner .text-1 .info {
  color: #666666;
}

.banner .btnDiv {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.header-row {
  display: flex;
  justify-content: space-between;
  /* tiêu đề bên trái, nút bên phải */
  align-items: center;
  margin-bottom: 20px;
}

.swiper-nav {
  display: flex;
  gap: 10px;
  /* khoảng cách giữa prev / next */
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  /* bỏ mặc định absolute của Swiper */
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  /* chỉnh icon nhỏ lại */
  color: #000;
}

.my-prev,
.my-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* icon mũi tên */
.my-prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0,22 L22,44 L24.1,41.9 L5,22 L24.1,2.1 L22,0 L0,22 Z' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: #000;
}

.my-next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27,22 L5,0 L2.9,2.1 L22,22 L2.9,41.9 L5,44 L27,22 Z' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.swiper {
  width: 100%;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  /* Bỏ width: auto đi */
}

.nangluc {
  padding: 0 50px 50px 50px;
}

.nangluc .title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.nangluc-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  min-height: 250px;
}

/* Đảm bảo nội dung nằm trên lớp nền */
.nangluc-card * {
  position: relative;
  z-index: 1;
}

/* Khi hover đổi màu toàn bộ chữ */
.nangluc-card:hover {
  color: #fff;
  background-color: #1774c4;
}

.nangluc-card .icon {
  /* max-width: 60px; */
  margin-bottom: 10px;
}

.nangluc-card .icon img {
  width: 100%;
  height: 350px;
}

.nangluc-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.nangluc-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* chỉ cho hiển thị 3 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nangluc-card:hover p {
  color: #fff;
}

.nangluc-card * {
  position: relative;
  z-index: 1;
}

/* ====== Button ====== */
.nangluc-card .btn {
  display: inline-block;
  padding: 8px 15px;
  background: #007bff;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, background 0.3s ease;
  z-index: 1;
}

/* Nền hiệu ứng cho button */
.nangluc-card .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  /* nền trắng */
  transition: left 0.5s ease;
  z-index: -1;
}

/* Hover card -> nền trắng trượt vào nút */
.nangluc-card:hover .btn::before {
  left: 0;
}

/* Hover card -> chữ nút xanh */
.nangluc-card:hover .btn {
  color: #1774c4;
}

.nangluc-card .num {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 14px;
  color: #999;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  color: #333;
}

.full-row2.full-content {
  min-height: auto !important;
}

.home-box2 {
  display: flex;
}

.home-box2>div {
  width: 50%;
}

.box2-left .pic {
  position: relative;
  z-index: 1;
}

.box2-left .pic::after {
  content: "";
  display: block;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#1774c4 1px, transparent 1px);
  background-size: 1rem 1rem;
  opacity: 0.5;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.box2-left img {
  width: 100%;
  object-fit: cover;
}

.box2-right {
  padding-left: 10px;
}

.box-whychoose-list {
  width: 100%;
}

.whychoose-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.whychoose-icon {
  display: block;
  max-width: 54px;
  width: 100%;
  height: 54px;
  background: #fff;
  border-radius: 1rem;
  border: 0.2rem #fff solid;
  -webkit-box-shadow: 0 0 2rem 0 rgba(18, 90, 152, 0.1) inset,
    0 0 2rem 0 rgba(18, 90, 152, 0.15);
  box-shadow: 0 0 2rem 0 rgba(18, 90, 152, 0.1) inset,
    0 0 2rem 0 rgba(18, 90, 152, 0.15);
}

.whychoose-icon img {
  width: 100% !important;
  height: 100%;
}

.whychoose-content {
  padding-left: 15px;
  width: auto;
}

.whychoose-content span {
  display: block;
}

.whychoose-item-title {
  font-weight: 600;
  font-size: 16px;
}

.whychoose-item-content {
  font-size: 16px;
}

/* Box liên hệ chúng tôi */
.full-row3.full-content {
  min-height: auto !important;
}

.home-box3 {
  text-align: center;
  padding: 30px 0;
}

ul.box3-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}

ul.box3-list li.box3-item {
  width: calc(25% - 10px);
  text-align: center;
  position: relative;
}

ul.box3-list li:not(:last-child)::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  border-top-width: 1px;
  border-top-style: dashed;
  border-top-color: #1774c4;
  position: absolute;
  top: 43px;
  left: 50%;
}

.box3-item-icon {
  width: 86px;
  margin: auto;
  background: #e7f1f9;
  box-shadow: 3rem 0 0 #fff, -3rem 0 0 #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 10px;
}

.box3-item-icon img {
  width: 100%;
  object-fit: cover;
}

.box3-item-icon span.num {
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  width: 45px;
  height: 45px;
  line-height: 22px;
  padding-left: 11px;
  border-radius: 50%;
  background: #1774c4;
  color: #fff;
  font-size: 1.4rem;
  position: absolute;
  top: -22px;
  right: -18px;
}

.box3-item-title span {
  font-weight: 600;
  font-size: 18px;
}

.box3-item-content {
  font-size: 16px;
  color: #666666;
}

/* Box giới thiệu về chúng tôi */
.full-row4 {
  background-color: #4486ca;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  line-height: 1.5;
  color: #fff;
}

.home-box4 {
  position: relative;
  color: #fff;
  padding: 100px 30px 100px 30px;
}

.home-box4::before {
  content: "";
  /* bắt buộc để hiện pseudo-element */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* 👈 chỉnh độ mờ */
}

.home-box4>* {
  position: relative;
  z-index: 2;
}

.box4-up {
  display: flex;
}

.box4-up>div {
  width: 50%;
}

.box4-right button {
  background-color: #fff;
  border: none;
  outline: none;
  color: #007bff;
  border-radius: 5px;
  padding: 8px 15px;
}

.box4-down .playBtn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 8px solid #1774c4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  left: 250px;
}

.video-main {
  display: none;
  /* ban đầu ẩn */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* nền đen mờ */
  z-index: 9999;
}

.video-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* căn giữa dọc */
}

.video-main video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* nút X */
.video-main .closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/*Box khách hàng */
.full-row5.full-content {
  min-height: auto;
}

.home-box5 {
  margin: 0 40px;
  padding: 25px 40px;
  position: relative;
  border-radius: 5px;
  top: -20px;
  background-color: #fff;
  box-shadow: 0 0 13px 0 rgba(23, 116, 196, 0.1);
}

.box5-swiper {
  overflow: hidden;
}

.box5-item .box5-img {
  width: auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.box5-item .box5-img img {
  height: 100%;
}

/* ========== Blog Swiper ========== */
.full-row6 .inner-container {
  padding-left: 30px;
  padding-right: 30px;
}

.home-box6 {
  padding: 20px 0;
}

.home-box6 .title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
}

/* Swiper wrapper spacing */
.blog-swiper {
  padding-bottom: 30px;
}

/* Make slide and card full height so cards equal height */
.blog-swiper .swiper-slide {
  display: flex;
  height: auto;
  align-items: stretch;
}

/* Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #f6f9fb;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  width: 100%;
   border-radius: 10px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
}

/* Thumb image on top */
.blog-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* hoặc 4/3, 1/1 tuỳ ý */
  overflow: hidden;
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* đảm bảo ảnh luôn lấp đầy khung */
  display: block;
}

/* Content */
.blog-card .card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* giữ chiều cao đồng đều */
}

.blog-card .card-body {
  padding: 15px;
}

/* Date */
.blog-card .meta-date {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

/* Title (màu xanh, đậm) */
.blog-card .post-title {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 12px;
}

/* Giới hạn 1 dòng cho tiêu đề */
.blog-card .card-title a {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  /* height: 6.4rem; */
  margin-bottom: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /* cho phép xuống dòng, nhưng clamp sẽ giới hạn */
}

.blog-card:hover .card-title a {
  color: #007bff;
}

/* Giới hạn 2 dòng cho mô tả */
.blog-card .card-text {
  white-space: normal;
  color: #666;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.btn-outline-primary {
  overflow: hidden;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 14px;
  line-height: 40px;
  box-shadow: 0 0 0 1px #666 inset;
  color: #666;
  text-align: center;
  font-size: 18px;
  padding: 0 10px;
  border-radius: .5rem;
  position: relative;
  z-index: 1;
}

/* Nền hiệu ứng cho button */
.btn-outline-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1774c4;
  /* nền trắng */
  transition: left 0.5s ease;
  z-index: -1;
}

/* Hover card -> nền trắng trượt vào nút */
.blog-card:hover .btn-outline-primary::before {
  left: 0;
}

/* Hover card -> chữ nút xanh */
.blog-card:hover .btn-outline-primary {
  color: #fff;
}

.blog-card .post-title a {
  color: #fff;
  /* màu xanh giống mẫu */
  text-decoration: none;
  font-weight: 700;
}

.blog-card .post-title a:hover {
  text-decoration: underline;
}

/* Excerpt */
.blog-card .excerpt {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  /* chiếm phần còn lại */
  overflow: hidden;
}

/* Learn more text link (như mẫu bên trái) */
.blog-card .learn-more {
  color: #167bd6;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
}

.blog-card .learn-more:hover {
  text-decoration: underline;
}

/* Swiper navigation style (small) */
.blog-swiper .swiper-button-next,
.blog-swiper .swiper-button-prev {
  color: #167bd6;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

/* Responsive */
@media (max-width: 991.98px) {
  .blog-card .thumb {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .blog-card .thumb {
    height: 180px;
  }
}

.nangluc-swiper,
.blog-swiper {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  /* .banner {
    height: 380px !important;
  } */

  .banner .video {
    display: none !important;
  }

  .banner .mobile-video-poster {
    display: block !important;
    /* Hiện ảnh poster */
  }

  .textC {
    display: none;
  }

  .text-1,
  .text-2 {
    max-width: none !important;
    width: 100% !important;
    left: 50% !important;
  }

  .title-1,
  .title-2 {
    font-size: 24px !important;
  }

  .nangluc {
    padding: 0 0 50px 0;
  }

  .title {
    font-size: 24px !important;
  }

  .my-prev,
  .my-next {
    width: 30px;
    height: 30px;
  }

  .home-box2 {
    display: block;
    padding: 50px 0;
  }

  .box2-left {
    width: 100% !important;
  }

  .box2-left .pic::after {
    width: 100%;
    height: 100%;
  }

  .box2-right {
    width: 100% !important;
  }

  ul.box3-list li.box3-item {
    width: calc(50% - 10px);
  }

  ul.box3-list li::after,
  ul.box3-list li:not(:last-child)::after {
    display: none;
  }

  .home-box4 {
    padding: 80px 30px !important;
  }

  .box4-up {
    display: block;
  }

  .box4-up>div {
    width: 100%;
  }

  .home-box5 {
    margin: 0;
  }

  .box5-item {
    width: calc(33.333% - 10px);
  }
}