/*
Theme Name: Sao Kim Digital
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Sao Kim Digital
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: saokimdigital
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
body {	
   font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
   text-rendering: optimizeLegibility; //tối ưu cho web sử dụng nhiều nội dung văn bản
   text-rendering: optimizeSpeed; //tối ưu cho tốc độ hiển thị 

    -webkit-font-smoothing: antialiased; // chống răng cưa cho font chữ trên trình duyệt webkit (Chrome, Safari)
    -moz-osx-font-smoothing: grayscale; // chống răng cưa cho font chữ trên trình duyệt Firefox trên macOS
}

.max_line_2,
.max_line_2 a,
.max_line_2 p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_2.opened+.show-more-icon {
    display: none;
}

.max_line_2.opened p {
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: block !important;
}

.max_line_3,
.max_line_3 a,
.max_line_3 p {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_2_text,
.max_line_2_text a,
.max_line_2_text p {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}


.logo_carousel {
    overflow-x: clip;
    position: relative;
    width: 100%;
}

.logo_carousel_track {
    display: flex !important;
    align-items: center;
    gap: 40px;
    will-change: transform;
}

@media screen and (max-width: 967px) {
    .logo_carousel_track {
        gap: 40px;
    }
}

.logo_carousel_track .logo_carousel_img {
    height: 100%;
    flex-shrink: 0;
    /*padding: 10px 30px;*/
    width: 174px;
    /*aspect-ratio: 16/9;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.logo_carousel_track .logo_carousel_img img {
    width: 100%;
    height: 80px;
    transition: filter 0.3s ease;
    border-radius: 12px;
    opacity: 0.8;
}

.logo_carousel_track .logo_carousel_img:hover img {
    filter: none;
    opacity: 1;
}

@media only screen and (max-width: 600px) {
    .logo_carousel_track .logo_carousel_img {
        width: 180px;
    }
}


.button-hover .elementor-button {
    position: relative;
    display: inline-flex;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-hover .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6FDF90 0%, #097040 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.button-hover .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 89, 54, 0.35);
}

.button-hover .elementor-button:hover::before {
    opacity: 1;
}

.button-hover .elementor-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(8, 89, 54, 0.2);
}

.elementor-button-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.elementor-button-icon {
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-hover .elementor-button:hover .elementor-button-icon {
    transform: translate(2px, -2px);
}

.elementor-button-icon svg {
    width: 18px;
    height: 18px;
}

.elementor-button-icon svg path {
    transition: fill 0.3s ease;
}


.fixed-contact-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    align-items: center;
    background: #085936;
    border-radius: 50px;
    padding: 10px;
    z-index: 9999;
    flex-direction: column;
    width: 60px;
    height: 60px;
    animation: pulse-glow 2s infinite;
    transition: transform 0.3s ease;
}



.fixed-contact-btn span {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
    box-shadow: 0 0 0 rgba(8, 89, 54, 0.6);

}

.fixed-contact-btn:hover {
    transform: scale(1.1);
}

/* Vòng sáng tỏa ra mượt */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 89, 54, 0.6);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(8, 89, 54, 0.3);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(8, 89, 54, 0);
    }
}

.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background: #EFEFEF;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    content: '';
    position: absolute;
    background-image: url("assets/images/arrow_bottom.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    color: #6EBF5D;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #6EBF5D;
    /* --- Lijn progres kleur --- */
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.rank-math-breadcrumb .separator {
    margin: 0 9px;
}

.rank-math-breadcrumb span,
.rank-math-breadcrumb a {
    color: rgba(0, 0, 0, 0.50);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

@media screen and (max-width: 767px) {

    .rank-math-breadcrumb span,
    .rank-math-breadcrumb a {
        font-size: 14px !important;
    }

    .rank-math-breadcrumb .separator {
        margin: 0 4px;
    }
}

.rank-math-breadcrumb a:hover {
    color: #6EBF5D;
}

.my_img_animation {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.my_img_animation img {
    display: block;
    width: 100%;
    height: auto;
}

/* Tạo vệt sáng nghiêng */
.my_img_animation::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
    pointer-events: none;
}


.my_img_animation:hover::after {
    animation: shine-once 0.8s forwards;
}

@keyframes shine-once {
    from {
        left: -75%;
    }

    to {
        left: 125%;
    }
}

/* Container timeline */
.timeline-container {
    display: flex;
    flex-direction: column;
}

/* Mỗi dòng trong timeline */
.timeline-row {
    display: flex;
    transition: all 0.3s ease;
}

/* Định vị các phần tử theo chiều trái/phải */
.timeline-row.left {
    flex-direction: row;
}

.timeline-row.right {
    flex-direction: row-reverse;
}

/* Hiển thị ảnh đại diện */
.timeline-image img {
    width: 100%;
    height: 345px;
    object-fit: cover;
    object-position: center center;
    border-radius: 28px;
}

/* Phần nội dung của timeline */
.timeline-content {
    max-width: 600px;
}

/* Tiêu đề và mô tả */
.timeline-content h3 {
    color: #085936;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 48px */
    text-transform: uppercase;
    border-bottom: 1px solid #0000001A;
}

.timeline-container .left h3 {
    padding-left: 40px;
    position: relative;
}

.timeline-container .right h3 {
    padding-right: 40px;
    position: relative;
    text-align: right;
}

.timeline-container .right h3:before {
    content: "";
    position: absolute;
    right: -7px;
    bottom: 0;
    transform: translateY(50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6EBF5D;
    z-index: 0;
}

.timeline-container .left h3:before {
    content: "";
    position: absolute;
    left: -7px;
    bottom: 0;
    transform: translateY(50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6EBF5D;
    z-index: 0;
}

.timeline-content p,
.timeline-content li {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

/* Căn chỉnh các item timeline khi ở trạng thái "left" hoặc "right" */
.timeline-row.left .timeline-image {
    width: 50%;
    padding: 0 40px 20px 0px;
}

.timeline-row.right .timeline-image {
    width: 50%;
    border-left: 1px solid #0000001A;
    padding: 0px 0px 20px 20px;
}

.timeline-row.left .timeline-content {
    text-align: left;
    border-left: 1px solid #0000001A;
    width: 50%;
}

.timeline-row.right .timeline-content {
    text-align: left;
    width: 50%;
}

.timeline-row.right .timeline-content ul {
    padding-right: 40px;
}

@media screen and (max-width: 967px) {

    .timeline-content p,
    .timeline-content li {
        font-size: 14px;
    }

    .timeline-image img {
        height: 260px !important;
        border-radius: 28px !important;
    }
}

@media screen and (max-width: 767px) {
    .timeline-row.left .timeline-image {
        width: 100%;
        padding: 0px;
    }

    .timeline-row.right .timeline-image {
        width: 100%;
        padding: 0px;
    }

    .timeline-row.left .timeline-content {
        width: 100%;
    }

    .timeline-row.right .timeline-content {
        width: 100%;
        border-left: 1px solid #0000001A;
    }

    .timeline-row.left {
        flex-direction: column;
    }

    .timeline-row.right {
        flex-direction: column;
    }

    .timeline-row.right .timeline-content ul {
        padding-right: 0px;
    }

    .timeline-container .right h3:before {
        left: -7px;
    }

    .timeline-row.right .timeline-content {
        text-align: left;
    }

    .timeline-container .right h3 {
        padding-left: 40px;
    }
}

.slick-slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px !important;
}

.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #0201011A;
}

.subcategory-header a {
    color: #6EBF5D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.subcategory-header h3 {
    color: #085936;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.subcategory-header a {
    color: #6EBF5D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.subcategory-header a:hover {
    color: #085936;
}

.slider-wrapper .slick-list {
    padding-top: 20px;
}

.subcategory-section .product-title {
    font-weight: 500;
    color: #085936;
    font-family: Inter;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
}

.product-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px 20px;
}


.slider-wrapper {
    position: relative;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 50px !important;
    height: 50px !important;
    border-radius: 25px;
    border: 1px solid #6EBF5D;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.slider-prev:hover,
.slider-prev:focus,
.slider-next:hover,
.slider-next:focus {
    background: #6EBF5D;
}

.slider-prev:hover svg,
.slider-prev:focus svg,
.slider-next:hover svg,
.slider-next:focus svg {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.slider-prev {
    left: -70px;
}

.slider-next {
    right: -70px;
}

.product-slider .product-item {
    background: #6EBF5D1A;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.6s ease;
}

.product-slider .product-item:hover {
    border-color: #085936;
}

.product-slider .product-item:hover .product-title-icon {
    background: #085936;
}

.slider-wrapper .slick-list {
    margin: 0 -15px;
}

.slider-wrapper .product-title-icon {
    padding: 8px 8px 8px 13px;
    background: #6EBF5D;
    border-radius: 20.343px 4px 20.343px 20.343px;
}

.subcategory-section+.subcategory-section {
    margin-top: 97px;
}

.view-all-link {
    align-items: center;
    display: flex;
    gap: 2px;
}

.slick-track {
    display: flex !important;
    gap: 30px;
    /* cách đều 30px */
}

.slick-list {
    margin: 0 !important;
    /* bỏ margin bù */
}

@media screen and (max-width: 1550px) {
    .subcategory-header h3 {
        font-size: 28px !important;
    }

    .slick-slide img {
        width: 100%;
        height: 300px !important;
    }

    .slick-track {
        gap: 20px;
    }

    .slider-prev {
        left: -40px;
    }

    .slider-next {
        right: -40px;
    }
}


@media screen and (max-width: 967px) {
    .subcategory-header h3 {
        font-size: 24px !important;
    }

    .slick-slide img {
        width: 100%;
        height: 320px !important;
    }

    .slick-track {
        gap: 20px;
    }

    .my_img_animation {
        display: flex !important;
    }

    .slider-prev {
        left: 0px !important;
    }

    .slider-next {
        right: 0px !important;
    }
}

@media screen and (max-width: 767px) {
    .timeline-container .right h3 {
        text-align: left;
    }

    .subcategory-header h3 {
        font-size: 22x !important;
    }

    .subcategory-header a {
        font-size: 14px !important;
    }

    .slick-slide img {
        width: 100%;
        height: 300px !important;
    }

    .slider-prev,
    .slider-next {
        width: 40px !important;
        height: 40px !important;
    }

    .subcategory-section .product-title {
        font-size: 14px !important;
    }

    .slick-track {
        gap: 5px !important;
    }

    .my_img_animation {
        display: flex;
    }

    .slider-prev {
        left: 0px !important;
    }

    .slider-next {
        right: 0px !important;
    }
}