html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    background: #f4f6f8;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f4f6f8;
    color: #474157;
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

.carousel .carousel-inner img {
    aspect-ratio: 2;
    width: 100%;
    object-fit: contain;
}

.carousel .carousel-indicators li {
    border: 0;
    background: #7f7f7f;
    width: 40px;
    height: 10px;
    border-radius: 0;
    margin: 0 5px;
}

.carousel .carousel-indicators li.active {
    background: #88c425;
}

.carousel .carousel-control {
    background: none;
}

.carousel .carousel-control img {
    width: 80px;
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.module-title {
    width: 350px;
    display: block;
    margin: 60px auto 50px;
}

.module-description p {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.products-center {
    background: #f4f4f4;
    padding-bottom: 60px;
}

.products-center .module-title {
    width: 300px;
}

.products-center .container {
    padding: 0;
}

.products-list .products-item {
    margin-bottom: 50px;
}

.products-item img {
    width: 100%;
}

.products-name {
    background: #000;
    color: #fff;
    aspect-ratio: 6.5;
    width: 100%;
    text-align: center;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-item .products-card {
    position: absolute;
    width: 84%;
    height: 80%;
    top: 3%;
    left: 8%;
    padding: 15px;
    background: rgba(212, 212, 212, 0.8);
    color: #000;
    display: none;
}

.products-item .products-more {
    position: absolute;
    bottom: 5px;
    right: 10px;
}

.products-item:hover .products-card {
    display: block;
}

.products-item:hover .products-name {
    color: #93c73e;
}

.products-card ul {
    padding-left: 0;
}

.products-card li {
    list-style: none;
}

.products-card .products-more,
.products-card li a {
    color: unset;
    font-size: 16px;
    transition: ease-in-out .2s;
}

.products-card li:hover a,
.products-item .products-more:hover {
    color: #0d741c;
}

.featured-products {
    background: url("/assets/img/featured-products-bg2.png");
    background-size: cover;
}

.featured-products-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.featured-products-list .featured-products-item {
    padding: 15px;
}

.featured-products-item .item-content {
    border: 2px solid #e5e5e5;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-products-item img {
    width: 100%;
    border-bottom: 2px solid #eaebed;
    aspect-ratio: 336/319;
}

.featured-products-item a:hover h3 {
    color: #04a118 !important;
}

.featured-products-item img:hover {
    transform: scale(1.01);
    transition: ease-in-out 0.3s;
}

.featured-products-item .content-detail {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-products-item .content-detail .detail-title {
    font-weight: 600;
    color: #0b0205;
    font-family: Arial, sans-serif;
    line-height: 30px;
}

.featured-products-item .content-detail p {
    font-weight: 800;
    color: #0b0205;
}

.featured-products-item .content-detail .product-price {
    color: #f00;
    font-weight: 600;
}

.featured-products-item .content-card {
    border-radius: 10px;
    background: #eaebed;
    padding: 15px;
    font-weight: 600;
    flex-grow: 1;
}

.featured-products-item .detail-btn {
    width: 120px;
    font-size: 15px;
    margin: 20px auto;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #7e808a;
}

.featured-products-item .detail-btn:active, .detail-btn:hover {
    background: linear-gradient(to right, #00c57c, #00abbf);
    color: #fff;
    border: 1px solid #f7f7f7;
    box-shadow: none;
}

.featured-products .more-btn,
.latest-news .more-btn {
    margin: 30px auto 50px;
    width: 200px;
    height: 40px;
    font-size: 23px;
    line-height: 22px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #30302c;
    border-radius: 0;
}

.featured-products .more-btn:hover,
.latest-news .more-btn:hover {
    background: linear-gradient(to right, #00c57c, #00abbf);
    color: #fff;
    border: 1px solid #f7f7f7;
}

.latest-news {
    background: url("/assets/img/latest-news-bg.png");
    background-size: cover;
}

.latest-news .module-title {
    width: 200px;
}

.latest-news .news-list {
    display: flex;
    flex-wrap: wrap;
}

.news-list > div {
    margin-bottom: 20px;
    aspect-ratio: 824/1285;
}

.news-list .news-item {
    background: #f8f8f8;
    height: 100%;
}

.news-item .news-detail {
    padding: 0 15px;
}

.news-item .news-img {
    width: 100%;
}

.news-detail .news-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.news-detail .news-desc,
.news-detail .news-desc2 {
    height: 100px;
    overflow: hidden;
}

.news-detail .news-date {
    float: right;
}

.news-detail span {
    display: inline-block;
    margin: 30px 0;
}

.news-detail .news-detail-btn img {
    width: 25px;
}

.news-detail .news-detail-btn {
    right: 25px;
    bottom: 10px;
    font-size: 20px;
    position: absolute;
}

.news-detail .news-detail-btn:active, .news-detail-btn:focus {
    background: none;
}

.news-item:hover {
    padding: 20px;
    background: url("/assets/img/news-bg.png");
}

.news-item:hover .news-img {
    display: none;
}

.news-item:hover .news-type2 {
    display: none;
}

.news-item .news-type1, hr, .news-desc2 {
    display: none;
}

.news-item hr {
    max-width: 100%;
    border: none;
    height: 3px;
    background: #096e36;
}

.news-item:hover .news-type1,
.news-item:hover hr,
.news-item:hover .news-desc2 {
    display: block;
}

.news-item .news-desc:hover,
.news-item .news-desc2:hover,
.news-item .news-detail-btn:hover {
    color: #fff;
    transition: ease-in-out 0.2s;
}

.news-item:hover .news-detail-btn {
    position: absolute;
}

.news-item:hover .news-date {
    float: none;
}


@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .carousel .carousel-indicators li {
        width: 32px;
        height: 8px;
    }

    .carousel .carousel-control img {
        width: 40px;
    }
}
