body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}
/* setting  */
/* .container {
  padding: 0 5% !important;
} */
.box-function-slider{
    padding: 0 6% !important;
}
.swiper {
  width: 100%;
  height: 60vh;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  max-width: 100%;
  top: 15%;
  padding-left: 20%;
}
/* end setting  */
h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2980b9;
}

.boxes-section {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background-color: #f4f4f4;
}

.box {
  text-align: center;
}

.box img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.box p {
  font-size: 16px;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  width: 35px !important;
  height: 35px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 15px !important;
}
.note-carousel-home {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}
.title-carousel-home {
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 15px;
  margin: 10px 0px 0px 0px;
}
.read-more-home {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.text-read-more {
  margin-right: 15px;
  color: #ffffff;
}
.category-target {
  display: flex;
  align-items: center;
}
.title-category-target {
  font-size: 24px;
  font-weight: bold;
  padding-right: 150px;
}
.item-category-target {
  padding: 10px;
  background-color: #ffffff;
  text-align: center;
  border-radius: 10px;
  margin-right: 10px;
  height: 110px;
}
.icon-category-target {
  color: #ffffff !important;
  padding: 9px;
  background: #008fd5;
  font-size: 22px;
  border-radius: 22px;
}
.name-category-target {
  color: black;
  font-weight: bold;
}
#icon-next-home,
#icon-prev-home {
  border: 1px solid #ffffff;
  border-radius: 20px;
}
#icon-next-home{
    margin-right: 8%;
}
#icon-prev-home{
    margin-left: 8%;
}
.title-solution-home{
    color: #002958;
    font-weight: bold;
    font-size:24px;
}

.container {
    margin-top: 50px;
}

.solution-home {
    position: relative;
}

.icon-item i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ccc;
}

.icon-item p {
    margin-top: 10px;
    font-weight: bold;
}
.name-solution-home{
    color: #002958;
    font-size: 14px;
}
.box-solution-home{
    position: relative;
    padding: 19px 30px;
}
.box-solution-home::after{
    content: "";
    position: absolute;
    top: 84px;
    left: 27px;
    right: 27px;
    height: 2px;
    background-color: #ccc;

}

.custom-prev,
.custom-next {
    position: absolute;
    top: 45px; 
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.custom-prev .carousel-control-prev-icon,
.custom-next .carousel-control-next-icon {
    filter: invert(1); 
    width: 20px;
    height: 20px;
    border: 1px solid;
    border-radius: 20px;
    padding: 13px;
}

.carousel-control-next,
.carousel-control-prev{
    top: 65px !important;
}
.carousel-control-next{
    justify-content: flex-end !important;
} 

.carousel-control-prev{
    justify-content: flex-start !important;
}

/* partner  */
.owl-theme .owl-dots{
    display: none;
}
.owl-theme .owl-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.owl-prev{
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    left: 1%;
}
.owl-next{
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    right: 1%;
}
.box-partner{
    background-color: #F9F6F1;
    padding: 20px 0px 0px 0px;
}
.title-partner{
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 24px;
}
.item-partner {
  position: relative;
  overflow: hidden; /* Đảm bảo rằng background không tràn ra ngoài */
}

.item-partner img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease; /* Hiệu ứng di chuyển ảnh khi hover */
}

.hover-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Màu nền mờ */
  opacity: 0; /* Ẩn background ban đầu */
  transition: opacity 0.3s ease;
  z-index: 1; /* Đảm bảo background nằm trên ảnh */
  
  display: flex; /* Căn giữa nội dung bên trong */
  justify-content: center; /* Căn giữa theo chiều ngang */
  align-items: center; /* Căn giữa theo chiều dọc */
}

.image-instagram {
  width: 20px !important;
  height: 20px !important;
}

.item-partner:hover .hover-background {
  opacity: 1; /* Hiển thị background khi hover */
}

.item-partner:hover img {
  transform: scale(1.1); /* Tăng kích thước ảnh khi hover */
}


.owl-theme .owl-nav [class*='owl-'] {
  color: #000000 !important;
  font-size: 14px;
  margin: 5px;
  padding: 0px 9px;
  background: #efefe2 !important;
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  font-weight: bold;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: left center;
}

/* and new home  */
/* responsive */
@media (max-width: 991px) {
    .slide-content{
        top: 0;
    }
}
@media (max-width: 791px) {
  .owl-prev{
    left: 1%;
  }
  .owl-next{
    right: 1%;
  }
}

@media (max-width: 691px) {
    .slide-content{
        top: 0;
    }
}

