@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/doriel');



#imageSlider {
    height: 650px;
    position: relative;

}
#imageSlider.scrolled  {
    /* height: 650px; */
    position: relative;
    margin-top: 160px;
}
.carousel-item img {
    height: 650px;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 80px;
    border-radius: 0;
    max-width: 600px;
    height: 300px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    border-radius: 25px;
}

.slider-caption p {
    font-size: 24px;
}

.carousel-indicators [data-bs-target] {
    background-color: #ffffff;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #007bff;
}

@media (max-width: 768px) {
    #imageSlider {
        height: 300px;
    }

    .carousel-item img {
        height: 300px;
    }

    .slider-caption {
        left: 0;
        max-width: none;
    }
    .slider-caption {
        padding: 34px;
    }
}


.body-backgroup{
    background-image: url(../images/backgroup-body.png);
    background-size: contain;
    z-index: 1;
    position: relative;
}


/* video */
.video{
    margin: 20px auto;
    padding: 10px;
    max-width: 1140px;
}

.video-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1b8c42;
    padding: 24px 34px;
    text-align: center;
}

@media (max-width: 500px) {
    .video-height iframe{
        height: 300px;
    }
}

/* gallery */
.wave-gallery {
    background: url(../images/wave-gallery.png) no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    padding-bottom: 80px;
  }
  
  .wave-gallery .gallery {
    max-width: 1200px;   /* or your desired content width */
    margin: 0 auto;      /* centers the content */
    padding: 0 20px;     /* optional responsive padding */
  }

.gallery {
    margin: 20px auto;
    padding: 10px;
    max-width: 1140px;
}

.gallery-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1b8c42;
    padding: 24px 34px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    max-height: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: -webkit-fill-available;
    transition: transform 0.5s ease-in-out;
}

.gallery-grid img:hover{
    transform: scale(1.05);
}

/* .gallery-grid img {
    width: 100%;
    max-height: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: -webkit-fill-available;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
} */

/* button */
.btn-space {
    padding: 34px 0 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: dashed;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 20px; 
    border: none;
    color: white;
    padding: 6px 60px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    background: #3d3d3c;
    font-weight: 400;
    transition: background-color 0.3s, color 0.3s; 
}

.icon-more {
    color: #fae900;
    transition: color 0.3s;
}

.btn:hover {
    background-color: #fae900;
    color: #fff;
}

.btn:hover .icon-more {
    color: #fff; 
}

/* testimonial */
.wave-testimonial {
    z-index: 99;
    position: relative;
    background: url(../images/bg-testimonial.svg) no-repeat center center;
    background-size: cover; 
    width: 100%;
    height: auto; 
}

.testimonial-section {
    padding: 40px 20px;
    text-align: center;
  }
  .section-title {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 24px 34px; 
    text-align: center;
    display: inline-block; 
  }

  .section-border{
    border-bottom: 2px solid;
    width: 40%;
    padding-bottom: 10px;
    margin: 0 auto;
    display: block;
  }
  
  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    margin-top: 8px;
  }
  
  .arrow {
       
  }
 
  .carousel {
    overflow: hidden;
    width: 100%;
  }
  .testimonials {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    width: 100%;
  }
  .testimonial {
    flex: 0 0 50%; /* 2 per row by default */
    box-sizing: border-box;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
  }
 
  .arrow {
    color: white;
    background-color: #575756;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.5rem;    
    cursor: pointer;
    z-index: 10; 
  }
  
  
  @media (max-width: 767px) {
    .testimonial {
      flex: 0 0 100%;
      padding: 5px;
    } 
  }
  
  .testimonial-text {
    background-color: #ffee00;
    color: #697047;
    padding: 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 18px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  .person {
    text-align: center;
    display: flex;
    justify-content: center;
  }
  
  .person-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .person-name {
    font-weight: bold;
    margin: 10px 0 5px;
    color: #211e1c;
  }
  
  .person-role {
    color: #ffee00;
  }

  .person-text{
    display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 20px;
  }


/* blog & new */
  .blog-section {
    max-width: 1140px;
    margin: 40px  auto;
    text-align: center;
}

.blog-title{
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1b8c42;
    padding: 24px 34px;
    text-align: center;
}

.blog-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.new.blog {
    /* background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s; */
    width: 300px;
    display: inline-table;
}

.new.blog:hover {
    transform: scale(1.009);
}

.new.blog img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #198754;
    width: 400px;
    transition: transform 0.3s;
}

.card-content {
    padding: 15px 0px;
}

.card-content-flex{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.card-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-badge.blog {
    background-color: #96c21f;
}

.card-badge.event {
    background-color: #d6679b;
}

.card-title {
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: start;
    font-weight: 600;
}

@media (max-width:768px){
    .new.blog img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: 2px solid #198754;
        max-width: 400px;
        transition: transform 0.3s;
    }
}

/* benefits */
.wave-benefits {
    background: url(../images/benefits-banner-farm.svg) no-repeat;
    background-size: cover;
    background-position: center center; /* Horizontally and vertically centered */
}

.benefits-section {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.benefits-main {
    padding: 20px;
    margin: 20px;
}

.benefits-title {
    display: flex;
    align-items: center;
    font-size: 2em;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    margin-bottom: 20px;
    background: url(../images/wave-flowers.png) no-repeat center center;
    background-size: contain;
    height: 300px;
    width: 300px;
    margin: auto;
}

/* .benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
} */

.benefits-item {
    /* width: 250px; */
    padding: 10px;
}

.benefits-number{
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-item h3 {
    font-size: 38px;
    background-color: #96c21f;
    color: white;
    margin: 0;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-item p {
    font-size: 1.1em;
    color: #333;
}

.benefits-item strong {
    font-weight: bold;
}

.benefits-item span {
    font-size: 1em;
    color: #555;
}
.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* space between items */
  }


/* style.css */
.sheep-main {
    max-width: 1140px;
    margin: 64px auto;
    text-align: center;
}

.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.image-sheep img {
    width: 100%;
    max-width: 450px;
    height: 500px;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

.sheep-content {
    background-color: #fff8d9;
    padding: 54px 24px;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: start;
    left: -35px;
    width: 100%;
    max-width: 540px;
}

.teeth-top,
.teeth-bottom {
    position: absolute;
    height: 99px;
    width: 65px;
    background-repeat: no-repeat;
    background-size: cover;
}

.teeth-top {
    background: url('../images/teeth-top.png') no-repeat center;
    background-size: contain;
    top: -50px;
    right: 80%;
}

.teeth-bottom {
    background: url('../images/teeth-bottom.png') no-repeat center;
    background-size: contain;
    bottom: -50px;
    left: 80%;
}

.text-container h2 {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    color: #1b8c42;
    margin: 0 0 16px;
}

.text-container p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    color: #bf9c73;
}

@media (max-width:767px) {
    .hotline, .email {
        font-size: 13px;
        padding: 8px 12px;
    }
    .sheep-content {
        background-color: #fff8d9;
        padding: 54px 24px;
        border-radius: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        position: relative;
        text-align: start;
        left: 0;
        width: 100%;
        max-width: 540px;
        top: -125px;
    }

    .btntop-sheep{
        margin-top: -107px;
    }

    .image-sheep img {
        width: 100%;
        max-width: 450px;
        height: 420px;
        display: block;
        border-radius: 0;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .sheep-content {
        margin: auto;
        width: 90%;
    }
    .benefits-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
      }
}


/* ==================== Promotion ==================== */
.wave-promotion {
    max-width: 1340px;
    margin: 40px auto;
}

.promotion-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1b8c42;
    text-align: center;
}

.promotion-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 64px;
    width: 100%;
}

.blog-promotion {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.blog-promotion img {
    width: 45%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

.content-promotion {
    /* margin-left: 150px; */
    display: flex;
    flex-direction: column;
    align-items: center;

}

.content-promotion .content-title {
    font-family: 'Overpass', sans-serif;
    color: #ffee00;
    background-color: #168c44;
    padding: 7px 80px;
    font-size: 40px;
    font-weight: 700;
    border-radius: 25px;

}

.content-promotion .content-des1 {
    margin-top: 15px;
    font-family: 'Overpass', sans-serif;
    font-size: 48px;
    font-weight: 500;
}

.content-promotion .content-des2 {
    font-size: 70px;
    font-weight: 600;
    font-family: 'Overpass', sans-serif;
}

.content-promotion .content-des2 span {
    color: #168c44;
}

.promotion-col1-content .des1 {
    font-size: 48px;
    font-weight: 500;
    font-family: 'Overpass', sans-serif;
}

.promotion-col1-content p {
    margin: 0;
}

@media(max-width:1440px) {
    .wave-promotion {
        max-width: 80%;
    }

}

@media(max-width:1280px) {
    .blog-promotion img {
        height: 300px;
    }

    .content-promotion .content-des2 {
        font-size: 60px;
    }

    .content-promotion .content-des1 {
        font-size: 40px;
    }

    .content-promotion .content-title {
        font-size: 30px;
    }
}

@media(max-width:1024px) {
    .wave-promotion {
        max-width: 95%;
    }
}

@media(max-width:884px) {
    .wave-promotion {
        max-width: 70%;
    }

    .blog-promotion {
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }

    .blog-promotion img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 20px;
    }

    .blog-promotion:nth-child(2) {
        flex-direction: column-reverse;
    }
}

@media(max-width:768px) {
    .blog-promotion img {
        height: 320px;

    }

    .content-promotion .content-des2 {
        font-size: 50px;
    }

    .content-promotion .content-des1 {
        font-size: 30px;
    }

    .content-promotion .content-title {
        font-size: 20px;
    }
    .gallery-title {
           padding: 0px 0px;
         }
}

@media(max-width:560px) {
    .wave-promotion {
        max-width: 90%;
    }

    .promotion-container {
        margin-top: 40px;
    }
}

@media(max-width:400px) {
    .content-promotion .content-des2 {
        font-size: 40px;
    }

    .content-promotion .content-des1 {
        font-size: 25px;
    }

    .content-promotion .content-title {
        padding: 7px 50px;

    }
    .benefits-container {
        grid-template-columns: 1fr; /* 1 column for mobile */
      }
}



/* =========================== EBOOK =========================== */
.comming-soon-section {
    width: 1130px;
    margin: auto;
    margin-top: 90px;
}

.comming-soon-section .head-title-commingsoon {
    text-transform: uppercase;
    font-size: 32px;
    font-weight: bold;
    color: #1b8c42;
    text-align: center;
    font-family: 'Overpass', sans-serif;

}

.comming-soon-section .comingsoon-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}
.comingsoon-col{
box-sizing: border-box;
}
.comingsoon-col img{
    width: 550px;
    height: 750px;
    object-fit: cover;
}
.comingsoon-col .book-name{
    text-align: center;
    margin-top: 30px;
    font-size: 25px;
    font-weight: 700;
}
.comingsoon-col .book-des{
    color: #555;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}
@media(max-width:1130px){
    .comming-soon-section {
        width: 90%;
    }
    .comingsoon-col img{
        width: 100%;
        height: 550px;
        object-fit: cover;
    }
}
@media(max-width:768px){
    .comingsoon-col img{
        height: 450px;

    }
}
@media(max-width:690px){
    .comming-soon-section .comingsoon-container {
        flex-direction: column;
        gap: 50px;
    }
    .comingsoon-col img{
        height: 650px;

    }
}
@media(max-width:520px){
    .comming-soon-section {
        margin-top: 50px;
    }
    .comingsoon-col img{
        height: 550px;

    }
}
@media(max-width:390px){
    .comingsoon-col img{
        height: 480px;

    }
}

/* ===================== Ebook Section ======================== */
.ebook-section {
    width: 1230px;
    margin: 90px auto 0;
  }
  
  .head-ebook-title {
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 800;
    color: #1b8c42;
    text-align: center;
    font-family: 'Overpass', sans-serif;
  }
  .ebooks-container {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 30px;
    justify-content: space-between;
  }
  .ebooks-post {
    overflow: hidden;
  }
  
  .ebooks-post img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  
  .ebooks-content {
    margin-top: 15px;
  }
  
  .ebooks-content-title {
    font-size: 20px;
    font-weight: 600;
  }
  
  .ebooks-content-author {
    font-size: 18px;
    font-weight: 600;
    color: #555;
  }
  
  .btn-ebooks {
    margin-top: 15px;
    display: inline-block;
    width: 100%;
    background: #198754;
    color: #fff;
    padding: 8px 100px;
    text-align: center;
    border-radius: 7px;
  }
  @media(max-width:1280px){
    .ebook-section{
        width: 90%;
    }
    .ebooks-container {
        grid-template-columns: repeat(3, 300px);
      }
     .ebooks-post img {
        height: 400px;
      }
  }
  @media(max-width:1074px){
    .ebooks-container {
        grid-template-columns: repeat(2, 400px);
        justify-content: center;
      }
      .ebooks-post img {
        height: 550px;
      }
  }
  @media(max-width:884px){
    .ebooks-container {
        grid-template-columns: repeat(2, 350px);
        justify-content: center;
      }
      .ebooks-post img {
        height: 500px;
      }
  }
  @media(max-width:730px){
    .ebooks-container {
        grid-template-columns: repeat(1, 420px);
        justify-content: center;
      }
  }
  @media(max-width:428px){
    .ebooks-container {
    display: flex;
    flex-direction: column;
      }
  }



  /* ==================modal=================== */
  body {
    padding: 0;
    margin: 0;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.modal-popub {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;

}

.modal-popub .modal-frame {
    background-color: #fefefe;
    margin: auto;
    /* padding: 20px; */
    /* border: 1px solid #ffffff00; */
    width: 50%;
    border-radius: 5px;
    margin-bottom: 190px;
    overflow: hidden;
}



/* ================================ modal Content =============================== */
.modal-popub .modal-content {
    width: 95%;
    margin: auto;
    box-sizing: border-box;
}

.modal-content .content-group {
}

.modal-content .close {
    color: #aaaaaa;
    text-align: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: #4B98FD;
    text-decoration: none;
    cursor: pointer;
}

.content-group .group-images {
    display: flex;
    box-sizing: border-box;
}

.group-images .image-optional {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 17%;
    max-height:fit-content;
    overflow-y: scroll;
    margin-right: 10px;


}

/* For Webkit browsers (Chrome, Safari) */
.group-images .image-optional::-webkit-scrollbar {
    width: 9px;
    background-color: #edebeb
}

.group-images .image-optional::-webkit-scrollbar-thumb {
    background: #4B98FD;
    border-radius: 90px;
    min-height: 40px;

}

.group-images .main-image {
    width: 100%;
}

.group-images .main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 3px;
}

.group-images .image-optional .images {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.group-images .image-optional .images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    cursor: pointer;
}


.content-group .content-detail{
    font-family: "Battambang", serif;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
}
.content-detail .title{
    color: #FB66A3;
}
.content-detail h2{
    font-size: 30px;
    margin: 0;
   font-weight: 600;
   margin-bottom: 20px;
}
.content-detail .description{
    color: #4B98FD;
}
.content-detail p{
    font-size: 20px;
   margin-top: 0;
}
/* --------------popup ebook-------------- */
button {
    padding: 10px 20px;
    font-size: 16px;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .hidden {
    display: none;
  }
  
  .popup {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .close-btn:hover {
    color:#168c44;
  }
  
  .popup-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  
  .thumbnails {
    display: flex;
    flex-direction: column;
    max-height: 650px; /* Adjust height as needed */
    overflow-y: auto;
    gap: 10px;
  }
  
  .thumb {
    width: 80px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
  }
  .thumbnails img{
    height: 250px;
    width: auto;
    object-fit: cover;
}
  
  .thumb:hover {
    border-color: #007bff;
  }
  
  .main-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  
  .main-image img {
    width: 500px;
    height: 650px;
    object-fit: cover;
  }
  

  .nav-popupebook-button {
    background-color: #ffffff; /* blue background */
    color: black;              /* white arrow */
    border: none;
    font-size: 20px;
    cursor: pointer;  
    padding: 0px 12px

  }
  
  .nav-popupebook-button:hover {
    color: rgb(5, 150, 0);  /* darker blue on hover */
  }
  
  .nav-popupebook {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #06D85F;
  }
  a:hover {
    color: yellow;
    text-decoration: none;
}

/* --------------popup ebook-------------- */


@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }
    
      .thumbnails {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 10px 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
      }
    
      .thumbnails img {
        height: 120px;
        width: auto;
        object-fit: cover;
        flex-shrink: 0;
        scroll-snap-align: center;
      }
    
      .main-image img {
        width: 100%;
        height: auto;
        max-height: 70vh;
      }
    
      .nav-popupebook {
        margin-top: 10px;
      }
    
      .popup {
        width: 95%;
        max-width: 100%;
        padding: 15px;
      }
    
  }



/* ================================= frame infomation ==========================*/

.modal-frame .modal-infomation {
    background-color: #4B98FD;
    padding: 20px 0;
    width: 100%;
    margin-top: 40px;
}

.modal-infomation .info-type {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 80%;
    margin: auto;
    justify-content: space-between;
}

.info-type .type {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    font-size: 25px;
}
.info-type p{
    margin: 0;
}

.info-type .line-row {
    content: "";
    display: block;
    width: 2px;
    height: 50px;
    background: white;
}


@media(max-width:1440px){
    .modal-popub .modal-frame {
        width: 70%;
       
    }
  
    .group-images .image-optional {
        width: 22%;
     
    }
    .group-images .main-image {
        width: 90%;
    }
}

@media(max-width:1024px){
    .modal-infomation .info-type {
        width: 90%;
      
    }
    .info-type .type {
        font-size: 18px;
    }
    .modal-popub .modal-frame {
        width: 90%;
    }
}
@media(max-width:991px){
.main-image img {
    /* max-width: 100%; */
    /* height: auto; */
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* .popup {
    width: auto;
} */
.thumbnails {
     max-height: 400px;
}
}

@media(max-width:768px){
    .content-group .group-images {
    
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    .group-images .image-optional {
        display: flex
    ;
        flex-direction: row;
        gap: 15px;
        width: 90%;
     overflow-y:hidden;
        overflow-x: scroll;
        margin-right: 10px;
    }

    .group-images .main-image img {
     height: 400px;
     
    }
    .content-detail h2 {
       line-height: 49px;
    }
}

@media(max-width:428px){
    .group-images .main-image img {
        height: 220px;
        
       }
       .group-images .image-optional .images {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
    }
    .modal-infomation .info-type {
        width: 90%;
        flex-direction: column;
        gap: 20px;
    }
    .info-type .line-row {
        content: "";
        display: block;
        width: 80%;
       height: 1px;
        background: white;
    }
}
@media(max-width:375px){
.testimonial-text {
    background-color: #ffee00;
    color: #697047;
    padding: 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 18px;
    height: auto;
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
}




















/* ================= ABout Author ======================== */
.about-author {
    width: 1230px;
    margin: auto;
    margin-top: 90px;
}

.about-author .head-title-author {
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 800;
    color: #1b8c42;
    text-align: center;
    font-family: 'Overpass', sans-serif;

}
.author-container{
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.author-picture {
    width: 50%;
    height: 450px;
}
.author-picture img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-content{
    width: 50%;
}
.author-content .athour-name{
    text-transform: uppercase;
    color: #945f37;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Overpass', sans-serif;

}
.author-content .author-exp{
    margin-top: 15px;
}
.author-content .author-exp,.author-content .book-total{
    display: flex;
    /* align-items: center; */
    font-size: 20px;
    font-weight: 600;
}
.author-content .author-exp span,.author-content .book-total span{
    color: #168c44;
}
.author-content .author-description{
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #575756;
}

@media(max-width:1280px){
    .about-author {
        width: 90%
    }
    .about-author .head-title-author {
        font-size: 43px;
    
    }
}
@media(max-width:768px){
    .author-container{
       flex-direction: column;
       gap: 40px;
    }
    .about-author .head-title-author {
        font-size: 38px;
    
    }
    .author-picture {
        width: 100%;
        height: 450px;
    }
    .author-content{
        width: 100%;
    }
}
@media(max-width:428px){
    .about-author {
        width: 95%
    }
}


/* ============ Blog E-Book ================== */
.blog-ebook{
    width: 1230px;
    margin: auto;
    margin-top: 90px;
    margin-bottom: 90px;
}
.blog-ebook .head-blog-title {
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 800;
    color: #1b8c42;
    text-align: center;
    font-family: 'Overpass', sans-serif;

}
.ebook-blog-contanier{
    display: flex;
    gap: 50px;
    margin-top: 30px;
}
.ebook-blog{
    width: 50%;
}
.ebook-blog img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.ebook-blog .head-blog-content{
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head-blog-content .blog-title-content{
    font-size: 20px;
    font-weight: 600;
}
.head-blog-content .bog-date-content{
    font-size: 16px;
    font-weight: 600;
    color: #575756;
}
.ebook-blog .blog-des-content{
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}
@media(max-width:1280px){
    .blog-ebook{
        width: 90%;
       
    }
    .ebook-blog-contanier{
        gap: 30px;
    }
    .blog-ebook .head-blog-title {
        font-size: 43px;
    
    }
    .ebook-blog img{
        height: 350px;
    }
}
@media(max-width:768px){
    .blog-ebook .head-blog-title {
        font-size: 38px;
    
    }
    .ebook-blog-contanier{
        flex-direction: column;
        gap: 70px;

    }
    .ebook-blog{
        width: 100%;
    }
}
@media(max-width:428px){
    .blog-ebook{
        width: 95%;
       
    }
    .ebook-blog img{
        height: 300px;
    }
}
@media(max-width:375px){
.benefits-title{
    display: flex;
        align-items: center;
        font-size: 1.5em;
        color: #fff;
        font-weight: bold;
        padding: 10px 20px;
        margin-bottom: 20px;
        background: url(../images/wave-flowers.png) no-repeat center center;
        background-size: contain;
        height: 300px;
        width: 242px;
        margin: auto;
        line-height: 1.2;
}
.section-title { 
    padding: 0px 0px;
}
.person-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}
.person-name {
    font-weight: bold;
    margin: 10px 0 0px;
    color: #211e1c;
}
.person-text {   
    padding: 5px;
}
}