 /* CSS cho Swiper Slider vá»›i Animation */
 .ratio > img{
  height: 100% !important;
  width: 100% !important;
  margin: auto;
  object-fit: cover;
 }
 .swiper-main-slider {
  position: relative;
  width: 100%;
  height: 800px;
}

.swiper-main-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  height: 800px;
}
.slide-item:after {
  content:"";
  background: linear-gradient(269.19deg, rgba(170, 136, 91, 0) 0.64%, #75431B 62.96%, #502C10 101.91%);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 3;
}
.slide-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  color: white;
  z-index: 2;
  
}

.slide-content {
  position: absolute !important;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4 !important;
}

.slide-image {
  height: 100%;
  text-align: right;
  z-index: -1;
  position: relative;
  position: absolute !important;
  top: 0;
  right: 0;
  opacity: 0.7;
}

.slide-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-content h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
  color: rgba(245, 230, 163, 0.8);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slide-content h3 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.1s;
  color: #F5E6A3;
  /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
  letter-spacing: 2px;
  font-family: "Playfair Display", serif;
}

.slide-content .subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.2s;
  color: #F5E6A3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-content .content {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 450px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.3s;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  text-align: justify;
}

.slide-content .link {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.4s;
}

.slide-content .link a {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #F5E6A3, #E6D080);
  color: #8B4513;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(245, 230, 163, 0.3);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.slide-content .link a:hover {
  background: linear-gradient(45deg, #E6D080, #F5E6A3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 230, 163, 0.4);
  border-color: #F5E6A3;
}

/* Animation classes */
.slide-item.animate .slide-content h3,
.slide-item.animate .slide-content h4,
.slide-item.animate .slide-content .subtitle,
.slide-item.animate .slide-content .content,
.slide-item.animate .slide-content .link {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */


/* Loading animation */
.slide-item.loading {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }

  to {
      opacity: 1;
  }
}



.text-primary{color: var(--primary) !important;}
.hover-zoom-effect{
  overflow: hidden;
}
.hover-zoom-effect img{
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
}
.hover-zoom-effect:hover > img{
    transform: scale(1.1);
}
.btn-read-more:hover {background:#333;color:#fff}
.btn-read-more {
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    padding: 5px 25px 7px 25px;
}
.image-with-hover-effect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.image-with-hover-effect img:nth-child(1) {
    opacity: 1;
    z-index: 1;
}

.image-with-hover-effect img:nth-child(2) {
    opacity: 0;
    z-index: 2;
}

.image-with-hover-effect:hover img:nth-child(1) {
    opacity: 0;
}

.image-with-hover-effect:hover img:nth-child(2) {
    opacity: 1;
}
.custom.swiper-button-next:after,.custom.swiper-button-prev:after{
    font-size: 17px;
    color: var(--primary);
}
.custom.swiper-button-next,.custom.swiper-button-prev{
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary);
    border-radius: 5px;
}


/* line-clamp helpers */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lazy.lazy-loaded{
    background-size: cover !important;
  }

/* Custom grid class for 5 items per row (20% each) */
@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* Brand items styling */
.brand-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.brand-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

.brand-item img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}
.fixed-map iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.fixed-map{position: relative;height: 100%;}
.filter-white{
    filter: brightness(0) invert(1);
}
.w-32px{
    width: 22px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 9px;
    height: 22px;
    display: flex;
    align-items: center;
}
.breadCrumbs-page{
    background: #e5e5e5;
}



/* Custom pagination Bootstrap 5.3 */
.pagination .page-link {
  width: 40px;          /* chÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°nh width */
  height: 40px;         /* chÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°nh height */
      /* cÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€ Ã¢â‚¬â„¢n chÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â¯ giÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â¯a theo height */
  text-align: center;
  background-color: #f0f0f0 !important; /* chÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°nh background */
  border-radius: 6px;   /* bo gÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³c */
  margin: 0 4px;
  line-height: 2;
  font-weight: bold;
  color: var(--primary);
}

.pagination .page-link:hover {
  background-color: #ddd;
}

.pagination .active .page-link {
  background-color: var(--primary) !important;
  color: #fff;
  border-color: var(--primary);
}



.news-page-header {
  position: relative;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
  /* margin-bottom: 70px; */
  overflow: inherit;
}


.news-page-header .has-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}
.news-page-header .has-banner  > .banner-inner{
position: absolute;
width: 100% !important;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
z-index: 2;
transform: translate(-50%, -50%);
}
.news-page-header .has-banner {
  position: relative;
  z-index: 2;
  height: 0;
  padding-bottom: 20%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.news-header-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  /* text-shadow: 0 4px 8px rgba(0,0,0,0.1); */
  margin-bottom: 10px;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  margin: 0;
}
.x-box.box-news{
}
.x-box .title{
    font-weight: 600;
    padding: 12px;
    background: #2793e6;
    font-size: 18px;
    text-transform: capitalize;
    border-left: 5px solid #c1081a;
    color: #fff;
}
.x-box .content  {background: #f3f3f3;}
.x-box .content h3:last-child{border:0}
.x-box .content h3:hover{
    background: #013e6114;
}
.x-box .content h3{
  transition:0.4s ease;
  margin-bottom: 0;
  border-bottom: 1px solid #cccccc9e;
  padding: 6px 10px;
  font-size: 0.9rem;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.x-box .content  h3:hover a{
    color: #4a4a4a;
}
.x-box .content  h3 a{
    text-decoration: none;
    color: var(--primary);
    transition: 0.5s ease;
    line-height: 1.5;
}
.x-box .content .news-card a{font-size: 14px; font-weight:500}
.x-box .content .news-card .date{font-size: 11px;color: #999;}
.x-box.box-news ul li a:hover{
  color:red;
  
}
.x-box.box-news ul li a span{
    position: absolute;
    right: 0;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.x-box.box-news ul li li a{
  padding-left: 25px;
}
.x-box.box-news ul li a{
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: block;
    font-size: 14px;
    padding: 10px 10px;
    border-bottom: 1px dashed #d8d8d8;
    position: relative;
    padding-right: 30px;
}
.x-box.box-news ul li{
  padding: 0;
  margin: 0;
}
.x-box.box-news ul li.active{}
.x-box.box-news ul ul{
  display:none;
}
.x-box.box-news ul{
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.x-box .box-toc .title i{color:var(--primary)}
.x-box .box-toc .title span{
  width: 25px;
  height: 100%;
  display: inline-block;
  text-align: center;
}
.x-box .box-toc .title {
  background: #f5f5f5;
  -webkit-border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
  width: 100%;
  border-bottom: 1px solid #dbdada;
  text-transform: none;
  padding: 6px 15px;
  color: #333;
  padding-right: 7px;
}
.x-box .box-toc .content{
  margin: 0;
  box-shadow: none !important;
  border-bottom: 1px solid #dbdada;
  border-radius: 5px;
}
.box-toc.mini .title{
  background: transparent;
  border: 0;
}
.box-toc.mini{max-width: 300px;border-radius: 30px;overflow: hidden;border: 1px solid #dbdada !important;}

.box-toc{
  
  min-width: 250px;
border-radius: 5px;
overflow: hidden;
border: 1px solid #dbdada;
margin-bottom: 10px;
border-bottom: 0;
overflow: hidden;
}

.btn-primary-custom{background: var(--primary);border: 0;border-radius: 5px;}

.custom-lazy-bg:after{content:"";position: absolute;width: 100%;height: 100%;left: 0;right: 0;background: rgba(0,0,0,0.5);z-index: 1;top: 0;}
.breadCrumbs {
  background-color: #eee;
  width: 100%;
}
.cursor-pointer{cursor: pointer;}
.sGrid a:hover{
  color: #fff;
  background: var(--primary);
}
.sGrid a {
  padding: 7px 20px;
  border: 1px solid var(--primary);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: var(--primary);
  transition: 0.3s ease;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 10px;
}
.sGrid .Items::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: url(../images/vector-rando.png);
  background-size: 60px;
  background-position: right top;
  background-repeat: no-repeat;
}

.sGrid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

@media(max-width:768px){


    .why-item{/* display: flex; */}
    .why-item img{
    max-width: 70px;
}
    .why-item p{
    font-size: 1rem !important;
}
    .swiper-main-slider {
        height: 400px;
    }
    
    .swiper-main-slider .swiper-slide {
        height: 400px;
    }
    
    .slide-item {
        flex-direction: column;
    }
    
    .slide-content {
        width: 100%;
        height: 60%;
        padding: 20px 30px;
        text-align: center;
        align-items: center;
        background: linear-gradient(180deg, #3D1A00 0%, #5D2A00 20%, #7D3A00 40%, #9D4A00 60%, #BD5A00 80%, #DD6A00 100%);
    }
    
    .slide-image {
        position: relative;
        width: 100%;
        height: 40%;
        top: 0;
        right: 0;
    }
  
    .slide-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .slide-content .subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
  
    .slide-content .content {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        max-width: 100%;
    }
    
    .slide-content .link a {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .swiper-main-slider .swiper-pagination {
        bottom: 5px;
        zoom: 70%;
    }

  
  .news-page-header .has-banner{
    padding-bottom: 50%;
  }


  .sGrid {
    display: flex;
    flex-wrap: nowrap;      
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;       
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}

.sGrid::-webkit-scrollbar {
    display: none;          
}
.sGrid .Items::before{
    background-size: 38px;
}
.sGrid a {
    white-space: nowrap;    
    flex: 0 0 auto;         
    font-size: 0.7rem;
    padding: 5px 9px;
    padding-right: 14px;
}

}

.banner-gift.swiper-main-slider .swiper-slide{
    height: auto !important;
}
.banner-gift.swiper-main-slider{
    height: auto !important;
}

.gift-content{max-width: 550px;}




.why-item p{
  font-size: 14px;
  margin-top: 10px;
  color: #666;
  -webkit-line-clamp: 2;
}
.why-item{
  border: solid 1px #ddd;
}
.why-item .icon{font-size: 24px;border-right: solid 1px #ddd;text-align: center;color: var(--primary);height: 80px;line-height: 80px;}
.why-item h3{color: var(--primary);font-size: 20px;}
.why-item img{

  height: auto;
}
.hover-rorate{
  transition: 0.5s ease all !important;-webkit-transition: 0.5s ease all !important;-moz-transition: 0.5s ease all !important;-ms-transition: 0.5s ease all !important;-o-transition: 0.5s ease all !important;
}
.hover-rorate:hover{
  transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -ms-transform: rotate(20deg);
  -o-transform: rotate(20deg);
}












/* Thumbnail Columns */
.thumbnail-column {
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
  height: 100%;
  justify-content: center;
}

.left-thumbnails {
  align-items: flex-end;
}

.right-thumbnails {
  align-items: flex-start;
}

/* Thumbnail Items */
.thumbnail-item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: #FFFFFF;
}

.thumbnail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.thumbnail-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: all 0.3s ease;
  height: 100% !important;
}

.thumbnail-item:hover img {
  transform: scale(1.05);
}

.thumbnail-item.active {
  border: 3px solid #e91e63;
  transform: translateY(-5px);
}

.thumbnail-item.active img {
  transform: scale(1.05);
}


/* Success Stories crossfade */
#block-success-stories .thumbnail-item {
  position: relative;
  overflow: hidden;
  transform:translateZ(0);
}
#block-success-stories .thumbnail-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 
  display: block;
}
#block-success-stories .thumbnail-item img.hidden {
  opacity: 0;
}
#block-success-stories img{transition: all 0.5s ease !important;}
#block-success-stories .main-image-container {
  position: relative;
  overflow: hidden;
}
#block-success-stories .main-image {
  display: block;
  transition: opacity .4s ease;
}
#block-success-stories .ratio.ratio-gallery {
  aspect-ratio: 388/298;
}
#block-success-stories .loader {
  background: #fff;
}
.thumbnail-item img,.main-image-container img{
  cursor: pointer;
}