/*======================BASE STYLE======================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --orange: #ef9e06;
    --black: #130f40;
    --white: #fff;
    --green:#2ecc71;
    --light-color: #666;
    --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    --border: 0.2rem solid rgba(0, 0, 0, 0.1);
    --outline: 0.1rem solid rgba(0, 0, 0, 0.1);
    --outline-hover: 0.2rem solid var(--black);
}

* {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    height: 100%;
    scroll-behavior: smooth
}

body {
    background: white;
    height: 100%;
    scroll-behavior: smooth
}


.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.8rem 3rem;
    font-size: 1.7rem;
    border-radius: 0.5rem;
    border: 0.2rem solid var(--orange);
    color: var(--black);
    cursor: pointer;
    background: none;
}
.home {
    margin-top: 90px;
}
.btn:hover {
    background: var(--orange);
    color: #fff
}
/*======================HEADER======================*/
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 1rem 5%;
}

.header .navbar-brand img {
    height: 50px;
}
.header .navbar-brand span {
    font-size: 2rem;
}
.header .nav-link {
    font-size: 1.5rem;
    margin: 0 0.7rem;
    color: var(--black);
    font-weight: 600;
}
.header .nav-link:hover {
    color: var(--orange);
}
@media (max-width: 991px) {
    .header {
        padding: 1rem 5%;
    }

    .header .nav-link {
        font-size: 1.7rem;
        margin: 1rem 0;
    }
}
.custom-toggler {
    width: 40px;
    height: 40px;
}

.custom-toggler .fa-bars {
    font-size: 1.8rem;
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--white);
    text-decoration: none;
}

.header .logo i {
    color: var(--orange);
}

.header .navbar a {
    font-size: 1.7rem;
    margin: 0 1rem;
    color: var(--black);
    font-weight: bolder;
    text-decoration: none;
}

.header .navbar a:hover {
    color: var(--black);

}

.header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: 0.5rem;
    background: #eee;
    color: var(--black);
    font-size: 2rem;
    margin-left: 0.3rem;
    cursor: pointer;
    text-align: center;
}

.header .icons div:hover {
    background: var(--orange);
    color: #fff;
}

#menu-btn {
    display: none;
}

.header .search-form {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 55rem;
    height: 5rem;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.header .search-form.active {
    right: 43.7rem;
    transition: 0.3s linear;
}

.header .search-form input {
    height: 100%;
    width: 100%;
    background: none;
    text-transform: none;
    font-size: 1.6rem;
    color: var(--black);
    padding: 0 1.5rem;
}

.header .search-form label {
    font-size: 2.2rem;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

.header .search-form label:hover {
    color: var(--orange);
}

.header .shopping-cart {
    position: absolute;
    top: 110%;
    right: -110%;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    width: 35rem;
    background: #fff;
}

.header .shopping-cart.active {
    right: 2rem;
    transition: 0.4s linear;
}

.header .shopping-cart .box {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;

}

.header .shopping-cart .box img {
    height: 10rem;

}

.header .shopping-cart .box .fa-trash {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    right: 2rem;
    cursor: pointer;
    color: var(--black);
    transform: translateY(-50%);
}

.header .shopping-cart .box .fa-trash:hover {
    color: var(--orange);
}

.header .shopping-cart .box .content h3 {
    color: var(--black);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
    color: var(--light-color);
    font-size: 1.6rem;
}

.header .shopping-cart .box .content .items {
    padding-left: 1rem;
}

.header .shopping-cart .total {
    font-size: 2.5rem;
    padding: 1rem 0;
    text-align: center;
    color: var(--black);
}

.header .shopping-cart .btn {
    display: block;
    text-align: center;
    margin: 1rem;
}

.header .sign-in-form {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
}

.header .sign-in-form.active {
    right: 2rem;
    transition: 0.4s linear;
}

.header .sign-in-form h3 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--black);
}

.header .sign-in-form .box {
    width: 100%;
    margin: 0.7rem 0;
    background: #eee;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    color: var(--black);
    text-transform: none;
}

.header .sign-in-form p {
    font-size: 1.4rem;
    padding: 0.5rem 0;
    color: var(--light-color);
}

.header .sign-in-form p a {
    color: var(--orange);
    text-decoration: underline;
}


/*======================HOME======================*/
/* .carousel {
    overflow: hidden;
    position: relative;


}

.carousel .carousel_item--hidden {
    display: none;
}

.carousel .carousel_item img {
   width: 100%;
    height: 300px;
    object-fit: cover;

}
#carouselExample .carousel-item img {
    height: 400px;
    object-fit: cover;
}
.carousel .carousel_item--visible {
    display: block;

}

.carousel .carousel_actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);


}

.carousel .carousel_actions button {
    background: rgba(0, 0, 0, 0.0);
    font-size: 4rem;
    cursor: pointer;
    color: var(--black);
    font-weight: bolder;
}

.carousel .carousel_actions button#carousel_button--prev {
    margin-left: 3rem;
}

.carousel .carousel_actions button#carousel_button--next {
    margin-right: 3rem;
} */

/*======================FEATURES======================*/
.features {
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.heading {
    text-align: center;
    padding: 3rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--black);

}

.heading span {
    color: var(--orange);
    display: inline-block;
}

.features .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.features .box-container .box {
    padding: 3rem 2rem;
    background: #fff;
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.features .box-container .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.features .box-container .box img {
    margin: 1rem 0;
    height: 15rem;
    object-fit: contain;
}

.features .box-container .box h3 {
    font-size: 2.5rem;
    line-height: 1.8;
    color: var(--black);
}

.features .box-container .box p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--light-color);
    
 padding: 1rem 0;
}

/*======================PRODUCTS======================*/

#products {
    padding-top: 3rem;
    color: var(--green);
    font-size: 3rem  ;
}

/* About Story Section */
.about-story-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.about-left,
.about-right {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.about-left {
  flex: 1;
}

.about-right {
  flex: 1;
  flex-direction: column;
  background-color: #fff;
}

.about-content {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  box-sizing: border-box;
}

.main-about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Button */
.about-content .btn-green {
  margin-top: 20px;
  background-color: #28a745;
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  transition: 0.3s;
  text-decoration: none;
  align-self: center;
}

.about-content .btn-green:hover {
  background-color: #218838;
}

/* Stats */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.stat-box {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  background-color: #e9f7ef;
  border: 1px solid #d4eedc;
  transition: 0.3s;
  min-height: 50%;
  box-sizing: border-box;
  text-align: center;
}

.stat-box:hover {
  background-color: #d2f4e3;
}

.stat-icon {
  font-size: 32px;
  color: #28a745;
  margin-bottom: 12px;
}

.stat-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 15px;
}

/* Tablet and Down */
@media (max-width: 991px) {
  .about-left,
  .about-right {
    flex: 1 1 100%;
    flex-direction: column;
  }

  .about-content {
    padding: 20px;
  }

  .main-about-image {
    height: auto;
    object-fit: contain;
  }

  .stats-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 1 1 50%;
    min-height: auto;
  }
}

/* Mobile Small */
@media (max-width: 576px) {
  .about-content {
    padding: 15px;
  }

  .stat-box {
    flex: 1 1 100%;
    padding: 15px 10px;
  }

  .stat-icon {
    font-size: 24px;
  }

  .stat-box h3 {
    font-size: 20px;
  }

  .stat-box p {
    font-size: 14px;
  }

  .about-content .btn-green {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.contact-us {
    padding: 80px 0;
    background-color: white;
}

/* Đảm bảo phần header (tiêu đề và mô tả) cùng lề với form */
.contact-header {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: green;
    text-align: left;
    margin-bottom: 1rem;
}

.footer .box img {
width: auto; height: 150px; border-radius: 10px;
}
.contact-subtitle {
    font-size: 1.6rem;
    color: var(--light-color);
    text-align: left;
    margin-bottom: 0;
}

.contact-form {
    background-color: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form .form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fdfdfd;
}

.contact-form .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
    outline: none;
}

.btn-submit-contact {
    background-color: var(--orange);
    color: white;
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit-contact:hover {
    background-color: #d17e00;
}

.form-status {
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--green);
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-title, .contact-subtitle {
        text-align: center;
    }

    .contact-header {
        padding: 0 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/*======================CATEGORIES======================*/
.categories {
    padding-top: 3rem;
}

.categories .box-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 1.5rem;
}

.categories .box-container .box {
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
}

.categories .box-container .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.categories .box-container .box img {
    margin: 1rem 0;
    height: 15rem;
     object-fit: contain;
}

.categories .box-container .box h3 {
    font-size: 2rem;
    color: var(--black);
    line-height: 1.8;
}

.categories .box-container .box p {
    font-size: 1.7rem;
    color: var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
}

/*======================RECIPES======================*/
.recipes {
    padding-top: 3rem;
}

.recipes .recipes-slider {
    padding: 1rem;
}

.recipes .recipes-slider .box {
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding: 3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;
}

.recipes .recipes-slider .box:hover {
    outline-offset: 0rem;
    outline: var(--outline-hover);
}

.recipes .recipes-slider .box img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}


.recipes .recipes-slider .box h3 {
    padding: 1rem 0;
    line-height: 1.8;
    color: var(--black);
    font-size: 2.2rem;
}

.recipes .recipes-slider .box .stars i {
    color: var(--orange);
    font-size: 1.7rem;
}



/*======================ABOUT US======================*/

.about-us {
    padding-top: 100px;
    padding-bottom: 11rem;

}

.about-us .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.about-us .box-container .box {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    background: #fff;
    text-align: center;
    outline: var(--outline);
    outline-offset: -1rem;
    padding: 3rem 2rem;

}

.about-us .box-container .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.about-us .box-container .box img {
    height: 25rem;
    width: 100%;
    object-fit: cover;
}

.about-us .box-container .box .content {
    padding: 2rem;
}

.about-us .box-container .box .content h3 {
    line-height: 1.8;
    color: var(--black);
    font-size: 2.2rem;
    padding: 0.5rem 0;

}

.about-us .box-container .box .content p {
    line-height: 1.8;
    color: var(--light-color);
    font-size: 1.5rem;
    padding: 0.5rem 0;

}

/*======================FOOTER======================*/

.footer {
    background: var(--white);

}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box h3 i {
    color: var(--orange);
}

.footer .box-container .box .links {
    display: block;
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box .links i {
    color: var(--orange);
    padding-right: 0.5rem;
}

.footer .box-container .box .links:hover i {
    padding-right: 2rem;
}

.footer .box-container .box p {
    line-height: 1.8;
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box .share a {
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: 0.5rem;
    font-size: 2rem;
    color: var(--black);
    margin-left: 0.2rem;
    background: #fff;
    text-align: center;
}

.footer .box-container .box .share a:hover {
    background: var(--orange);
    color: #fff;
}

.footer .box-container .box .email {
    width: 100%;
    margin: 0.7rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 1.6rem;
    color: var(--black);
    text-transform: none;
}

.footer .box-container .box .btn {
    background: var(--orange);
}

.footer .box-container .box .payment-img {
    margin-top: 2rem;
    height: 3rem;
}

@media(max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }

    .header .search-form {
        width: 50%;
    }

    .header .search-form.active {
        right: 2rem;
    }


}
/* style.css */

/* ... các style hiện có của bạn ... */

.video-container {
    /* Loại bỏ:
       position: relative;
       padding-bottom: 56.25%;
       height: 0;
       overflow: hidden;
    */

    /* Thêm các thuộc tính kích thước cố định, nhưng với max-width */
    width: 640px; /* Chiều rộng mong muốn */
    max-width: 100%; /* Rất quan trọng: Đảm bảo không vượt quá chiều rộng của cột cha */
    height: 360px; /* Chiều cao cố định */

    /* Vẫn giữ các style thẩm mỹ */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden; 
    margin: 0 auto;
}
@media (max-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }

    .article-content {
        font-size: 1.5rem;
    }

    .article-thumbnail {
        max-height: 250px;
    }
}
.article-container {
    max-width: 960px;
    margin: 100px auto 60px auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.article-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-meta {
    font-size: 1.4rem;
    color: var(--light-color);
    margin-bottom: 2rem;
}

.article-thumbnail {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.article-content {
    font-size: 1.6rem;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

.article-content p {
    margin-bottom: 1.5rem;
}


.video-container video {
   position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* Các style khác vẫn giữ nguyên */
.video-text-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.text-content {
    padding: 20px; /* Đã có, bạn có thể tăng lên nếu cần */
    /* Ví dụ: padding: 30px; hoặc padding: 20px 40px; */
    display: flex;
    flex-direction: column;
    justify-content: left;
}
/* ... các style media queries khác của bạn ... */



@media(max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 110%;
        right: -110%;
        width: 30rem;
        box-shadow: var(--box-shadow);
        border-radius: 0.5rem;
        background: var(--orange);
    }

    .header .navbar.active {
        right: 2rem;
        transition: 0.4s linear;
    }

    .header .navbar a {
        font-size: 2rem;
        margin: 2rem 2.5rem;
        display: block;
        padding: 0.7rem 0.7rem;
    }

    .header .search-form {
        width: 90%;
    }

    .header .search-form.active {
        right: 2rem;
    }

}


@media(max-width: 450px) {
    html {
        font-size: 50%;
    }

    .heading {
        font-size: 2.5rem;
    }

    .footer {
        text-align: center;
    }

}
@media(max-width: 767px) { /* Cho các màn hình nhỏ hơn 768px (màn hình md trở xuống) */
    .video-text-section .col-md-6 {
        margin-bottom: 20px; /* Thêm khoảng cách dưới mỗi cột khi chúng xếp chồng */
    }
    .video-container {
        width: 100%; /* Đảm bảo video chiếm toàn bộ chiều rộng có sẵn trên màn hình nhỏ */
        height: 250px; /* Giảm chiều cao của video trên màn hình nhỏ để tiết kiệm không gian */
    }
}
.custom-toggler {
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.custom-toggler:hover {
    background-color: var(--orange);
}

.custom-toggler .fa-bars {
    color: var(--green);
    font-size: 2rem;
}
.navbar-collapse {
    transition: max-height 0.4s ease;
}

@media (max-width: 768px) {
    .footer .box-container {
        grid-template-columns: 1fr; /* Chuyển thành một cột duy nhất trên màn hình nhỏ */
        text-align: center; /* Căn giữa toàn bộ nội dung của footer trên mobile */
    }

    .footer .box-container .box {
        text-align: center; /* Căn giữa nội dung từng box trên mobile */
        margin-bottom: 2rem; /* Thêm khoảng cách giữa các box khi xếp chồng */
    }

    .footer .box-container .box h3 {
        text-align: center; /* Căn giữa tiêu đề trên mobile */
        border-bottom: none; /* Bỏ đường kẻ dưới tiêu đề trên mobile nếu muốn */
        margin-bottom: 0.5rem;
    }

    .footer .box-container .box .share {
        text-align: center; /* Căn giữa các icon mạng xã hội trên mobile */
    }
   
}
a{
    text-decoration: none;
}


.calendar-section {
    padding: 50px 0;
    background-color: #fff;
}

.calendar-section .heading {
    text-align: center;
    padding-bottom: 30px;
}

.calendar-container {
    overflow-x: auto; /* Cho phép cuộn ngang trên màn hình nhỏ */
}

.seasonal-calendar {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    overflow: hidden;
}

.seasonal-calendar th,
.seasonal-calendar td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 1.5rem;
    color: var(--black);
}

.seasonal-calendar th {
    background-color: var(--green);
    color: var(--black);
    font-weight: bold;
}

.seasonal-calendar td {
    background-color: #f9f9f9;
}

.seasonal-calendar .seasonal {
    background-color: var(--orange);
    color: var(--black);
    font-weight: bold;
}

.seasonal-calendar tr:nth-child(even) td {
    background-color: #fff;
}


@media (max-width: 768px) {
    .seasonal-calendar th,
    .seasonal-calendar td {
        font-size: 1.2rem;
        padding: 10px;
    }
}

@media (max-width: 450px) {
    .seasonal-calendar th,
    .seasonal-calendar td {
        font-size: 1rem;
        padding: 8px;
    }
    .footer {
        padding: 2rem 5%; /* Giảm padding ngang trên màn hình rất nhỏ */
    }
    .footer .box-container .box h3 {
        font-size: 2.2rem; /* Giảm kích thước tiêu đề trên màn hình rất nhỏ */
    }
    .footer .box-container .box .links,
    .footer .box-container .box p {
        font-size: 1.4rem; /* Giảm kích thước font văn bản và liên kết */
    }
    .footer .box-container .box .share a {
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
        font-size: 2rem;
        text-decoration: none;
    }
}


.card-img-top {
    height: 220px; /* Adjust this value as needed to fit your design */
    object-fit: cover;
}
.footer {
    background:green;
    /* Thêm padding để tạo không gian xung quanh nội dung footer */
    padding: 3rem 9%; /* Giúp footer có khoảng cách đều hai bên và trên dưới */
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2.5rem; /* Tăng khoảng cách giữa các cột để thoáng hơn */
    justify-content: center; /* Căn giữa các cột nếu tổng chiều rộng nhỏ hơn container */
    max-width: 1200px; /* Giới hạn chiều rộng tối đa của footer để trông không quá dàn trải trên màn hình lớn */
    margin: 0 auto; /* Căn giữa box-container */
}.footer .box-container .box {
    text-align: left; /* Đặt lại căn lề trái cho nội dung từng box */
    /* Bạn có thể thêm padding nếu muốn từng box có không gian bên trong */
    padding: 1rem;
}

/* Căn giữa tiêu đề của các box nếu bạn muốn */
.footer .box-container .box h3 {
    font-size: 2.8rem; /* Tăng kích thước tiêu đề một chút */
    color: var(--white); /* Đổi màu tiêu đề sang trắng để nổi bật trên nền tối */
    padding-bottom: 1.5rem; /* Tăng khoảng cách dưới tiêu đề */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Thêm đường kẻ dưới tiêu đề */
    margin-bottom: 1.5rem; /* Khoảng cách sau đường kẻ */
    text-align: left; /* Đảm bảo tiêu đề cũng căn trái */
}

.footer .box-container .box h3 i {
    color: var(--orange);
    margin-right: 0.8rem; /* Thêm khoảng cách giữa icon và chữ */
}

/* Điều chỉnh lại kiểu dáng cho các liên kết */
.footer .box-container .box .links {
    display: block;
    font-size: 1.6rem; /* Tăng kích thước font của liên kết */
    color: var(--white); /* Đổi màu liên kết sang trắng để nổi bật trên nền xanh */
    padding: 0.8rem 0; /* Giảm padding một chút để các liên kết gần nhau hơn */
    transition: color 0.2s linear, padding-left 0.2s linear; /* Thêm transition cho màu */
}

.footer .box-container .box .links i {
    color: var(--orange);
    padding-right: 0.8rem; /* Tăng khoảng cách icon */
}

.footer .box-container .box .links:hover {
    color: var(--white); /* Đổi màu khi hover */
    padding-left: 1rem; /* Hiệu ứng dịch chuyển nhẹ sang phải khi hover */
}

.footer .box-container .box p {
    line-height: 1.8;
    font-size: 1.5rem;
    color: var(--white); /* Đổi màu văn bản sang trắng */
    padding: 1rem 0;
}.footer .box-container .box .share {
    margin-top: 1.5rem; /* Khoảng cách trên các icon */
    text-align: left; /* Căn trái các icon */
}

.footer .box-container .box .share a {
    height: 4.5rem; /* Tăng kích thước icon một chút */
    width: 4.5rem; /* Tăng kích thước icon một chút */
    line-height: 4.5rem;
    border-radius: 50%; /* Làm tròn hoàn toàn các icon */
    font-size: 2.2rem; /* Tăng kích thước font icon */
    color: var(--green); /* Đổi màu icon mặc định là màu xanh của footer */
    background: var(--white); /* Nền trắng cho icon */
    margin-right: 1rem; /* Khoảng cách giữa các icon */
    transition: all 0.3s ease; /* Thêm transition */
}

.footer .box-container .box .share a:hover {
    background: var(--orange); /* Đổi màu nền khi hover */
    color: var(--white); /* Đổi màu icon khi hover */
    transform: translateY(-5px); /* Hiệu ứng nhấc nhẹ lên khi hover */
}
/* Custom styles for Product Cards */
.product-card-custom {
    position: relative;
    overflow: hidden; /* Đảm bảo mọi thứ bên trong không tràn ra ngoài */
    border-radius: 0.5rem; /* Giữ bo tròn góc */
    box-shadow: var(--box-shadow); /* Giữ bóng đổ */
    height: 100%; /* Giữ chiều cao cố định */
}

.product-card-custom .card-img-container {
    position: relative;
    overflow: hidden; /* Quan trọng để ẩn phần ảnh bị phóng to */
    height: 220px; /* Đảm bảo container ảnh có chiều cao cố định */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-custom .card-img-container img.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh vừa vặn và không bị méo */
    transition: transform 0.3s ease; /* Hiệu ứng phóng to mượt mà */
}

/* Lớp phủ (Overlay) */
.product-card-custom .card-overlay {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 137, 187, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Đảm bảo rằng nó ẩn mặc định */
    transition: opacity 0.3s ease;
    z-index: 1;

}

/* Icons trong lớp phủ */
.product-card-custom .card-overlay-icons {
    display: flex;
    gap: 1.5rem; /* Khoảng cách giữa các icon */
}

.product-card-custom .card-overlay-icons .overlay-icon {
    font-size: 2.5rem; /* Kích thước icon */
    color: var(--white); /* Màu icon trắng */
    background-color: rgba(255, 255, 255, 0.3); /* Nền icon trắng trong suốt */
    width: 5rem;
    height: 5rem;
    border-radius: 50%; /* Icon tròn */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.product-card-custom .card-overlay-icons .overlay-icon:hover {
    background-color: var(--orange); /* Màu nền cam khi hover */
    color: var(--white);
    transform: translateY(-5px); /* Hiệu ứng nhấc nhẹ lên */
}

/* Thanh tên sản phẩm ở dưới ảnh */
.product-card-custom .product-name-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--green); /* Màu xanh đậm như ảnh bạn gửi */
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
    z-index: 2; /* Đảm bảo thanh này nằm trên lớp phủ */
}

.product-card-custom .product-name-bottom h5 {
    margin: 0;
    font-size: 1.8rem; /* Kích thước font cho tên sản phẩm */
    color: inherit; /* Kế thừa màu trắng */
    text-transform: capitalize;
}
.product-card-custom:hover .card-img-container img.card-img-top {
    transform: scale(1); /* Phóng to ảnh nhẹ hơn để phù hợp với overlay */
}

.product-card-custom:hover .card-overlay {
    opacity: 1; /* Hiển thị lớp phủ khi hover */
}
.product-card-custom:hover .card-img-container img.card-img-top {
    transform: scale(1.05); /* Đặt lại thành 1 để không zoom khi hover */
}   
/* Modal để phóng to hình ảnh */
/* Đổi màu dropdown */
.dropdown-menu {
     background-color: var(--white);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: block; /* Để dùng opacity và visibility */

    /* ======== THAY ĐỔI MỚI ======== */
    max-height: 300px; /* Đặt chiều cao tối đa cho dropdown */
    overflow-y: auto;  /* Thêm thanh cuộn dọc khi nội dung vượt quá chiều cao */
    /* Có thể tùy chỉnh màu thanh cuộn cho đẹp hơn (chỉ hoạt động trên Webkit browsers) */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--orange) #f1f1f1; /* Firefox */
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}
dropdown-menu::-webkit-scrollbar {
    width: 8px; /* Chiều rộng của thanh cuộn */
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--white); /* Màu nền của rãnh thanh cuộn */
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--orange); /* Màu của thanh cuộn */
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #198754; /* Màu khi hover */
}
.dropdown-menu .dropdown-item {
    color: var(--black);
    font-size: 1.6rem;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--green);
    color: var(--black);
    padding-left: 2.5rem; /* Dịch chữ sang phải khi hover */
}
.nav-item.dropdown > a::after {
    display: none; /* Ẩn caret mặc định Bootstrap */
}
.product-card-custom .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    font-size: 3rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.6);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.product-card-custom:hover .overlay-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background-color: var(--orange);
}
/* style.css */

/* ... (các style hiện có của bạn) ... */

/* Kiểu cho container thumblist tổng thể */
.full_thumblist {
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 0 1rem;
    width: 100%;
}

/* Kiểu cho khu vực chứa các thumbnail (ID "gal1" và class "thumblist") */
#gal1.thumblist {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
    list-style: none; /* Giữ nguyên, dù giờ là div nhưng không gây hại */
}

/* Kiểu cho từng liên kết thumbnail */
/* Áp dụng kích thước và border cho thẻ <a> để nó trở thành một flex item có kích thước */
#gal1.thumblist a {
    display: block; /* Quan trọng: Biến thẻ <a> thành block để chiếm không gian */
    width: 70px;
    height: 70px;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: border 0.2s, transform 0.2s;
    cursor: pointer;
}

/* Kiểu cho từng ảnh thumbnail bên trong link */
/* Ảnh sẽ lấp đầy kích thước của thẻ <a> để nó trở thành một flex item có kích thước */
#gal1.thumblist a img.thumbnail-item {
    width: 100%; /* Ảnh lấp đầy chiều rộng của thẻ <a> */
    height: 100%; /* Ảnh lấp đầy chiều cao của thẻ <a> */
    object-fit: cover; /* Đảm bảo ảnh không bị méo */
    border-radius: 0.5rem; /* Áp dụng lại border-radius cho ảnh */
    /* Loại bỏ các thuộc tính redundant nếu đã áp dụng cho thẻ <a> cha */
    /* border: none; */
    /* box-shadow: none; */
    /* display: block; */
}


/* Kiểu khi di chuột qua Thumbnail (áp dụng cho thẻ <a>) */
#gal1.thumblist a:hover {
    border-color: var(--orange); /* Màu border khi hover */
    transform: translateY(-2px); /* Hiệu ứng nhấc nhẹ lên */
}

/* Kiểu cho Thumbnail đang được chọn (active) */
/* Áp dụng cho thẻ <a> cha, hoặc cho ảnh nếu bạn muốn style riêng cho ảnh */
#gal1.thumblist a .thumbnail-item.active-thumbnail {
    border-color: var(--green); /* Màu border cho ảnh đang active */
    box-shadow: 0 0 0.8rem rgba(105, 234, 105, 0.4); /* Bóng đổ nổi bật hơn */
    transform: scale(1.05); /* Phóng to nhẹ ảnh active */
}

/* Điều chỉnh lại ảnh chính (thay đổi ID từ img_01 thành mainProductImage) */
#mainProductImage {
    width: 100%; /* Chiếm hết chiều rộng của sanpham_img */
    height: 275px; /* Chiều cao cố định như đã định nghĩa */
    object-fit: calc(100% - 0.5rem); /* Đảm bảo ảnh không bị méo, lấp đầy không gian */
    border-radius: 0.75rem;
    box-shadow: var(--box-shadow);
    display: block; /* Đảm bảo là block để thumblist có thể xếp trên */
    margin: 0 auto; /* Căn giữa ảnh chính */
}

/* Container cho thumblist và view */
.thumb-and-view {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    justify-content: flex-start;
}

/* Thumblist tổng thể */
.full_thumblist {
    margin: 0;
    padding: 0;
}

/* Thumblist: các thumbnail nằm ngang, có khoảng cách */
#gal1.thumblist {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
}

/* Link bọc thumbnail */
#gal1.thumblist a {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: border 0.2s, transform 0.2s;
    cursor: pointer;
}

/* Ảnh thumbnail */
#gal1.thumblist a img.thumbnail-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

/* Hover thumbnail */
#gal1.thumblist a:hover {
    border-color: var(--orange);
    transform: scale(1.07);
}

/* Thumbnail đang chọn */
#gal1.thumblist a img.active-thumbnail {
    border: 2px solid var(--green);
    box-shadow: 0 0 0.8rem rgba(120,149,39,0.25);
    transform: scale(1.12);
}

/* Responsive cho mobile */
@media (max-width: 600px) {
    #gal1.thumblist a {
        width: 48px;
        height: 48px;
    }
}

/* Định dạng phần thông tin sản phẩm bên phải */
.product-info {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(120,149,39,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-left: 1rem;
    text-align: left;
    font-size: 1.6rem;
}

.product-info .view-count {
    display: inline-flex;
    align-items: center;
    background: #f3f8e7;
    color: var(--green);
    font-weight: 600;
    font-size: 1.5rem;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(120,149,39,0.07);
    gap: 0.5rem;
}

.product-info .ct_label {
    color: var(--green);
    font-weight: 600;
    margin-right: 0.5rem;
}

.product-info .row_noidung {
    color: var(--black);
    font-weight: 500;
}

.product-info p {
    color: var(--black);
    font-size: 1.6rem;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    text-align: justify;
}

@media (max-width: 991px) {
    .product-info {
        margin-left: 0;
        padding: 1.5rem 1rem;
        font-size: 1.4rem;
    }
    .product-info .view-count {
        font-size: 1.2rem;
        padding: 0.4rem 1rem;
    }
}

/* Định dạng cho box thông số sản phẩm */
.product-spec {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(120,149,39,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
}

.product-spec .tab-title {
    background: #1976d2;
    color: #fff;
    font-weight: bold;
    padding: 0.8rem 2.2rem;
    border-radius: 0.5rem 0.5rem 0 0;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.product-spec .tab-title i {
    margin-right: 0.8rem;
}

.product-spec .spec-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--black);
}

.product-spec ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-spec ul li {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #222;
    line-height: 1.7;
}

.product-spec ul li strong {
    font-weight: bold;
    color: var(--green);
}

@media (max-width: 991px) {
    .product-spec {
        padding: 1.5rem 1rem;
    }
    .product-spec .tab-title {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }
    .product-spec .spec-title {
        font-size: 1.1rem;
    }
    .product-spec ul li {
        font-size: 1rem;
    }
}
/* Styling cho toàn bộ phần chi tiết sản phẩm */
/* Thay đổi từ .video-text-section thành .product-detail-section */
.product-detail-section {
    margin: auto;
    padding: 4rem 0; /* Khoảng đệm trên dưới cho toàn bộ section */
    background: white; /* Màu nền nhẹ nhàng cho section */
}

/* Tiêu đề chính của sản phẩm (Lemon) */
/* Thay đổi từ .video-text-section .heading thành .product-title */
.product-title {
    text-align: left; /* Căn chỉnh tiêu đề sang trái */
    font-size: 3.5rem; /* Kích thước chữ lớn */
    color: var(--black); /* Màu chữ từ biến đã định nghĩa */
    margin-top: 7rem; /* THÊM DÒNG NÀY ĐỂ TẠO KHOẢNG CÁCH VỚI MENU */
    margin-bottom: 3rem; /* Khoảng cách dưới tiêu đề */
    padding-left: 1.5rem; /* Đảm bảo khoảng cách lề nếu container có padding */
    position: relative; 
    display: inline-block; 

}

/* Kiểu dáng chung cho các hộp nội dung trong cột */
/* Cụ thể cho phần hiển thị ảnh (cột trái) */
/* Thay đổi từ .product-image-display thành .product-media-gallery */
.product-media-gallery {
    background: var(--white); /* Màu nền trắng */
    border-radius: 1rem; /* Bo góc */
    box-shadow: var(--box-shadow); /* Đổ bóng nhẹ */
    padding: 2rem; /* Khoảng đệm bên trong hộp */
    margin-bottom: 2rem; /* Khoảng cách dưới hộp (trên mobile khi các cột xếp chồng) */
    height: 100%; /* Đảm bảo hộp chiếm hết chiều cao của cột */
    display: flex; /* Dùng flexbox để căn chỉnh nội dung */
    flex-direction: column; /* Xếp ảnh và thumbnail theo chiều dọc */
    justify-content: center; /* Căn giữa nội dung theo chiều dọc trong hộp */
    align-items: center; /* Căn giữa nội dung theo chiều ngang trong hộp */
}

/* Cụ thể cho phần thông tin văn bản (cột phải) */
/* Giữ nguyên class .text-content.product-info */
.text-content.product-info {
    background: var(--white); /* Màu nền trắng */
    border-radius: 1rem; /* Bo góc */
    box-shadow: var(--box-shadow); /* Đổ bóng nhẹ */
    padding: 2.5rem; /* Khoảng đệm lớn hơn một chút cho nội dung văn bản */
    margin-bottom: 2rem; /* Khoảng cách dưới hộp (trên mobile khi các cột xếp chồng) */
    height: 100%; /* Đảm bảo hộp chiếm hết chiều cao của cột */
    display: flex; /* Dùng flexbox để căn chỉnh nội dung */
    flex-direction: column; /* Xếp các dòng thông tin theo chiều dọc */
    justify-content: flex-start; /* Căn chỉnh nội dung từ trên xuống */
}

/* Spacing cho các dòng "View" và "Origin" */
/* Giữ nguyên các class .view-count, .ct_label, .row_noidung */
.text-content.product-info .view-count {
    margin-bottom: 1rem; 
    font-size: 1.7rem;
    color: var(--light-color);
}

.text-content.product-info .view-count .ct_label {
    font-weight: bold;
    color: var(--black);
    min-width: 8rem;
    display: inline-block;
    margin-right: 0.5rem;
}

.text-content.product-info .view-count .row_noidung {
    color: var(--light-color);
}

/* Kiểu dáng cho đoạn mô tả sản phẩm */
/* Giữ nguyên p trong .text-content.product-info */
.text-content.product-info p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--light-color);
    margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Thay đổi từ .video-text-section .heading thành .product-title */
    .product-title {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    /* Thay đổi từ .product-image-display thành .product-media-gallery */
    .product-media-gallery,
    .text-content.product-info {
        padding: 2rem; 
    }
    .text-content.product-info p {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    /* Thay đổi từ .video-text-section thành .product-detail-section */
    .product-detail-section {
        padding: 3rem 0; 
    }
    /* Thay đổi từ .video-text-section .heading thành .product-title */
    .product-title {
        text-align: center; 
        font-size: 2.8rem;
        margin-top: 7rem; /* Đảm bảo cũng áp dụng trên mobile nếu cần */
        margin-bottom: 2rem;
        padding-left: 0;
    }
    /* Thay đổi từ .product-image-display thành .product-media-gallery */
    .product-media-gallery,
    .text-content.product-info {
        padding: 1.5rem; 
        margin-bottom: 1.5rem; 
    }
    /* Thay đổi từ .product-image-display thành .product-media-gallery */
    .product-media-gallery {
        justify-content: flex-start;
    }
    .text-content.product-info .view-count {
        font-size: 1.6rem;
    }
    .text-content.product-info p {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
}
.contact-us {
    margin-top: 100px; /* hoặc giá trị bằng chiều cao header, thường 80-100px */
}
@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        box-shadow: none;
        background-color: var(--green);
        border-radius: 0 0 0.5rem 0.5rem;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .dropdown-menu.show {
        display: block !important; /* Chỉ hiện khi có class show */
    }
}
.product-card-custom {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-custom .card-img-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-custom .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2em; /* Đảm bảo chiều cao cho 2 dòng */
}
.product-detail-img {
    width: 100%;              /* Chiếm hết chiều rộng container cha */
    max-width: 300px;         /* Hoặc 250px tùy bạn muốn khuôn to hay nhỏ */
    height: 300px;            /* Chiều cao cố định của khuôn */
    object-fit: cover;        /* Cắt ảnh cho vừa khung, không méo, không biến dạng */
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    display: block;
    margin: 0 auto;
}
.carousel-inner img {
    max-height: 550px;  /* Tăng chiều cao tối đa của ảnh */
    width: 100%;
    object-fit: cover;
}

.carousel-inner,
.carousel-item {
    height: 550px;      /* Tăng chiều cao slide */
    background: #fff;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Ảnh sẽ lấp đầy khung, không méo */
    display: block;
    margin: 0 auto;
    background: #fff;
}
.partner-slider {
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.slider-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scrollLeft 30s linear infinite;
    transform: translateX(100%); /* Bắt đầu từ ngoài bên phải */
}

.slider-track img {
    height: 60px;
    margin-right: 40px;
    object-fit: contain;
    white-space: nowrap;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100%); /* Bắt đầu bên phải */
    }
    100% {
        transform: translateX(-100%); /* Chạy hết sang trái */
    }
}
.mission-section {
    padding: 80px 0;
    background: #fff;
    color: var(--black);
}

.mission-section .section-title {
    font-size: 3.5rem;
    text-align: left;
    color: green;
    margin-bottom: 2.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
}

.mission-section .section-intro {
    font-size: 1.7rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.mission-section h3 {
    font-size: 2.4rem;
    color: green;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.commitment-list,
.feature-list,
.highlight-list {
    list-style: none;
    padding-left: 0;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.commitment-list li,
.feature-list li,
.highlight-list li {
    background: #fff;
    border-left: 5px solid green;
    padding: 1.5rem 2rem;
    margin-bottom: 1.2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    font-size: 1.6rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.commitment-list li:hover,
.feature-list li:hover,
.highlight-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.commitment-list li strong,
.feature-list li strong,
.highlight-list li strong {
    color: var(--black);
}

@media (max-width: 768px) {
    .mission-section .section-title {
        font-size: 2.8rem;
    }

    .mission-section .section-intro {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .commitment-list li,
    .feature-list li,
    .highlight-list li {
        font-size: 1.5rem;
        padding: 1.2rem;
    }
}
.our-story-section {
    padding: 80px 0;
    background-color: #fff;
    color: var(--black);
}

.our-story-section .section-title {
    font-size: 3.5rem;
    text-align: left;
    color: var(--black);
    margin-bottom: 3rem;
    font-weight: bold;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
}


.story-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-paragraph {
    background: #ffffff;
    padding: 2.5rem 3rem;
    border-left: 5px solid green;
    border-radius: 0.8rem;
    box-shadow: var(--box-shadow);
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--light-color);
    text-align: justify;
    transition: all 0.3s ease;
}

.story-paragraph:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.story-paragraph strong {
    color: var(--black);
    font-weight: bold;
}

@media (max-width: 768px) {
    .our-story-section .section-title {
        font-size: 2.8rem;
    }

    .story-paragraph {
        font-size: 1.5rem;
        padding: 2rem 1.5rem;
    }
}

.fruit-news-section {
    padding: 80px 0;
    background-color: white;
    color: green;
}

.fruit-news-section .section-title {
    font-size: 3.5rem;
    text-align: left;
    color: greeen;
    font-weight: bold;
    margin-bottom: 3rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
}

.news-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-paragraph {
    background: #ffffff;
    padding: 2.5rem 3rem;
    border-left: 5px solid var(--green);
    border-radius: 0.8rem;
    box-shadow: var(--box-shadow);
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--light-color);
    text-align: justify;
    transition: all 0.3s ease;
}

.news-paragraph:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.news-paragraph strong {
    color: var(--black);
    font-weight: bold;
}

@media (max-width: 768px) {
    .fruit-news-section .section-title {
        font-size: 2.8rem;
        padding-left: 1rem;
    }

    .news-paragraph {
        font-size: 1.5rem;
        padding: 2rem 1.5rem;
    }
}
.auto-scroll-thumbnails {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.auto-scroll-thumbnails .thumblist {
  display: flex;
  gap: 1rem;
  animation: scrollThumbs 25s linear infinite;
  width: max-content;
}

@keyframes scrollThumbs {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Dừng cuộn khi hover (tuỳ chọn) */
.auto-scroll-thumbnails:hover .thumblist {
  animation-play-state: paused;
}
.video-hero-section {
    width: 100%;
    height: auto; /* Chiều cao giống với carousel cũ */
    overflow: hidden;
    background: #000;
    position: relative;
}

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

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.farm-gallery-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.farm-gallery-section .section-title {
    text-align: center;
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.farm-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.farm-image {
    position: relative;
    height: auto; /* Ảnh to hơn */
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.farm-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
}

/* ✅ Responsive tablet */
@media (max-width: 992px) {
  .farm-image {
    height: auto;
  }
  .farm-gallery-section .section-title {
    font-size: 3.2rem;
  }
  .farm-caption {
    font-size: 1.8rem;
  }
}

/* ✅ Responsive mobile */
@media (max-width: 576px) {
  .farm-image {
    height: auto;
  }
  .farm-gallery-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  .farm-caption {
    font-size: 1.6rem;
    padding: 0.8rem;
  }
}
