:root {
    --primary: #ec1921;
    --secondary: #ec1921;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}
body {
    background: url(../img/body-bg.png) !important;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}
.btn-primary {
    background: #cc221d !important;
    border-color: #cc221d !important;
    color: #fff !important;
}
.dropdown-menu .dropdown-item {text-transform: capitalize;}
.hero-header .text-white {text-transform: capitalize;}
.package-item h5 {text-transform: capitalize;}
.product-details .display-6 {text-transform: capitalize !important;}
.product-discription h5 {text-transform: capitalize;}

.btn-primary:hover {
    color: #cc221d !important;
    background-color: #fff !important;
    border-color: #cc221d !important;
}
.btn-primary:focus {
    color: #cc221d !important;
    background-color: #fff !important;
    border-color: #cc221d !important;
}

.btn-secondary:hover {
    background: #516f36f5 !important;
    border-color: #516f36f5 !important;
    color: #fff !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 30px;
    height: 42px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.hero-header .text-center {padding-top: 5px;}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 33px;
    line-height: 42px;
    z-index: 99;
}

/*
.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}
*/

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 30px 10px;
    font-size: 18px;
    color: #000;
    outline: none;
    /* transition: .5s; */
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 30px 8px;
}
.sticky-top {background: #fff;}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #cc221d;
}
.navbar {padding: 10px 0;}
.text-primary2 {color: #fff;}

.forestry-network img {
    object-fit: cover;
    border-radius: 10px !important;
    visibility: visible;
    animation-delay: 0.9s;
    animation-name: zoomIn;
    height: 450px;
    box-shadow: 0px 5px 5px 0px;
}
.bg-dark2 {background: #000;}
.bg-primary2 {background-color: #318eb0 !important;}

.btn span:hover {
    background: #fff;
    color: #318eb0;
    border: 1px solid #318eb0;
}

.btn-dark2 {
    color: #fff;
    background-color: #0d1a02;
    border-color: #0d1a02;
}
.bg-appointment2 {
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.appointment-form {background: rgb(49 142 176);}
.btn-dark2 {
    color: #fff;
    background-color: #000;
    border-color: #000;
}
.best-quality {
    object-fit: cover;
    border: 2px solid #58753e;
    border-radius: 10px;
}

/*
.btn-primary:focus {
    color: #000;
    background-color: #58753e;
    border-color: #58753e;
    box-shadow: 0 0 0 0.25rem rgb(88 117 62 / 43%);
}
*/

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
    /* .navbar-style{position: unset !important; width: 100% !important; transform: unset !important;} */
}

@media (max-width: 500px) {
    .navbar-brand img {width: 200px; display: inline-block;}
    .quality {
        padding: 20px;
        box-shadow: 0px 0px 8px 2px #c0c0c0;
        margin-top: 10px;
    }
    .text-lg-end {display: none !important;}
    .navbar-header {display: block !important;}
    .text-lg-start {margin-top: 8px;}
}
@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }
    .navbar-header {display: block;}
    .quality {
        padding: 20px;
        box-shadow: 0px 0px 8px 2px #c0c0c0;
        margin-top: 10px;
    }
    .text-lg-end {display: none !important;}
    .navbar-header {display: block !important;}
    .text-lg-start {margin-top: 8px;}
    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
    .quality {
        padding: 20px;
        box-shadow: 0px 0px 8px 2px #c0c0c0;
        margin-top: 10px;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: #a70002;
}
.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: #a70002;
}

.twentytwenty-wrapper {height: 100%;}
.hero-header {
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
}
.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
    /* height: 90px; */
}

.service-item:hover img {transform: scale(1.15);}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: url(../img/farming-equipment.jpg) center center no-repeat;
    background-size: cover;
}
.offer-text {background: rgb(22 44 2 / 64%);}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}
.price-carousel:hover .owl-nav {opacity: 1;}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}
.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}
.service-item .rounded-top.overflow-hidden {
    border: 2px solid #eef9ff;
    text-align: center;
    background: #f7f7f7;
}
.d-flex.flex-column .text-light {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
input, textarea, select {border-radius: 10px !important;}
.position-relative.bg-light.rounded-bottom.text-center.p-4 h5 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.table-bordered>:not(caption)>* {
    border: 1px solid #ddd;
    padding: 5px 10px;
}
.all-products .items {
    box-shadow: 0 0 20px #00000037;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    margin: 20px 12px;
}
.all-products .items figure {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #00000005;
    margin: 0;
}
.all-products .items figure img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.all-products .proname {
    background: #ec1921;
    color: #fff;
    padding: 7px 10px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all-products .proname a {color: #fff;}
.all-products {padding: 10px 0 110px;}
p.proname:hover {background: #c70108;}
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #cc221d !important;
}
.intergated-manufacturing span {color: #ec1921;}
.future-of-farming img {max-width: 100%;}
.Service-Start img {margin-left: 80px;}
.image-style img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #ddd;
    border: 1px solid;
    padding: 10px;
    transition: .3s all ease-in-out;
}
.image-style img:hover {transform: rotate(2deg);}
.image-style video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.our-product {position: relative; margin-bottom: 20px;}
figure.img-design img {border-radius: 10px;}
.detail {
    position: absolute;
    z-index: 8;
    bottom: 20px;
    padding: 20px;
}
.btn span {
    color: #fff;
    background: #318eb0;
    padding: 6px 15px;
    font-weight: 600;
    border-radius: 25px;
}
.detail h5 {color: #fff;}
figure.img-design:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, rgb(0 0 0 / 35%) 0%, rgb(0 0 0 / 55%) 27%, rgb(0 0 0 / 64%) 90%);
    border-radius: 10px;
}

.featured-services .icon-box {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgb(68 88 144 / 12%);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    border-bottom: 5px solid #cc221d;
}
.featured-services .icon-box::before {
    content: "";
    position: absolute;
    background: #d9f1f2;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.3s;
    z-index: -1;
}
.featured-services .icon {margin-bottom: 15px;}
.featured-services .icon i {
    font-size: 48px;
    line-height: 1;
    color: #000;
    transition: all 0.3s ease-in-out;
}
.featured-services .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}
.featured-services .title a {color: #111;}
.featured-services p {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
}
.featured-services .icon-box:hover::before {
    background: #cc221d;
    top: 0;
    border-radius: 0px;
}
.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover p {
    color: #fff;
}
.featured-services .icon-box:hover p {color: #fff;}
.featured-services .icon-box:hover .icon i {color: #fff;}
.navbar-header {position: relative; background: #333; color: #fff;}

.shadow.rounded img {
    height: 280px;
    width: 100%;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}
.bg-images {
    background: url(../img/banner-cat-2.jpg);
    height: 100%;
    padding: 15px 10px 15px 10px;
    background-size: cover;
}
.bg-images h2 {color: #fff;}
.product-discription h5 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.review-count {
    font-size: 14px;
    color: #aaa;
    display: inline-block;
    position: relative;
    margin-left: 15px;
    top: -1px;
    vertical-align: top;
}
.client-bg {background: url(../img/client.png); padding: 42px;}

.testimonial h3 {color: #fff; text-align: center !important;}
.testimonial p {font-size: 1.75rem !important; text-align: center !important;}
.owl-nav {display: none;}
.owl-dots {display: none;}
.testimonial-item {position: relative;}
.testimonial-item::before {
    content: "\f10d";
    color: #cc221d;
    font-family: "fontAwesome";
    position: absolute;
    font-size: 45px;
    left: 20px;
    top: 50px;
}
.testimonial-item::after {
    content: "\f10e";
    color: #cc221d;
    font-family: "fontAwesome";
    position: absolute;
    font-size: 45px;
    top: 115px;
    right: 20px;
}
.testimonial {padding: 80px;}

.bg-appointment2 h3,
.bg-appointment2 p {color: #fff; margin: 0;}
.bg-appointment2 p {font-size: 50px; line-height: 50px;}
.bg-appointment2 img {width: 50px; height: 50px; object-fit: contain;}

/*
.testimonial-carousel {
    background: #cc221d69;
}
.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background:#cc221d;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background:#cc221dc4;
}
.testimonial-carousel .owl-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
*/

.owl-nav {display: none;}
.owl-dots {display: none;}

.bg-image {
    background: url(../img/product-img.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.bg-image p {text-align: justify;}
.quality {
    padding: 20px;
    box-shadow: 0px 0px 8px 2px #c0c0c0;
    height: 330px;
}
.footer-img {
    background-color: #000000;
    background-image: url(../img/border.png);
    background-position: bottom center;
    background-repeat: no-repeat;
}
.product-discription a h5:hover {color: #a70002;}
.welcome-sec p {text-align: justify !important;}
.room-item p {padding-top: 10px; text-align: justify;}
.business-model img {max-width: 100%;}
.enq-form {margin: 50px 0;}
.carousel-item img {animation: zoom 20s;}
@keyframes zoom {
    from {transform: scale(1, 1);}
    to {transform: scale(1.2, 1.2);}
}
.form-control {border: 1px solid !important;}
.aboutus p {text-align: justify;}
.flowchart img {max-width: 100%;}
.business-type .items {
    display: flex;
    background: #fff;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 0 30px #00000037;
    border-radius: 10px;
    padding: 10px;
}
.business-type .items i {color: #cc221d; font-size: 40px;}
.business-type .items p {font-size: 15px;}
.dtl-page .dtl-items {
    box-shadow: 0px 2px 6px 0px #c0c0c0;
    border-radius: 30px 0 30px 0;
    text-align: center;
}
.dtl-page .dtl-items img {
    max-width: 100%;
    border-radius: 30px 0 30px 0;
    height: 330px;
    object-fit: contain;
    background: #cccccc7a;
}
.bg-appointment2 {
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.product-detail .room-item p {
    display: none;
    display: -webkit-box;
}
.product-detail .room-item:hover p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    
    overflow: hidden;
}
.our-client {padding: 100px 0 50px;}
.events h5, .gallery h5 {text-align: center; text-transform: capitalize;}
.cliet-slider img {
    height: 130px;
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}
.events img {
    width: 100%;
    border: 1px solid;
    border-radius: 10px;
    height: 400px;
    object-fit: contain;
    padding: 10px;
    margin-bottom: 15px;
}
.room-item .product-discription {display: none !important;}
.room-item:hover .discription-area {height: 160px;}
.discription-area table,
.discription-area h1,
.discription-area h2,
.discription-area h3,
.discription-area h4,
.discription-area h6 {display: none !important;}
.product-details img {
    width: 100% !important;
    height: 350px !important;
    object-fit: contain !important;
    padding: 10px;
    box-shadow: 5px 2px 10px 2px #c0c0c0;
    border-radius: 10px !important;
}
.testimonial-video video {object-fit: cover !important;}

/* blog page */
/* Blog Detail Page Styles */
.blog-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    padding: 24px;
    margin-bottom: 32px;
}

.blog-item img.img-fluid {
    width: 100%;
    height: auto;
    margin-bottom: 18px;
    border-radius: 4px;
}

.blog-item h2 {
    font-size: 2rem;
    margin-bottom: 14px;
    color: #ad1e24;
}

.blog-item .blog-meta {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 18px;
}

.blog-item .blog-meta strong {
    color: #1a237e;
}

.blog-item .blog-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-top: 18px;
}


