/********** Template CSS **********/
:root {
    --primary: #88B44E;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

/* About Section Image Styling */
.about-img-box img {
    width: 100%;
    height: 500px;
    /* Desktop ke liye badi height */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile View Fix (Screen size 768px se choti hone par) */
@media (max-width: 768px) {
    .about-img-box img {
        height: 300px;
        /* Mobile par height kam kar di taki zyada badi na dikhe */
        margin-bottom: 20px;
        /* Image aur text ke beech thoda gap */
    }

    .section-title h2 {
        font-size: 1.5rem;
        /* Mobile par heading thodi choti */
    }
}

/* Vertical spacing for rows inside col-4 */
.service-item-left .row,
.service-item-right .row {
    margin-top: 0;
}

/* Base style for individual items */
.col-12.service-item-left,
.col-12.service-item-right {
    padding-bottom: 20px;
    z-index: 1;
}

/* Hover Effect logic jaisa image 671 mein tha */
.bg-light.p-4.rounded {
    transition: .5s;
    position: relative;
    border-radius: 10px !important;
}

.bg-light.p-4.rounded::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(44, 95, 45, 0.9);
    /* Primary color */
    transition: .5s;
    z-index: -1;
}

/* Left columns slide Green from left */
.service-item-left .bg-light:hover::after {
    width: 100%;
}

/* Right columns slide Green from right */
.service-item-right .bg-light:hover::after {
    width: 100%;
    left: auto;
    right: 0;
}

/* Text color white on hover */

/* Custom Icon Circle */
.service-icon-custom {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-custom img {
    width: 35px;
}

/* Custom Card Styling for Screenshot 670 Match */
/* --- UPDATED PRODUCT CARD: Bigger Size & More Spacing --- */

/* 1. Desktop par Cards ke beech gap badhane ke liye custom gutter */
@media (min-width: 1200px) {
    .row.g-xl-12 {
        --bs-gutter-x: 8rem;
        /* Cards ke beech ki horizontal doori */
    }
}

/* 2. Main Card Styling (Bigger & Better) */
.product-card-custom {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    /* Thode round corners */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
}

/* Desktop screens par card ko thoda bada (5%) dikhane ke liye */
@media (min-width: 992px) {
    .product-card-custom {
        transform: scale(1.05);
    }
}

/* Hover Effect: Card upar uthega aur thoda aur bada hoga */
.product-card-custom:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* 3. Image Box & Image Size */
.product-img-box {
    position: relative;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 320px;
    /* Image ki height badha di hai card bada dikhne ke liye */
    object-fit: cover;
    transition: 0.5s;
}

.product-card-custom:hover .product-img-box img {
    transform: scale(1.1);
    /* Zoom effect on hover */
}

/* 4. Simple Overlay (Greenish effect on hover) */
.product-overlay-simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 45, 0.6);
    /* Subtle green overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    z-index: 2;
}

.product-card-custom:hover .product-overlay-simple {
    opacity: 1;
}

/* 5. Text Styling inside Card */
.product-card-custom h4 {
    font-size: 1.75rem;
    /* Bada font size title ke liye */
    font-weight: 800;
    color: #252C30;
    margin-bottom: 15px;
}

.product-card-custom p {
    font-size: 1.1rem;
    /* Description thodi badi */
    color: #666;
    padding: 0 10px;
}

/* Button customization inside card */
.product-card-custom .btn-primary {
    padding: 12px 35px;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #2c5f2d !important;
    transition: 0.3s;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

:root {
    --primary: #2c5f2d;
    /* Pisum Dark Green */
    --accent: #2ecc71;
    /* Wix Fresh Green */
    --bg-soft: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

/* Contact Icon Style */
.contact-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

/* Form Card Style */
.contact-form-card {
    background: #f1f4f1;
    /* Light greenish grey like your screenshot */
    border-radius: 20px;
    padding: 40px;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: none;
}

.btn-send {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: 0.3s;
}

.btn-send:hover {
    background-color: var(--accent);
    color: white;
}

.export-inquiry-box {
    background-color: #e8eee8;
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.fw-black {
    font-weight: 900;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Product Section Background ***/
.product {
    /* Screenshot mein background mein halka pattern ya color hai */
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

/*** Store Item Style ***/
.store-item {
    transition: .5s;
    border: 1px solid #f0f0f0;
}

.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(136, 180, 78, .5);
    /* Screenshot wala green transparent overlay */
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}

.store-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.store-item img {
    transition: .5s;
    width: 100%;
    height: 250px;
    /* Uniform height for all images */
    object-fit: cover;
}

.store-item:hover img {
    transform: scale(1.1);
}

/* Custom Circular Shape for Card Top */
.rounded-circle-custom {
    border-radius: 15px !important;
    /* Overall rounded corners */
}

/* Product Item Styling */
.product-item {
    transition: .5s;
    border: 1px solid #f0f0f0;
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    /* Image ko upar se zyada round karne ke liye */
    border-radius: 15px 15px 50% 50% / 15px 15px 15% 15%;
    transition: .5s;
}

/* Hover Overlay (Screenshot 667 Style) */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 95, 45, 0.6);
    /* Transparent Green */
    opacity: 0;
    transition: .5s;
    z-index: 2;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-item:hover img {
    transform: scale(1.1);
}

.card-content {
    background: #fff;
    position: relative;
    z-index: 3;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.sticky-top.navbar-light {
    background: #ffffff !important;
}



@media (max-width: 768px) {
    .carousel-caption {
        padding-top: 100px;
        /* Menu khulne par text niche dikhega */
    }

    .carousel-caption h1 {
        font-size: 24px !important;
        /* Mobile ke liye font thoda chota */
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .goog-te-gadget-simple {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



/* Google Translate styling to match your theme */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
}

.goog-te-gadget-simple {
    background-color: #f8f9fa !important;
    border: 1px solid #2c5f2d !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    line-height: 20px !important;
}

/* Google icon hide karne ke liye agar zaroorat ho */
.goog-te-gadget-icon {
    display: none !important;
}

/* Dropdown visibility fix */
.dropdown-menu {
    border-radius: 8px;
    padding: 10px;
}

.dropdown-item:hover {
    background-color: #2d4a3e;
    color: white !important;
}

.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}


/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}


/*** About ***/
.video {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #252525;
}

.copyright a:hover {
    color: #FFFFFF !important;
}

/* --- UNIVERSAL CAROUSEL FIX --- */

/* 1. Base Image Styling */
.carousel-img {
    width: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

/* 2. Desktop View (Laptop par height fix) */
@media (min-width: 992px) {
    .carousel-img {
        height: 85vh !important;
    }
}

/* 3. Mobile View (Mobile par image dikhane ke liye) */
@media (max-width: 991px) {

    /* Image ko force karke height di taaki wo gayab na ho */
    .carousel-img {
        height: 400px !important;
        /* Mobile par fix height */
        min-height: 300px !important;
    }

    .carousel-item {
        height: auto !important;
        min-height: 300px !important;
    }

    /* Caption ko image ke upar set kiya */
    .carousel-caption {
        background: rgba(0, 0, 0, 0.5) !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
    }

    /* Text size mobile ke liye perfect kiya */
    .display-mobile {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .display-sm-text {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
}

/* 4. Carousel ke niche ka gap khatam karne ke liye */
.container-fluid.px-0.mb-0 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#header-carousel {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {

    /* About Image margin fix */
    .about-img-box {
        margin-bottom: 30px;
    }

    /* Icon Container size fix */
    .btn-lg-square {
        width: 50px !important;
        height: 50px !important;
    }

    /* Heading size adjustment for mobile */
    .display-6 {
        font-size: 1.8rem;
    }
}
/* ================= NAVBAR LOGO FIX (FINAL) ================= */

/* Desktop Navbar */
.navbar {
    min-height: 80px;
    padding: 82px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Logo image - Desktop */
.navbar-brand img {
    height: 80px !important;   /* 👈 Increase */
    max-height: none !important;
    width: auto !important;
    transform: scale(2);     /* 👈 Extra boost */
}

/* Nav Links */
.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 20px 0;
    font-weight: 600;
}


/* ================= MOBILE VIEW ================= */
@media (max-width: 991.98px) {

    .navbar {
        min-height: 65px;
        padding: 5px 15px;
    }

    .navbar-brand {
        width: auto;
    }

    /* Logo mobile pe bada aur clear */
    .navbar-brand img {
        height: 55px;   /* 👈 Mobile pe perfect size */
        width: auto;
    }

    /* Toggle button alignment */
    .navbar-toggler {
        padding: 4px 8px;
        font-size: 1.2rem;
    }

    /* Mobile menu background */
    .navbar-collapse {
        background: #fff;
        padding: 15px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
}
