#carouselWrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

#carouselInner {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

#carouselInner .nav-item {
    flex: 0 0 auto;
    list-style: none;
}

#carouselInner .btn {
    font-size: 15px;
    border-radius: 20px;
    white-space: nowrap;
}

.carousel-btn {
    flex-shrink: 0;
}

/* Responsive: Mobile First */
@media (max-width: 767px) {
    .row.g-0.align-items-center.mb-4 {
        flex-direction: column;
        align-items: stretch;
    }

    .col-lg-6,
    .col-lg-6.text-start.text-lg-end {
        text-align: center !important;
        width: 100%;
        margin-bottom: 10px;
    }

    #carouselInner {
        gap: 10px;
    }

    #carouselInner .nav-item {
        flex: 0 0 auto;
    }

    #carouselWrapper {
        padding: 0 10px;
    }
}

/* Card hover lift effect */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* Image zoom on hover */
.product-img {
    transition: transform 0.4s ease;
    max-width: 100%;
    height: 350px;
}
.product-card:hover .product-img {
    transform: scale(1.07);
}

.product-description {
    font-size: 0.9rem;
    color: #6c757d;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* show only 1 line */
    -webkit-box-orient: vertical;
    height: 1.2em; /* fixed height for 1 line */
    transition: all 0.3s ease;
}

.product-description.expanded {
    -webkit-line-clamp: unset;
    display: block;
    height: auto;
}

.read-more-btn {
    color: rgba(50, 168, 82, 0.95);
    font-size: 0.89rem;
    cursor: pointer;
    display: inline-block;
    margin-top: 6px;
}

/* Optional: keep all product cards same height visually */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-footer {
    height: 80px;
    width: 300px;
    margin-top: -16px;
    margin-left: -40px;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.map-left,
.map-right {
    flex: 1 1 300px;
    padding: 20px;
}
svg {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.state-label {
    list-style: none;
    padding: 0;
    margin: 0;
}
.state-label li {
    margin: 8px 0;
    padding: 10px 15px;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
}
.tamilnadu {
    background: #e53935;
}
.gujarat {
    background: #1e88e5;
}
.karnataka {
    background: #43a047;
}
.kashmir {
    background: #fb8c00;
}
@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
    }
}

/* Updated Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.gallery-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgb(159 225 174 / 70%),
        rgb(206 196 196 / 34%)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item:hover .overlay {
    opacity: 1;
}
.gallery-item .overlay h5 {
    color: #fff;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-align: center;
}
.gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-item .position-relative {
    flex-shrink: 0;
}

.gallery-item .description {
    min-height: 100px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}
.gallery-item h5 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.gallery-item p {
    font-family: "Open Sans", sans-serif;
    color: #666;
    font-size: 14px;
    margin: 0;
}
@keyframes bounceIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.gallery-item.wow {
    animation: bounceIn 0.6s ease-out;
}
@media (max-width: 768px) {
    .gallery-item img {
        height: 228px;
    }
    .gallery-item h5 {
        font-size: 1.2rem;
    }
    .gallery-item .overlay h5 {
        font-size: 1.3rem;
    }
    .gallery-item p {
        font-size: 13px;
    }
}

.about-hero-section {
    background: linear-gradient(rgba(0, 100, 0, 0.7), rgba(0, 100, 0, 0.7)),
        url("https://images.unsplash.com/photo-1500595046743-ee5a02407d11?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80");
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: pulse 10s infinite ease-in-out;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.about-overview {
    background: linear-gradient(to bottom, #f0f8f0, #ffffff);
}

.leaf-divider {
    height: 3px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%234caf50" stroke-width="2" d="M0,5 C20,0 40,10 60,5 C80,0 100,10 100,5"/></svg>')
        repeat-x;
    background-size: contain;
    margin: 3rem 0;
}

.image-box img {
    transition: transform 0.4s ease;
}

.image-box:hover img {
    transform: scale(1.05);
}

.content-card {
    background: #fff;
    border-left: 5px solid #28a745;
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.btn-agro {
    background-color: #28a745;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 30px;
}

.btn-agro:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.mission-vision-glass {
    backdrop-filter: blur(5px);
}

.mv-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    background: #ffffffd9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mv-pad {
    padding: 2rem !important;
}

.mv-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.icon-box {
    display: inline-block;
    background: #eaf7ec;
    padding: 20px;
    border-radius: 50%;
    transition: 0.4s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.icon-box i {
    color: #28a745;
    transition: transform 0.4s ease;
}

.mv-card:hover .icon-box {
    background: #28a745;
}

.mv-card:hover .icon-box i {
    color: #fff;
    transform: scale(1.2) rotate(10deg);
}
.mv-card.glass-effect {
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.why-us-section {
    background: linear-gradient(135deg, #28a745, #28a745b0);
}

.why-card {
    backdrop-filter: blur(10px);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 2rem 1.5rem;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.glow-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #e6fce9, #c6f5d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.05),
        0 8px 20px rgba(40, 167, 69, 0.2);
    transition: all 0.3s ease;
    font-size: 1.6rem;
    color: #28a745;
}

.why-card:hover .glow-icon {
    background: #28a745;
    color: #fff;
    transform: scale(1.1) rotate(6deg);
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.blog-image-wrapper {
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 1.3rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: auto; /* Pushes it to the bottom */
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title:hover {
    color: #28a745;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.custom-pagination .page-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.custom-pagination .page-link:hover {
    background-color: #e2e6ea;
    color: #0056b3;
}

.custom-pagination .page-link.active {
    background-color: #007bff;
    color: #fff;
    pointer-events: none;
    border-color: #007bff;
}

.custom-pagination .page-link.disabled {
    color: #6c757d;
    background-color: #f8f9fa;
    pointer-events: none;
    border-color: #dee2e6;
}
.zoom-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.zoom-img-container img {
    transition: transform 0.6s ease;
}

.zoom-img-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
}

* Fade-in when loaded */ .stylish-img {
    opacity: 0;
    transform: scale(1);
    transition: transform 0.5s ease, opacity 1s ease;
}

.animated-image-container:hover .stylish-img {
    transform: scale(1.05);
}

/* When image is loaded */
.stylish-img.loaded {
    opacity: 1;
}

/* Optional overlay effect */
.image-overlay-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom right,
        rgba(0, 0, 0, 0.15),
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
    z-index: 2;
}

/* Smooth shadow and round */
.animated-image-container {
    transition: box-shadow 0.3s ease;
}
.animated-image-container:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}
