:root {
    --kuhn-red: #d90000;
    --text-color: #333;
    --header-bg: #fff;
    --green: #007538;
    --border-color: #e5e5e5;
    --font-family: 'Roboto', sans-serif;
}


body {
    font-family: 'Open Sans';
    margin: 0;
    color: var(--text-color);
    background-color: #f7f7f7;
    overflow-x: hidden;
}

.bg-text-w {
    width: 50%;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    color: #666666;
    scrollbar-width: thin;
    font-size: 16px;
}

.l1-item a {
    color: #e42317;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
}

.cus_container {
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.pvt-ltd {
    color: white;
    font-size: 40px !important;
    font-weight: 600
}

.farm-machinery {
    color: white;
    font-size: 40px;
    font-weight: 600
}

.site-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top */
.header-top {
    background: linear-gradient(to right, white 0%, #eaebec 50%);
    font-weight: 400;
    padding: 8px 0;
    font-size: 12px;
    /*height: 40px;*/
}

.header-top a {
    color: #666;
    transition: color 0.3s ease;
}

.header-top a:hover {
    color: var(--kuhn-red);
}

/* Header Main */
.header-main {
    height: 80px;
}

.logo-link {
    margin-top: -56px;
}

.logo {
    width: 100%;
    height: 108px;
    object-fit: contain;
}

.main-nav {
    height: 100%;
    margin-left: 36px;
}

/*.main-nav {*/
/*    height: 100%;*/
/*    !* margin-left: 36px; *!*/
/*    width: 100%;*/
/*    margin-left: auto;*/
/*    justify-content: center;*/
/*    margin-right: auto;*/
/*    display: flex*/
/*;*/
/*}*/
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.nav-item {
    height: 100%;
}

.nav-item > a {
    padding: 0 0px 0px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 11px;
    width: 100%;
    height: 4px;
    background-color: #0d773b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover > a,
.nav-item.active > a {
    color: #0d773b;
}

.nav-item:hover > a::after,
.nav-item.active > a::after {
    transform: scaleX(1);
}

.header-main-right {
    display: flex;
    align-items: center;
}

.search-form {
    position: relative;
}

.other-info {
    position: absolute;
    bottom: 0;
    margin: 0px 5px;
    /*left: 0 ;*/
    /*right: 0;*/
    /*display: flex;*/
    /*justify-content: right;*/
}

.other-info-row {
    background: #eeece0;
    /*padding: 20px;*/
    color: black;
}

.other-info-row a:hover {
    color: var(--kuhn-red);
}

.other-info-row .border-start {
    border-left: 1px solid black !important;
}

.other-info-row .p-4 {
    padding: 1.2rem !important;
}

.search-input {
    border: 1px solid #ccc;
    padding: 8px 30px 8px 10px;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.distributor-promo a {
    padding: 20px;
    color: white;
    text-align: center !important;
}

.find-dis {
    text-align: left !important;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Mega Menu */
.has-megamenu {
    position: static;
}

.contact-btn {
    color: white;
    background-color: #0d773b;
    border-color: #0d773b;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-5px);
    color: white;
    transition: transform 0.3s ease;
    /*box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);*/
}

.mega-menu {
    display: none;
    position: absolute;
    top: 129px;
    left: 229px;
    height: auto;
    border-radius: 8px;
    background-color: rgb(255 255 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 64%;
}

.nav_cat_link {
    color: firebrick;
}

.nav_cat_link:hover {
    color: #0d773b;
    text-decoration: underline;
}

.has-megamenu:hover > .mega-menu {
    display: block;
}

.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.mega-menu-nav {
    width: 25%;
    background-color: #eeece0;
    padding: 20px 0;
    /*height: 500px;*/
    position: relative;
}

.mega-menu-background {
    width: 75%;
    background-image: url('https://www.kuhn.com/sites/default/files/2023-09/Menu-VBP-7100.jpg');
    background-size: cover;
    background-position: center;
}

.mega-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-nav a {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    padding: 12px 20px;
    /*margin-bottom:8px;*/
    color: var(--text-color);
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.mega-menu-nav li:hover > .mega-menu-nav a::after {
    opacity: 1;
    visibility: visible;
}

.mega-menu-background-shade {
    height: 100%;
    width: 100%;
    background: #00000096;
}

.l1-item a::after {
    -webkit-transition: opacity 0.25s cubic-bezier(0.42, 0, 0.58, 1);
    transition: opacity 0.25s cubic-bezier(0.42, 0, 0.58, 1);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    border-color: transparent transparent transparent white;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    right: -10px;
}

.mega-menu-nav li a {
    color: var(--green);;
}

.mega-menu-nav li.has-submenu > a::after {
    opacity: 1;
}

.mega-menu-nav li:hover > a {
    color: var(--kuhn-red);
    background: white;
}

/* Sub Menus */
.sub-menu {
    /*display: none;*/
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 250px;
    background-color: #ffffff00;
    /*box-shadow: 2px 0 5px rgba(0,0,0,0.1);*/
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 15rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    left: 100%;
    top: 0%;
    text-align: left;
    list-style: none;
    background-color: #ffffff00;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.l1-item:hover > .dropdown-menu {
    display: block;
}

.level-2 li:hover > .level-3 {
    display: block !important;
}

.l3-item:hover > .dropdown-menu {
    display: block;
}

.level-1 > li:hover > .level-2,
.level-2 > li:hover > .level-3 {
    display: block !important;
}

.level-2 {
    padding: 20px 0;
    height: 100%;
    border-right: 1px solid #c1c1c1;
}

.level-3 {
    padding: 20px 0;
    height: 100%;
    border-right: 1px solid #c1c1c1;
}

.l2-item a:hover {
    background: white !important;
    color: var(--kuhn-red) !important;

}

.l2-item a {
    font-size: 13px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: inherit;
}

.level-4 {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #c1c1c1;
    padding: 20px 0;
    height: 100%;
    z-index: 2;
}

.l3-item {
    position: relative;
}

.l3-item:hover > .level-4 {
    display: block;
}

.level-4 a {
    font-size: 14px;
    color: #000;
    padding: 10px 20px;
    display: block;
}

.level-4 a:hover {
    background: #fff;
    color: var(--kuhn-red);
}

.level-2 > li:hover > .level-3 {
    display: block !important;
}

.level-3 > li:hover > .level-4 {
    display: block !important;
}

.carousel-cell {
    width: 100%;
    height: 80vh;
    margin-right: 10px;
    background: #8C8;
    border-radius: 5px;
}

.carousel-cell:before {
    display: block;
}

.hero1 {
    background-image: url("../img/4k-photograph-capture-tractor-cultivating-farmland-agricultural-landscape_1160959-259.avif");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.hero2 {
    background-image: url("../img/modern-green-combine-harvester-yellow-heavy-duty-tractor-agricultural-field-rays-autumn-sun_527900-4.avif");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.hero3 {
    background-image: url("../img/tractor-vineyard.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.hero4 {
    background-image: url("../img/tractor-with-sack-fertilizer-moves-along-field-spring_199808-13.avif");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80%;
}

.flickity-prev-next-button.next, .flickity-prev-next-button.previous {
    background: #2e8c4c8f !important;
}

.flickity-page-dots .dot {
    background: #3d5e1a !important;
}

.flickity-button-icon {
    fill: rgb(255 255 255) !important;
}

.hero-shade {
    background: linear-gradient(45deg, #000000d1, #000000db);
    height: 100%;
}

.hero-text {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

.flickity-button:focus {
    outline: 0;
    box-shadow: 0 0 0 5px #007638;
}

.text-container span::after {
    content: "|";
    animation-name: blinking;
    animation-duration: 0.71s;
    animation-iteration-count: infinite;
}

@keyframes blinking {
    from {
        color: transparent;
    }
    to {
        color: #007638;
    }
}

.hero-text h1 {
    color: white;
    font-weight: 600;
    font-size: 55px;
}

.supplier-card {
    position: absolute;
    width: 95%;
    height: 95%;
    background: #fff;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    padding: 20px;
    cursor: pointer;
}

.supplier-card h2,
.supplier-card span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    pointer-events: none;
    opacity: 0.5;
}

.supplier-card span {
    top: 75%;
}

.cardBox {
    width: 100%;
    height: 200px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: rgb(0 0 0 / 11%) 0px 2px 10px 0px, rgb(0 0 0 / 28%) 0px 2px 25px 0px;
}

.cardBox::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 150%;
    background: #40e0d0;
    background: -webkit-linear-gradient(to right, #ab2e26, #ee7e2c, #007639);
    background: linear-gradient(to right, #ab2e26, #ee7e2c, #007639);

    transform-origin: center;

}

.cardBox:hover::before {
    animation: glowing01 5s linear infinite, glowing 5s linear infinite;
}


@keyframes glowing {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.heading-border {
    border-bottom: 5px solid var(--kuhn-red);
    padding-bottom: 8px;
    font-weight: 700;
}

.about-card-danger {
    background: #ac322b;
}

.about-card-warning {
    background: #fcc425;
}

.about-card-success {
    background: #007639;
}

.about-card-org {
    background: #ee7e2c;
}

.about .card {
    box-shadow: 0px 2px 8px 1px #606060ad;
}

.about-icon {
    height: 30px;
}

.service_bg {
    background-image: url("../img/tractor-with-sack-fertilizer-moves-along-field-spring_199808-13.avif");
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.service_bg_shadow {
    background: #000000cf;
    height: 100%;
    padding: 100px 0px;
}

.service_bg_shadow p {
    color: #d0d0d0 !important;
}

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

.btn-8 {
    background-color: #f0ecfc;
    background-image: linear-gradient(315deg, #05943d 0%, #016605 74%);
    line-height: 42px;
    padding: 0;
    border: none;
}

.btn-8 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-8:before,
.btn-8:after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: #007639;
    /*box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .2),
      inset -4px -4px 6px 0 rgba(255,255,255,.5),
      inset 4px 4px 6px 0 rgba(116, 125, 136, .3);*/
    transition: all 0.3s ease;
}

.btn-8:before {
    height: 0%;
    width: 2px;
}

.btn-8:after {
    width: 0%;
    height: 2px;
}

.btn-8:hover:before {
    height: 100%;
}

.btn-8:hover:after {
    width: 100%;
}

.btn-8:hover {
    background: transparent;
}

.btn-8 span:hover {
    color: #fff;
}

.btn-8 span:before,
.btn-8 span:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #007639;
    transition: all 0.3s ease;
}

.btn-8 span:before {
    width: 2px;
    height: 0%;
}

.btn-8 span:after {
    height: 2px;
    width: 0%;
}

.btn-8 span:hover:before {
    height: 100%;
}

.btn-8 span:hover:after {
    width: 100%;
}

.supplier_nav_img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    padding: 8px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    box-shadow: 5px 5px 10px rgb(182 182 182 / 50%), inset 1px 1px 7px 5px rgb(232 232 232 / 15%);
}

.supplier_nav_img img {
    width: 100%;
}

.sup-cat-hero {
    background-image: url("../img/csm_csm_DJI_0349_241402_smal_01_41d1505f1b_a697d6a98f.png");
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/*.sup_cat {*/
/*    background: url("../img/Header_KRONE_Website-1920x515px_BiGPack.jpg");*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*    background-attachment: fixed;*/
/*    background-position: bottom;*/
/*    backdrop-filter: blur(10px);*/

/*}*/
.sup-cat-hero-shadow {
    background: #1a6003a1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_range .card img {
    border-radius: 10px;
    height: 300px;
    object-fit: cover;
    position: relative;
}

.product_range .card {
    box-shadow: 0px 7px 13px 4px #c1c1c1;
    position: relative;
    border-radius: 10px;
}

.product_name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #04763a;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    content: "";
    display: block;
    height: 100%;
    left: -75%;
    position: absolute;
    top: 0;
    transform: skewX(-25deg);
    width: 50%;
    z-index: 2;
}

.shine:hover::before, .shine:focus::before {
    -webkit-animation: shine 0.85s;
    animation: shine 0.85s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.contact-bg {
    background-image: url("../img/76827.jpg");
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-offer--style-1 .text {
    font-size: 5.3rem;
    font-weight: 900;
    background-position: 50% 50%;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation-name: masked-animation;
    animation-name: masked-animation;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@keyframes masked-animation {
    0%, 100% {
        background-position: 50% 35%;
    }
    50% {
        background-position: 50% 65%;
    }
}

.product-card {
    background-color: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    height: 200px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__info {
    padding: 20px;
}

.product-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card__description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.product-card__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-card__btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card__btn:hover {
    background-color: #c71729;
}

.supplier_name_badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #04763a;
    color: #ffc107 !important;
    /* border-radius: 3px; */
    text-align: center;
    transform: rotate(-43deg);
    transform-origin: 54% 273%;
    width: 200px;
}

.service_page {
    background-image: url("../img/service_page.png");
    height: 400px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 30px;
}

.service_page h1 {
    color: white;
    font-weight: 800;
    font-size: 5rem;
}

.forage_page {
    background-image: url("../img/farm-life-concept-with-hay.jpg");
    height: 400px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;

}

.forage_page_shade {
    height: 100%;
    background: #281f1285;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 30px;
}

.forage_page_shade h1 {
    color: white;
    font-weight: 800;
    font-size: 5rem;
}

.machinery_page {
    background-image: url("../img/Header_Erntekette.jpg");
    height: 400px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;

}
.spare_page{
      background-image: url("../img/Header_Ersatzteilshop.jpg");
    height: 400px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.machinery_page_shade {
    height: 100%;
    background: #1a6003bd;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    color: white;
    font-weight: 800;
    font-style: italic;
    font-size: 30px;
    /* backdrop-filter: blur(52px); */
}
.spare_page_shade{
      height: 100%;
    background: #1a6003bd;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    color: white;
    font-weight: 800;
    font-style: italic;
    font-size: 30px;
}
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(167 203 181) !important;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(167 203 181) !important;
    opacity: 1;
}

/* .machinery_page_shade h1 {
    color: white;
    font-weight: 800;
    font-size: 5rem;
} */

@media screen and (min-width: 2500px) {
    .hero img {
        object-fit: contain !important;
    }
}

.supplier .carousel-cell {
    width: 18%;
    margin-top: 3rem;
    padding: 0px 10px;
    height: 200px;
    margin-right: 10px;
    background: #88cc8800;
    border-radius: 5px;
}

/* cell number */
.supplier .carousel-cell:before {
    display: block;
    text-align: center;
    line-height: 200px;
    font-size: 80px;
    color: white;
}

.supplier .flickity-enabled.is-draggable .flickity-viewport {
    height: 275px !important;
}

.carousel-cell-bg {
    position: absolute;
    top: 0;
    background: #1a60039c;
    left: 0;
    height: 100%;
    width: 100%;
}

.hero .carousel-cell img {
    position: relative;
    object-position: 50% 100%;
}

.black_design {
    background: url("../img/Header_KRONE_Website-1920x515px_BiGPack.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    backdrop-filter: blur(10px);

}

.black_design_bg {
    height: 100%;
    backdrop-filter: blur(32px);

}

.sup_cat {
    background: url("../img/Header_KRONE_Website-1920x515px_BiGPack.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    backdrop-filter: blur(10px);

}

.sup_cat_bg {
    height: 100%;
    backdrop-filter: blur(32px);

}

.offer .card {
    border-radius: 1.25rem !important;
    border: 0 !important;
    box-shadow: 0px 12px 13px 0px #c1c1c18f;
    transition: 0.5s ease-in-out;
}

.offer .card:hover {
    box-shadow: 0px 12px 13px 0px #4544448f;;
}

.mission {
    /*background: linear-gradient(45deg, #0d773b, #494949ad);*/
}

.arrow-right{
        background: #ffffff;
    height: 40px;
    width: 40px;
    color: #276312;
    font-size: 20px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 1px;
    justify-content: center;
}