/* Overall */
#main_index {
    overflow: hidden;
    padding-bottom: 0px !important;    
    counter-reset: category;
}

#main_index .col-12 {
    padding: 0;
}

#main_index h1, h2, h3, h4, h5, h6, p{
    margin-bottom: 0;
}

a:hover {
    text-decoration: unset;
}

:root {
    --green-color: #0d7f3a;
    --primary-color: #276221;
    --sec-x: 8%;
    --sec-y: 5rem;
}

@media(max-width:576px){
    :root{
        --sec-x: 5%;
    }
}

/* Text */
.subtitle-style{
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 600;
}
.title-style{
    font-size: clamp(1.5rem, 2.05vw, 2.05vw);
    font-weight: 800;
}
.content{
    color: #555;
    font-size: clamp(.85rem, 1vw, 1vw);
    line-height: 1.85;
}

/* Btn */
.btn-group {
    gap: 1rem;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border-radius: 50px;
    border-style: none;
    padding: 8px 12px 8px 20px;
    transition: all .2s linear;
    font-size: clamp(.75rem, .8vw, .8vw);
    font-weight: 600;
    color: #0d7f3a;
    position: relative;
    overflow: hidden;

    &:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: #000;
        top: 0;
        left: -100%;
        transition: all .3s linear;
        z-index: -1;
        border-radius: 50px;
    }

    &.solid-green {
        color: #fff;
        background: #0d7f3a;

        &:before {
            background: var(--primary-color);
        }

        &:hover {
            background: transparent;
            transition:1s linear;

            &:before {
                left: 0;
            }
        }
    }

    &.outline-green {
        border: 1px solid #0d7f3a;
        background: transparent;

        &:hover {
            color: #fff;
            border-color: #424242;

            &:before {
                left: 0;
                background: #424242;
            }

            .btn-icon {
                filter: brightness(0) invert(1);
            }
        }
    }

    &:hover {
        background: var(--secondary-color);

        .btn-icon {
            margin-left: 10px;
        }
    }
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: all .3s linear;
}

/* Topspace */
.wp-ts {
    background: var(--primary-color);
}

.ts-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 1rem calc(var(--sec-x) + 2%);
}

.ts-box {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ts-box i {
    color: #fff;
    font-size: 20px;
}

.ts-box p {
    color: #fff;
    font-size: clamp(.85rem, 1.08vw, 1.08vw);
}

.ts-box a {
    color: #fff;
    font-size: clamp(.85rem, 1.08vw, 1.08vw);

    &:hover {
        opacity: .75;
    }
}

@media(max-width:1200px) {
    .ts-wrapper {
        padding: .75rem var(--sec-x);
    }

    .ts-box {
        gap: 1rem;
    }

    .ts-box:first-child {
        width: 50%;
    }

    .ts-box p {
        line-height: 1.25;
    }
}

/* Nav */
.navbar_type8 {
    height: 110px;
    background: #fff;
    padding: 0.7rem 0;
}

#main_index .navbar_type8 {
    height: 130px;
}

.navbar_type8 .logo {
    margin-left: calc(var(--sec-x) + 2%);
    flex: unset;
    min-width: 10%;
}

.navbar_type8 .logo img {
    padding: 0px;
    width: 100%;
}

.navbar_type8 .nav_tab {
    flex: unset;
    width: 100%;
    padding-right: calc(var(--sec-x) + 2%);
    gap: 3vw;
}

.navbar_type8 .nav_tab .nav_item:before {
    border-color: var(--primary-color);
    border-width: 2px;
    width: 0;
    transition: all .3s linear;
}

.navbar_type8 .nav_tab .nav_item a {
    color: #1a1a1a;
    padding: 0;
    font-size: clamp(.92rem, 1.1vw, 1.1rem);
    font-weight: 700;
}

.navbar_type8 .nav_tab .nav_item a:hover {
    color: var(--primary-color);
}

.navbar_type8 .nav_tab .nav_item:hover:before {
    width: 100%;
}

.dark_nav {
    background: rgba(255, 255, 255, 0.9) !important;
    height: 100px !important;
}

.navbar_mobile {
    background: #fff;
}

.navbar_mobile .row_1 {
    height: 100%;
    margin: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.navbar_mobile .logo_img {
    max-height: 60px;
}

@media(max-width:1200px) {
    .navbar_type8 {
        height: 100px;
    }

    .navbar_type8 .logo {
        margin-left: var(--sec-x);
    }

    .navbar_type8 .nav_tab {
        padding-right: var(--sec-x);
    }
}

/* Banner */
.slider_banner_bullet .banner_content {
    overflow: hidden;
}

.hp_banner {
    height: 100%;
}

.b-content {
    height: 100%;
    display: grid;
    place-content: center start;
    padding-left: var(--sec-x);
}

.b-content h3 {
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 700;
    margin-bottom: 1rem;
}

.b-content h2 {
    color: #000;
    font-size: clamp(2rem, 3.2vw, 3.2vw);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -1px;

    span {
        color: var(--primary-color);
    }
}

.b-content p {
    width: 40%;
    font-size: clamp(.85rem, .95vw, .95vw);
    font-weight: 600;
    line-height: 2;
    margin: 1rem 0 2.5rem;
}

.slider_banner_bullet .slick-dots {
    bottom: 0;
    text-align: left;
    margin-left: calc(var(--sec-x) - 30px);
    margin-bottom: 5%;
}

.slider_banner_bullet .slick-dots li.slick-active button,
.slider_banner_bullet .slick-dots li button::before,
.slider_banner_bullet .slick-dots li button {
    color: #000 !important;
}

.slider_banner_bullet .slick-dots li button::after {
    background: #000;
    width: 40px;
    left: 250%;
}

.slider_banner_bullet .slick-dots li:last-child button::after {
    display: block;
}

.slider_banner_bullet .slick-dots li {
    margin: 0 30px;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.slider_banner_bullet .slick-dots li button {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color) !important;
    padding-left: 9.5px;

    &:before {
        font-size: 16px;
        color: var(--primary-color) !important;
    }
}

.slider_banner_bullet .slick-dots li.slick-active button,
.slider_banner_bullet .slick-dots li button::before,
.slider_banner_bullet .slick-dots li button {
    color: var(--primary-color) !important;
}

@media(max-width:1200px) {
    .banner_content {
        background: linear-gradient(to right, #fff 10%, transparent, transparent);
    }

    .b-content {
        width: 90%;
    }

    .slider_banner_bullet .slick-dots {
        margin-bottom: 3%;
    }
}

@media(max-width:991px) {
    .banner_content {
        background: linear-gradient(to right, #fff 30%, transparent);
    }

    .slider_banner_bullet .item>img {
        min-height: 70vw;
        object-fit: cover;
        object-position: -150px;
    }

    .b-content p {
        width: 70%;
    }
}

@media(max-width:576px) {
    .slider_banner_bullet .item>img {
        min-height: 130vw;
        object-position: 72%;
    }

    .banner_content {
        background: rgba(255, 255, 255, .9)
    }

    .b-content {
        padding: 0 2rem;
        text-align: center;
        width: 100%;
    }

    .b-content h3:before {
        display: none;
    }

    .b-content p {
        width: 100%;
    }

    .slider_banner_bullet .slick-dots {
        margin: 0;
        text-align: center;
        bottom: 5%;
    }

    .slider_banner_bullet .slick-dots li:last-child button::after {
        display: none;
    }

    .btn-group {
        justify-content: center;
    }
}

/* About */
.hp_about{
    padding: 3rem var(--sec-x) 4rem;
}
.abt-wrapper{
    display: flex;
    gap: 5.5rem;
}
.abt-frame{
    min-width: 45%;
}
.point-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.point-item{
    display: flex;    
    gap: 0.35rem;
    align-items: center;
    
    &:hover{
        .point-title{
            color: var(--green-color);
            cursor: default;
        }
    }
}
.point-icon{
    min-width: 75px;
    max-width: 75px;
}
.point-title{
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 800;
}

@media(max-width:1300px){
    .hp_about{
        padding: calc(var(--sec-y) - 1rem) var(--sec-x);
    }
    .abt-wrapper{
        gap: 4rem;
    }
    .point-grid{        
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }
}

@media(max-width:991px){    
    .abt-wrapper{
        flex-direction: column;
        gap: 3rem;
    }
}

/* Category */
.hp_category{
    padding: 0 var(--sec-x) var(--sec-y);
}
.category-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
.category-item{
    display: flex;  
    align-items: center;
    background: url(https://cdn1.npcdn.net/images/wood_box_bg_2yptxw_1781158924.png?md5id=987abbb509e98a9b8cc08f57363e8733&new_width=1348&new_height=436&type=4);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 1.2rem;
    padding: 0rem 4rem;
}
.category-info .num:before{    
    counter-increment: category;    
    content: "0" counter(category);
    font-size: clamp(1.15rem, 1.65vw, 1.65vw);
    font-weight: 800;
    color: #000;
}
.category-info h3{
    color: var(--green-color);
    font-size: clamp(1.15rem, 1.65vw, 1.65vw);
    font-weight: 800;
    margin: 0rem 0 -1rem;
    transition: all .3s linear;
}
.category-info img{
    width: 30px;
    transition: all .3s linear;
    transform: translateY(50px);
    opacity: 0;
    height: 0;
    visibility: hidden;
}

.category-info{
    flex: 0 1 50%;
    max-width: 50%;    
}
.category-frame{
    flex: 0 1 50%;
    max-width: 50%;   
    
    img{
        transition: all .3s linear;
    }
}

.category-item:hover .category-info h3{
    margin-bottom: 1rem;
}
.category-item:hover .category-info img{
    transform: unset;
    opacity: 1;
    visibility: visible;
    height: 100%;
}
.category-item:hover .category-frame img{
    transform: scale(1.05);
}

@media(max-width:1200px){
    .category-item{
        padding: .75rem 3rem;
    }
    .category-item:hover .category-info h3{
        margin-bottom: .3rem;
    }
    .category-info img{
        width: 23px;
    }
}

@media(max-width:768px){
    .category-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width:576px){
    .category-item{
        padding: 1rem 1.5rem;
    }
    .category-info{
        flex: 0 1 60%;
        max-width: 60%;    
        padding-right: 3rem;
    }    
    .category-frame{
        flex: 0 1 40%;
        max-width: 40%; 
    }
}

/* brand */
.hp_brands{
    padding: 0 var(--sec-x) var(--sec-y);
}
.hp_brands .title-box{
    margin-bottom: 3rem;
}
.brand-list{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    width: 95%;
    margin: auto;
}
.brand-item{
    transition: all .3s linear;
}

.brand-list:hover .brand-item{
    filter: grayscale(1) blur(1px);
}
.brand-item:hover{
    filter: none !important;
    transform: scale(1.1);
}

@media(max-width:1200px){
    .brand-list{
        grid-template-columns: repeat(5, 1fr);
    }
}

@media(max-width:768px){
    .brand-list{
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
}

/*@media(max-width:576px){*/
/*    .brand-list{*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/
/*}*/

/* News */
.index_wrapper_6{
    padding: 0 var(--sec-x) var(--sec-y);
}
.hp_news{
    margin-bottom: 3rem;
}

.hp_latest_new_8 .news_box{
    padding: 0 30px;
    transition: all .3s linear;
    
    &:hover{
        transform: translateY(10px);
    }
}
.hp_latest_new_8{
    margin: 0 -30px;
}
.hp_latest_new_8 .col-12{
    margin-bottom: 0 !important;
}
.hp_latest_new_8 .img_frame{
    margin-bottom: 1rem;
}
.hp_latest_new_8 .news_box .read_more{
    font-size: clamp(.85rem, 1vw, 1vw);
    font-weight: 700;
}

@media(max-width:991px){
    .hp_latest_new_8 .col-12:not(:last-child){
        margin-bottom: 30px !important;
    }
}

/*Cta*/
.hp_cta{
    overflow: hidden;
}
.cta-wrapper{
    background: url(https://cdn1.npcdn.net/images/cta_bg_images_az2cbv_1781163212.png?md5id=987abbb509e98a9b8cc08f57363e8733&new_width=2643&new_height=625&type=4); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    padding: 0rem 8rem;
    align-items: center;
    border-radius: 15px;
    justify-content: center;
}
.cta-frame{
    max-width: 39%;
    margin-right: 5%;
}
.cta-content{
    width: 40%;
    color: #fff;
    
    .content{
        color: #fff;
        margin: 1rem 0 1.15rem;
    }
}

@media(min-width:576px){
    .hp_cta .container-fluid{
        max-width: calc(85% + 10px);        
    }
}

@media(max-width:1200px){
    .cta-wrapper{
        padding: 2rem 3rem;
    }
    .cta-frame{
        min-width: 30%;
        margin-right: 5%;
    }
    .cta-box:first-child{
        padding-right: 3rem;
        
        &:after{
            right: 1.5rem;
        }
    }
    .cta-box{
        gap: .75rem;
    }
}  

@media(max-width:800px){
    .cta-wrapper{
        flex-direction: column-reverse;
        padding: 3rem 3rem 0rem;
        border-radius: 0;
    }    
    .cta-frame{
        margin: 0;
        max-width: 80%;
        margin-top: 2rem;
    }
    .cta-content{
        text-align: center;
        width: 100%;
    }
    .cta-list{
        justify-content: center;
    }
}

@media(max-width:576px){
    .hp_cta .container-fluid{
        padding: 0;
    }
    .cta-wrapper{
        border-width: 15px;
    }
}

/*footer*/
.footer_type9 {
    color: #f4f4f4;
    padding-top: 16rem;
    margin-top: -11rem;
    background: var(--primary-color);
    font-size: clamp(.85rem, .95vw, .95vw);
    line-height: 1.6;    
}

.footer_type9 .copy_right{
    font-size: clamp(.85rem, .95vw, .95vw);
}

.footer_type9 .text {
    color: #f2f2f2 !important;    
    font-size: clamp(.85rem, .92vw, .92vw);
    font-weight: 400;
    line-height: 1.5;
}

.footer_type9 .logo {
    min-height: 80px;
    
    img{
        max-height: 80px;
    }
}

.footer_type9 .icon{
    background: #fff;
    height: fit-content;
    align-items: start;
    
    i{
        color: #582f01;   
    }    
}

.footer_type9 .f-title{
    font-weight: 700;
}

.footer_type9 .bg_dark {
    background-color: transparent;
}

.footer_type9 a:hover,
.footer_type9 a.text:hover {
    color: #fff !important;
}

.footer_type9 a {
    color: #f2f2f2;
    font-weight: 500;    
    font-size: clamp(.8rem, .85vw, .85vw);
}

.footer_type9 .nav_item li a::after {
    color: #f4f4f4;
    padding: 0 10px;
}

.footer_type9 .col-12.col-md-6.mb-md-0:nth-child(1) {
    padding-right: 10vw !important;
}

.footer_type9 .sub_title p {       
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1.2vw);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer_type9 .info-title{
    font-weight: 700;
}

.footer_type9 .text-muted{
    color: #fff !important;
}

.footer_type9 .social_media a .icon_s{
    margin-bottom: 0 !important;
    background: #fff;    
    width: 30px;
    height: 30px;   
    
    i{
        color: var(--primary-color);
    }
}
.footer_type9 .social_media,
.footer_type9 .social_mediaImg{       
    width: fit-content;    
    margin: 0 !important;    
}
.footer_type9 .social_mediaImg a .icon_s{
    border: none;    
    padding: 0;
    background: none;
}
.footer_type9 .social_mediaImg .icon_s{
    filter: brightness(0) invert(1);            
    padding: 0;
    
    img{
        border-radius: 50%;        
        height: 30px !important;
    }
}

.footer_type9 .social_media a:hover .icon_s{
    background: #fff;
    
    i{
        color: var(--primary-color);
    }
}

.footer_type9 .social_mediaImg a:hover .icon_s{
    background: unset;
}
.footer_type9 .social_mediaImg a:hover .icon_s img{
    filter: brightness(0) invert(1) !important;
}
.footer_type9 .social_media a{
    height: 100%;
    display: flex;
    margin-right: .35rem;
}

@media (min-width:991px){
    .footer_type9 .col-12.col-md-6.mb-md-0:nth-child(1) {
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
        max-width: 65%;
    }
    .footer_type9 .col-12.col-md-6.mb-md-0:nth-child(2) {
        -ms-flex: 0 0 35%;
        flex: 0 0 35%;
        max-width: 35%;
    }
}

@media (min-width: 768px) {    
    .footer_type9 .col-12.col-md-6.mb-md-0:nth-child(2) {
        padding-left: 4vw !important;   
    }
}