/* Product Categories Section */
.product-categories-section {
  background: url(../images/bg-category.jpg);
  overflow: hidden;
}

.product-categories-section .section-title {
  color: #dc3545 !important;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-categories-section .section-subtitle {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 0;
}

/* Title Section Styles */
#product-list-category-block .title {
  margin-bottom: 30px;
  position: relative;
}

#product-list-category-block .title-box {
  position: relative;
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 25px 7px 20px;
  margin-right: 20px;
}



#product-list-category-block .title .btn {
  background: var(--second);
  border: 2px solid var(--second);
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#product-list-category-block .title .btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

#product-list-category-block .title .btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

#product-list-category-block .title .btn:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title{font-size:1.2rem}
  #product-list-category-block .title .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }
  
  #product-list-category-block .title-text {
    font-size: 20px;
  }
  
  #product-list-category-block .title .btn {
    font-size: 12px;
    padding: 6px 15px;
  }
}

@media (max-width: 576px) {
  #product-list-category-block .title-text {
    font-size: 18px;
  }
  
  #product-list-category-block .title-box {
    padding-left: 15px;
  }
  
  #product-list-category-block .title-box::before {
    width: 3px;
  }
}

.category-item {
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 15px 10px;
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  border: 3px solid var(--second);
  position: relative;
  transition: all 0.3s ease;
  background: #F4F4F4;
}

.category-icon::before {
  content: '';
  position: absolute;
  top: -9px;
  left: -9px;
  border-radius: 50%;
  z-index: 1;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  border: 2px dashed var(--primary);
}

.category-icon img {
  position: relative;
  z-index: 2;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.category-item:hover .category-icon {
  transform: scale(1.1);
  /* box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3); */
}

.category-name {
  font-size: 15px;
  font-weight: 500;
  color: #141414;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.category-item:hover .category-name {
  color: #dc3545;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-icon {
    width: 70px;
    height: 70px;
  }
  
  .category-icon img {
    width: 40px !important;
  }
  
  .category-name {
    font-size: 12px;
  }
  
  .category-item {
    padding: 10px 5px;
  }
}

@media (max-width: 576px) {
  .category-icon {
    width: 60px;
    height: 60px;
  }
  
 
  
  .category-name {
    font-size: 11px;
  }
}

/* Animation for section appearance */
.product-categories-section .category-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.product-categories-section .category-item:nth-child(1) { animation-delay: 0.1s; }
.product-categories-section .category-item:nth-child(2) { animation-delay: 0.2s; }
.product-categories-section .category-item:nth-child(3) { animation-delay: 0.3s; }
.product-categories-section .category-item:nth-child(4) { animation-delay: 0.4s; }
.product-categories-section .category-item:nth-child(5) { animation-delay: 0.5s; }
.product-categories-section .category-item:nth-child(6) { animation-delay: 0.6s; }
.product-categories-section .category-item:nth-child(7) { animation-delay: 0.7s; }
.product-categories-section .category-item:nth-child(8) { animation-delay: 0.8s; }
.product-categories-section .category-item:nth-child(9) { animation-delay: 0.9s; }
.product-categories-section .category-item:nth-child(10) { animation-delay: 1.0s; }
.product-categories-section .category-item:nth-child(11) { animation-delay: 1.1s; }
.product-categories-section .category-item:nth-child(12) { animation-delay: 1.2s; }
.product-categories-section .category-item:nth-child(13) { animation-delay: 1.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




    
  
.list-category-wrap{
    display: inline-block !important;
    margin: auto !important;
    width: auto;
}
    .list-category {
    justify-content: center;
    }
    .category-item.active,.category-item:hover{color:#1976D2}
    .category-item {
        color: #333;
        padding: 0px 20px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.15rem;
        transition: all 0.3s ease;
        display: inline-block;
        line-height: 1;
        flex: 0 0 14%;
        margin-bottom: 30px;
    }
    .category-item:not(:last-child){}
    .category-item:hover {
        color: #1565C0;
        transform: translateY(-2px);
        text-decoration: none;
    }
    
    
/* Navigation Buttons */
.swiper-product .button-next,
.swiper-product .button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 40px;
  background: var(--second);
  color: white;
  font-size: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.swiper-product .button-next:hover,
.swiper-product .button-prev:hover {
  background: #c82333;
  transform: translateY(-50%) scale(1.1);
}

.swiper-product .button-next::after,
.swiper-product .button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

.swiper-product .button-next {
  right: 0px;
}

.swiper-product .button-prev {
  left: 0px;
}















/* Title Section Styles */
#product-list-category-block .title {
    margin-bottom: 30px;
    position: relative;
    border-bottom: 2px solid var(--primary);
  }
  
  #product-list-category-block .title-box {
    position: relative;
    padding-left: 20px;
  }
  
  #product-list-category-block .title-box::before {
    content: '';
    position: absolute;
    right: -30px;
    transform: skew(25deg, 0deg);
    width: 50px;
    height: 100%;
    background: var(--primary);
    border-top-right-radius: 15px;
    top: 0;
  }
  
  #product-list-category-block .title-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
  }
  
  #product-list-category-block .title .xbtn {
    color: var(--second);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
  }
  
  #product-list-category-block .title .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
  }
  
  #product-list-category-block .title .btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  
  #product-list-category-block .title .btn:hover i {
    transform: translateX(3px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    #product-list-category-block .title .d-flex {
      flex-direction: column;
      align-items: flex-start !important;
      gap: 15px;
    }
    
    #product-list-category-block .title-text {
      font-size: 20px;
    }
    
    #product-list-category-block .title .btn {
      font-size: 12px;
      padding: 6px 15px;
    }
  }
  
  @media (max-width: 576px) {
    #product-list-category-block .title-text {
      font-size: 18px;
    }
    
    #product-list-category-block .title-box {
      padding-left: 15px;
    }
    
    #product-list-category-block .title-box::before {
      /* width: 3px; */
    }
  }


  /* Contact Banner Section */
.contact-banner-section {
  
  color: white;
  background: var(--second) url(../images/bg-contact.png) no-repeat;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.btn-quote {
  background: #dc3545;
  color: white;
  padding: 15px 30px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-quote:hover {
  background: #c82333;
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-quote i {
  transition: transform 0.3s ease;
}

.btn-quote:hover i {
  transform: translateX(5px);
}

/* Responsive cho contact banner */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .contact-banner-section .text-end {
    text-align: center !important;
  }
  
  .btn-quote {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .news-image{height: auto !important}
  .news-content .view-more{display: none !important}
  .contact-title {
    font-size: 1.4rem;
  }
  .news-content p{    -webkit-line-clamp: 2 !important;}
  
  .contact-subtitle {
    font-size: 0.9rem;
  }
  
  .btn-quote {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

.policy-card{
       box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.policy-card .policy-image-wrapper{
    z-index: 2;
    position: relative;
}
.policy-card:before{content:"";position:absolute;top: 30%;left:0;width:100%;height: 40%;background:var(--second);z-index:1}
.policy-card:after{}
.policy-card .policy-image-wrapper .policy-image{}






/* ===== LATEST NEWS SECTION ===== */

.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.news-card .news-date{
  transform: translateX(-50%);
  left:50%;
  bottom:-10px;
  top:auto;
  padding:5px;
  min-width: 40px;

}




.news-card {
  height: auto;
  display: block;
  flex-direction: column;
  margin-bottom: 20px;
  flex: 1;
}

.news-date {
  text-decoration: none;
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--primary);
  padding: 4px 10px;
  text-align: center;
  color: #fff;
  z-index: 2;
  border-radius: 5px;
  font-size: 13px;
}
.news-card .date-day {font-size: 1.2rem;}
.news-card .date-month {

}
.date-day {
  display: block;
 
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.date-month {
  display: block;
  
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.news-image {
  position: relative;
  overflow: hidden;
  
  width: 100%;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-content h5 a{
  text-decoration: none;
  color: var(--second);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.3;
}


.news-content p {
  color: var(--gray-dark);
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}
.news-content .view-more{}
.news-content .view-more a{}
.news-content .view-more span{transition: all 0.3s ease;width: 30px;height: 30px;border-radius: 50%;line-height: 30px;background: var(--primary);color: #fff;}
.news-content .view-more a{transition: all 0.3s ease;text-decoration: none;background: var(--primary);color: #fff !important;padding: 5px 9px;font-size: 13px;border-radius: 3px;}
.news-content .view-more:hover a{color: var(--primary-color);}
.news-content .view-more:hover span{transform: translateX(5px);}

.news-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.news-read-more:hover {
  color: var(--secondary-color);
  gap: 10px;
}


.news-item .avatar-news img{
  position: absolute;
  object-fit: cover;
  height: 100% !important;
  width: 100% !important;
  top: 0;
}
.news-item .avatar-news{
  position: relative;
  /* height: 0; */
  --bs-aspect-ratio: 48.5%;
}
.news-item .avatar-news::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}
.news-item .avatar-news .news-date{
  /* position: absolute; */
  /* bottom: 0; */
}


.sweet-line{position:relative;width:66.666667%;height: 2px;margin: auto;background: var(--primary);display: flex;justify-content: space-between;margin-top: 20px;margin-bottom: 20px;}
.sweet-line span{display: inline-block;top:50%;left:0;width: 20px;height: 20px;background: transparent;transform: translateY(-50%);border: 2px solid var(--primary);background: #fff;border-radius: 50%;display: flex;justify-content: center;}
.sweet-line span:after{
  content:"";
  background: var(--primary);
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  margin: auto;
  border: 3px solid #fff;
}
.section-title{display: flex;align-items: center;justify-content: center; /* mÃ u Ä‘á» giá»‘ng class text-danger */gap: 15px; /* khoáº£ng cÃ¡ch giá»¯a text vÃ  Ä‘Æ°á»ng káº» */position: relative;}
.section-title span{position: relative;}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--second);
}

.section-title span {
  white-space: nowrap;
}
.footer-tool-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.footer-tool-nav div{
    background: var(--second);
    line-height: 1;
    padding: 2px 10px;
    color: #fff;
    border-radius: 3px;
}
@media(max-width:768px){
  .policy-section{max-width: 80%;margin:auto}
  .category-item{margin:0}
  .contact-content{text-align: center;}
}

.latest-news-section .slick-news-index{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: auto;
}

.latest-news-section .slick-news-index::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.latest-news-section .slick-news-index::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}

.latest-news-section .slick-news-index::-webkit-scrollbar-thumb
{
    border-radius: 7px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color:var(--primary);
}
@media(max-width:768px){
  .latest-news-section .slick-news-index{
    position:static;
    margin-top:10px;
    max-height: 300px;
  }
  .latest-news-section .slick-news-index .news-card:last-child{
    margin-bottom:0;
  }
}