/* BANNER */
/* ====================
*   Banner
*  ==================== */
.home-banner .banner .text-box {
    z-index: 2;
}

.home-banner .banner .fill.banner-bg::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-linear-1) 20%, #2d3171 40%, transparent)
}

/* Problem & WCU */
/* ====================
*   Problem & WCU
*  ==================== */
.problem-footer {
    padding: 1rem 4rem;
    background: var(--color-linear-1);
    color: white;
    border-radius: 1rem;
}

.icon-box.icon-box-problem,
.icon-box.icon-box-wcu {
    background: #fff;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .2) !important;
    padding: 1.25rem 2rem;
    border-radius: .75rem;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    transition: all 1s ease;
    cursor: default;
}

.problem-wrapper .col-inner,
.wcu-wrapper .col-inner {
    height: 100%;
}

.icon-box.icon-box-problem .icon-box-text,
.icon-box.icon-box-wcu .icon-box-text {
    flex: 1;
}

.icon-box.icon-box-wcu {
    padding: 1rem;
}

.problem-wrapper .icon-box.icon-box-problem .icon-box-img img {
    transition: all 1s ease;
}

/* Problem Hover */
.problem-wrapper .icon-box.icon-box-problem {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.problem-wrapper .icon-box.icon-box-problem:hover {
    cursor: pointer;
    transform: translateY(-5%);
    box-shadow: 0 0 1.5rem var(--color-linear-1) !important;
}

.problem-wrapper .icon-box.icon-box-problem:hover .icon-box-img img {
    transform: rotateY(360deg) scale(1.1);
}

/* WCU */
.wcu-wrapper ul {
    list-style: none !important;
}

.wcu-wrapper ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
}

.wcu-wrapper ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    font-family: monospace;
}

.wcu-wrapper .element-num {
    position: absolute;
    top: 0.25rem;
    left: 0.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-secondary);
    background: none;
    padding: 0;
    line-height: 1;
    z-index: 1;
}

/* WCU Animated Border Dash */
.wcu-wrapper .icon-box img {
    padding: .375rem;
    border: 2px solid var(--color-linear-2);
    border-radius: 25%;
    transition: all .5s ease;
}

.wcu-wrapper .icon-box .icon-box-img {
    position: relative;
    display: inline-flex;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover img {
    border-color: transparent;
    padding: .25rem;
}

.wcu-wrapper .icon-box .icon-box-img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25%;
    padding: 2px;
    background: repeating-linear-gradient(to right, var(--color-linear-2) 0, var(--color-linear-2) 8px, transparent 8px, transparent 16px);
    background-size: 32px 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover .icon-box-img::after {
    opacity: 1;
    animation: dash-move-left-to-right 0.6s linear infinite;
}

.wcu-footer .col-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.wcu-footer .icon-box {
    width: auto !important;
}

.wcu-footer a.button {
    margin: 0 !important;
}

/* WCU Hover Effect (Sang & Nhẹ nhàng - Không trùng Problem) */
.wcu-wrapper .icon-box.icon-box-wcu {
    transition: box-shadow 0.5s ease;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.wcu-wrapper .element-num {
    transition: all 0.4s ease;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover .element-num {
    -webkit-text-stroke-color: var(--color-secondary);
    transform: scale(1.15);
}

.wcu-wrapper ul li {
    transition: transform 0.4s ease;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover ul li {
    transform: translateX(.25rem);
}

.wcu-wrapper ul li::before {
    transition: color 0.4s ease;
}

.wcu-wrapper .icon-box.icon-box-wcu:hover ul li::before {
    color: var(--color-secondary);
}

/* TESTIMONIALS */
/* COMMENT SLIDER CUSTOM */
.comment-slider {
    position: relative;
    padding: 0 3.125rem;
    display: flex !important;
    justify-content: center;
}

.comment-slider .slick-list {
    max-width: 90% !important;
}

.comment-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.comment-slider .slick-slide {
    height: auto !important;
    display: flex !important;
}

.comment-slider .col {
    height: auto !important;
    display: flex;
}

.comment-slider .col-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100% !important;
}

.comment-slider .icon-box {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 100%;
}

.comment-slider .icon-box-text {
    flex: 1 !important;
    padding-left: 15px;
}

.comment-slider .icon-box-text .testimonial-text {
    margin-bottom: 15px;
}

/* Style cho từng card Testimonial (Tùy biến theo DOM Flatsome) */
.comment-slider .col-inner {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: .75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    height: 100%;
    transition: all 0.3s;
}

/* Custom Nút Next/Prev */
.comment-slider .slick-next:before,
.comment-slider .slick-prev:before {
    display: none;
}

.comment-slider .slick-prev,
.comment-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-slider .slick-prev:hover,
.comment-slider .slick-next:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.comment-slider .slick-prev {
    left: 1rem;
}

.comment-slider .slick-next {
    right: 1rem;
}

.comment-slider .slick-prev i,
.comment-slider .slick-next i {
    font-size: 1.5rem !important;
}

.comment-slider .testimonial-box .icon-box-text {
    color: #fff;
}

.comment-slider .testimonial-image,
.comment-slider .testimonial-image img {
    min-width: 3rem !important;
    max-width: 4rem !important;
    width: 100%;
}

.comment-slider .testimonial-meta {
    display: flex;
    flex-direction: column;
}

.comment-slider .testimonial-meta span.testimonial-company.test_company {
    font-size: .875rem;
}

.comment-slider .testimonial-meta .testimonial-name-divider {
    display: none !important;
}

/* MEDIA */
@media screen and (max-width: 1025px) {
    .home-banner .text-box {
        width: 60% !important;
    }
}

@media screen and (max-width: 821px) {
    .problem-footer {
        padding: 1rem 2rem;
    }

    .home-banner .text-box {
        width: 75% !important;
    }
}

@media screen and (max-width: 769px) {
    .wcu-footer .col-inner {
        flex-direction: column;
        text-align: center;
    }

}

@media screen and (max-width: 431px) {
    .problem-footer {
        padding: .75rem 1rem;
        font-size: .875rem;
    }

    .home-banner .text-box {
        width: 95% !important;
    }

    .wcu-footer .col-inner {
        align-items: normal;
    }

    .comment-slider .icon-box {
        flex-flow: column;
    }

    .comment-slider .testimonial-image {
        margin: 0 auto .5rem !important;
    }

    .comment-slider .star-rating {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .comment-slider .icon-box-left .icon-box-img+.icon-box-text {
        padding-left: 0 !important;
    }

    /* Slick */
    .comment-slider .slick-next {
        right: .25rem;
    }

    .comment-slider .slick-prev {
        left: .25rem;
    }
}

@media screen and (max-width: 376px) {}