/* Bright Look Page Styles */

/* Section Title Oval */
.section-title-oval {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 15px 60px;
    border-radius: 50px;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--bs-box-shadow) !important;
    text-transform: capitalize;
    border: 4px solid #fff;
}

/* Yufan Group Section */
.yufan-group-section:after{
    background: url(../images/bg-blog.webp) no-repeat bottom center;
    position:absolute;
    width:100%;
    height:100%;
    content:"";
    bottom: 0;
    left: 0;
    opacity: 0.5;
}
.yufan-group-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 200px !important;
}

.yufan-group-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-size: 1200px 200px;
    opacity: 1;
    background: linear-gradient(0deg, #FFFFFF 35.22%, rgba(255, 255, 255, 0) 92.3%);
    width: 100%;
    z-index: 1;
    opacity: 1;
}

.yufan-group-section .container {
    position: relative;
    z-index: 1;
}

.company-overview {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card:hover .feature-card-text{color: #333;}
.feature-card:hover .feature-card-title{
}
.feature-card .bg svg path{
    transition:0.4s ease;
    fill:#fff;
    stroke:rgb(133, 0, 4);
}
.feature-card:hover .bg svg path{
    fill:rgb(133, 0, 4);
    stroke:#fff;
}
.feature-card .bg svg{
    width: 100%;
    height: 100%;
}
.feature-card:hover .bg{
background: url(../icon/end.svg) no-repeat bottom center;
    background-size: 100%;
}
.feature-card .bg{
  
}
.feature-card:after {content:"";width: 100%;height: 100%;top: 5px;position: absolute;z-index: -1;border: 7px solid #f9ba2d;border-left: 0;border-top: 0;border-radius: 12px;right: -8px;border-bottom-right-radius: 16px;border-bottom-left-radius: 7px;transition: 0.5s ease;}
.feature-card:before {content:"";width: 100%;height: 100%;top: 5px;position: absolute;border: 1px solid #f9ba2d;border-left: 0;border-top: 0;border-radius: 12px;right: -8px;border-bottom-right-radius: 16px;border-bottom-left-radius: 7px;transition: 0.5s ease;}
.feature-card {
    border-radius: 15px;
    transition: all 0.3s ease !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 40px;
    border-top: 1px solid var(--primary);
    transform: translateZ(0);
    background: #fff;
    border: 1px solid #F9BA2D;
    width: calc(100% - 7px);
}
.feature-card:hover:after {
    border-color:#fff;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: #F9BA2D;
}

.feature-card-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-card-image img {
    filter: grayscale(0%);
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
    min-height: 50px;
    text-align: center;
    line-height: 1.4;
}

.feature-card-text {
    font-size: 13px;
    line-height: 1.6;
    /* color: #666; */
    flex-grow: 1;
}
.product-quality-section{/* margin-bottom: -100px; */}
/* Product Section */
.customer-usage-section,.product-quality-section{
    /* margin-top: -100px; */
    position: relative;
    z-index: 3 !important;
}
.custom-bg{
    content:"";
    padding: 60px 0;
    background: url(../images/bg-ver-1.png) no-repeat bottom center;
    background-size: cover;
    position: absolute;
    padding-bottom: 100px !important;
    z-index: 2;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.product-section{background: linear-gradient(-9deg, #FFF5D6 -2.68%, #FFFFFF 100%);}
.product-section:before{content: '';position: absolute;bottom: 0;left: 0;right: 0;height: 70px;background-size: 1200px 200px;opacity: 1;background: linear-gradient(0deg, #FFFFFF 35.22%, rgba(255, 255, 255, 0) 92.3%);width: 100%;z-index: 1;opacity: 0.6;}
.product-section:after {content:"";background: url(../images/bg-ver2.png) no-repeat center;width: 100%;height: 17%;position: absolute;bottom: 0;pointer-events: none;background-size: 100% 100%;}
.custom-bg {
    padding: 60px 0;
    background: url(../images/bg-ver-1.png) no-repeat bottom center;
    background-size: 100%;
    position: relative;
    /* padding-bottom: 100px !important; */
    z-index: 2;
}
#block-archivement{
    position: relative;
    z-index: 3;
}
.product-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    width: 100%;
    max-width: 600px;
    line-height: 1.4;
}

.product-info-wrapper {
    border-radius: 10px;
}

.product-info-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}



/* Product Visual */
.product-visual-wrapper {
    text-align: center;
}

.product-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.product-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 2;
}

.milk-splashes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: splash 3s ease-in-out infinite;
}

.milk-splashes::before,
.milk-splashes::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    border-radius: 50%;
}

.milk-splashes::before {
    top: -20%;
    left: -20%;
    animation: splash 3s ease-in-out infinite 0.5s;
}

.milk-splashes::after {
    bottom: -20%;
    right: -20%;
    animation: splash 3s ease-in-out infinite 1s;
}

@keyframes splash {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* Product Callouts */
.product-callout {
    position: absolute;
    background: #ffc107;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-callout i {
    font-size: 18px;
}

.callout-top-right {
    top: -10px;
    right: 10%;
}

.callout-bottom-left {
    bottom: -10px;
    left: 10%;
}

.callout-top-right::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    width: 80px;
    height: 2px;
    border-top: 2px dashed #ffc107;
    transform: translateY(-50%);
}

.callout-bottom-left::before {
    content: '';
    position: absolute;
    left: 100%;
    bottom: 50%;
    width: 80px;
    height: 2px;
    border-top: 2px dashed #ffc107;
    transform: translateY(50%);
}

/* Nutrition Table */
.nutrition-table-wrapper {border: 2px solid var(--primary);border-radius: 20px;overflow: hidden;font-size: 17px;}
.nutrition-table-wrapper table{
    width: 100% !important;
    border: 0;
}
.nutrition-table-wrapper table tr:first-child{}
.nutrition-table-wrapper table tr:first-child td{
    font-weight: bold;
    color: var(--primary);
    padding-right: 10px;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}
.nutrition-table-wrapper table tr{}
.nutrition-table-wrapper table tr td:first-child{
    text-align:left;
    font-weight: bold;
}
.nutrition-table-wrapper table tr td{
    text-align:center;
    padding: 6px 5px;
}

.nutrition-title-oval {
    display: block;
    background: var(--primary);
    color: #fff;
    padding: 10px 0px;
    border-radius: 0;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
}

.nutrition-table {
    width: 100%;
    margin: 0;
}

.nutrition-table thead {
    background: #f8f9fa;
}

.nutrition-table th {
    padding: 12px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.nutrition-table td {
    padding: 12px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.nutrition-table tbody tr:last-child td {
    border-bottom: none;
}

/* Customer Usage Section */




.product-quality-section .container {
    position: relative;
    z-index: 1;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quality-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.quality-icon {
    width: 60px;
    height: 60px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quality-icon i {
    font-size: 24px;
    color: #fff;
}

.quality-content {
    flex-grow: 1;
}

.quality-feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.quality-feature-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Certifications Section */
.certifications-section {
    padding: 60px 0;
    background: #fff;
}

.certifications-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.certificate-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.certificate-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.certifications-swiper .swiper-button-next,
.certifications-swiper .swiper-button-prev {
    color: #dc3545;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.certifications-swiper .swiper-button-next:hover,
.certifications-swiper .swiper-button-prev:hover {
    background: #dc3545;
    color: #fff;
}

/* Product Profile Section */
.product-profile-section {
    padding: 60px 0;
    background: #FFFBEF;
    z-index: 3;
    position: relative;
}
.product-info-content{
    max-height: 400px;
    overflow:auto;
    padding-right: 20px;
}


.product-info-content::-webkit-scrollbar {
    width: 6px;
}

.product-info-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-info-content::-webkit-scrollbar-thumb {
    background: var(--primary, #8B0000);
    border-radius: 10px;
}

.product-info-content::-webkit-scrollbar-thumb:hover {
    background: #A52A2A;
}

.xcard {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 500px;
    top: 0;
    left: 0;
  }
  
  .xcard .content {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 1s;
    transform-style: preserve-3d;
  }
  
  .xcard:hover .content,
  .xcard.auto-hover .content {
    transform: rotateY( 180deg ) ;
    transition: transform 0.5s;
  }
  
  .xcard .front,
  .xcard .back {
    position: absolute;
    height: 100%;
    width: 100%;
    background: white;
    /* line-height: 300px; */
    color: #03446A;
    text-align: center;
    /* font-size: 60px; */
    border-radius: 5px;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    
  }

  .xcard .back div::-webkit-scrollbar {
    width: 6px;
    
    
}

.xcard .back div::-webkit-scrollbar-track {
   
    border-radius: 10px;
    
}

.xcard .back div::-webkit-scrollbar-thumb {
    opacity: 0.6;
    background:  #ffffff6b;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.xcard .back div::-webkit-scrollbar-thumb:hover {
   
    background:  #ffffff6b;

}
/* 
.product-quality-section:before{
content:"";
background: url(../images/milk.png) no-repeat center center;
background-size: cover;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.5;
} */

  .xcard .back div{
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    text-align: justify;
    font-size: 14px;
}
  .xcard .back {
    background: var(--primary);
    color: white;
    transform: rotateY( 180deg );
    padding: 15px;
    text-align: justify;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  


/* Responsive Design */
@media (max-width: 768px) {
    .product-info-content{max-height: none}
    .section-title-wrapper{margin-bottom: 10px}
    .product-section:after{display:none}
    .section-title-oval {
        font-size: 18px;
        padding: 12px 40px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-info-wrapper,
    .nutrition-table-wrapper {
    }
    
    .product-callout {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .callout-top-right,
    .callout-bottom-left {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 10px auto;
        display: inline-block;
    }
    
    .callout-top-right::before,
    .callout-bottom-left::before {
        display: none;
    }
    
    .product-visual-wrapper {
        margin-bottom: 40px;
    }
    
    .customer-text-block {
        min-height: auto;
        padding: 20px;
        font-size: 16px;
    }
    
    .quality-icon {
        width: 50px;
        height: 50px;
    }
    
    .quality-icon i {
        font-size: 20px;
    }
    
    .certifications-slider-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 576px) {
    .yufan-group-section{
    padding-bottom: 10px !important;
}
    .section-title-oval {
        font-size: 16px;
        padding: 10px 30px;
    }
    
    .company-overview {
        font-size: 16px;
    }
    
    .feature-card {
    }
    
    .feature-card-image {
    }
}

