:root {
    /* Primary Colors */
    --primary-color-2: #80b450;
    --accent-color: #ab8816;
    --light-blue: #dae9cc;

    /* Secondary Colors */
    --secondary-color: #f4cb47;

    /* Neutral Colors */
    --neutral-gray: rgb(70, 70, 70);
    --white: #FFFFFF;
    --black: #000000;
}
@font-face {
    font-family: 'Baloo';
    src: url('/wp-content/fonts/baloo/Baloo2-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Baloo';
    src: url('/wp-content/fonts/baloo/Baloo2-ExtraBold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Baloo';
    src: url('/wp-content/fonts/baloo/Baloo2-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.baloo {
    font-family: "Baloo" !important;
}
.form__submit input{
    background-image: url('/wp-content/uploads/2024/10/button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent !important;
    width: 160px !important;
 
}
.wpcf7-form {
    max-width: 400px;
}
.form__item input,.form__item textarea{
    padding: 1rem .8rem !important;
    border-radius: 10px !important;
    font-size: 1.5rem !important;
}
.custom__title{
    font-size: 2rem;
    color: #fff;
    text-align: center;
}
/* Backgrounds */

body {
    background-color: var(--light-blue);
    color: var(--neutral-gray);
}

.header, .footer {
    background-color: var(--primary-color);
    color: var(--white);
}

.button-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0px 20px;
    border-radius: 5px;
}

.button-primary:hover {
    background-color: var(--primary-color);
}
.tabbed-content ul{
    background-color: #f0f6ea;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}
.tabbed-content ul::after{
    content: '';
    display: block;
    clear: both;
    width: 100%;
    height: 5px;
    background-color: #9dc578;
}
.tabbed-content ul li {
    margin: 0 3rem;
    padding: 0 2rem;
}
.tabbed-content li.active a span,.tabbed-content li:hover a span{
    color: #47741d !important;
}
.tabbed-content li.active a:before{
    background-color: #9dc578 !important;
}
.tabbed-content .nav-line-bottom>li>a:before,.tabbed-content li.active>a:before{
    bottom:-5px !important;
    height:5px !important;
    background-color: #47741d !important;
    z-index: 100;
}
.map__wrapper {
    flex-grow: 1; /* Kéo giãn để chiếm toàn bộ không gian */
    flex-basis: 0; /* Đảm bảo kích thước tối thiểu */
    max-width: 100%;
    min-height: 400px; /* Đặt chiều cao tối thiểu cho bản đồ */
    display: flex; /* Đặt flex để đảm bảo các phần tử con được căn chỉnh đúng */
    border-radius: 20px;
    overflow: hidden;
}

.map__wrapper .col-inner {
    flex-grow: 1; /* Kéo giãn col-inner */
}

.map__wrapper iframe, .map__wrapper p{
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    height: 100%; /* Chiếm toàn bộ chiều cao */
    border: 0; /* Xóa viền của iframe */
    margin:0;
}

form{
    margin:0 !important;
}
/* Texts */
h1, h2, h3, h4, h5, h6 {
    color: var(--accent-color);
}
.background__primary{
    background-color: var(--primary-color-2);
}
p, a, li {
    color: var(--neutral-gray);
    font-size: 1.2rem;
}
.post-title a{
    font-size: 1.5rem !important;
}

#wrapper a{
    color: var(--accent-color);
}
#wrapper .testimonials-section a{
    color: var(--white) !important;
}
#wrapper .testimonials-section a:hover{
    color: var(--white) !important;
}
#wrapper a:hover {
    color: var(--primary-color-2) !important;
}
.rounded__box img{
    border-radius: 20px;
}
.rounded__box{
    transition: 0.5s;
}
.rounded__box:hover{
    transform: translateY(-10px);
    transition: 0.5s ease-in-out;
}
.top_bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}
.text__box__white *{
    color: var(--white);
}
.text__box__white h1{
    font-size: 3.5rem;
}
.text__box h1{
    color: var(--primary-color-2);
    font-size: 3.5rem;
}
.text__box p{
    color: var(--neutral-gray);
    text-align: justify;
}
.image__box h2{
    color: var(--white);
    font-size: 1.5rem;
}
.image__box p{
    color: var(--white);
}
.image__box{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(101, 136, 231, 0.7);
}
.box-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.box-image:hover::before {
    left: 150%;
    transition: left .8s;

}
.badge-inner{
    background-color: var(--accent-color) !important;
    color: #333 !important;
}
.product-small {
    border-radius: 20px;
    overflow: hidden;
}
.product-small .woocommerce-loop-product__title a{
    font-size: 1.25rem !important;
    padding-bottom: 1rem;
    color: var(--accent-color);
}
.woocommerce-Price-amount{
    font-size: 1.25rem !important;
}
.image__box .box-text{
    background-color: var(--accent-color);
    padding: 1rem;
}
.fas{
    color: var(--primary-color-2);
    margin-bottom: 2rem;
}
.icon-container+h1{
    color: var(--accent-color);
    font-size: 2.5rem !important;
}

.swiper-container {
    width: 100%;
    height: 400px;
}

.swiper-slide {
    overflow: hidden; /* Ẩn phần thừa của ảnh */
    transition: all 0.5s ease; /* Hiệu ứng chuyển đổi mượt mà */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Dùng để cắt ảnh vừa khung */
    transition: all 0.5s ease; /* Hiệu ứng chuyển đổi cho ảnh */
    border-radius: 20px; /* Tạo bo tròn */
}

/* Slide đang active có tỷ lệ 4:3 */
.swiper-slide-active {
    flex: 0 0 60%; /* Chiếm 60% chiều rộng slider */
    height: 100%; /* Chiều cao đầy đủ */
}

/* Các slide không active có tỷ lệ 9:16 */
.swiper-slide:not(.swiper-slide-active) {
    flex: 0 0 20%; /* Chiếm 20% chiều rộng slider */
    height: 70%; /* Chiều cao giảm xuống */
}

 
.decorated-list {
    counter-reset: list-counter; /* Đặt lại bộ đếm */
    list-style: none; /* Ẩn dấu list mặc định */
    padding-left: 0;
}

.decorated-list li {
    counter-increment: list-counter; /* Tăng bộ đếm */
    margin: 20px 0;
    position: relative;
    padding-left: 5rem; /* Khoảng cách để con số không chạm nội dung */
}

.decorated-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0; /* Vị trí con số */
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: #2A9DF4; /* Màu nền cho con số */
    color: white; /* Màu chữ */
    border-radius: 50%; /* Bo tròn thành hình tròn */
    text-align: center;
    font-weight: bold; /* Đậm hơn */
    font-size: 1.2em; /* Kích thước lớn hơn */
}
.feature__section{
    background-color: var(--accent-color);
    padding-top: 5rem !important;
}
.feature__section .text__box *{
    color: var(--white);
}
.button__white button{
    background-color: var(--white);
    color: var(--accent-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}
/* Container chính */
.testimonials-section {
    text-align: center;
    padding: 50px;
    background-color: var(--primary-color-2);
    position: relative;
}

/* Vùng hình ảnh testimonials */
.testimonials-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

/* Ảnh tròn testimonials */
.testimonial img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Tạo hình ảnh tròn */
    object-fit: cover; /* Ảnh vừa khít vùng tròn */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Nội dung chính */
.testimonials-content {
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--white);
}

.testimonials-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--white);
}

/* Styling cho icon sao */
/* Styling cho icon sao */
.star-rating {
    margin-bottom: 20px;
}

.star-rating i {
    font-size: 1.5em;
    color: #FFD700; /* Màu vàng cho sao */
    margin-right: 5px;
}


/* Nút bấm */
.testimonials-content .button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.testimonials-content .button:hover {
    background-color: #1976D2;
}
/* Container chính của form */
.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    margin: 0 auto;
    border-radius: 10px; /* Bo tròn góc */
    background-color: #2A9DF4; /* Màu nền */
    box-shadow: 0 0 15px rgba(42, 157, 244, 0.6);
    font-family: Arial, sans-serif;
}
.background__primary .contact-form-container{
    background-color: var(--light-blue);
}
.background__primary .contact-form-container *{
    color: var(--neutral-gray) !important;
}
.contact-form-container * {
    color: white;

}

/* Styling cho các input text */
.flex-input {
    padding: 10px;
    border: none;
    border-radius: 5px; /* Bo tròn input */
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

/* Styling cho checkbox theo hàng ngang */
.flex-checkbox {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-direction: column;

}

.flex-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.flex-checkbox input[type="checkbox"] {
    margin-right: 5px;
}
button.ux-relay__button{
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s;
}
/* Styling cho nút submit */
.flex-submit {
    padding: 10px 20px;
    border: none;
    border-radius: 5px; /* Bo tròn nút */
    background-color: #FFB74D; /* Màu cam nổi bật */
    color: #333;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;}

/* Hiệu ứng hover cho nút */
.flex-submit:hover {
    background-color: #FF9800 !important; /* Màu đậm hơn khi hover */
    box-shadow: 0 0 12px rgba(255, 183, 77, 0.8), 0 0 20px rgba(255, 183, 77, 0.6);
}
.footer__section{
    background-color: var(--light-blue);
    color: var(--white);
    padding: 5rem 0;
}
.footer__section h3{
    color: var(--accent-color);
    font-size: 2rem;
}
.flex__container{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}
.flex__container p,.flex__container a{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    color: #333 !important;
}
.absolute-footer{
    background-color: var(--primary-color-2) !important;
    color: var(--white);
    padding:5px !important;
    text-align: center !important;
}
.absolute-footer .copyright-footer{
    color: var(--white) !important;
    padding: 0;
    line-height: 1 !important;
}
#wrapper .absolute-footer a{
    color: var(--secondary-color) !important;
}
#wrapper .absolute-footer a:hover{
    color: var(--secondary-color) !important;
}
.post-item .col-inner{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px 3px rgba(101, 136, 231, .8);
}
.post-item .box-text{
    padding: 1rem;
}
.entry-title {
    font-size: 2rem !important;
    color: var(--accent-color) !important;
}
.map__wrapper>div>p{
    border-radius: 20px;
    overflow: hidden;
}
.padding__text>div{
    padding: 2.5rem;
    border-radius: 20px;
}
.padding__text *,.padding__text a{
    color: #333 !important;
    font-size: 1.5rem;
}
.padding__text p{
    margin:0;
}
/* Keyframes cho hiệu ứng pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5); /* Kích thước tăng lên 1.5 lần */
        opacity: 0.5; /* Độ mờ giảm */
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes svgMovement {
    0% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg) !important;
        transform-style: preserve-3d;
    }

    50% {
        opacity: 0;
        transform: translate3d(50px, -50px, 0px) scale3d(1.1, 1.1, 1.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }

    51% {
        opacity: 0;
        transform: translate3d(-50px, 50px, 0px) scale3d(1.1, 1.1, 1.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }

    100% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px) scale3d(1.1, 1.1, 1.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }

}

