

/* =========================================================
   PROFESSIONAL ANIMATIONS & POLISH
   Added on top of existing markup/classes — safe to keep
   alongside your existing stylesheet.
========================================================= */

:root {
    --devadi-gold: #c9a227;
    --devadi-green: #2e7d32;
    --devadi-dark: #1b1b1b;
    --devadi-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
p{
    color: #102b49a3!important;
    font-size: 16px!important;
    font-weight: 500!important;
}

* {
    scroll-behavior: smooth;
}

/* ---------- Generic scroll-reveal system ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* staggered reveal for grid/row children */
.products-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.products-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.products-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.25s; }
.products-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.35s; }
.products-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.45s; }

.services-row .animate-on-scroll:nth-child(odd)  { transition-delay: 0.1s; }
.services-row .animate-on-scroll:nth-child(even)  { transition-delay: 0.2s; }

.process-row .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.process-row .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.process-row .animate-on-scroll:nth-child(3) { transition-delay: 0.25s; }
.process-row .animate-on-scroll:nth-child(4) { transition-delay: 0.35s; }
.process-row .animate-on-scroll:nth-child(5) { transition-delay: 0.45s; }

.export-half.animate-on-scroll:nth-of-type(1) { transform: translateX(-60px); }
.export-half.animate-on-scroll:nth-of-type(2) { transform: translateX(60px); }
.export-half.animate-on-scroll.is-visible { transform: translateX(0); }

/* ---------- Hero ---------- */
.agri-hero-content { animation: fadeUp 1s ease both; }
.agri-eyebrow      { animation: fadeUp 0.8s ease 0.1s both; }
.agri-title         { animation: fadeUp 0.9s ease 0.25s both; }
.agri-line          { animation: growLine 1s ease 0.55s both; transform-origin: left; }
.agri-description   { animation: fadeUp 0.9s ease 0.7s both; }
.agri-buttons       { animation: fadeUp 0.9s ease 0.9s both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes growLine {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.agri-features .agri-feature {
    animation: fadeUp 0.8s ease both;
}
.agri-features .agri-feature:nth-child(1) { animation-delay: 1.0s; }
.agri-features .agri-feature:nth-child(2) { animation-delay: 1.1s; }
.agri-features .agri-feature:nth-child(3) { animation-delay: 1.2s; }
.agri-features .agri-feature:nth-child(4) { animation-delay: 1.3s; }

.agri-feature-icon svg {
    transition: var(--devadi-transition);
}
.agri-feature:hover .agri-feature-icon svg {
    transform: scale(1.15) rotate(-4deg);
    filter: drop-shadow(0 6px 10px rgba(201, 162, 39, 0.35));
}

/* ---------- Buttons ---------- */
.agri-btn {
    position: relative;
    overflow: hidden;
    transition: var(--devadi-transition);
    padding: 20px;
}
.agri-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.agri-btn:hover::after { left: 130%; }
.agri-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.quote-submit {
    position: relative;
    overflow: hidden;
    transition: var(--devadi-transition);
}
.quote-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ---------- Product cards ---------- */
.product-card {
    transition: var(--devadi-transition);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}
.product-image img {
    transition: transform 0.6s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-content h3 {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}
.product-content h3::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    height: 2px; width: 0;
    background: var(--devadi-gold);
    transition: width 0.4s ease;
}
.product-card:hover .product-content h3::after { width: 100%; }

/* ---------- Service & Process items ---------- */
.service-item, .process-item {
    transition: var(--devadi-transition);
}
.service-item:hover, .process-item:hover {
    transform: translateY(-8px);
}
.service-image img, .process-image img {
    transition: transform 0.5s ease, filter 0.5s ease;
}
.service-item:hover .service-image img,
.process-item:hover .process-image img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.service-arrow svg, .process-arrow svg {
    animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50%      { transform: translateX(6px); opacity: 1; }
}

/* ---------- Why choose us list ---------- */
.export-why-list li {
    transition: var(--devadi-transition);
    position: relative;
    padding-left: 4px;
}
.export-why-list li:hover {
    transform: translateX(8px);
    color: var(--devadi-gold);
}

/* ---------- Export images ---------- */
.export-image img {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.export-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ---------- Quote / form section ---------- */
.quote-field, .quote-select, .quote-textarea {
    transition: var(--devadi-transition);
}
.quote-field:focus, .quote-select:focus, .quote-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,162,39,0.25);
    transform: translateY(-2px);
}

.quote-feature {
    transition: var(--devadi-transition);
}
.quote-feature:hover {
    transform: translateY(-6px);
}
.quote-feature-icon svg {
    transition: var(--devadi-transition);
}
.quote-feature:hover .quote-feature-icon svg {
    transform: rotate(-6deg) scale(1.12);
}

/* ---------- Section headings ---------- */
.heading-line, .services-heading-line, .process-heading-line {
    transform-origin: center;
    animation: growLine 0.9s ease both;
}

.small-title, .service-label, .process-label, .export-label {
    letter-spacing: 1px;
}

/* ---------- Scroll-to-top button ---------- */
.scroll-top {
    transition: var(--devadi-transition);
}
.scroll-top:hover {
    transform: scale(1.1);
}

/* ---------- Respect reduced motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

   .products-section {
            padding: 60px 16px;
            background: linear-gradient(180deg, #f4f8f5 0%, #ffffff 100%);
            position: relative;
            overflow: hidden;
        }

        /* Decorative Background Blob */
        .products-section::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(46,125,50,0.06) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .products-container {
            max-width: 1440px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

      

        .products-scroll-wrapper {
            position: relative;
            width: 100%;
        }

        .products-single-row {
            display: flex;
            gap: 28px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 20px 8px 36px 8px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: #2e7d32 #e1f1e7;
        }

        /* Custom Sleek Scrollbar */
        .products-single-row::-webkit-scrollbar {
            height: 8px;
        }

        .products-single-row::-webkit-scrollbar-track {
            background: #e1f1e7;
            border-radius: 10px;
        }

        .products-single-row::-webkit-scrollbar-thumb {
            background-color: #2e7d32;
            border-radius: 10px;
            transition: background-color 0.3s ease;
        }

        .products-single-row::-webkit-scrollbar-thumb:hover {
            background-color: #1b4b1e;
        }

        .product-card {
            flex: 0 0 300px;
            min-width: 300px;
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: flex;
            flex-direction: column;
            position: relative;
            scroll-snap-align: start;
        }

        @media (min-width: 1200px) {
            .product-card {
                flex: 1;
                min-width: 0;
            }
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -10px rgba(46, 125, 50, 0.15);
            border-color: rgba(46, 125, 50, 0.3);
        }

        /* Product Image & Badge */
        .product-image {
            width: 100%;
            height: 220px;
            background: linear-gradient(135deg, #f4f8f5 0%, #e8f5e9 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .product-card:hover .product-image img {
            transform: scale(1.08);
        }

        .product-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.04) 100%);
            pointer-events: none;
        }

        .product-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(4px);
            color: #2e7d32;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 5px 10px;
            border-radius: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            z-index: 2;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .product-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            background: #ffffff;
        }

    

        .product-card:hover .product-content h3 {
            color: #2e7d32;
        }

     

        .product-action {
            margin-top: 18px;
            border-top: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
            font-weight: 600;
            color: #2e7d32;
        }

        .product-action span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.3s ease;
            cursor: pointer;
        }

        .product-card:hover .product-action span {
            gap: 10px;
        }

        /* Container Layout */
.process-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: inherit;
}

.process-container {
    max-width: 1300px;
    margin: 0 auto;
}

.process-heading {
    text-align: center;
    margin-bottom: 40px;
}

.process-label {
    color: #2e7d32;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}





/* Row setup: Saara data ek hi row mein aane ke liye */
.process-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto; /* Agar screen chhoti ho toh horizontal scroll support kare */
    padding-bottom: 20px;
     padding-top: 10px;
}

/* Process Card Styling */
.process-item {
    background: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 0px;
    padding: 24px 13px;
    flex: 1;
    min-width: 210px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);

}

.process-image img {
   
    object-fit: cover;
    margin-bottom: 15px;
}


/* Arrow Styling */
.process-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ccc;
    transition: all 0.4s ease-in-out;
}

.process-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* =========================================
   HIGHLIGHT ANIMATION CLASSES (JS controlled)
========================================= */
.process-item.active {
    border-color: #2e7d32;
    background-color: #f1f8f2;
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.15);
}

.process-arrow.active {
    color: #2e7d32;
    transform: scale(1.2);
}


.agro-services-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    font-family: inherit;
}

.agro-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.agro-services-heading {
    text-align: center;
    margin-bottom: 45px;
}

.agro-service-label {
  display: block;
    margin-bottom: 8px;
    color: #316c43;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.agro-services-heading h2 {
    font-size: 22px;
    color: #102b49;
    margin: 10px 0;
    
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}



.agro-interactive-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.04);
}

.agro-services-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid #f1f5f9;
    padding-right: 20px;
}

.agro-tab-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: none;
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.agro-tab-num {
    font-size: 14px;
    font-weight: 700;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.agro-tab-text {
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.agro-tab-btn:hover {
    background: #f8fafc;
}

.agro-tab-btn.agro-active {
    background: #f1f8f2;
    border-color: #2e7d32;
}

.agro-tab-btn.agro-active .agro-tab-num {
    background: #2e7d32;
    color: #ffffff;
}

.agro-tab-btn.agro-active .agro-tab-text {
    color: #1b5e20;
}

.agro-services-display-panel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.agro-panel-content {
    display: none;
    align-items: center;
    gap: 35px;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
}

.agro-panel-content.agro-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    flex-direction: column;
}

.agro-panel-image {
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
}

.agro-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agro-panel-details {
    flex-grow: 1;
}

.agro-panel-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
    background: #f1f8f2;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.agro-panel-details h3 {
    font-size: 20px;
    color: #1e293b;
    margin: 0 0 12px 0;
    font-weight: 700;
    text-transform: uppercase;
}


@media (max-width: 768px) {
    .agro-interactive-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .agro-services-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-right: 0;
        padding-bottom: 15px;
    }
    .agro-tab-btn {
        flex-shrink: 0;
        padding: 10px 12px;
    }
    .agro-tab-text {
        display: none;
    }
    .agro-panel-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 15px;
    }
    .agro-panel-image {
        width: 100%;
        height: 160px;
        margin: 0 auto;
    }
    .agro-interactive-wrapper {
   
        gap: 8px;
    
    }
    .process-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 20px;
    
    flex-direction: column;
}
    .quote-section {
        padding-top: 0px;
    }
    .agro-services-section {
    padding: 20px 20px;
    background-color: #f8fafc;
    padding-top: 45px;
}
.products-single-row {
    display: flex;
    flex-direction: column;
}
.products-section {
    padding: 46px 16px;
    
}
.product-card {
    flex: 0 0 375px;
}
}


