/** Home Page CSS **/

.btn-home.primary {
    margin: 0;
    border: 0;
    height: 48px;
    padding-left: 30px;
    padding-right: 30px;
    background: linear-gradient(270deg, #55AC39 0%, #155884 100%);
}

.btn-home.primary span {
    font-size: 16px;
    font-weight: 700;
    line-height: 48px;
}

.btn-home.primary i.icon-angle-right::before {
    content: "";
    background: url("../images/icon-right.svg") no-repeat left / contain;
    padding-right: 28px;
}

.block__element_head h4 {
    color: #178040;
    font-size: 19px;
    font-weight: 500;
    line-height: 44px;
    letter-spacing: 0.07em;
    text-transform: capitalize;
}

.block__element_head h4::before {
    content: "";
    width: 82px;
    height: 9px;
    background: url("../images/line-home.png") no-repeat center / contain;
    margin-right: 10px;
    display: inline-block;
}

.block__element_head h2.heading {
    color: #178040;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    text-transform: uppercase;
}

.block__element_head h2.heading span {
    position: relative;
}

.block__element_head h2.heading span:nth-child(1) {
    color: #333333;
}

.block__element_head h2.heading span:nth-child(1)::before {
    content: "";
    width: 60px;
    height: 3px;
    background: #FF8F01;
    position: absolute;
    top: calc(50% - 1.5px);
    left: -80px;
}


.block__element_head h2.heading span:nth-child(2)::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #FF8F01;
    position: absolute;
    top: calc(50% - 1.5px);
    right: -80px;
}

#counter-box h4 {
    color: #FFF;
    font-size: 80px;
    font-weight: 500;
    line-height: 80px;
    letter-spacing: -0.03em;
}

#counter-box h4::after {
    content: "%";
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
}

#counter-box hr {
    opacity: 1;
    border-color: #FFF;
}

.rt-section-index .col.large-3:nth-child(3) #counter-box h4::before,
.rt-section-index .col.large-3:nth-child(4) #counter-box h4::before {
    content: ">";
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
}

.rt-section-index .col.large-3:nth-child(3) #counter-box h4::after,
.rt-section-index .col.large-3:nth-child(4) #counter-box h4::after {
    display: none;
}

#counter-box p {
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    text-transform: uppercase;
}

.rt-section-banner .block__element_head h2.heading {
    font-size: 47px;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: -0.03em;
}

.rt-section-banner .block__element_head h4,
.rt-section-intro .block__element_head h4 {
    color: #178040;
    font-size: 15px;
    font-weight: 600;
    line-height: 35px;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
    width: max-content;
    background: #F9E8E4;
    margin-bottom: 15px;
    letter-spacing: 0;
}

.rt-section-banner .block__element_head h4::before,
.rt-section-intro .block__element_head h4::before {
    display: none;
}

.rt-section-index .row.row-collapse > .col.large-12 > .col-inner {
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 20px;
    border: 2px solid #FFF;
    background: url("../images/bg_index.jpg") no-repeat center / cover;
}

.rt-section-necessity .icon-box {
    background: #FFF;
    border-radius: 20px;
    padding: 0px 35px 60px;
    box-shadow: 0px 2px 20px 0px #0000001A;
}

.rt-section-necessity .icon-box h4 {
    color: #178040;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    text-transform: capitalize;
}

.rt-section-necessity .icon-box p {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.rt-section-necessity .icon-box a.button i.icon-angle-right::before {
    content: "\e09f";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
}

.rt-section-why h4 {
    color: #FFA939 !important;
    font-size: 32px;
    font-weight: 400;
    line-height: 43.47px;
    font-family: "SVN-Dancing Script";
}

.rt-section-why h4::before {
    content: "";
    width: 83px;
    height: 14px;
    background: url("../images/line-home.png") no-repeat center / contain;
    margin-right: 10px;
    display: inline-block;
}

.rt-section-why h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 42px;
    text-transform: uppercase;
}

.rt-section-why p {
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}

.rt-section-why .bg-form h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 30px;
}

.rt-section-why .bg-form > .col-inner::before {
    content: "";
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: rgba(0, 84, 128, 1);
    border: 1px dashed #FFFFFF;
    border-radius: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.rt-section-why .bg-form form {
    margin-bottom: 0px;
}

.rt-section-why .icon-box h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    text-align: left;
}

.rt-section-procedure .col.large-4:nth-child(1) > .col-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 20px;
}

.rt-section-procedure .col-inner.text-center > h4 {
    color: #F09723;
    font-size: 32px;
    font-weight: 400;
    line-height: 43.47px;
    font-family: "SVN-Dancing Script";
}

/* .rt-section-procedure .col-inner.text-center > h4::before {
    content: "";
    width: 83px;
    height: 14px;
    background: url("../images/line-home.png") no-repeat center / contain;
    margin-right: 10px;
    display: inline-block;
} */

.rt-section-procedure .col.large-4:nth-child(1) h2 {
    color: #178040;
    font-size: 38px;
    font-weight: 600;
    line-height: 27px;
    text-transform: capitalize;
}

.rt-section-procedure .col.large-4:nth-child(1) p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 0;
}

.rt-section-procedure .box.box-badge .box-text {
    bottom: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    background: linear-gradient(270deg, rgba(85, 172, 57, 0.8) 0%, rgba(21, 88, 132, 0.8) 100%);
}

.rt-section-procedure .box.box-badge:hover .box-text {
    background: linear-gradient(270deg, rgba(85, 172, 57, 1) 0%, rgba(21, 88, 132, 1) 100%);
}

.rt-section-procedure .box.box-badge .box-text h4 {
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    text-transform: uppercase;
}

.rt-section-news .flickity-slider > .row,
.rt-section-doitac .flickity-slider > .row {
    width: 33.333% !important;
    opacity: 1 !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.rt-section-news .box {
    background: #FFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 10px 0px #00000026;
}

.rt-section-news .box .box-text {
    position: relative;
}

.rt-section-news .testimonial-text h4 {
    color: #178040;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.rt-section-news .testimonial-text p {
    color: #666;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
}

.rt-section-news .box .box-text::before {
    content: "";
    width: 100%;
    height: 13px;
    background: url("../images/line-avatar.png") no-repeat top / cover;
    position: absolute;
    top: -13px;
    left: 0;
}

.rt-section-trend .block__element_head h2.heading {
    font-size: 28px;
    font-weight: 600;
    line-height: 33.89px;
    padding-left: 15px;
    position: relative;
}

.rt-section-trend .block__element_head h2.heading::before {
    content: "";
    width: 5px;
    height: 32px;
    background: linear-gradient(270deg, #FF8F01 0%, #FFAF14 100%);
    border-radius: 3px;
    position: absolute;
    top: 2px;
    left: 0;
}

.rt-section-trend .block__element_head h2.heading span:nth-child(1)::before,
.rt-section-trend .block__element_head h2.heading span:nth-child(2)::after {
    display: none;
}

.rt-section-trend .box.box-normal .is-divider {
    display: none;
}

.rt-section-trend .box.box-normal h5.post-title a {
    color: #178040;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.rt-section-trend .box.box-vertical h5.post-title a {
    height: 45px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #178040;
}

.rt-section-trend .box.box-vertical .box-text {
    padding: 0px 0px 0px 15px;
}

.rt-section-trend .box.box-normal .image-cover,
.rt-section-trend .box.box-vertical .image-cover {
    border-radius: 15px;
    overflow: hidden; 
}

.rt-section-doitac .row-small > .flickity-viewport > .flickity-slider > .gallery-col {
    padding-top: 15px;
}

.rt-section-doitac .gallery-col .box-image {
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px #00000014;
}

/*
 * Mobile
 */
 @media only screen and (max-width: 48em) {
    .btn-home.primary {
        height: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .btn-home.primary span {
        font-size: 14px;
        line-height: 40px;
    }
    .btn-home.primary i.icon-angle-right::before {
        padding-right: 20px;
    }
    #counter-box h4,
    #counter-box h4::after {
        font-size: 40px;
        line-height: 35px;
        margin-bottom: 0 !important;
    }
    #counter-box p {
        font-size: 13px;
        line-height: 20px;
        font-weight: 400;
    }
    .block__element_head h2.heading {
        font-size: 25px;
        line-height: 35px;
    }
    .rt-section-why h4,
    .block__element_head h4 {
        font-size: 16px;
        line-height: 30px;
    }
    .rt-section-why h4::before,
    .block__element_head h4::before {
        width: 68px;
    }
    .rt-section-banner .block__element_head h2.heading {
        font-size: 28px;
        line-height: 35px;
    }
    .rt-section-banner .block__element_head h4,
    .rt-section-intro .block__element_head h4 {
        font-size: 13px;
        line-height: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .rt-section-necessity .icon-box {
        padding: 0px 5px 25px;
        border-radius: 10px;
    }
    .rt-section-necessity .icon-box h4 {
        font-size: 16px;
    }
    .rt-section-necessity .icon-box-center .icon-box-img {
        width: 75px !important;
    }
    .rt-section-necessity .icon-box p {
        font-size: 13px;
        line-height: 20px;
    }
    .rt-section-necessity .icon-box a.button span {
        font-size: 14px;
    }
    .rt-section-why h2 {
        font-size: 26px;
        line-height: 35px;
    }
    .rt-section-why .title-form h2 {
        font-size: 25px;
        line-height: 30px;
    }
    .rt-section-why p {
        font-size: 14px;
        line-height: 23px;
    }
    .rt-section-why .bg-form h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .rt-section-news .flickity-slider > .row,
    .rt-section-doitac .flickity-slider > .row {
        width: 100% !important;
    }
    .slider-wrapper .flickity-prev-next-button {
        display: block !important;
    }
    .rt-section-index .row.row-collapse > .col.large-12 > .col-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}