: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;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary {
    background: #ec1921 !important;
    border-color: #ec1921 !important;
    color: #fff !important;

}


.btn-primary:hover {

    color: #f00 !important;
    background-color: #fff !important;
    border-color: #f00 !important;
}

.btn-primary:focus {
    color: #f00 !important;
    background-color: #fff !important;
    border-color: #f00 !important;
    box-shadow: 0 0 0 0.25rem rgb(236 25 33 / 42%) !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: 46px;
    height: 46px;
}

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

#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: 45px;
    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: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ec1921;
}

.text-primary2 {
    color: #ec1921;
}

.forestry-network img {
    object-fit: cover;
    border: 2px solid rgb(88 117 62);
    border-radius: 10px !important;
    visibility: visible;
    animation-delay: 0.9s;
    animation-name: zoomIn;
    height: 450px;
}

.bg-dark2 {
    background: #000;
}

.bg-primary2 {

    background-color: #ec1921 !important;
}

.btn-dark2 {
    color: #fff;
    background-color: #0d1a02;
    border-color: #0d1a02;
}

.bg-appointment2 {
    background: linear-gradient(rgb(86 115 60 / 32%), rgb(84 114 58 / 36%)),
        url(../img/farming-equipment.jpg) center center no-repeat;
    background-size: cover;

}

.appointment-form {
    background: rgb(34 70 2 / 55%);
}

.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;
    }
}

/*.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}
*/
@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .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;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgb(6 0 0 / 47%), rgb(14 1 1 / 40%)), url(../img/farming-equipment2.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);
}

.bg-testimonial {
    background: url(../img/farming-equipment.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgb(236 25 33);
}

.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: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.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;
    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 .proname a:hover {
    color: #000;
    font-weight: bold;
}

.all-products {
    padding: 10px 0 110px;
}

p.proname:hover {
    background: #c70108;

}

.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #ec1921 !important;
}

.intergated-manufacturing span {
    color: #ec1921;
}

.future-of-farming img {
    max-width: 100%;
}

.Service-Start img {}

.image-style a img:hover {
    transform: scale(1.1);
    max-width: 100%;
}

.image-style {
    border: 1px solid #c0c0c0;
    padding: 10px;
    overflow: hidden;
}

.position-absolute {
    box-shadow: 0px 0px 30px #8f8f8f;
}

.about_page{
    text-align: justify;
}