/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Yellowtail&display=swap');


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

@keyframes videoPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.9);
        opacity: 0;
    }
}


.hero-content {
    text-align: center;
}

h2.hero-badge {
    font-size: 48px;
    color: #fff;
    line-height: 55px;
    font-weight: 400;
    font-family: "Yellowtail", cursive;
}

h2.hero-subtitle {
    font-size: 76px;
    color: #fff;
    line-height: 91px;
    font-weight: 700;
    margin-bottom: 0;
}

h1.hero-title {
    font-size: 76px;
    color: #fff;
    line-height: 91px;
    font-weight: 700;
    margin-bottom: 13px;
}

p.hero-desc {
    font-size: 24px;
    color: #fff;
    line-height: 34px;
    font-weight: 700;
    letter-spacing: 8px;
}


/* wrapper */
.video-button-wrapper {
    position: relative;
}

/* nút play */
.video-button-wrapper .button.open-video {
    width: 70px;
    height: 70px;
    background: #e11b22;
    border-radius: 50%;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* icon play */
.video-button-wrapper .icon-play {
    color: #fff;
    margin-left: 3px;
    /* cho giống ảnh */
}

/* ripple circles */
.video-button-wrapper .button.open-video::before,
.video-button-wrapper .button.open-video::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(225, 27, 34, 0.35);
    transform: translate(-50%, -50%);
    animation: videoPulse 2.6s infinite;
    z-index: -1;
}

.video-button-wrapper .button.open-video::after {
    animation-delay: 1.3s;
}


.sec-3 .content-sub {
    font-weight: 600;
    line-height: 22px;
    font-size: 16px;
    color: #dd1d26;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 15px;
}

.sec-3 .title-sub {
    font-size: 18px;
    color: #7e7e7e;
    font-weight: 400;
    line-height: 1.8;
    padding-top: 10px;
}

.content-sub {
    font-weight: 600;
    line-height: 22px;
    font-size: 16px;
    color: #dd1d26;
    text-align: center;
    letter-spacing: 2px;
}


.heading-title h2 {
    color: #000;
    line-height: 55px;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

.heading-title h2 span {
    position: relative;
    display: inline-block;
}

.heading-title h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 15px;
    background-color: rgba(221, 29, 38, 0.3);
    background: linear-gradient(101.31deg, #b1f1b3 2.11%, #f3eec2 105.05%);
    z-index: -1;
}

.title-sub {
    font-size: 18px;
    color: #7e7e7e;
    font-weight: 400;
    line-height: 1.8;
    padding-top: 5px;
}


.imgbox-arrow {
    position: relative;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
}

.imgbox-footer {
    display: flex;
    align-items: center;
}

.imgbox-title {
    font-size: 20px;
    margin-right: auto;
    font-weight: 600;
    color: #000;
}

.imgbox-arrow::after {
    content: "\f178";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 16px;
    line-height: 1;
}


.imgbox-arrow::after:hover {
    color: #fff;
}


.imgbox-arrow:hover {
    background: #e11b22;
}

.col-hover-ani {
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.col-hover-ani:hover {
    transform: translateY(-8px);
}


.imgbox-title,
.imgbox-arrow,
.imgbox-arrow::after {
    transition:
        color 0.25s ease,
        background-color 0.3s ease,
        transform 0.35s cubic-bezier(.4, 0, .2, 1);
}


.col-hover-ani:hover .imgbox-title {
    color: #e11b22;
}


.col-hover-ani:hover .imgbox-arrow {
    background-color: #e11b22;
}


.col-hover-ani:hover .imgbox-arrow::after {
    color: #fff;
    transform: translate(-50%, -50%);
}


.col-hover-ani .box-text.text-center {
    padding: 17px;
}


.col-hover-ani .box {
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.bts-cus span:after {
    content: "\f08e";
    font-family: 'FontAwesome';
    position: absolute;
    padding-left: 4px;
}

.bts-cus {
    background-color: #DD1D26;
    padding: 7px 47px 7px 33px;
}

.bts-cus-1 {
    background-color: #DD1D26;
    padding: 7px 33px 7px 33px;
}

.img-absolute {
    position: absolute;
}

.shape-2 {
    top: 371px;
    right: 69px;
    z-index: 2;
}

.shape-1 {
    top: 65px;
    z-index: 1;
    right: 80px;
}

.shape-3 {
    z-index: 2;
}


.stat-number {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
}

.stat-label {
    color: #7e7e7e;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}

.col-cus-bg {
    position: relative;
    overflow: visible;
}

.col-cus-bg::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -42%;
    width: 55vw;
    height: 55vw;
    background: url("/wp-content/uploads/2025/12/ellipse-22.png") no-repeat center / contain;
    z-index: 0;
    pointer-events: none;
}


.iconbox-icon {
    font-family: "pricon";
    font-size: 48px;
    display: inline-block;
    background: linear-gradient(135deg, #e11b22, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


h6.iconbox-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    color: #000;
    text-transform: math-auto;
    transition: color 0.4s ease;
}

h6.iconbox-title:hover {
    color: #DD1D26;
}

p.iconbox-decription {
    font-size: 16px;
}


.imgbox-cus.box-vertical {
    display: flex;
    align-items: flex-start;
}


.imgbox-cus.box-vertical .box-image {
    margin-top: 22px;
}


.accordion-title {
    border: none;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-item {
    background-color: #f8f8f8;
    color: #000;
    font-weight: 600;
    border-radius: 5px;
}


.accordion-title.active {
    background: linear-gradient(101.31deg, #ff869f 2.11%, #fa988a 34.14%, #f19a73 68.81%, #ffd0b1 105.05%);
    box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}



.accordion .accordion-title .toggle {
    left: auto !important;
    right: 0 !important;
    margin-right: 0;
}

.accordion-title.active {
    color: #fff;
}

.accordion-inner {
    background: #fff;
}

.banner-custom {
    border-radius: 10px;
    overflow: hidden;
}

.badge.absolute.top.post-date.badge-outline {
    display: none;
}

.shape-4 {
    top: 37%;
    left: 3%;
}

.shape-6 {
    top: 67%;
    left: 6%;
}

.shape-7 {
    z-index: 999999;
}

.shape-5 {
    top: -19%;
    right: 6%;
}

.sec-4 {
    padding-bottom: 60px !important;
}


/* ===== IMAGE BOX HOVER OVERLAY ===== */
.box-over {
    position: relative;
    overflow: hidden;
}

/* Ảnh zoom nhẹ khi hover */
.box-over img {
    transition: transform .6s ease;
}

.box-over:hover img {
    transform: scale(1.06);
}

/* Text overlay mặc định ẩn */
.box-over .box-text {
    opacity: 0;
    transform: translateY(16px);
    transition: all .35s ease;
    justify-content: flex-end;
    padding-bottom: 32px;
}

/* Hover hiện text */
.box-over:hover .box-text {
    opacity: 1;
    transform: translateY(0);
}


/* ===== Gradient overlay chỉ tối phần dưới ===== */
.box-over .box-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.35) 25%,
            rgba(0, 0, 0, 0.15) 45%,
            rgba(0, 0, 0, 0) 65%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
}

.box-over:hover .box-image::after {
    opacity: 1;
}


/* Text luôn nằm trên overlay */
.box-over .box-text {
    z-index: 2;
}

/* Title */
.box-over h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Subtitle */
.box-over p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}




/* ===== BOX SOC OI - BASE ===== */
.box-socoi {
    position: relative;
    background: #fff;
    border-radius: 2px;
    overflow: visible;
    transition: transform .3s ease;
}

/* hover nhấc card */
.box-socoi:hover {
    transform: translateY(-10px);
}

/* ===== IMAGE ===== */
.box-socoi .box-image {
    transition: transform .3s ease;
}

/* hover: ảnh nhấc thêm */
.box-socoi:hover .box-image {
    transform: translateY(-8px);
}

/* ===== TEXT AREA ===== */
.box-socoi .box-text {
    padding: 16px 10px 16px 24px;
    position: relative;
}

.box-socoi .box-text-inner {
    position: relative;
    height: 100%;
}

/* text mặc định */
.box-socoi .box-text-inner .text {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all .3s ease;
}

/* icon mặc định (ẩn) */
.box-socoi .box-text-inner .social-icons {
    position: absolute;
    left: 20%;
    bottom: 28%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .3s ease;
}

/* ===== HOVER: SWAP TEXT / ICON ===== */
.box-socoi:hover .box-text-inner .text {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.box-socoi:hover .box-text-inner .social-icons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== TYPO ===== */
.box-socoi h4 {
    color: #000;
    font-size: 20px;
    margin-bottom: 4px;
}



.box-socoi p {
    font-size: 18px;
    margin: 0;
}

/* Contact Form 7 Custom Style */
.cf7-custom-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.cf7-custom-form .hide-label {
    display: none;
}

.cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cf7-col {
    flex: 1;
}

.cf7-col.full-width {
    width: 100%;
}

.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form textarea {
    width: 100%;
    background-color: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: none;
    margin-bottom: 0;
}

.cf7-custom-form input[type="text"]:focus,
.cf7-custom-form input[type="email"]:focus,
.cf7-custom-form textarea:focus {
    background-color: #fff;
    border-color: #ddd;
}

.cf7-custom-form textarea {
    height: 150px;
    resize: vertical;
}

.cf7-submit-row {
    text-align: center;
    margin-top: 30px;
}

.col-contact {
    box-shadow: 9px 10px 10px -3px rgba(0, 0, 0, 0.1);
    background-color: white;
}


.cf7-custom-form input[type="submit"] {
    background-color: #e11b22;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 4px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 6px rgba(225, 27, 34, 0.2);
    display: inline-block;
    width: auto;
    margin-top: 0;
}

.cf7-custom-form input[type="submit"]:hover {
    background-color: #c9151b;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(225, 27, 34, 0.3);
}

@media (max-width: 600px) {
    .cf7-row {
        flex-direction: column;
        gap: 15px;
    }
}




/* ===== CUSTOM PRODUCT GRID STYLING ===== */

/* 1. Card Container Styling */
.product-small .col-inner {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    /* Subtle border */
    overflow: hidden;
    /* For image zoom containment */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-bottom: 10px;
    /* Add some space at bottom */
}

/* Hover: Lift and Shadow */
.product-small:hover .col-inner {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* 2. Image Area */
.product-small .box-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

/* Image Zoom Effect */
.product-small .box-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    will-change: transform;
}

.product-small:hover .box-image img {
    transform: scale(1.08);
    /* Smooth subtle zoom */
}

/* 3. Quick View Button Styling - HIDDEN as requested */
.product-small .image-tools.grid-tools {
    display: none !important;
}

.product-small a.quick-view {
    display: none !important;
}

/* 4. Text Content */
.product-small .box-text {
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

/* Title Styling */
.product-small .product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-small .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
}

.product-small:hover .product-title a {
    color: #e11b22;
    /* Highlight title on hover */
}

/* Price Styling (if present in wrapper) */
.product-small .price-wrapper .price {
    color: #e11b22;
    font-weight: 700;
    font-size: 15px;
}

/* 5. Badges (Sale/New) */
.product-small .badge-container {
    margin: 10px;
}

.product-small .badge {
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.box-count {
    background-color: #fff;
    height: 155px;
    width: 270px;
    display: flex;
    align-items: center;
    padding-left: 26px;
    border-radius: 5px;
    box-shadow: 9px 10px 10px -3px rgba(0, 0, 0, 0.1);
}

.stat-number-1 {
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #ff8aae 0%, #ffaf7b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* standard property */
    display: inline-block;
}

/* FIX: Ensure the inner count-up span inherits the gradient */
.stat-number-1 span,
.stat-number-1 .count-up {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-1 {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

.custom-dis {
    display: flex;
}












/* GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* BOX */
.stat-box {
    background: #fff;
    padding: 32px;
    border-radius: 6px;
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* LỆCH CÓ CHỦ Ý */
.stat-box.is-offset {
    transform: translateY(14px);
}

/* NUMBER WRAP */
.stat-number {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

/* COUNT-UP (SỐ CHẠY) */
.stat-number .count-up {
    font-size: 42px;
    font-weight: 600;
    color: #ff8a8a;
    line-height: 1;
    background: linear-gradient(90deg, #ff8aae 0%, #ffaf7b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* UNIT ($, M, +) */
.stat-number .unit {
    font-size: 42px;
    font-weight: 600;
    color: #ff8a8a;
    line-height: 1;
    background: linear-gradient(90deg, #ff8aae 0%, #ffaf7b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TEXT */
.stat-box p {
    margin: 8px 0 0;
    color: #777;
}

/* MOBILE */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box.is-offset {
        transform: none;
    }
}


strong.testimonial-name.test_name {
    color: #000;
    font-size: 24px;
}

span.testimonial-name-divider {
    color: #9f9f9f;
}

span.testimonial-company.test_company {
    color: #9f9f9f;
    font-size: 22px;
}


.flickity-page-dots {
    bottom: 0 !important;
}