/********** Template CSS **********/
:root {
    --primary: #34AD54;
    --secondary: #FF9933;
    --light: #F6FFF2;
    --dark: #263A4F;
}

.btn {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        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;
}

.bg-hero {
    background: url(../img/hero-banner-v3.jpg) center 10% no-repeat;
    background-size: cover;
    border-top: 10px solid var(--primary);
    border-bottom: 10px solid var(--primary);
}

.banner-text-bg {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    display: inline;
    border-radius: 5px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.6;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.bg-vegetable {
    background: url(../img/agro-basket-final-v2.png) right -45px bottom -20px no-repeat;
    background-size: 60%;
    position: relative;
    overflow: hidden;
    padding-left: 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.bg-vegetable>* {
    position: relative;
    z-index: 2;
    max-width: 65%;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.bg-fruit {
    background: url(../img/grain-sacks.png) right -80px bottom -70px no-repeat;
    background-size: 88%;
    position: relative;
    overflow: hidden;
    padding-left: 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.bg-fruit>* {
    position: relative;
    z-index: 2;
    max-width: 65%;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.service-item {
    box-shadow: 0 0 45px #EDEDED;
    transition: .5s;
    border-radius: 25px;
}

.about i,
.service-item i {
    background-image: linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

.service-item:hover {
    color: var(--light);
    background: var(--primary) !important;
}

.service-item:hover i {
    background-image: linear-gradient(var(--light), var(--secondary));
}

.service-item:hover h4 {
    transition: .5s;
}

.service-item:hover h4 {
    color: var(--light);
}

.product-item {
    padding: 0 30px 30px 30px;
    border-radius: 25px;
    overflow: hidden;
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    bottom: 0;
    opacity: 1;
}

.product-item h5 {
    transition: .5s;
}

.product-item:hover h5 {
    opacity: 0;
}

.product-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 55%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    z-index: -1;
}

.product-carousel .owl-nav {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    position: relative;
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.bg-testimonial {
    background: url(../img/testimonial-v3.png) center center no-repeat;
    background-size: 100% 100%;
    padding: 120px 0 !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.testimonial-carousel {
    background: rgba(52, 173, 84, .7);
}

.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: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.blog-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(52, 173, 84, 0), rgba(52, 173, 84, 1));
    z-index: 1;
}

.bg-footer {
    background: linear-gradient(rgba(52, 173, 84, .7), rgba(52, 173, 84, .7)), url(../img/footer.png) center bottom no-repeat;
    background-size: contain;
}

@media (min-width: 991.98px) {
    .bg-footer {
        margin-top: 0 !important;
    }
}

/* Layout Reset - Ensure global layout elements have sharp corners */
.navbar,
.container-fluid,
.bg-primary:not(.btn):not(.stat-icon):not(.heading-bg):not(.banner-box),
.bg-secondary:not(.btn):not(.label-bg):not(.banner-box),
section,
.carousel,
.carousel-item,
header {
    border-radius: 0 !important;
}

/* Rounded corners ONLY for specific inner content cards and boxes */
.banner-box,
.service-item,
.product-item,
.card,
.bg-white.shadow-sm,
.bg-white.shadow,
.p-5.bg-white,
.text-center.h-100.p-5.bg-white,
.d-flex.border {
    border-radius: 25px !important;
}

/* Keep buttons and small accents curved */
.btn {
    border-radius: 50px !important;
}

.heading-bg,
.label-bg {
    border-radius: 50px !important;
}

/* Specific rounded corners for content images */
.img-fluid.rounded,
.about img {
    border-radius: 25px !important;
}

.heading-bg {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 12px 40px;
    display: inline-block;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(52, 173, 84, 0.2);
}

.heading-bg-orange {
    background-color: var(--secondary);
    color: #ffffff !important;
    padding: 12px 40px;
    display: inline-block;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.2);
}

.label-bg {
    background-color: var(--secondary);
    color: #ffffff !important;
    padding: 6px 20px;
    display: inline-block;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* High Shadow Utility */
.high-shadow {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.high-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Text Shadow Utility */
.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15) !important;
    font-weight: 700 !important;
}

/* Mobile Specific Fixes */
@media (max-width: 768px) {
    .banner {
        margin-top: 30px !important;
    }

    .banner-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        height: auto !important;
        padding: 40px 20px !important;
        background-image: none !important;
    }

    .banner-box>* {
        max-width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .banner-box h3,
    .banner-box p,
    .banner-box a {
        text-align: center !important;
    }

    .bg-vegetable,
    .bg-fruit {
        background-image: none !important;
    }

    .bg-testimonial {
        padding: 60px 0 !important;
        background-size: 400% 100% !important;
        background-position: center center !important;
    }

    .testimonial-carousel {
        padding: 20px !important;
    }

    .display-5 {
        font-size: 2.5rem !important;
    }

    .heading-bg,
    .heading-bg-orange {
        padding: 8px 25px !important;
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .about img {
        margin-bottom: 30px !important;
    }
}

.btn-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 3px solid #fff;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}